Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


OneGoodRun

3 posts

Wannabe Geek


#270606 18-May-2020 14:03
Send private message

Hi there,

 

 

 

I'm new here and new to electronics (but I write code as a day job).

 

Could I please have some help to do the equivalent of pressing the garage door button via a webpage.

 

I'm specifically not sure of how to turn pulling a pin up for a short period of time ESP8266 micro-controller (3.3V Logic) to closing a 1V, 200mA circuit.

 

Do I just use a transistor like the BC547/8/9 and use a 1ohm base resistor?

 

Or do I need to do something more complex, such as use a voltage divider circuit first?

 

Also should I add an diodes anywhere to prevent damaging the garage door circuitry?

 

 

 

Thanks in advance,

 

Hamish

 

 


Create new topic

mdf

mdf
3566 posts

Uber Geek
+1 received by user: 1519

Trusted

  #2485644 18-May-2020 14:28
Send private message

I did this a while ago using a relay shield. See https://www.geekzone.co.nz/forums.asp?forumid=141&topicid=198633&singlepage=yes

 

I've since upgraded to Open Garage.




fearandloathing
537 posts

Ultimate Geek
+1 received by user: 206

ID Verified
Lifetime subscriber

  #2485646 18-May-2020 14:30
Send private message

I use one of these to control my garage door

 

https://www.fibaro.com/en/products/smart-implant/

 

 


richms
29098 posts

Uber Geek
+1 received by user: 10208

Trusted
Lifetime subscriber

  #2485648 18-May-2020 14:36
Send private message

Tasmota on a wemos d1 mini board with a relay shield added on will do what you want.




Richard rich.ms



davidcole
6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #2485653 18-May-2020 14:50
Send private message

Does the garage door have input terminals?   and just need an electrical pulse to trigger the motor? Mine is hooked to my alarm, and I think it's just a 5v or 12v pulse down the line to tell it to activate.

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


chevrolux
4962 posts

Uber Geek
+1 received by user: 2638
Inactive user


  #2485655 18-May-2020 14:52
Send private message

Load ESP Easy on to it =)

 

Then use the "Pulse" command. That's how I control my garage and gate relays. You can hit either with a GET request or send the command via MQTT.

 

https://www.letscontrolit.com/wiki/index.php/GPIO

 

Edit: Oh sorry... you will want a relay on that GPIO though.


OneGoodRun

3 posts

Wannabe Geek


  #2485659 18-May-2020 15:05
Send private message

mdf:

 

I did this a while ago using a relay shield. See https://www.geekzone.co.nz/forums.asp?forumid=141&topicid=198633&singlepage=yes

 

I've since upgraded to Open Garage.

 

 

Open Garage looks like quite a smart option, will be a useful project to review if I can't get the circuit to work with transistor.


 
 
 
 

Shop now for Lenovo laptops and other devices (affiliate link).
OneGoodRun

3 posts

Wannabe Geek


  #2485668 18-May-2020 15:08
Send private message

davidcole:

 

Does the garage door have input terminals?   and just need an electrical pulse to trigger the motor? Mine is hooked to my alarm, and I think it's just a 5v or 12v pulse down the line to tell it to activate.

 

 

 

 

No not specifically, it's a pretty old Dominator roller garage door.

 

On pressing the button I measured the voltage = 1V, and current = 200mA. 

 

It seems like a pretty small current, so I've gone looking at using transistors instead of relay.  Is it possible?


richms
29098 posts

Uber Geek
+1 received by user: 10208

Trusted
Lifetime subscriber

  #2485684 18-May-2020 15:18
Send private message

You don't know for sure what it will trigger at. For the cost and certainty a relay is the way to go.




Richard rich.ms

dolsen
1483 posts

Uber Geek
+1 received by user: 319

Trusted
Lifetime subscriber

  #2485691 18-May-2020 15:32
Send private message

richms: You don't know for sure what it will trigger at. For the cost and certainty a relay is the way to go.

 

 

 

Yeah, I like these (cheaper elsewhere)

 

 

 

https://www.elecrow.com/esp8266-esp-01-esp-01s-relay-wifi-smart-control-module-for-arduino.html

 

 

 

 

 

 


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.