Hello,
first of all I want to say I'm totally new in Arduino.
I'm studying product design and I am desiging a product.
Now for my prototype, I bought a Arduino nano v3, a 4 directional tilt sensor (28036 - Parallax) and some LEDs
I searched on the internet for a while, but due to the fact I'am a beginner, it is hard to know if I need resistors, and if so, which ones.
The project:
_First I want the product to start up when they shake it (it is for children). I was thinking it would be possible with the tilt sensor by saying it, it has to turn on if it changes direction 4 times in less than 5 seconds.
_Each time you flip het product, an extra LED has to light up. So the product becomes brighter when you 'roll' (it's not sphere shaped) it. (1 LED to 6 LEDs)
_To turn the product off, you have to shake it again (see the first step)
Since I'm new to Arduino, and electronics in general, I am very curious if it is possible to make such thing, and if so, how i have to start programming and which resistors I need (or how to identify which ones).
Sorry for al my questions, but it is realy important for me it works. Too bad Arduino is not such a thing teached at University ;(
thanks in advance
links:
Tilt sensor:
http://www.parallax.com/portals/0/downloads/docs/prod/sens/28036-4DirectionalTiltSensor-v1.0.pdf