Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / Re: Accelerometer ( Road Condition ) Need a sketch on: March 06, 2011, 01:55:27 pm
Basically, i have a project regarding road conditions which is (forward,backward,right,left based on accelerometer sensor that detects X-Y axis). My input is 2axis-accelerometer and the output is LED. I need a sketch regarding the road conditions. Example, when a vehicle move forward which is Y axis LED must be turn ON. Example no.2, when a vehicle move backward which is -Y axis LED must be turn ON. Example no. 3, when a vehicle move right which is X axis LED must be turn ON, also in -X axis.

when detect Y axis LED turn ON:
-y axis must off:
x axis must off:
-x axis must off:

Thanks for your reply. Hoping for your reply again smiley
2  Using Arduino / Programming Questions / Accelerometer ( Road Condition ) Need a sketch on: March 06, 2011, 01:21:51 pm
Anyone knows how to program a road condition in switch case statement regarding accelerometer based on its reading.

example:

void accelerometer(int direction)
{
switch(direction)
{

case 1: //forward
   digitalWrite()
   break;
}
}

Thanks for your help
3  Forum 2005-2010 (read only) / Development / Re: HELP !! Arduino Board and Accelerometer Sensor on: January 23, 2011, 12:51:15 pm
Nope. I make a research about these and i don't see the code and schematic. Can you help us making the code and schematic? Our project familiar like these.
4  Forum 2005-2010 (read only) / Development / Re: HELP !! Arduino Board and Accelerometer Sensor on: January 23, 2011, 10:27:46 am
Sir, our accelerometer will be used is ADXL330 and 4 LEDS. sorry i made wrong about xyz axis. Our project will illuminate an LED in whatever direction the Arduino or the prototype tiling. To simply put, 4 leds react when tilted. Example, when tilt in y axis the LED is on, when tilt in x axis the LED is on, when tilt to xy axis which is z the LED is on. Thanks
5  Forum 2005-2010 (read only) / Development / HELP !! Arduino Board and Accelerometer Sensor on: January 23, 2011, 08:24:28 am
we have a project about 4 Leds react when tilt exceeds a value. Example the led in XYZ axis. How to start the code and the schematic diagram. Thanks
6  Forum 2005-2010 (read only) / Development / Re: Driving Strategist using Accelerometer and Arduino on: January 21, 2011, 06:49:26 am
thank you for your help and reply. sorry i made wrong. our project is not measuring the speed. We use accelerometer to get acceleration and aside from that it detect tilts. Our project will aid the driver. The hardware will send signal to the driver and the signal will be LED DISPLAY. The driver will choose either he will follow the signal or not. Also our project will focus on fuel efficiency.

Example:

If the driver go left. Our hardware will act and create signal via LED.
7  Forum 2005-2010 (read only) / Development / Driving Strategist using Accelerometer and Arduino on: January 19, 2011, 09:41:41 am
Can anyone help or suggest about programming for our project.  We do not know how to start. Our project entitle driving strategist. The project will aid the driver. The project compose of our main input is the Accelerometer, Arduino controller, and the LED for display.

Red Led = slow down
Green Led = go

Thank you very much
8  Forum 2005-2010 (read only) / Interfacing / Driving Strategist using Accelerometer and Arduino on: January 19, 2011, 09:42:43 am
Can anyone help or suggest about programming for our project.  We do not know how to start. Our project entitle driving strategist. The project will aid the driver. The project compose of our main input is the Accelerometer, Arduino controller, and the LED for display.

Red Led = slow down
Green Led = go

Thank you very much
9  Forum 2005-2010 (read only) / Exhibition / Re: Arduino + Accelerometer: Tilt Detection on: January 23, 2011, 07:49:51 am
Good day! Sir can you post the schematic of your project. We will make a project like this. Thanks
10  Forum 2005-2010 (read only) / Exhibition / Re: Arduino + Accelerometer: Tilt Detection on: January 19, 2011, 10:33:04 am
Sir where we can buy that kind of Accelerometer? Thanks for reply
Pages: [1]