Skip to content

Latest commit

 

History

History
173 lines (155 loc) · 13 KB

README.md

File metadata and controls

173 lines (155 loc) · 13 KB

PCB

(click for high resolution image)

Top Bottom
PCB top view PCB bottom view

Schematic

(the repository contains the EagleCAD file) image of schematic

Components

bill of materials

Qty needed Qty delivered Part Value Description picture
2 3 C1, C2 47uF SMD, tantalum capacitor, 1206 picture
2 3 C3, C4 100nF SMD, capacitor, 1206 picture
1 1 C6 680uF / 4V Through hole, electrolytic capacitor, diameter 8mm, 3.5mm pin spacing picture
10 11 R1, R2, R3, R4, R5, R6, R7, R8, R10, R15 10K SMD, resistor, 1206 picture
1 2 R9 4.7K SMD, resistor, 1206 picture
2 3 R11, R12 330 SMD, resistor, 1206 picture
1 2 R13 2.2K SMD, resistor, 1206 picture
1 1 R14 S10K275 Through hole, varistor picture
1 1 F1 800mA "Through hole, fuse, 8.35mm x 4 mm, 0.2"" (5.08mm) pin spacing " picture
1 2 LED1 Red SMD, led, 1206 picture
1 2 D1 BAV103 SMD, diode, SOD80 picture
3 4 T1, T2, T3 BC847C SMD, NPN Transistor, SOT23 picture
1 1 B1 5V "Through hole, buzzer, diameter 12mm, 0.3"" (7.62mm) pin spacing" picture
1 1 U1 ESP12E SMD, ESP12E module picture
1 1 U2 LM3940 SMD, Low drop voltage regulator, SOT223 picture
1 1 U3 HLK-PM01 Through hole, power module, HiLink HLK-PM01 picture
1 1 J1 FTDI "Through hole, header female, 6P, 0.1"" (2.54mm) pin spacing" picture
2 2 S1, S2 PROG, RST SMD Push button picture
1 1 S3 SRD-05VDC-SL-C Through hole, Relay SRD-05VDC-SL-C picture
2 2 PIR, SW XH3P Through hole, Connector male XH3P straight picture
1 1 DS18B20 temp sensor encased Module, DS18B20 temp sensor encased picture
1 1 PIR Module Module, PIR picture
1 1 Switch with led Switch with led picture
2 2 XH3P female no pins XH3P female no pins picture
2 2 XH3P wire 10cm [pin -> solder], black XH3P wire 10cm [pin -> solder], black picture
1 1 XH3P wire 10cm [pin -> solder], red XH3P wire 10cm [pin -> solder], red picture
1 1 XH3P wire 10cm [pin -> solder], yellow XH3P wire 10cm [pin -> solder], yellow picture
2 2 XH3P wire 10cm [pin -> solder], white XH3P wire 10cm [pin -> solder], white picture
1 1 Case Case BOPLA 43432501, predrilled picture
1 1 PCB Custom PCB picture
2 2 Cable lug round M3 Cable lug round M3 picture
1 1 Cable lug fork M4 Cable lug fork M4 picture
1 1 Heat shrink tubing 1,5mm, 2.5mm, 6mm, 8mm Heat shrink tubing 1,5mm, 2.5mm, 6mm, 8mm picture
3 3 PCB Fixation screw Allen screw, inox, M3 x 6mm thread length picture
1 1 1.5mm2 x 55mm mains wire brown 1.5mm2 x 55mm mains wire brown picture
1 1 1.5mm2 x 55mm mains wire blue 1.5mm2 x 55mm mains wire blue picture
1 1 1.5mm2 x 55mm mains wire yellow/green 1.5mm2 x 55mm mains wire yellow/green picture

overview

all parts

Assembly instructions

soldering of the PCB

Step 0: BC847 transistors

assembling step 1

Step 1: 10K resistors

assembling step 1

Step 2: 4.7K resistors

assembling step 1

Step 3: 330 resistors

assembling step 1

Step 4: 2.2K resistors

assembling step 1

Step 5: 100nF capacitors

assembling step 1

Step 6: 47uF tantalum capacitors

assembling step 1

Step 7: LM3940 voltage controller

assembling step 1

Step 8: LED

assembling step 1

Step 9: Diode

assembling step 1

Step 10: ESP12E

assembling step 1

Step 11: Push buttons

assembling step 1

Step 12: 680uF capacitor

assembling step 1

Step 13: connectors

assembling step 1

Step 14: buzzer

assembling step 1

Step 15: relay

assembling step 1

Step 16: power supply

assembling step 1

Step 17: FTDI connector

assembling step 1

Step 18: Fuse

assembling step 1

Step 19: Varistor

assembling step 1

Assemble main wires

Step 29: neutral (blue) and live (brown) mains connection wires

1.5 mm² x 70 mm assembling step 1

Step 21: earthing wire (yellow/green)

assembling step 1

Assemble push button

Step 22: prepare wires

assembling step 1

Step 23: connect (black) GND wire

assembling step 1

Step 24: connect (white) SWITCH wire

assembling step 1

Step 25: connect (yellow) + LED wire

assembling step 1

Step 26: shrink and put in housing

assembling step 1

Assemble PIR

Step 27: prepare and connect wires

assembling step 1

Step 28: shrink and put in housing

assembling step 1

Step 29: adjust settings

assembling step 1

  • Sensitivity Adjust => recommended MIDDLE
  • Time Delay Adjust => recommended MINIMUM

Prepare temperature sensor

assembling step 1

##Build PCB in the case

  • solder the temperature sensor to the pcb
  • red = 3.3v
  • black = GND
  • blue = DATA
  • put PCB in case and fix using the screws
  • put the temp sensor through the hole in the case
  • connect the mains and earth wires to the power pins in the case
  • cut 10 mm of heat shrink tube 8mm and slide it over the temperature sensor to fix it

Programming via the FTDI connector

If you want to program manually via the FTDI connector:

  • DO NOT PLUG THE DEVICE IN THE POWER !
  • put in your USB -> SERIAL connector
  • Push the onboard buttons in the correct sequence:
  • push and keep pushing the PROG button
  • push the RESET (while keeping PROG pressed)
  • release both butons
  • De device is now in programming mode

##Assemble front

  • mount the push button in the front of the case
  • fix / glue the PIR sensor in the front of the case

##Assemble the device

  • assemble front and back of case
  • connect push button connector
  • connect PIR connector
  • close case and put in the screws

Packaging

  • 330 gr (including box)
  • ideal box would be approx 70mm x 130mm x 100 mm

Case preparation

PCB top view