## 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 {{hardware:esp12-ftl.jpg?500}} ## May 2016 Rev Todo * Fix pad positions in ESP part layout, left-right sides * Extend all the ESP pads 'a smidge' * Connect pin 2 (see https://github.com/esp8266/esp8266-wiki/wiki/Boot-Process#esp-boot-modes) * Add screw/mounting holes * surface mount rgb (ws2812 or apa102 'DotStar') * apa102 docs https://learn.sparkfun.com/tutorials/esp8266-thing-hookup-guide/using-the-arduino-addon * apa102 buy http://www.aliexpress.com/item/10-1000pcs-APA102-LEDs-Chips-IC-SMD-5050-RGB-For-Strip-Screen-with-DATA-and-CLOCK/32496285065.html * ws2812 buy http://www.aliexpress.com/item/10-1000pcs-WS2812B-4pins-5050-SMD-Black-White-version-WS2812-Individually-Addressable-Digital-RGB-LED-Chip/32453497583.html * Turn around esp8266 * extend antenna pads slightly * 10k resistor all the things # 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 new chip $2.60/each QFN32 5mm http://www.ebay.com/itm/like/172263272606?lpid=82&chn=ps&ul_noapp=true http://espressif.com/sites/default/files/documentation/0a-esp8285_datasheet_en_0.pdf breakout https://pcbs.io/share/zMQDz ## 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 |mode|15 0 2| | |1|L L H| Download from UART | |3|L H H| SPI Flash boot | |>=4|H 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 * Microcontroller * esp8285 www.aliexpress.com/item/ESP8285-WiFi-built-in-flash-1MByte-chip/32688480863.html * (see peskyproducts boards https://www.tindie.com/stores/onehorse/) * esp3212 https://world.taobao.com/item/537990378649.htm * esp32 (waiting) + winbond 4mb flash w25q32fv * USB/Serial * USB Serial CP2102N, QFN20. bonus 100ma 3.3v, 24Mhz clock! reg $1.33 * FT230X, batt chg detection, QFN16 4x4 $2.04 * XR21V1410, QFN16 3x3 $3.88 * Volt Regulator * lm2937-3.3 500ma LM2937ESX-3.3/NOPB In 26V $1.81 * LD39050PU33R 500ma in 5.5V DFN-6 $1.03 * CPUs * EFM8LB12F64E-B-QFN32 8051 64k flash, 4k ram $1.71 * Radios * Connectors * JST-XH (Lipo balance plug) ordered from aliexpress 2016-Sep-17 * JST-SM 2.5mm (neopix strip plug) ordered from Amazon 2016-Sep-17 * Displays * 0.49" OLED, 14pin flex. ordered from aliexpress * VEML6040 RGB sensor $2.17 ## 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 * https://www.mouser.com/ProductDetail/Texas-Instruments/LMS8117AMP-33-NOPB?qs=sGAEpiMZZMsGz1a6aV8DcBojudwDyMGacuHNsdAV7yU%3D * https://www.mouser.com/ProductDetail/STMicroelectronics/LD29150DT33R?qs=sGAEpiMZZMsGz1a6aV8DcPlO7P8YByjW32ksfjzOXyE%3D # 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