513
edits
No edit summary |
No edit summary |
||
Line 67: | Line 67: | ||
This „button - resistor structure“ assures that each button provokes a specific and distinguishable value in the Arduinos serial reading.<br> | This „button - resistor structure“ assures that each button provokes a specific and distinguishable value in the Arduinos serial reading.<br> | ||
The experiment could lead to a more complex button structure that can be used as an „analog input matrix“. | The experiment could lead to a more complex button structure that can be used as an „analog input matrix“. <br><br> | ||
[[File:button_matrix_ladder.jpg]]<br><br> | [[File:button_matrix_ladder.jpg]]<br><br> | ||
Line 82: | Line 80: | ||
In the second experiment we took a closer look at a toy including a keyboard matrix to play a funny collection of sounds.<br> | In the second experiment we took a closer look at a toy including a keyboard matrix to play a funny collection of sounds.<br> | ||
At first we traced each tone back to its switch on the matrix.<br> | At first we traced each tone back to its switch on the matrix.<br> | ||
Then we soldered external wires to the sound terminals in order to make the sounds externally accessible. | Then we soldered external wires to the sound terminals in order to make the sounds externally accessible.<br><br> | ||
[[File:hacked_toy_matrix_l1.jpg]]<br><br> | [[File:hacked_toy_matrix_l1.jpg]]<br><br> | ||
Line 92: | Line 89: | ||
These relays allowed us to turn the sound on and off so that little pieces of the sounds could be cut out. | These relays allowed us to turn the sound on and off so that little pieces of the sounds could be cut out. | ||
We stopped our experiment as soon as we realized that we would need a lot of (expensive) relays to control every available sound on the toy chip. | We stopped our experiment as soon as we realized that we would need a lot of (expensive) relays to control every available sound on the toy chip.<br><br> | ||
[[File:hacked_toy_matrix_sound.jpg]]<br><br> | [[File:hacked_toy_matrix_sound.jpg]]<br><br> | ||
Line 102: | Line 97: | ||
After that I decided to explore the toy matrix a little further.<br> | After that I decided to explore the toy matrix a little further.<br> | ||
A drawing helped me to understand and trace the connections inside the matrix structure.<br> | A drawing helped me to understand and trace the connections inside the matrix structure.<br> | ||
I then attached a DIY connector in order to use the bottom connectors. | I then attached a DIY connector in order to use the bottom connectors.<br><br> | ||
[[File:hacked_toy_matrix_pic.jpg]]<br><br> | [[File:hacked_toy_matrix_pic.jpg]]<br><br> | ||
Line 135: | Line 129: | ||
In order to solve these issues in the future I need to learn about programming „arrays“ and „forloops“ that can help minimizing the amount of code.<br> | In order to solve these issues in the future I need to learn about programming „arrays“ and „forloops“ that can help minimizing the amount of code.<br> | ||
The overlap problem could be solved by using binary functions / average measurements that define clearer value states. <br><br> | The overlap problem could be solved by using binary functions / average measurements that define clearer value states. <br><br> | ||
[[File:matrix_sketch_1.jpg]]<br><br> | [[File:matrix_sketch_1.jpg]]<br><br> | ||
Line 152: | Line 144: | ||
A cool discovery: | A cool discovery: | ||
The multimeter shows that I get a certain value of resistance for each button when all the vertically and all the horizontally connected „lines“ are connected together. <br><br> | The multimeter shows that I get a certain value of resistance for each button when all the vertically and all the horizontally connected „lines“ are connected together. <br><br> | ||
[[File:resistor_values_toy_matrix.jpg]]<br><br> | [[File:resistor_values_toy_matrix.jpg]]<br><br> | ||
Line 175: | Line 166: | ||
I experimented with different materials such as aluminium foil, aluminium plates and a conductive sponge.<br> | I experimented with different materials such as aluminium foil, aluminium plates and a conductive sponge.<br> | ||
My solution consists of a piece of cardboard covered with aluminium foil. <br><br> | My solution consists of a piece of cardboard covered with aluminium foil. <br><br> | ||
[[File:carpet_switch_alu.jpg]]<br><br> | [[File:carpet_switch_alu.jpg]]<br><br> |
edits