Forum Replies Created
July 19, 2016 at 4:19 pm in reply to: MuxShieldAnalogIn Problem #2232
Well, actually I think I know what you meant… I should put ground in all the rest of the pins if I am not using them IF what I want is to see a 0 value on them (or 5v if what I want is a 1023).
That would work, so for now, let’s just say that the “mystery” reading in the unused pins is caused by the “floating” thing.
I am happy with that, now that I know what causes it and that my actual readings in the used pins are correct.
May I suggest you guys to include this behavior somewhere in the technical documentation?
Thank you very much for your support, thats a 5 starts in my Amazon review.
JCJuly 19, 2016 at 3:13 pm in reply to: MuxShieldAnalogIn Problem #2231
Thanks for your prompt response Mark, I already deleted my question from Amazon to avoid misunderstandings.
About the baud rate, the Arduino Serial Monitor does NOT have the 28800 Option which surprised me initially, it is a drop down box and you can not edit it. I will research more from the Arduino side and will see how to change it probably from the back end.
I liked you idea about testing the reading with a 5v and 0v entry.
Well, when nothing is connected, it works perfectly, I get a row of full 0es.
IO1 analog values: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
However with 5v, I was able to confirm my thoughts, the first value is the correct reading, however I have no idea where the rest of the values are coming from:
IO1 analog values: 1023 717 728 519 728 519 370 266 718 493 345 241 164 112 67 45
About the schematics, I am just connecting my linear hall sensor to ground and 5v and connect the reading signal pin to the MuxShield, thats it.
The initial prototype without the Mux was working fine with 9600 bauds connected to the Analog0 in my Arduino UNO.
Please note that the above data is still with the 9600 baud setting since I still dont know if it is possible to select 28800 in the Arduino Serial Monitor.
Any other suggestion or test? is there any piece of the code or the library that I can take to make a mini-test with only one of the Muxs, Analog Input?
Thanks in advance for your comments
JCJuly 19, 2016 at 9:06 am in reply to: Memory trash output #2225
Try changing the Serial Port to
The original Value of 28800 is not the default for the Serial Monitor.
Hope it helps