Pages: [1] 2   Go Down
Author Topic: I need help to design a circuit to control a latching solenoid  (Read 1782 times)
0 Members and 1 Guest are viewing this topic.
Israel
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have an on/off foot paddle I want to connect to latching solenoid. When I press the peddle, I need to send a 100ms pulse to the solenoid. As long as I keep the foot down pressing on the peddle, nothing should change. When I take my foot of, I need to send another 100ms pulse.
The solenoid will open when it get a positive 6VDC pulse and will close when getting a negative (-)6VDC pulse.

I don't really know how to start, but I know I don't want to use a microcontroller and I think a 555 timer can do the trick.
Logged

Valencia, Spain
Online Online
Faraday Member
**
Karma: 150
Posts: 5735
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't want to use a microcontroller

So why are you posting in Arduino forums? smiley

« Last Edit: January 31, 2013, 05:58:51 am by fungus » Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 639
Posts: 34724
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Use a h-bridge to drive your solenoide and a 555 as a monostable to generate the pulse. The pulse should do two things, enable the h-bridge and trigger a flip flop. The output of the flip flop should drive the h-bridge direction.
Logged

Israel
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

But how do I keep it from generating pulses when the pedal is kept pressed?
Logged

Cumming, GA
Offline Offline
Edison Member
*
Karma: 20
Posts: 1660
Ultimate DIY: Arduino
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe start here?

http://www.instructables.com/id/Make-an-LED-Blaster/step2/Build-the-555-ic-one-shot-timer/
Logged

Valencia, Spain
Online Online
Faraday Member
**
Karma: 150
Posts: 5735
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

But how do I keep it from generating pulses when the pedal is kept pressed?

All this would be easy with a microcontroller, but noooo....  smiley-evil


Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 639
Posts: 34724
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

But how do I keep it from generating pulses when the pedal is kept pressed?
You wire the 555 up as a monostable, then you AC couple into it from your foot switch (attach it through a capacitor) then you will only get spikes that trigger the monostable when you press and again when you release.
Logged

Israel
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

AC couple?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 639
Posts: 34724
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

AC couple?
http://en.wikipedia.org/wiki/Capacitive_coupling
Logged

Israel
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Using a micro controller will take all the fun out of it ;-)
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 48
Posts: 2935
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Fun... Hell man what you are talking about is hard work, the controller is easy

Bob
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Israel
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It might be easy but if I want to make many of these circuits, it means I have to prepare an ISCP connector on my PCB and upload a sketch to each unit, which is time consuming.
I need it to be as small as possible since it needs to fit inside a foot pedal.
Logged

Valencia, Spain
Online Online
Faraday Member
**
Karma: 150
Posts: 5735
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It might be easy but if I want to make many of these circuits, it means I have to prepare an ISCP connector on my PCB and upload a sketch to each unit, which is time consuming.

a) Soldering a dozen extra components to a PCB is time consuming, too...

b) https://www.adafruit.com/products/394

Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Israel
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In the long run, an assembly house would do that for me.

I really liked the pogo pins! Didn't know this solution existed smiley
Logged

Valencia, Spain
Online Online
Faraday Member
**
Karma: 150
Posts: 5735
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In the long run, an assembly house would do that for me.

If you're producing on that scale then the cost of the parts/fabrication should be #1 priority. I'm not sure which would win though, you're only dealing with switches and digital signals so a microcontroller is hard to beat. Atmel makes some really, really small chips for simple jobs like this (six pins).
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Pages: [1] 2   Go Up
Jump to: