Tuesday, December 3, 2013
Using the Wire Library to Expand the Arduino's I/O Capabilities
The simplest way we've found to make use of the library is outlined in the following hyperlink:
Expand IO Ports with Another Arduino
Here is a Fritzing diagram of the circuit:
 This is the best and most straightforward code we have found so far. However, our original plan was to have the "slave" Arduino simply act as a medium for the LCD display. It's not clear what the limitations on the sending/ receiving of bits are. Somewhere on the Arduino website it seems to say that only 6-bytes can be transferred via the Serial port, meaning that the LCD screen would have to be run in 4-bit mode as it is now. While it would de-clutter the breadboard wiring quite a bit, it would complicate the sending and receiving of data.
If we outsourced the servo-control to the other Arduino, we would free up some PWM pins- but at the same time it would complicate our subfunctions.
This is the best and most straightforward code we have found so far. However, our original plan was to have the "slave" Arduino simply act as a medium for the LCD display. It's not clear what the limitations on the sending/ receiving of bits are. Somewhere on the Arduino website it seems to say that only 6-bytes can be transferred via the Serial port, meaning that the LCD screen would have to be run in 4-bit mode as it is now. While it would de-clutter the breadboard wiring quite a bit, it would complicate the sending and receiving of data.
If we outsourced the servo-control to the other Arduino, we would free up some PWM pins- but at the same time it would complicate our subfunctions. 
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment