Go Down

Topic: Chinese midi shield, how to handle? (Read 175 times) previous topic - next topic

Moriki

Hi guys,
I am new to electronics, a bit more accustomed to computer language.
I live in China so I get all kind of chinese cheap electronics which I try (most of the time unsuccessfully) to build things with.

I am now trying to build a MIDI Theremin using an arduino uno, HC-SR04 ultrasonic sensor and a midi shield I aquired (In the picture).

Because my knowledge in electronics is a bit lacking, I dont really understand how to plug the hc-rs04 on the midi shield. The pins take all of the arduino exits and then there are 7 rows of 6 unsoldered holes each, numbered p8, p7, p6, p9, p5, p10, p4. As you can see in the picture..

Does somebody has a link or a guide or explanation to how should I use it? I guess I will have to solder it, but how do I know which outputs they are and how to control them from IDE? The purpose is to connect them with 2 ultrasonic sensors and maybe a potentiometer..

Thank you very much and I hope it is the right forum...

Moran

Grumpy_Mike

Quote
I am now trying to build a MIDI Theremin using an arduino uno, HC-SR04 ultrasonic sensor and a midi shield I aquired (In the picture).
What picture?

Quote
The pins take all of the arduino exits
No only two pins are used the rest are free. Simply solder the SR04 to the stubs of the pins on the top of the shield.

Moriki

Thank you for your answer, for some reason I couldn't upload the picture.

I will try to do as you said.

Moran

marco_c

Looks like this is just a MIDI serial converter device and the only signal connections are the serial Tx and Rx (pins 1 and 0). This means that you just send out MIDI message on the serial port to the MIDI daisy chain 'network'. You need to use the MIDI library or compose the MIDI message yourself. Grumpy_Mike has a web site that shows how this can be done or there are many other examples on the net.

How you interface the sensors n the software is up to you - you will need to write code that depends on the sensor you use and convert the readings to note values that you can send as MIDI  serial messages.

Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy