By on January 14, 2015

THIS CLASS STARTS AT 8, NOT 7!!!!!
In the last class we went over the basics of serial communication.  This class will dive a little deeper into serial by using Python to talk to the Arduino instead of the Arduino IDE’s serial monitor.  This will enable the sending of more complicated data than just ASCII strings.
This means that everyone will need to have Python 2.7 and pyserial installed.  Please see the pyserial page to download and install pyserial after installing Python.  For those on Linux, you should be able to install both from your package manager.  Feel free to E-Mail arduino@unallocatedspace.org if you have questions about how to install Python or pyserial.
 
Agenda:
     1. Using the Python interactive shell
     2. Connecting to the Arduino
     3. Sending and receiving data
     4. Create an echo sketch
     5. Create an LED dimming sketch
     6. Create sketch to read analog values
If you cannot attend the class in person, E-Mail arduino@unallocatedspace.org and ask to be added to the Google Hangout. The hangout will generally be started just before class (7:458:15 PM). If you do not have an invite by 8:15, please E-Mail arduino@unallocatedspace.org.
The slides for the upcoming and previous classes can be found at https://drive.google.com/folderview?id=0BzpbYvv0G2kMTURwUVhhMWFXX0k&usp=sharing.  The slides are generally made during the three days before a class.
Required Items:
     1. An Arduino board of some kind (Uno, Due, Mega, Boarduino, Duemilanove, etc)
     2. If your board does not have USB programming built in, you will need a programmer (AVRISP, Bus Pirate, Bus Blaster, AVR Dragon, another Arduino, etc)
     3. Breadboard (the long one if possible, though the small square-ish ones are okay for now)
     4. USB cable for your board and/or programmer
     5. Laptop with the Arduino IDE installed (Linux, Windows, or Mac)
     6. Jumper wires for your breadboard
Provided Items:
     1. Breadboard and jumpers (if you don’t have any of either)
     2. LEDs
     3. Resistors (200-1,000 Ohm)

Since Unallocated Space runs off of donations, we would like to mention that the recommended donation for this class is $5. It is by no means a requirement, but it does help us keep the lights on!  Attendance to the space, and this class, is 100% free to all!


Leave a Reply