Hey guys Matt here from MKSmartHouse.com and in this video I am going to show you how to
build the Fire Sensor.
[Intro]
So, in this video we are going to go over all the parts required for the Fire Sensor
and then we are going to make it.
To start off with the parts we are going to need 2 2 pin PCB Terminals, 1 4 pin female
header, 1 3 pin male header, 1 2 pin jumper, 1 5v to 3.3v regulator, 1 10k resistor, 1
330 ohm resistor, 1 1K resistor, 1 PC817 Optocoupler, 1 esp8266, 1 custom Fire Sensor PCB more on
that later, 1 plastic enclosure, 2 conductor 22 Gauge Cable, Male usb connector and a 5v
USB Wall adapter.
The wall adapter can be any usb 5v adapter like a phone charger.
For tools we are going to need a soldering iron with ST7 tip, flux, steel wire, solder,
wall tac, PCB holder, helping hands, wire strippers, small wire cutters, small flat
screwdriver and a hot glue gun.
That is everything that we will need.
The links to all the parts and tools will be over on my website, link is in the description.
On my website you will also find the kit for this device, so instead of buying all the
parts separately you can buy 1 kit and get all the parts fast and at the same time.
There is even an option to get the device assembled so all you have to do is install
its software and set it up.
In the beginning I did say custom circuit board because to make this easier I designed
a custom circuit board so that way not only will it be very stable and have strong connections
with no guess work in assembling it but, also so I can make many of them really easily for
my house.
I have provided the gerber file on my website as well as where to get it made.
You can also buy the PCB on my website, which is the easiest and fastest way to get them.
Since all the connections are already made on the circuit board all we have to do is
solder the components on to the board.
First let's take the circuit board and put it into the circuit board holder.
If you look closely at the circuit board you will see that there are labels next to the
component slots, when I say where to put the component that is what I will be referring
to.
I like to solder from the less sensitive components to to most sensitive so, let's start off with
the 2 pin terminals, take the terminals and put them in J3 and J4.
Then solder them in.
If you want to know how to solder or how I solder then check out my guide for the door
sensor because in that video I went over it in detail.
Next take the 4 pin female header and put it into J2 and solder it in.
If the leads get long and stick out cut them with wire cutters.
Then take a strip of the male header and using the wire cutters make a header that is 3 pins
long.
Take that 3 pin male header and solder it into J1.
For slot U2 take the 5v to 3.3v regulator and match up its leads to the board and solder
it in.
Next take the 1k resistor and solder it into slot R3.
To put the resistor in the slot you have to bend its leads so that way they are parallel
to each other.
After that take the 330 ohm resistor and solder it into slot R2.
Finally take the last resistor which is the 10k resistor and solder it into slot R1.
The last component on the top of the PCB is the PC817 Optocoupler and it gets soldered
into slot U3 but, when you put it in the slot make sure you align the little circle on the
optocoupler with the square silver pad on the PCB.
Before we flip over the PCB we are going to put the 2 pin jumper on the 3 pin male header
and above the PGM side.
Great now we have one component left to solder and that is the esp8266, it is on the back
of the PCB so flip it over.
I recommend putting flux on every single pad of the esp8266 and of the circuit board and
then solder it in.
Next we are going to work on the power cable to the device.
I am talking about the 5 volt power cable.
First thing we have to do is take the 2 conductor 22 Gauge cable and cut it to length, I cut
mine to the length of 10 feet.
Then take one end of the wire and strip it to expose the 2 conductors.
Strip a little of the each conductor and then take wire boot and plastic boot of the usb
connector and slide it over the 2 conductors.
Next take the helping hands and put the 22 gauge wire in one of them and the usb connector
in the other.
Then solder the black wire to the far left pin and the red wire to the far right pin.
Now put some hot glue on the connector and slide over the plastic boot and the wire boot.
If you want you can connect the USB to the 5v wall adapter but do not plug it into the
wall.
Almost done, strip the other end of the 22 gauge cable and then loosen the two screws
on the 2 pin terminal above the 5v.
Then take the red wire and put it into the hole parallel to where it says + and the black
into the hole above the - symbol and tighten the screws.
You can now put the pcb into the enclosure put do not put on the lid.
That is it for the hardware of the actual device now all it needs is some software which
will be in the next video.
Alright thank you for watching and If you have any questions leave them in the comments
section below or head over to mksmarthouse.com/forum where you have a better chance of it getting
answered.
Good Bye!