This is it. Build your tiny computer, and work through your first explorations of occam-π.
building a freeduino
There are two resources you'll want to make use of in building your Freeduino:
- The build videos. These can be found at concurrency.cc, or you can hit the playlist on YouTube directly.
- The build instructions. These are hosted at NKC Electronics, which is where our particular kits came from.
Everything you need to know about building your Freeduino is there.
If you have a Mac, you can download our Mac software bundle.
If you are using Windows, you are out of luck at this time.
If you are using Linux (specifically, Ubuntu 8.04, 9.04, or 9.10), you can follow the instructions at the end of the lab to get things set up, and then continue with the instructions here.
If you are working in the lab, then I have put some things together with bailing wire that should get you moving.
The first think you need to do is upload firmware. Plug in your Freeduino, and at the command prompt type
(that's a zero at the end)
As you work through Plumbing for the Arduino, you'll need to compile your programs. To compile your code, run:
where <prog> is the name of your program. Then, you need to upload the compiled program to your Freeduino:
arduino-upload /dev/ttyUSB0 <prog>.hex
That's it. If all goes well, then your desktop will begin listening for messages from the Freeduino. You can hit CTRL-C to cancel the program that is listening.
Work through the first three chapters of Plumbing for the Arduino. Take the notes that are recommended in each chapter—that is, you should actually break your code in the ways we recommend, and write up all the ways things broke.
You should submit to the Sakai dropbox a neatly formatted Open Office document or PDF that contains your notes from these explorations.