12v relay operated with raspberry pi model B

i want know how to operate raspberry pi with 12v relay and also connected with google assistant . raspberry pi operated with google assistant using mobile

Reply to
birenpanchal1611
Loading thread data ...

snipped-for-privacy@gmail.com wrote in news: snipped-for-privacy@googlegroups.com:

Use a latching relay and a charging circuit that stores up the 12V relay firing pulse.

Like a photo flash unit that stores up an HV pulse from a much smaller source voltage.

Continual energization of such a relay from a lower voltage stepped up is a quick drain on that source. So if battery it drains faster, if AC sourced, the supply you are using for the pi may need to be beefier.

Or simply use a lower voltage relay.

Reply to
DecadentLinuxUserNumeroUno

Dunno what Google Assistant is, but you need to familiarise yourself with the GPIO pins, which is what will drive your relay (directly or via some sort of solid state switch like a MOSFET.) Anyway, this is the wrong group for your question. Try posting your question here instead:

formatting link

--
This message may be freely reproduced without limit or charge only via  
the Usenet protocol. Reproduction in whole or part through other  
 Click to see the full signature
Reply to
Cursitor Doom

Raspberry Pi?

*Always* with a transistor or MOSFET etc. Directly will not work, the GPIO pins are 3.3v (not even 5v tolerant), very low current, liable to die when provoked ... :)

People try direct relays, motors ... but it doesn't end well.

Also, OP could be trying to switch the power on and off TO a Raspberry PI with a 12v relay. It's not clear what the relay is for.

--
--------------------------------------+------------------------------------ 
Mike Brown: mjb[-at-]signal11.org.uk  |    http://www.signal11.org.uk 
 Click to see the full signature
Reply to
Mike

You are in the wrong group for advice on this unless you know how to manage the software to connect with Google Assistant.

When you say 12 volt relay, is that the coil voltage needed or the voltage of the circuit that will be switched? You need to know those two things to design the circuit.

Rick C.

Reply to
gnuarm.deletethisbit

Indeed. I'd risk driving an LED directly, but not much more. :-)

A Pi is way over the top for such a load, anyway. All that fancy graphics capability wasted. He'd be far better off using an Arduino for his modest needs IMHO.

--
This message may be freely reproduced without limit or charge only via  
the Usenet protocol. Reproduction in whole or part through other  
 Click to see the full signature
Reply to
Cursitor Doom

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.