Difference between revisions of "Sonoff DIY 4ch"

From Let's Control It
Jump to navigation Jump to search
(Created page with "= Introduction = The Sonoff DIY 4ch is a relay unit to be used as retrofit. It is based on the ESP8285 chip and can control four relays. = Hardware = File:Sonoff DIY 4ch...")
 
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
* Flash size: 1M
 
* Flash size: 1M
 
* Onboard USB-TTL converter: No  
 
* Onboard USB-TTL converter: No  
* GPIO's broken out/available to free use: None
+
* GPIO's broken out/available to free use: 0, 9, 10, 14 (vias)
 
* GPIO tied to onboard hardware: 4, 5, 12, 15 (Relay 10A@230VAC), 13 (LED red)
 
* GPIO tied to onboard hardware: 4, 5, 12, 15 (Relay 10A@230VAC), 13 (LED red)
* GPIO free to use: 0, 9, 10, 14 (vias)
+
* Power supply information: 7-32VDC or 5VDC (USB)
* Power supply information: 90-250VAC
 
 
* Antenna: onboard PCB antenna
 
* Antenna: onboard PCB antenna
  
Line 28: Line 27:
 
   '''Programmer'''    '''ESP'''
 
   '''Programmer'''    '''ESP'''
 
   TX      <-->  RX (fourth pin seen in picture above)
 
   TX      <-->  RX (fourth pin seen in picture above)
   RX      <-->  TX (fourth pin seen in picture above)
+
   RX      <-->  TX (third pin seen in picture above)
 
   
 
   
 
   '''Power'''
 
   '''Power'''
   7-32V    <-->  VCC (input power, also usb can be used)
+
   7-32V    <-->  VCC (input power, also 5V USB can also be used)
 
   GND    <-->  GND (input power)
 
   GND    <-->  GND (input power)
  
 
In order to get the unit in flash mode the GPIO-0 needs to be LOW. If you have soldered pin headers to the "key" vias you can use a jumper between "COM" and "KEY1".
 
In order to get the unit in flash mode the GPIO-0 needs to be LOW. If you have soldered pin headers to the "key" vias you can use a jumper between "COM" and "KEY1".

Latest revision as of 23:04, 2 December 2017

Introduction

The Sonoff DIY 4ch is a relay unit to be used as retrofit. It is based on the ESP8285 chip and can control four relays.

Hardware

Sonoff DIY 4ch 001.jpg

  • ESP chip version: ESP8285
  • Flash size: 1M
  • Onboard USB-TTL converter: No
  • GPIO's broken out/available to free use: 0, 9, 10, 14 (vias)
  • GPIO tied to onboard hardware: 4, 5, 12, 15 (Relay 10A@230VAC), 13 (LED red)
  • Power supply information: 7-32VDC or 5VDC (USB)
  • Antenna: onboard PCB antenna

GPIO 0, 9, 10, 14 are available on the board, marked with "key" 1, 2, 3, 4.

SonoffDIY4ch002.png

Wiring/flashing

SonoffDIY4ch001.png

A programmer is needed to flash this device.

  Programmer     ESP
  TX      <-->   RX (fourth pin seen in picture above)
  RX      <-->   TX (third pin seen in picture above)

  Power
  7-32V    <-->   VCC (input power, also 5V USB can also be used)
  GND     <-->   GND (input power)

In order to get the unit in flash mode the GPIO-0 needs to be LOW. If you have soldered pin headers to the "key" vias you can use a jumper between "COM" and "KEY1".