Hello! Im new around here so thanks in advance for the support and amazing comunity you guys Keep up!...
Anyway I hope someone can help me out with this issue I have... Im not really an expert in to code, I just have the right knowledge to change some things in the code, adapt very simple sketches... but right now I know I need help with this one
I recently fund parts of a project kind of a MIDI controller (theremin like), using two Ultrasonic sensors URM37, a 20x4 LCD, encoder and 2 buttons. It uses a library called URMSerial.h for the sensors.
I have around 4 HC-SR04 Ultrasonic sensors... and I would love to be able to use them instead of the URM37, as they cost around 20€ each!...
Multiman:
Hello! Im new around here so thanks in advance for the support and amazing comunity you guys Keep up!...
Anyway I hope someone can help me out with this issue I have... Im not really an expert in to code, I just have the right knowledge to change some things in the code, adapt very simple sketches... but right now I know I need help with this one
I recently fund this project http://www.buildbrighton.com/wiki/Theremin which is an amazing MIDI controller (theremin like), using two Ultrasonic sensors URM37, a 20x4 LCD, encoder and 2 buttons. It uses a library called URMSerial.h for the sensors.
I have around 4 HC-SR04 Ultrasonic sensors... and I would love to be able to use them instead of the URM37, as they cost around 20€ each!...
For sure, I would start by using the NewPing library instead of Ultrasonic.h. You'll have nothing but problems with Ultrasonic.h, even worse problems if you're trying to use 4 sensors. NewPing is specifically designed to be fast, simple, small, accurate, and allow you to ping multiple sensors.
I will experiment with the library a bit, and try to find a way of using it in the sketch... I still finding a bit hard to find inside the Therething.pde file the lines which are using the URMSerial library... in order to swap them
Unfortunately, as you say, there is not a lot of consistent info, the net is full of missing pieces, not enough information or just not suitable for this project needs... I ended up giving up regarding the HCSR04, there are other more versatile and cheap solutions like Light Dependent resistors, or the Sharp GP2022 and others alike... it all depends on what you want to achieve.