EEVblog Electronics Community Forum

General => General Technical Chat => Topic started by: snipersquad100 on February 20, 2015, 07:05:03 pm

Title: Small arduino program hobble.
Post by: snipersquad100 on February 20, 2015, 07:05:03 pm
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
Title: Re: Small arduino program hobble.
Post by: Mechanical Menace on February 20, 2015, 07:28:42 pm
I'm happy to help you work it out yourself. http://arduino.cc/en/Tutorial/AnalogInput (http://arduino.cc/en/Tutorial/AnalogInput) could be a decent starting point for you ;)
Title: Re: Small arduino program hobble.
Post by: IO390 on February 20, 2015, 07:40:44 pm
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.
Title: Re: Small arduino program hobble.
Post by: snipersquad100 on February 20, 2015, 08:01:18 pm
Thanks Mechanical Menace
Title: Re: Small arduino program hobble.
Post by: snipersquad100 on February 20, 2015, 08:50:58 pm
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
Title: Re: Small arduino program hobble.
Post by: Excavatoree on February 20, 2015, 08:54:52 pm
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

So 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? 
Title: Re: Small arduino program hobble.
Post by: IO390 on February 20, 2015, 09:01:03 pm
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.
Title: Re: Small arduino program hobble.
Post by: snipersquad100 on February 20, 2015, 09:09:47 pm
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.
Title: Re: Small arduino program hobble.
Post by: retrolefty on February 20, 2015, 11:50:40 pm
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.



Title: Re: Small arduino program hobble.
Post by: Seekonk on February 21, 2015, 12:07:31 am
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.