Connect BS2 to SCRIBBLER Robot
Here's a project I created a year or so ago. My big feat was allowing my BS2 Homework board to communicate with the SCRIBBLER robot via pin 16 (the serial port). I just used a Male-to-Male serial adapter for the physical connection. In my project, I was demonstrating, to a group of people, what a microcontroller can do.
The Homework board was the main controller. There were three modes in the program, 1) Play the minuet in G, 2) Roam around the room, 3) Draw a shape.
1) In this mode, both microcontrollers are playing one part of the Minuet in G. The Homework board plays the melody and the SCRIBBLER plays the harmony.
2) The SCRIBBLER roams around the room avoiding objects by using it's IR sensors. It sends sensor data to the Homework board to be displayed on the Homework board's LEDs.
3) The SCRIBBLER program has a shape it will draw on a large sheet of paper when the Homework board gives it a go.
Anyways, I know this isn't exactly interesting, but I thought I'd share it and the code for anyone who might want to use a piece of it for a project of their own. Happy programming! :-)
- RED 7
Science Fair Project (BASIC Stamp Portion).bs2
Science Fair Project (SCRIBBER Portion).bs2
Minuet in G (Harmony).bs2
Minuet in G (Melody).bs2
IR_judge.bs2
The Homework board was the main controller. There were three modes in the program, 1) Play the minuet in G, 2) Roam around the room, 3) Draw a shape.
1) In this mode, both microcontrollers are playing one part of the Minuet in G. The Homework board plays the melody and the SCRIBBLER plays the harmony.
2) The SCRIBBLER roams around the room avoiding objects by using it's IR sensors. It sends sensor data to the Homework board to be displayed on the Homework board's LEDs.
3) The SCRIBBLER program has a shape it will draw on a large sheet of paper when the Homework board gives it a go.
Anyways, I know this isn't exactly interesting, but I thought I'd share it and the code for anyone who might want to use a piece of it for a project of their own. Happy programming! :-)
- RED 7
Science Fair Project (BASIC Stamp Portion).bs2
Science Fair Project (SCRIBBER Portion).bs2
Minuet in G (Harmony).bs2
Minuet in G (Melody).bs2
IR_judge.bs2
Comments
I disgree, I think it's very interesting, and a great project getting two uCs talking through the serial port. If you get a chance to share some videos, you would grab even more interest here. Great job!
I wish I could. It was a project I created a long time ago. I might be able to dig up a couple photos, but I'm pretty sure I didn't take any video.