Created
February 25, 2018 21:16
-
-
Save theacodes/9e8fa5f51955d8243d977ae28295a3aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write our robot code in Python on the Raspberry Pi. | |
We'll use the Arduino as a daughterboard. It'll handle I/O. | |
Use a serial protocol to communicate between the 2. | |
Raspberry Pi (Python) <-> USB Serial <-> Arduino (Firmware) | |
How do we get there? | |
1. Write a Arduino sketch to act as our firmware. This will receive serial commands and send back data. | |
2. Write a Python library to send commands and receive data back from the arduino. | |
3. Upload this script to the raspberry pi. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment