513
edits
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 192: | Line 192: | ||
== Finishing the Prototype == | |||
<br> | |||
The plan was to implement more switches into the carpet-matrix in order to allow playing with more output possibilities.<br><br> | The plan was to implement more switches into the carpet-matrix in order to allow playing with more output possibilities.<br><br> | ||
Line 227: | Line 225: | ||
[[File:Alu_Karton2.jpg]]<br><br> | [[File:Alu_Karton2.jpg]]<br><br> | ||
I first planned to use a resistor ladder for the Analog input pin of the arduino in order to minimize | I first planned to use a resistor ladder for the Analog input pin of the arduino in order to minimize the amount of pins being used.<br><br> | ||
[[File:Schematic_Raster_Styro.jpg]]<br><br> | [[File:Schematic_Raster_Styro.jpg]]<br><br> | ||
Line 233: | Line 231: | ||
[[File:Alu_Resistor_Ladder2.jpg]]<br><br> | [[File:Alu_Resistor_Ladder2.jpg]]<br><br> | ||
As this did not work out (too many delays in the code, too slow, a lot of noise) I changed the design | As this did not work out (too many delays in the code, too slow, a lot of noise) I changed the design by attaching a separate <br>wire to each of the eight „circuit lanes“ that go to the Arduinos digital input.<br> | ||
Now there are 6 + 8 = 14 wires coming out of the carpet. 6 of them are used as „digital out HIGH signals“ | Now there are 6 + 8 = 14 wires coming out of the carpet. 6 of them are used as „digital out HIGH signals“ and the other 8 <br>are used as „digital in, normally LOW“ pins that check if a button is pressed.<br> | ||
edits