Forum Replies Created
Does your hall sensor read correctly with a baud rate of 28800? I would try the example code exactly as provided, and change the baud rate setting in the Serial Monitor from 9600 to 28800.
Can you provide a better description or sketched schematic of your application?
Unused analog inputs will float and read arbitrary values, and sometimes read the value of a connected sensor on another channel if nothing is plugged into them. You can connect them to 5V or GND if you would like to see them read a set value instead of floating.
Have you set the circuit up without the I2C Extenders? It is best to verify that the circuit works as intended without the I2C Extenders first.
Assuming that the circuit works without the extenders, can provide more detail about how you have everything connected? How many series nodes and end nodes do you have? Where are your pullup resistors? How long is your cable run? What are the power sources for each element in the system?
I do not have a diagram for you, but here is how you’d connect them up:
GND, VCC – shared with all LED Rings
ENCA, ENCB, SWITCH – each LED Ring will need dedicated lines for these to the Arduino
CLK, LE, and OE – these signals can be shared with all LED Rings (three lines, no matter how many LED Rings)
SDI and SDO: you will ‘daisy chain’ these together. The first LED Ring will receive its SDI input from the Arduino. You will then connect the first LED Ring’s SDO output pin to the next LED Ring’s SDI pin. You will keep chaining SDO to the next LED Rings SDI pin.
Hope this helps. Let me know if there’s anything else I can help you with!
Thank you for making me aware that the link wasn’t active! The library link now works. You can download it here:
See the User Manual for how to install the library.
There is a pin conflict between the Ethernet Shield and Mux Shield II for pins 10, 11, and 12. However, you can use the Mux Shield II with the Ethernet Shield in a few different ways:
1. Use the solder jumpers on the back of the Mux Shield to hardwire the shield so that each row of 16 I/O connections are either inputs or outputs. See the User Guide section called “Freeing up Pins by Using Solder Jumpers”
2. Use the Go Between Shield between the Ethernet Shield and Mux Shield II to change the Mux Shield II conflicting lines (IOS1, IOS2, and IOS3) to any open lines on your Arduino.