109Views1Replies
how to detect sensor position with arduino uno
Hi Guys
recently i started use arduino UNO and with simple programs to read from analogue pins wasn't hard.
now i'm facing a challenge, as i have a sensor mat 16x16 (rows and columns)
i want to read 4 rows and 4 columns
i'm trying to use the analogue pins as input for rows and digital pins from (8 to 11) as output
i want the program to detect the position of the sensing area such as (row1 colum 4, for example) and give me the number that measured over this area.
my code is very bad but i'm trying, specially my background wasn't programming or science.
any ideas will be great.
Discussions
4 years ago
This might help to start... http://playground.arduino.cc/Main/KeypadTutorial
You might not have enough pins on an UNO to sense the complete grid and might need to add a multiplexer chip circuit to consolidate several inputs in one. Good luck.