User Tools

Site Tools


esp-ftl

ESP-FTL

wifi sensor board

BOM

oshpark board $2.40
esp8266 $2.09
antenna $0.47
LM1117 3.3v $0.04
usb type b $1.23

parts total: $6.23

Inventory

hw-rev mac nickname versions
FTL 2016-Sep io4] 5c:cf:7f:14:2f:19 (oddball power lead) flash fail 2019-02-13
FTL 2016-Sep io4] 5c:cf:7f:15:03:aa electrical tape gum PHY 1136_0 pp ver 10.2 SDK 2.1.1 NodeMCU 2019-02-14
FTL 2016-Sep B io4
FTL 2016-Sep C2 io2 :45:5f SDK 200 NodeMCU 2017-05-12
FTL 2017-May D1 io2 5c:cf:7f:d5:7e:da first dotstar PHY 1134-0 pp ver 10.2 SDK 2.1.0 2017-05-05
FTL 2017-May E1 io :69:e9 PHY 1136-0, pp ver: 10.2 SDK 221 NodeMCU 2018-11-18. FLASH FAILED
FTL 2017-May E1 io2 18:fe:34:d4:42:97 marble16 SDK 2.1.0 NodeMCU 2017-07-22

FTL 2016-July

esp12-ftl.jpg

May 2016 Rev

Todo

July 2016 rev

  • fix capacitor trace
  • connect center ground pins
  • 15 to gnd, use one of the center pins

Pinout data

http://www.esp8266.com/viewtopic.php?p=45746

esp8285

Pin Experiments

2016-Aug-6

  • WORKS GND: 1[gnd],9[GPIO15/sdcard],17,18,19,20[4xcenter_ground] PWR: 3,4[cdpd],12[GPIO0/load-flash],11[GPIO2/justhigh]

2016 Sep esp-square boot ' ets Jan 8 2013,rst cause:2, boot mode:(3,6)'

2016 Sep esp-square download ' ets Jan 8 2013,rst cause:2, boot mode:(1,6)'

2017 fail 'ets Jan 8 2013,rst cause:1, boot mode:(5,7)'

boot device:
    0:
    1: ram
    3: flash

boot mode (x,y); x = [. . . . . GPIO15 GPIO0 GPIO2]

https://github.com/esp8266/esp8266-wiki/wiki/Boot-Process#esp-boot-modes

mode15 0 2
1L L H Download from UART
3L H H SPI Flash boot
>=4H x x SDCard boot

reset causes http://www.esp8266.com/viewtopic.php?p=2096#p2112

 reset causes:
      0:
      1: normal boot
      2: reset pin
      3: software reset
      4: watchdog reset

Sensors

  • Dust DSM501A
  • Gas TGS2600
  • Sound SPH0641LU4H-1
  • Temp DS18B20
  • Light

Pins that matter for NodeMCU

  • Grounds: 1 or center pads[17,18,19,20]
  • Power: 3
  • NeedHigh: 4/CH_PD[float?], 11/IO2[float high], 12/IO0[float high]
  • NeedLow: 9

AT Firmware also wants

  • NeedHigh: 4

Sep 2016 changes

  • Cut pin 5!
  • drop status led?
  • swap ANT and NeoPx
  • add single neopx?

Hotplate Reflow technique

warmup while on 'W' on WARM
place board 
wait until 0:15
turn up heat
wait until 1:30

September FTL 2016 changes

  • put GPIO2 on the NeoPix port
  • route gpio2 to 3535 neopix, then to neopix port.
  • smaller regulator?
  • swap temperature/ds18 pins
  • usb serial chip? on the front of the square board, with handsolder pins

Square Sep 2016

Assembly notes

  • 3535 goes in with window square thing UP
  • first: power led+resistor+usb
  • test: lm1117 in/gnd pads for +5
  • second: esp8266
  • third: lm1117
  • test: 3535 pwr/gnd pads
  • fourth: 3535

changes

  • 5v rail fix!
  • wider 3535 pads
  • two 3535 slots
  • jst-whatever plugs all around
  • +5v input/gnd pinholes

FTL8285

  • consider neopix port 5v as power source to board
  • plug/terminator for neopx strip, with wifi and apps! JST-SM connector (3pin)
  • light sensor
  • oled big connector on bottom
  • TODO: reevaluate GPIO0, SDCARD, GPIO2 to NeoPix port & Onboard Pix?

New Parts

Square 8285 Oct 2016

  • 8285 GND unconnected! (fixed)
  • power/status leds resistor in parallel (fixed)

8285 Nov 2016

  • ESP needs a 26MHz Crystal + 2 10pF caps
  • JST connecors were changed to the wrong size
  • power CAP back-fed into data pin and fried! zener diode BAT-54S?
  • level-shifter BSS138L for neopix gpio?
  • 330 ohm gpio?

8285 Jan 2017

  • Connect EXT_RESET to 10k R + high
  • Connect R12 to 12k R + low
  • add pinout for SPI/ADA102?

Feb 2017

  • Fix cross-wiring at 3535

March 2017, back to 8266EX

  • NodeMCU Build
    • package list: (std) + ws2812, mdns

June 2017

  • notes: major flashing trouble.
    • fixed: bad row on breadboard
    • not sure fix: esptool --flash_freq 80m --flash_mode dio
  • Todo
    • add SPI interface (add 10k resistor to pin9/gpio15)
    • order more!

Rev 2017 May D1

Rev 2017 May E1

  • Drop pin9 resistor, restore ground
  • Run clk and mosi to bottom/neopix row (share clk)

Setup notes Sep 2017

  • Flash nodemcu-master-13-modules-2017-07-22-16-46-41-float.bin
  • Load init.lua, rainbow.lua, wifigo.lua

Rev 2019 Mar

  • HSPI (spi 1) GPIO12/MISO, GPIO13/MOSI, GPIO14/CLK, GPIO15/CS
  • update: only MOSI & CLK needed.
  • update: any two gpio pins work
  • Add: 5v voltage monitor (v divider on adc, no room on adc. channels?)
  • Ambient light measure (GL5528 10k-20k ohm, pinout 3.3v, ADC 0-1v)
  • Flip gnd/data for temp sensor
  • add pwr-data resistor for sensor
  • add extra pin at bottom for apa102
  • reset button (esp wifi credentials reset)
  • port for gpio switch (doubles as credentials reset w long press)
  • move power led to gpio led
  • power port instead of usb plug?
  • fix: mdns

2019Mar BOM

  • esp12s $2
  • esp32 $3.30
  • attiny85 $2.24
  • laserbee 8051 $1.38
  • 1.5-5.5v → 3.3v reg 500mA $1.09 LD39050PU33R (lavalamp test: 20ma observed)
  • 2-8v → 3.3 reg 400ma $0.87 XC6203E332PR-G (easier to solder)
  • 0-15v → 3.3v reg 800mA $1.10
  • mini-usb connector $0.46
  • 5050 rgb
  • 3030 rgb
  • gpio led + resistor
  • ds18b20 ($0.50 aliexpress)+ resistor
  • bme280 press/humid/temp $3
  • VEML RGB sensor $2.12

ESP12s flash params

SPI Speed      : 40MHz
SPI Mode       : DIO
SPI Flash Size & Map: 32Mbit(512KB+512KB)

3.3v vreg considerations

serial CTS/RTS 2019Nov

  • watched CTS/RTS on esp12s
    • CTS always high
    • RTS always low
    • no help
  • mongoose os reports esp8266 can handle 4MBaud, so speed is no issue
esp-ftl.txt · Last modified: 2019/11/24 19:05 by donpdonp