RyoKosaka / HelloDrum-arduino-Library

This is a library for making E-Drum with arduino.
https://open-e-drums.com/
MIT License
244 stars 61 forks source link

Circuit for TCRT5000 #26

Closed NinjaPanas closed 4 years ago

NinjaPanas commented 4 years ago

I redrawn the circuitry and found that the 4.7K resistor could be positioned like this:

oho

I don't understand why this resistor is there and can I replace two 10K and 4.7k resistors with one 3.3K resistor?

Is there a special connection diagram for the TCRT5000 for MUX?

NinjaPanas commented 4 years ago

I assembled a device for 5 piezo and TCRT5000 (Uno, without MUX). TCRT5000 assembled without a 4.7k resistor. Everything works fine (I will try to flash it on DualMoco).

It seems to me that 4.7 k is not needed.

Once again, forgive me if I was wasting your time and thank you very much for your library. You are my hero! :)

P.s. The question still relevant to me is about the electronic circuit for connecting the TCRT5000 to the MUX. If there is a second, please drop a line about connecting TCRT5000 to MUX.

RyoKosaka commented 4 years ago

Thanks for trying it out, I used a 4.7kΩ resistor on the first breadboard because I thought it could be used with the FSR and Roland controller when I eventually convert it to a PCB. Regarding the MUX, try connecting the yellow signal wire to the pins of the MUX, just like the UNO.

NinjaPanas commented 4 years ago

Thak you very much!