all | audio | badgelife | breakout | clocks | displays | experiments | feather | handhelds | home automation | howto | LED art | misc | props | robots | sewing | software | tools | no_category

hacking a smoke detector

adding an ESP-12 with some flipflop magic and MQTT

I started a youtube video for this but noticed that I need to plan this out more, or I will get 50min videos of me mumbling and rambling... so what's better than starting a project to organise your thoughts? This way I can also watch some editing tips videos on youtube. This will touch thematics such as self drive piezos, logic gate, IoT stuff, powering things and MOSFETs. A lot to cover in a short video.

hacking a smoke detector | parts considerations

2017-08-19 11:23:00

http://www.ti.com/lit/ds/symlink/tpl5111.pdf 35nA thing that controls pwr converter and shutdown via gpio. only works with up to 5v though, not nine volt battery. so minimal power conversion still would be necessary.

hacking a smoke detector | parts considerations

2017-08-19 11:23:00

http://www.ti.com/lit/ds/symlink/tpl5111.pdf 35nA thing that controls pwr converter and shutdown via gpio. only works with up to 5v though, not nine volt battery. so minimal power conversion still would be necessary.

hacking a smoke detector | vulcan needed, must be good in logic.

2017-01-14 01:54:39

01:49 am - no boards ordered.


When breadboarding around I've noticed that I made a fatal mistake in that I've connected every GND signal, where there should have been two GNDs that will only be connected when the MOSFET is turned on by the 4001 NOR gate RS Flipflop. So at this point the boards can only be used as breakout boards.


I still have to test the transistor circuit, I think I have it the other way around. I'll test that tomorrow to be fully sure this time. I think I have to pull it low with a resistor and use a PNP instead to reset the flip flop.

https://cdn.hackaday.io/images/1871741484353900807.png
https://cdn.hackaday.io/images/1010481484355121084.png

hacking a smoke detector | vulcan needed, must be good in logic.

2017-01-14 01:54:39

01:49 am - no boards ordered.


When breadboarding around I've noticed that I made a fatal mistake in that I've connected every GND signal, where there should have been two GNDs that will only be connected when the MOSFET is turned on by the 4001 NOR gate RS Flipflop. So at this point the boards can only be used as breakout boards.


I still have to test the transistor circuit, I think I have it the other way around. I'll test that tomorrow to be fully sure this time. I think I have to pull it low with a resistor and use a PNP instead to reset the flip flop.

https://cdn.hackaday.io/images/1871741484353900807.png
https://cdn.hackaday.io/images/1010481484355121084.png

hacking a smoke detector | already revisioning

2017-01-02 19:26:08

I thought about using "dual 2 input nor gates" for the flip-flop circuit, because of space and maybe I could add a battery monitoring circuit to it then. But those aren't as cheap as 4001 chips.


D'oh!

I think I messed up two things:

  1. the signals are not right - the NOR gate outputs should be the other way around
  2. I have no transistor on the ESP to change the state of the flip flop

I guess I have to wait on the parts and test... meh. Wasted day

hacking a smoke detector | already revisioning

2017-01-02 19:26:08

I thought about using "dual 2 input nor gates" for the flip-flop circuit, because of space and maybe I could add a battery monitoring circuit to it then. But those aren't as cheap as 4001 chips.


D'oh!

I think I messed up two things:

  1. the signals are not right - the NOR gate outputs should be the other way around
  2. I have no transistor on the ESP to change the state of the flip flop

I guess I have to wait on the parts and test... meh. Wasted day

hacking a smoke detector | not only youtube inspirations

2017-01-02 13:07:13

Amazon Dash button seems to work in the same way (button activates power supply, device shuts down afterwards)


This video (and also projects from @Radomir Dopieralski) inspired me to use the Wemos form factor


hacking a smoke detector | not only youtube inspirations

2017-01-02 13:07:13

Amazon Dash button seems to work in the same way (button activates power supply, device shuts down afterwards)


This video (and also projects from @Radomir Dopieralski) inspired me to use the Wemos form factor


hacking a smoke detector | design choice: Wemos shield

2017-01-02 12:48:10

I thought a bit about the design and decided to make it compatible to the Wemos D1 board, but also put a minimal "FTDI + ESP12" configuration on there, so the maker can decide what he will build.

Since GPIO15 is pulled low anyway and I'm able to use it - why not make it the latch off pin.

https://cdn.hackaday.io/images/5560081483370011128.png
https://cdn.hackaday.io/images/3070491483372238085.png
https://cdn.hackaday.io/images/652291483372252944.png

hacking a smoke detector | design choice: Wemos shield

2017-01-02 12:48:10

I thought a bit about the design and decided to make it compatible to the Wemos D1 board, but also put a minimal "FTDI + ESP12" configuration on there, so the maker can decide what he will build.

Since GPIO15 is pulled low anyway and I'm able to use it - why not make it the latch off pin.

https://cdn.hackaday.io/images/5560081483370011128.png
https://cdn.hackaday.io/images/3070491483372238085.png
https://cdn.hackaday.io/images/652291483372252944.png