Sunday, October 19, 2014

Post #4 - Parts Are In!

We received the parts this week! Seeing everything in our hands makes for a very exciting week ahead. It's like Christmas opening up all our gadgets and toys!

Once we received the parts Taylor immediately began discussing ideas for the build of the robot with his neighbor (who is in construction). I took home the Arduino and unpackaged my Raspberry Pi. The Pi is now setup to work on my TV, so the next steps for me will be to start getting some test scenarios setup with Python.

First test case: getting a connection between the Arduino and the Pi. I hope to string a small ethernet cord between the two mini-computers and use a LAN connection for getting messages sent to each other.

For example:

1. The Raspberyy Pi will see that there is a new drink order. It grabs the details.
2. It will send a command to the Arduino indicating what motor to spin and for how long. I.e. - if it needs to get to the bottom 180 degrees from the 'home' position, it would tell it to spin the motor for that long.
3. The Arduino will send a command back saying that it has moved there and has dispensed the liquid.
4. Raspberry Pi will send the next item (next liquid to be dispensed) in the queue to the Arduino.
5. Repeat.

No comments:

Post a Comment