I want to make interactive projection installation with MadMapper. I learned that MadMapper can receive analog data from Arduino pins through Firmata Standard without writing anything additional software. And this is where my confusion is... Ok, so, does that mean that if I simply connect sensors (for example through breadboard) to the Arduino I can use the data in MadMapper to control the content? I'm quite familiar with MadMapper but I really feel lost with Arduino side... I followed the instruction from the tutorial below and it works, but once I try with different sensor like Ultralsonic I can't get it work. Am I simply messing up the wiring part on breadboard? Please advise. Thank you so much in advance!
I know nothing about MadMapper, so maybe skip my observation. It looks like you configure MadMapper for the pins your device is using, meaning everything about the pins and the timing and scaling of the signals it will send and receive. If that means "without writing anything additional software" then, maybe. I would further guess that you must write an Arduino program that writes ultrasonic ping result to a pin. I did notice it has I2C and network capability, so maybe (probably) it has every digital capability you can imagine, and my observation is very wrong.
I'm about where @xfpd is.
Please post the sketch that was part of
and maybe the one where you tried use a different sensor. Seems like something easy enough once you have anything at all functioning.
a7
StandardFirmata does not support Ultrasonic distance sensors such as the HC-SR04. The sensor requires a library that is not built into StandardFirmata.
If you need to measure an object's distance, consider using an IR proximity sensor.
If MadMapper supports analog inputs, this might be a solution. I am not familiar with MadMapper so I don't know if it will do the conversion from the raw analog input data to the actual distance.
And @curious3000 please keep all this on one thread. I saw another Firmata question and thought how odd, two things mentioning Firmata, which just happens to be something I am working with, we usually don't hear too much about it.
It will help the helpers. Flag your totter post and get a moderator to combine the threads.
a7
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.