<div dir="ltr"><div>I have seen this type of thing done with just LEDs, using the LEDs both as photocells and light emitters.</div><div><br></div><div>You read the voltage generated on an LED one at a time, whilst the LEDs around them are all on during that sense cycle.</div><div><br></div><div>I have not done this myself, however, so it may not be suitable for your situation.</div><div><br></div><div>/Edward<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 16 Aug 2022 at 05:05, Jean-Pierre Desrochers <<a href="mailto:jpdesroc@oricom.ca">jpdesroc@oricom.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" lang="FR-CA"><div class="gmail-m_-6855396253194307503WordSection1"><p class="gmail-m_-6855396253194307503MsoPlainText"><span lang="EN-CA">I'm designing a piano Roll reader/player (yes antique paper piano rolls !)<br>that will read holes on a scrolling paper and play the actual musical notes<br>using MIDI standards..<br>This has already been done in the past but with very few documentations left<br>for DIYers like me.<u></u><u></u></span></p><p class="gmail-m_-6855396253194307503MsoPlainText"><span lang="EN-CA">So.. I'm thinking of using IR (940nm) LEDs, phototransistors and aligned short optical fibers<br>to read the actual scrolling holes. 90 phototransistors will be used as 'bit' readers.<br>I would use IR because paper is mostly opaque to 940nm wavelength<br>compared to visible light that could get through it.<u></u><u></u></span></p><p class="gmail-m_-6855396253194307503MsoPlainText"><span lang="EN-CA">Because of that high quantity of PT’s to be read I was thinking of using<br>rows/columns matrix of switches like keyboards in synths like this:<u></u><u></u></span></p><p class="gmail-m_-6855396253194307503MsoPlainText"><span lang="EN-CA"><u></u> <u></u></span></p><p class="gmail-m_-6855396253194307503MsoPlainText"><span lang="EN-CA"><img style="width: 5.1875in; height: 5.177in;" id="gmail-m_-6855396253194307503Image_x0020_4" src="cid:182a3783cf57745b41" width="498" height="497"></span><span lang="EN-CA"><u></u><u></u></span></p><p class="gmail-m_-6855396253194307503MsoPlainText"><span lang="EN-CA">But instead of switches like in this circuit I would use 2 pins phototransistors like this one:<br><img style="width: 1.5937in; height: 1.5in;" id="gmail-m_-6855396253194307503Image_x0020_5" src="cid:182a3783cf54cff312" width="153" height="144"><br><br><u></u><u></u></span></p><p class="gmail-m_-6855396253194307503MsoPlainText"><span lang="EN-CA">The resistors could be around 10K and this configuration would use only 2 x 8 bits ports.<u></u><u></u></span></p><p class="gmail-m_-6855396253194307503MsoPlainText"><span lang="EN-CA">But I was wondering about using PT’s in a matrix like that would bring glitches or noise<u></u><u></u></span></p><p class="gmail-m_-6855396253194307503MsoPlainText"><span lang="EN-CA">In the CPU readings.. <br>Has anybody used PT’s in such a circuit ?<u></u><u></u></span></p></div></div>_______________________________________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@synth-diy.org" target="_blank">Synth-diy@synth-diy.org</a><br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer" target="_blank">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank">marketplace@synth-diy.org</a><br>
</blockquote></div>