Show Posts
Pages: [1]
1  Using Arduino / General Electronics / Piezo Vibration Sensor on: April 21, 2011, 10:27:42 pm
Hi there, I am very very new to electronics in general and hoping to work on a project with the arduino and some vibration and light sensors.

I was wondering if there was an affordable kit I could buy that will allow me to monitor what each sensors is actually doing? From my understanding, most of these sensors produces a current when triggered, in this case a vibration or light, but different level of vibration or brightness would produce different voltage, would a simple volt meter do the job? Or are there more specified kit? Find it quite difficult to work on these sensors as I'm not really getting any feedback, can't easily tell if they are working or how to monitor the intensity, thank you!
2  Using Arduino / Project Guidance / Re: Momentary Switch? [newbie] on: April 16, 2011, 01:15:40 pm
Thanks liudr, that was really very helpful, I'll keep trying.
3  Using Arduino / Project Guidance / Momentary Switch? [newbie] on: April 16, 2011, 09:51:57 am
Harro, Just before I go on I must warn everyone that I'm a huge noob with minimal electronic knowledge, so apologise for cluelessness smiley-eek-blue

I'm starting on a project that essentially is a motor that turns at a trigger pull, a light censor cuts off the motor's circuit when it is exposed, to reset the whole thing 2 buttons need to be pressed in the right order, I can't quite seem to get that to work since the buttons I have are momentary buttons, however due to the space and way the buttons are pressed, they can only be momentary switches.



So here's the sequence:

Trigger pull -> Motor turns -> Light censor exposed for longer than 1/2 second -> Trigger disabled -> Button 1 pressed -> Button 2 pressed -> Trigger re-activated

Since the buttons are momentary, I tried making the Arduino to "remember" that button 1 was pressed for a while by using int, but clearly that's not what it's for.

By the way I'm not home at the moment so this is just me making things up from memory, hopefully it helps to show my point.

  int pressed;
  buttonState1 = digitalRead(1);
  buttonState2 = digitalRead(2);

if (buttonState1 == HIGH  && !pressed) { pressed = 1; }

if (buttonState2 == HIGH && pressed == 1) { digitalWrite(MotorPin, HIGH); }

Any advice is appreciated, thanks for the patience.


4  Using Arduino / Project Guidance / Re: Is Arduino for me? Noob question. (Light sensor for deactivating a device) on: February 23, 2011, 11:03:50 am
Thank you all for your prompt response! Just bought myself a starter kit  smiley-grin
5  Using Arduino / Project Guidance / Is Arduino for me? Noob question. (Light sensor for deactivating a device) on: February 22, 2011, 08:11:31 am
If noob in gaming means someone who sucks, well, I haven't even bought the game yet.  smiley-eek-blue

I am completely oblivious to electronics in general but would like to start, but I have no idea whether I am even looking at the right place.

To simplify, I have a device that is powered by a 7.4v 3000mah lipo battery, it works every time a "trigger" is pulled, and what I'm trying to achieve is to have a light sensor that will deactivate the trigger until another button is pressed, it is also important that the deactivation only happens if the light exposure is longer than say 1/5 of a second.

Is Arduino for me? If so, space is also an issue so will the Nano work?

Thank you all for your time!  smiley-grin
Pages: [1]