Raspberry Pi 3 Model B Review


RoboPi

When I heard about the baud rate issues on the Raspberry Pi forum, I was concerned – after all, RoboPi is controlled by the Raspberry Pi using the GPIO connector serial port!

Raspberry Pi 3 Review @ https://Mikronauts.com
(click on image for larger version)

Fortunately it turned out to not be a big deal.

Link: RoboPi product information

RoboPi works great with the Raspberry Pi 3 🙂

To get RoboPi running, all I had to do was:

  • add “force_turbo=1” to /boot/config.txt as per forum thread
  • change /dev/ttyAMA0 to /dev/ttyS0 in the calls to RoboPiInit()

Here is the Python script for the Cylon eyes demo running on the photo above:

#!/usr/bin/python
import RoboPiLib as RoboPi
import time as time

RoboPi.RoboPiInit("/dev/ttyS0",115200)

for led in range(0,16):
  RoboPi.pinMode(led, RoboPi.OUTPUT)

while 1:

  for led in range(0,16):
    RoboPi.digitalWrite(led,1)
    time.sleep(0.2)
    RoboPi.digitalWrite(led,0)

  for led in range(0,16):
    RoboPi.digitalWrite(15-led,1)
    time.sleep(0.2)
    RoboPi.digitalWrite(15-led,0)

Pi Droid Alpha

PiDroidAlpha uses joan’s excellent ‘pigpio’ library – which works fine on Raspberry Pi 3.

This means that Pi Droid Alpha works great on Raspberry Pi 3 🙂

Raspberry Pi 3 Review @ https://Mikronauts.com
(click on image for larger version)

The “PDALib.py” Python library for Pi Droid Alpha implements a RoboPi a 99% compatible library so that you can use the same programs for your robot regardless of using RoboPi or PiDroidAlpha.

Link: Pi Droid Alpha product information

Here is the cylon demo for Pi Droid Alpha:

#!/usr/bin/python
import PDALib as RoboPi
import time as time

RoboPi.RoboPiInit("/dev/ttyS0",115200)

for led in range(16,24):
  RoboPi.pinMode(led, RoboPi.OUTPUT)

while 1:

  for led in range(16,24):
    RoboPi.digitalWrite(led,1)
    time.sleep(0.2)
    RoboPi.digitalWrite(led,0)

  for led in range(16,24):
    RoboPi.digitalWrite(39-led,1)
    time.sleep(0.2)
    RoboPi.digitalWrite(39-led,0)

The only reason there is a difference in the code above (compared to the RoboPy version) other than the import line is that the LED’s were on different pins!

SchoolBoard ][

I would have fallen out of my chain in surprise if SchoolBoard ][ did not work with RPi 3.

Raspberry Pi 3 Review @ https://Mikronauts.com
(click on image for larger version)

Link: SchoolBoard ][ product information

Fortunately, there was no “falling out of chair in surprise” as it worked just fine.

pi@raspberrypi3:~ $ gpio -g mode 22 out
pi@raspberrypi3:~ $ gpio -g mode 23 out
pi@raspberrypi3:~ $ gpio -g mode 24 out
pi@raspberrypi3:~ $ gpio -g mode 25 out
pi@raspberrypi3:~ $ gpio -g write 22 1
pi@raspberrypi3:~ $ gpio -g write 23 1
pi@raspberrypi3:~ $ gpio -g write 24 1
pi@raspberrypi3:~ $ gpio -g write 25 1

All worked as expected – see photo above.

Article Index

  1. Introducing Raspberry Pi 3
  2. A Closer Look at Raspberry Pi 3
  3. Feature Comparison, Operating Systems
  4. Software Compatibility, Common Applications, Multimedia, Kodi
  5. Hardware Compatibility, Ethernet, WiFi, Bluetooth
  6. GPIO: WiringPi, pigpio, Add-On Board testing
  7. More testing: RoboPi, Pi Droid Alpha, SchoolBoard ][
  8. More testing: Pi Rtc Dio, Pi Jumper, EZasPi
  9. Benchmarks: Booting & Launching Apps, Compiling GNU Emacs
  10. More Benchmarks: iperf client & server, NBench, Unix Bench, hdparm, dd
  11. Power Utilization, Documentation, Support, Conclusion

Pages: 1 2 3 4 5 6 7 8 9 10 11

If you liked this article, please help us grow! "Like" us and let your friends know with the Twitter and Facebook buttons at the top left - We appreciate your support!