Need help making or finding really simple circuit - huge noob

Status
Not open for further replies.

shibe

Newbie level 6
Joined
Oct 19, 2014
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
99
I need a relay circuit with an output of 12v. I need the relay to be activated by a button and run for a duration of time that is set with a knob/trimmer. times only need to be adjustable from 1-20 seconds roughly. when the timed circuit ends, it does not start again until the button is pushed. It would be nice to have a red led when off and a green led when running for duration.

I know this will probably be simple and I am willing to bet that there is a pre-built option for this somewhere online, but i do not know what I would be looking for.

So if anyone one is willing to point me in the right direction or help me build this, I would be very appreciative!
 

ALERLINKS has been helpful thank you. I need help building this still so anyone on the forum please let me know if you want to help me build this or do it for me for donation. Here are the PMs with ALERLINKS.

 

Get aquanted with some basic components and their symbols
pushbutton switch, normally open

Push switch (Single pole, single throw)



Resistor

https://en.wikipedia.org/wiki/Resistor

"a"


"b,c"
Variable resistor
https://en.wikipedia.org/wiki/Potentiometer



It is difficult to print and read numbers resistors, so its value is encoded with color rings.
Color code



Capacitor
https://en.wikipedia.org/wiki/Capacitor




Capacitor, polarized





Electronic symbols
https://en.wikipedia.org/wiki/Electronic_symbol

LM555 IC
https://en.wikipedia.org/wiki/555_timer_IC


"Top view"



LED
https://en.wikipedia.org/wiki/Light-emitting_diode




I shall post further detail meanwhile try to figure out from schematic. It will require six similar circuits.

A circuit and its simulation driving an LED,
 

Attachments

  • 555 timer.rar
    276.7 KB · Views: 107

Wow thank you! I think I actually understand that schematic for the most part now! So If I were to make six of these boards, how would I wire them to a single power supply, and also what size/type of power supply would I need?

Also what kind of attachment circuit could I make that would run 3 of the motor circuits sequentially (not at the same time, because I think the power draw would be too much and slow down the motors, correct me if I'm wrong)?

Some of the parts on the schematic I am still unsure what they are exactly or how to find them. If you label all the parts for me on the schematic with their full names then I should be able to order the parts and get it all soldered together. I don't want to miss order anything, so could you make a full parts list? Thanks again!
 
Last edited:

Why does that schematic have a push button and a push switch? Also, is it the variable resistor that determines run duration?

- - - Updated - - -

Ok just one more thing alertlinks, if you give me a list of the part names on that schematic I think I could order them all and do the soldering. The schematic has details but I don't want to miss order anything, so labeling each part with its full name would make this a possible build for me! Thanks again!
 

Ok, I think I have my parts list sorted with everything I need. But I am confused on two segments of the schematic on what parts to use. here is a picture of what I need to clear up before I move on and can build this thing.



If you can explain those to me then I think Ive got it!
 
Last edited by a moderator:

I did not described about these two components.
Diode


IN4001
https://en.wikipedia.org/wiki/Diode

Relay
It consist of a coil and a switch. When current passes through coil, it makes a magnet which pull the switch to close. This internal switch then controls the motor. You can observe this action in animation video.
https://en.wikipedia.org/wiki/Relay




This is variable resistor. It controls on_time. Its value is 100k. If you need to turn it often, then use bigger one such as used for volume control with a knob. If you only want to set time for once, then use small preset. As schematic was captured during animation and it was turned near halfway, that's why it is showing 44%, indicating its setting. Watch this action in the video when its value is changed and on_time is varied.


I will make parts list and layout plan.
 

Thank you! a couple more questions..
I think I have found the right spdt relay, it has five pins. Which pins connect where? The motors +/- connect to the spdt relay, correct? and which relay pins connect to the diode?
Also, what size and type of power supply should I use to not damage the fet?
 

FET is a solid state switch which can be used in place of relay but we are using relay which has a mechanical part. In most cases coil does not have a polarity until it has a built-in diode. If you have a multi-meter you can check resistance of coil on some two points. Normally it is shown on relay.

You can make relay board separate from other circuit with connectors.



Get a power supply which can provide enough current to run the motors simultaneously which are ever active. For example if three 12V motors are on, and each draws 300mA then add all. It becomes 900mA. Initial current is higher so give it a margin. Make it double. A 12V/2A will do. It does not matter if it can supply more current.
Higher, the better.
 

I have used those blue relays with raspberry pi projects so I understand that relay and I understand the power supply needs, thank you so much.
The ports im familiar with on the blue relay are vcc, ground and the trigger wire, which of these ports conects to the diode and the +/-? If i am using a 12v psu for the motors/relays, what psu do I connect to the 555 +/-? Can I power the 555 and relay vcc from one power source?
 

If you show picture of the relay you already have, we can make it work. The blue relay board, you are describing may already diode and relay driving transistor. That's why their is trigger input instead of connections for coil. As motor and circuit require 12V. A single supply can drive both.

Now timing component adjusted to set interval from 0.5Sec-24Sec. Added red Led for off indication and connections to use single supply.
 

Layout:







Parts List for one board

Resistors: (All 1/4 watts 5%)
2.2KOhm 3no
47KOhm 2no
Variable resistor, 100KOhm 1no
Capacitors:
100nF 3no
220uF 2no
Diodes:
IN4001 3no
LED red 1no
LED green 1no
IC:
NE555
Misc:
12V relay
Vero board
connectors
 

Here is the relay board I have: https://www.amazon.com/gp/product/B0057OC5WK/ref=oh_aui_detailpage_o06_s00?ie=UTF8&psc=1
Your last two layouts appear to be different, which one should I use? The variable resistors that I have seen have 3 pins and the layout shows 2?
I almost understand enough to start buying parts for this project, i am unsure about the trigger/switch and variable resistor placement. Could you look at the link and tell me if those relays will work for this layout? thanks!
 


This is this type. It has three terminals. Centurial terminal is connected with either side.
you can use any type, only connect two adjacent leads on either side.



Switch is separated from layout so as to easily place it on some convenient place for example on dial or you can put it directly on pcb in place of trig_connector.
What else you see the difference. This layout is for last schematic in post#14.
The board, you have, has following specifications.
Basic difference is that, it operates with 5V and its input is inverted that means when input is high, relay is in off state and when input is zero, relay will turn on. It can work with our circuit after slight modifications or if you can programme a microcontroller, the whole circuit functions can be generated with a microcontroller for example a PIC16F877. I can make a hex code for this application.
 

A video is attached. There are six independent timers using PIC microcontroller.
 

Attachments

  • 6timers.rar
    44.3 KB · Views: 95

If you think it would be easier to use a rasp pi, relay board and hex code then lets do it that way! Would I just have a monitor and mouse connected to my rasp pi and it will work like in the video? That would be perfect!
 

I don't have experience with rasp pi. It has recently became available in market. The video is simulation of hex file using PIC microcontroller. It require less components to assemble.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…