[sdiy] * Piano roll reader project.. using Photo-transistors to read holes.. Sensitivity wise... ??

Jean-Pierre Desrochers jpdesroc at oricom.ca
Fri Dec 2 21:10:47 CET 2022


Yes.. You are right.. I think I could use 22AWG (2 inches long) twisted pairs for each sensors. 88 pairs overall.
All grounded at one place on the main pcboard.

And what about the pullup resistors at each PT's collectors ?
Again these resistors will be from 8 x ???k SIP networks.
11 x 8resistors networks overall on the main PCB, close to the
11 x 74HC165 high impedance inputs.
So far 100k pullups gives the gain I'd like to get on PT's
but at the expense of noise picking..

What is your thought about the pullups I should use
in the actual design condition ? 47k, 68k, 100k ??


***********************************

> -----Message d'origine-----
> De : Harry Bissell <hbissell at wowway.com>
> Envoyé : 2 décembre 2022 14:43
> À : Roman Sowa <modular at go2.pl>
> Cc : Jean-Pierre Desrochers <jpdesroc at oricom.ca>; synth-diy at synth-diy.org
> Objet : Re: [sdiy] * Piano roll reader project.. using Photo-transistors to read
> holes.. Sensitivity wise... ??
> 
> You might use pieces of 28ga ribbon cable and use two wires, one for signal
> and one for ground for each sensor. (Yeah x88 but I don’t know
> mechanically).  Keep all grounds separate and join all at the destination. This
> way the conductors are guaranteed to lie close to each other and return
> current flows adjacent to the send. That would minimize crosstalk. Twisted
> pair would be better. There should be no EMC concerns as the slew rates will
> be low and not much current flowing, and not often.
> 
> Harry
> 
> Sent from my iPhone
> 
> > On Dec 2, 2022, at 3:14 AM, Roman Sowa <modular at go2.pl> wrote:
> >
> > Frankly I can't see any obvious reason to worry about crosstalk. This is only
> 2 inches of wire carying DC signal. Come on.
> > You may want to add 10n caps across the optosensors to get rid of HF noise
> of any origin, that might cause false triggers.
> >
> > Do you have clean 0 to 5V levels on the optos? I dare to think it's not that
> beautiful. With input voltage varying barely above HC165 threshold, you may
> force poor HC165 inputs into linear region, making it demand more supply
> current. Maybe you could tweak power and GND ails of the sensors separate
> from logic supply to find a region where voltage changes almost rail to rail
> from HC165 point of view. And BTW, this chip works down to 2V so there's
> another way to tweak.
> >
> > Roman
> >
> >> *Von:*Synth-diy <synth-diy-bounces at synth-diy.org> *Im Auftrag von
> >> *Jean-Pierre Desrochers
> >> *Gesendet:* Donnerstag, 1. Dezember 2022 19:44
> >> *An:* Synth-diy at synth-diy.org
> >> *Betreff:* *EXT* [sdiy] Piano roll reader project.. using Photo-transistors
> to read holes.. Sensitivity wise... ??
> >> So far my  Piano roll reader project goes well..
> >> I’m now doing some experiments using T1 phototransistors (940nm IR
> >> wavelenght) that are each inserted in the small one inch long copper
> >> pipes that prolong the rear of each square holes of the main brass reading
> bar.
> >> I noticed that rising the PT’s collector resistor will in fact also
> >> rise the PT gain thus making it more sensitive. That’s good.. but
> >> there is a problem, rising these resistors too much will create
> >> possible crosstalk between the IR PT’s wirings (around 88 x 2 inches long
> wiring pairs) to the pcb that holds the readers IC’s (74HC165).
> >> There will be 11 x 74HC165 parallel to SPI interfaces mounted on the
> >> main board To read the 88 holes.. See one of the 11 SPI reader circuit
> here.
> >> One thing that encourages me is that the rate of holes changing on
> >> the scrolling paper Will never be higher than the humain hands that
> played the original song.. so not very fast for crosstalk..
> >> I tried 10k’s but this needed a too strong IR beam facing the PT’s..
> >> 100k’s gave a much more sensitive result..
> >> I could select a final value from 47k to 100k for all these resistors..
> >> What do you think about  the possible crosstalk at that read speed, and
> the value to use ?
> >> Thanks for your time !
> >> JP
> >> *Kapsch TrafficCom is striving to become CO_2 neutral by 2027.
> >> **Learn more >>> *
> >> <https://www.kapsch.net/en/ktc/about-us/sustainability>**
> >> The information contained in this e-mail message is privileged and
> confidential and is for the exclusive use of the addressee. The person who
> receives this message and who is not the addressee, one of his employees or
> an agent entitled to hand it over to the addressee, is informed that he may
> not use, disclose or reproduce the contents thereof, and is kindly asked to
> notify the sender and delete the e-mail immediately.
> >> _______________________________________________
> >> Synth-diy mailing list
> >> Synth-diy at synth-diy.org
> >> http://synth-diy.org/mailman/listinfo/synth-diy
> >> Selling or trading? Use marketplace at synth-diy.org
> > _______________________________________________
> > Synth-diy mailing list
> > Synth-diy at synth-diy.org
> > http://synth-diy.org/mailman/listinfo/synth-diy
> > Selling or trading? Use marketplace at synth-diy.org




More information about the Synth-diy mailing list