You can do many things with the Raspberry Pi, and some have built a Star Trek interface, while others have built robots. This book provides the building block to work with Xojo to react with the real world through its motherboard to allow you to make your own interesting device. This inexpensive computer can be programed by the widely recognized Xojo programming language.
This book “I Wish I Knew How to … Program Raspberry Pi 3B+ Electronics with Xojo” goes into the numerous programs that can be built to interact with many types of electronic gadgets.This book uses the latest Raspberry Pi 3B+ hardware with the newest version of the Stretch Operating System.
Note: There is a different book for the older version for pre Xojo 2017 r3, Jessie OS, and pre-Pi 3 B hardware. This book is for programing with the latest Raspberry Pi 3 B+ hardware, with the Stretch OS, and post 2018 r1 Xojo IDE!
The ‘I Wish I Knew’ series contains technical data and advice that makes sense and contains practical and numerous examples with explanations to allow you to ease into the steep programming curve. There are many electronic examples and the book also has many references to the Stretch Linux Operating System that is used with the Raspberry Pi.
You can start building your own electronic projects with Raspberry Pi today!
Click to download the Raspberry Pi Table of Contents, which has a listing of all of the examples in the book, many of the terms, and commands used in the operating system.
This new book works with Xojo 2018 r1, Stretch Operating System, and the new Raspberry Pi 3 B+ hardware.
There are 26 chapters with more than 600 pages with over 70 example programs.
Examples include LED displays, Stepper motors, Ultrasonic distance, LCD words, graphics, and custom glyphs, infrared sensors, photo and video recording, servos, LEDs, infrared receivers, and more. Many screenshots have been added to show the results of the code with a full index to help find topics quickly. Examples include a circuit diagram or breakout board diagram to help with wiring the components on the Raspberry Pi. The book is in PDF format with example chapter folders containing Xojo source code and running examples.
It is assumed that you have an intermediate understanding of both electronics and programming of the Xojo language.
This ebook is a pdf formatted document and all examples include Xojo code. This is one of many books which can be purchased at Xojo Library.
Note: Xojo has free Raspberry Pi licenses!!
Version 2.0 – Released in July 2018
New Additions in Version 2.0
1) Wrote the book with the newest Raspberry Pi 3 B+
2) Note: Jessie version of OS has been updated to Stretch version of OS (Aug 2017)
3) Add Chmod command to all programs for proper permissions (All Examples)
4) Added Enabling instruction for I2C enabling in Raspberry Pi 3 Model B Rev 1.2 (Chapter 21)
5) Added bus service Error solution when running Xojo program on Raspberry Pi Stretch in Appendix D
6) Added Stepper motor Full-Step example DRV8833 (Example 24-1)
7) Added runtime Half-step option for a stepper motor DRV8833 (Example 24-2)
8) Added modification of I2C baud rate in post 2015 Raspberry Pi (Chapter 21)
9) For I2C pre-2015 use i2c_bcm2078, and post-2015 use i2c_bcm2835 (Chapter 21)
10) Too many files open error solution (Appendix D)
11) Added Chapter 25 for LSM9DS0 9-Degrees-Of-Freedom sensor
12) Added historical information about Raspberry Pi operating system naming convension
13) Power supply for Raspberry Pi 3 B+ is 2.4 Amps (instead of 2.0 Amps)
14) Added VNC Server and Viewer steps when connecting to a Raspberry Pi (Chapter 2)
15) Add Normal and Pirate Wiring for DS18B20 (Chapter 9)
16) Add ADXL 377 G-Force (Example 25-2)
17) Added stepper motor troubleshooting solutions in Appendix D
18) Added L293D Dual H-Bridges to power motors independently (Example 6-11)
19) Added Stepper motor Wave-Step example DRV8833 (Example 24-3)
20) Added Stepper motor Half-Drive 5.0-volt L293D (Example24-4)
21) Added Stepper motor Full-Step example TB6612 (Example 24-5)
22) Added Chapter 26 for LED displays
a. Added static 8x8 LED matrix display (Example 26-1)
b. Added dynamic 8x8 LED matrix display (Example 26-2)
c. Added static 16x8 LED matrix display (Example 26-3)
d. Added dynamic 16x8 LED matrix display (Example 26-4)
e. Added numerical 7-segment LED (Example 26-5)
f. Added alpha numeric 4-digit display (Example 26-6)
1) Updated Change Keyboard configuration for steps with Stretch OS (Chapter 2)
2) Updated Creating Run Icon on Desktop for Stretch
3) Updated Creating a Screen Grab (Scrot) program on the Desktop
4) Updated Pi Board Version Table (Chapter 2)
5) Updated Example 3-4 to play sound through omxplayer with headphone jack
6) wiringPi is updated to 2.46 for the new Pi v3+
7) Updated GPIO binary code of Paul Lefebvre for programs
8) Added unintentional reboot of Raspberry Pi in Error Solutions (Appendix D)