Skip to content

Elphel/ktnn-wifi-30a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

ktnn-wifi-30a

Simple custom firmware for KTNNKG wifi 30A High Power WIFI Relay Switch.

Connects as client to the provided wifi hotspot (must be IEEE802.11 b/g/n (2.4MHz)) with a hardcoded ip address.

Simple - does not need extra servers or smartphone app.

Not secure.

Code pieces are taken from here and there while looking through ESP8266 programming guides and tutorials.

hardware setup

  • WIFI module is marked as PSF-B01
  • The pinout matches with this one. Note the bottom view.
  • Soldering is required: TX, RX, GPIO0, GND and 3V3
  • Programming cable - this one with 3.3V used for VCC

build and upload

Arduino 1.8.9 (download libs for ESP32):

  • Board: Generic ESP8285 Module
  • Upload speed: 921600
  • CPU frequency: 80 MHz
  • Crystal frequency: 26 MHz
  • Flash size: 1M (No SPIFFs)
  • Reset method: ck

Short GPIO0 to GND and power on to boot in the programming mode.

Upload the sketch. Check the serial output.

Power off, disconnect the programming cable, connect input wires, power on.

http://ip/on

http://ip/off