Hi all,
I’m new here and totally new to working with an Arduino. I have recently just got my first. I have lots of experience with analogue electronics and working with hardware. Unfortunately my code writing skills are absolute zero. This is my first “real” Arduino project, I have done most of the examples and basics etc.
I’m trying to make a laser tripwire with a differance. I have a 2 CH remote control and LCD screen which I would like to intergrate. A really loud siren and green laser. The other difference from the many other laser tripwires I’ve seen around is that I would like it to remain in alarm mode until reset.
Here is how I envision it working:
http://i54.tinypic.com/2cxhijb.jpg
Here’s the 2CH R/C
http://i52.tinypic.com/2mwb8gg.jpg
http://i55.tinypic.com/333idcy.jpg
Big loud siren:
http://i51.tinypic.com/2crtzwl.jpg
Digital pins 2,3,4,5,11,12 are used by the LCD
Analog pin 0 by the LDR
I was going to use Digital pins 7,8,9 for the LED’s and the relay to activate the siren.
And either pins 10 and 13 for the buttons or Analog pins 1 and 2.
The R/C module can set each button to be either momentary, latching on/off or various times. I am going with momentary.
I am having a lot of difficulty with this project, I can’t figure out how to have the buttons interupt a process or have the alarm sound indefinately. I also have no idea how to bring this project together and have each bit of code working together.
I would really appreciate it if somebody could have a look at what I am trying to achieve and try point me in the right direction. Maybe somebody has done something similar that I can tweak and play with. I realise that this is a very ambitious first project, however I have all the hardware necessary and this is something that I have dreamed of since I was a child (who hasn’t). It’s literally driving me crazy, I need to achieve this soon. If somebody could write the code for me I would give them full credit (naturally), but I would also tell everybody I know and meet about how awesome they truely are and be forever in their debt.
Please don’t flame me or add anything unpleasent or unconstructive, I realise that this project is way above my skill level (as far as the coding end goes) and that it is a lot to ask, but I really really want to get this done and thought I may as well ask, nothing to lose.
Many thanks for reading. Any input, or assistance getting this project up and running would be very much appreciated