Small arduino program hobble. - Page 1
Forum section: electronics / general

author: snipersquad100
author_rank: Frequent Contributor
timestamp: February 20, 2015, 07:05:03 pm
content: I'm useless at writing programs for arduino or anything for that matter.I built a low voltage disconnect pcb using trim pots, cmos logic and other ic's, but I couldn't get it to work properly.I was thinking that an arduino would do that with just some code, I.e flick a relay on and off at set voltages, but as I said I don't know anything about programing so I Thought id ask on here if anyone would be able to write the program and I would purchase it off them.Thanks

author: Mechanical Menace
author_rank: Super Contributor
timestamp: February 20, 2015, 07:28:42 pm
content: I'm happy to help you work it out yourself.http://arduino.cc/en/Tutorial/AnalogInputcould be a decent starting point for you

author: IO390
author_rank: Regular Contributor
timestamp: February 20, 2015, 07:40:44 pm
content: You need a relay to turn on/off when a voltage somewhere reaches a certain level?I would use a transistor and a couple of resistors.

author: snipersquad100
author_rank: Frequent Contributor
timestamp: February 20, 2015, 08:01:18 pm
content: Thanks Mechanical Menace

author: snipersquad100
author_rank: Frequent Contributor
timestamp: February 20, 2015, 08:50:58 pm
content: I forgot to say it running off a 2000 amphour 12v battery bank switching a 25amp load, so a transistor and a few resisters wont do IO390

author: Excavatoree
author_rank: Frequent Contributor
timestamp: February 20, 2015, 08:54:52 pm
content: Quote from: snipersquad100 on February 20, 2015, 08:50:58 pmSo add a relay to the transistor and few resistors.Not that there's anything wrong with using this as an educational project - you've got to define your goals. Get the task done with the lowest component cost and lowest complexity? Learn Arduino programming?

author: IO390
author_rank: Regular Contributor
timestamp: February 20, 2015, 09:01:03 pm
content: I meant use the transistor to control the relay.But by all means, have a play with an Ardunio. I'm also useless at programming but even I can use arduinos fine. You'll learn a bit from using one.

author: snipersquad100
author_rank: Frequent Contributor
timestamp: February 20, 2015, 09:09:47 pm
content: If read a few books on arduino and get a little understanding but then I wont touch it for a few months and I forget it, and the thought of of reading it again dornts me. to much head work for an old fart lol.

author: retrolefty
author_rank: Super Contributor
timestamp: February 20, 2015, 11:50:40 pm
content: By all means give learning to program an arduino another try. The project you briefly described would be about a 5 line program. One analog input read to get the voltage a decision statement to either turn a digital output on or off (drives a transistor to control a relay on or off), and loop on that forever.

author: Seekonk
author_rank: Super Contributor
timestamp: February 21, 2015, 12:07:31 am
content: Please, use an Arduino. These are very easy to use for RE applications. I really like the MINI 328, the use anywhere for anything that costs less than $3. You will need a delay to prevent a false trip for momentary false disconnects due to loading. I have a number of simple routines and will help you IF YOU GET SERIOUS. This board has too many spinners.