Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / Re: Newbie to Arduino Code Help on: February 27, 2011, 08:10:57 am
     -     +
----[]  []    []----[]     []
9v battery         on off switch
2  Using Arduino / Programming Questions / Re: Newbie to Arduino Code Help on: February 27, 2011, 07:28:57 am
everything is set up correctly !!

Thanks
3  Using Arduino / Programming Questions / Newbie to Arduino Code Help on: February 27, 2011, 04:36:48 am
Hi To All I Have this circuit it is a lightning trigger and i tried to make the codes for it but they  are not working not even the power led is not powering up can someone help me please

Thank You !!





Code:
#define SHUTTER_PIN 5
#define LIGHTNING_TRIGGER_ANALOG_PIN 0
#define TRIGGER_THRESHHOLD 5

int lightningVal;

void setup()
{
pinMode(SHUTTER_PIN, OUTPUT);
digitalWrite(SHUTTER_PIN, LOW);
pinMode(6, OUTPUT); // Your blink LED
digitalWrite(6, HIGH); // Turn off your blink LED
pinMode(7, OUTPUT); // Your power LED); Your power LED pin
digitalWrite(7, LOW); // Turn on your power LED
Serial.begin(9600); // open serial

lightningVal = analogRead(LIGHTNING_TRIGGER_ANALOG_PIN);
}

void loop()
{
int cmd;
int newLightningVal = analogRead(LIGHTNING_TRIGGER_ANALOG_PIN);
Serial.println(lightningVal, DEC);

if (abs(newLightningVal - lightningVal) > TRIGGER_THRESHHOLD)
{
digitalWrite(SHUTTER_PIN, HIGH);
digitalWrite(6, LOW); // Turn on your blink LED
delay(1000); // May want to adjust this depending on shot type
digitalWrite(SHUTTER_PIN, LOW);
digitalWrite(6, HIGH); //Turn off your blink LED
Serial.println("Shutter triggered");
}

lightningVal = newLightningVal;
4  Forum 2005-2010 (read only) / Development / Help identifying parts list in a circuit on: January 18, 2011, 02:12:23 am
Hi To All
Can somebody help me to identify the parts list





thanks for looking
5  Forum 2005-2010 (read only) / Development / Re: Programming a circuit on: January 02, 2011, 03:26:04 pm
Hello,

I have sent you a personal message.

Thank you.
6  Forum 2005-2010 (read only) / Development / Programming a circuit on: January 02, 2011, 04:41:42 am
I have a circuit which is a lightening detector and this circuit works with ATMEGA8-16PU. This lightening detector is for my camera and when there is a lightening thunder, it automatically triggers the camera. I am not a programmer and would like to find a programmer who can program it for me. I can pay for this service through PayPal.

Thanks for taking a look at my question and hope there is someone who can assist me.
7  Forum 2005-2010 (read only) / Development / Re: Cheap PCB shop is the US?  suggestions on: December 18, 2010, 01:49:56 pm
http://www.pcbwing.com/
8  Forum 2005-2010 (read only) / Development / Re: How can you read out the code already on an atmega on: December 18, 2010, 01:17:43 pm
it is not part of an arduino
9  Forum 2005-2010 (read only) / Development / Re: How can you read out the code already on an atmega on: December 18, 2010, 01:12:38 pm
it is a lightning detector
10  Forum 2005-2010 (read only) / Development / How can you read out the code already on an atmega on: December 18, 2010, 11:07:28 am
Hi
Can Anyone help me please
On how can i read out the code already on an atmega8?
how to see the codes so i can upload the codes on a new atmega8
i only have a arduino duemilanove and HV Rescue Shield 2
but i'm new and i don't know what to do

Thanks!!  Wink
Pages: [1]