PiDroidAlpha & RoboPi = same Python API

July 30th, 2015

Ok, I can’t sit on this any longer.

Pi Droid Alpha @ https://Mikronauts.com

(Click on image for larger version)

The Pi Droid Alpha Python API is 99% compatible with the RoboPi Python API !!!

This means that you can have a mixture of Pi Droid Alpha and RoboPi based Raspberry Pi robots, and the Python programs you write will work on either platform!

Ok, there are some limitations, due to the different architecture of RoboPi and Pi Droid Alpha, however as long as you keep your servos, PWM outputs, and ultrasonic sensors on pins 0-7, your programs will run the same on both controllers.

This limitation is due to Pi Droid Alpha only having eight servo/PWM/ping capable FlexIO pins with an additional 16 digital I/O only pins, whereas RoboPi has 24 FlexIO pins (made possible by RoboPi’s eight core 32 bit RISC co-processor)

Some of the API may seem a bit familiar to you:

pinMode(), digitalRead(), digitalWrite(), analogRead(), analogWrite(), servoRead() and servoWrite()

along with some less familiar additions like readMode(), readDistance() and more.

readDistance() is not implemented on Pi Droid Alpha yet… however I am working on it.

Elf RoboPi + Raspberry Pi Robot @Mikronauts https://Mikronauts.com/

(RoboPi based Elf robot – click on image for larger version)

Related Links

The best way to deal with stress is taking toll on mental as well click here for more viagra no prescription as physical satisfaction. It is a myth that Penegra is one of the best and closest competitors cialis cheap online and other medication because of its efficacy. Along cheapest prices for cialis on sale at pharmacy shop with intake of this herbal supplement, you are advised to consume one capsule each daily two times for three to four months to boost sperm count. Clogging, loose bowels, cerebral pains, urinary tract diseases, facial flushing, and so forth are some of its other features have come to the sildenafil in canada forefront as well.

Comments are closed.