Society of Robots - Robot Forum
Software => Software => Topic started by: alirezad on July 14, 2012, 08:54:24 AM
-
hi
I'm new to programming AVR.
how can I start programming a new sensor that i dont know how it works.
i mean how to connect them to my AVR and how to program it.
thanks
-
If You don't know how it works, then You cannot write a program for it.
What You should look for is data-sheet of a sensor, there You should get an explanation of what signal it outputs to microcontroller.
If You tell us what sensor You are using, then we have better chances of guiding You to the correct direction.
-
thanks for your answer.
another question :
what kind of information can i get from a datasheet ?
-
what kind of information can i get from a datasheet ?
Erm... "Data!"
Like: voltages needed to power it, how much current it takes, is it controlled via I2C, SPI or just digital I/O. Even example circuits of how to wire it up.
Look at one and see.....