User Tools

Site Tools


esp-ftl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

esp-ftl [2017/09/21 02:36] donpdonpesp-ftl [2024/01/31 04:08] (current) – external edit 127.0.0.1
Line 16: Line 16:
 ## Inventory ## Inventory
  
-gen | location | mac | +hw-rev  mac | nickname |  versions 
-| FTL 2016-Sep | 5c:cf:7f:14:2f:19 | +| FTL 2016-Sep    io4]| 5c:cf:7f:14:2f:19 | (oddball power lead)| flash fail 2019-02-13 
-| FTL 2016-Sep | Bike | | +| 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 |  
-square revA bedroom light strip | 5c:cf:7f:15:03:aa |+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 ## FTL 2016-July
  
-{{http://donp.org/i/5SjT.jpg?500}}+{{hardware:esp12-ftl.jpg?500}}
  
 ## May 2016 Rev ## May 2016 Rev
Line 74: Line 78:
  
 2017 fail 'ets Jan  8 2013,rst cause:1, boot mode:(5,7)' 2017 fail 'ets Jan  8 2013,rst cause:1, boot mode:(5,7)'
- 
-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 
  
     boot device:     boot device:
Line 95: Line 91:
 |1|L L H| Download from UART | |1|L L H| Download from UART |
 |3|L H H| SPI Flash boot | |3|L H H| SPI Flash boot |
-|4|H x x| SDCard 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 ## Sensors
Line 107: Line 111:
 ## Pins that matter for NodeMCU ## Pins that matter for NodeMCU
  
-  * Grounds: 1 or [17,18,19,20]+  * Grounds: 1 or center pads[17,18,19,20]
   * Power: 3   * Power: 3
-  * NeedHigh: 4[float ok], 11[float ok], 12[float ok]+  * NeedHigh: 4/CH_PD[float?], 11/IO2[float high], 12/IO0[float high]
   * NeedLow: 9   * NeedLow: 9
  
Line 121: Line 125:
   * add single neopx?   * add single neopx?
  
-## Soldering technique+## Hotplate Reflow technique
   warmup while on 'W' on WARM   warmup while on 'W' on WARM
   place board    place board 
Line 169: Line 173:
     * esp32 (waiting) + winbond 4mb flash w25q32fv     * esp32 (waiting) + winbond 4mb flash w25q32fv
   * USB/Serial   * USB/Serial
-    * USB Serial CP2102N, bonus 100ma 3.3v reg $1.66 (out of stock)+    * USB Serial CP2102N, QFN20. bonus 100ma 3.3v, 24Mhz clock! reg $1.33
     * FT230X, batt chg detection, QFN16 4x4 $2.04     * FT230X, batt chg detection, QFN16 4x4 $2.04
     * XR21V1410, QFN16 3x3 $3.88     * XR21V1410, QFN16 3x3 $3.88
Line 191: Line 195:
  
 ## 8285 Nov 2016 ## 8285 Nov 2016
-  * ESP needs a 26MHz Clock + 2 10pF caps+  * ESP needs a 26MHz Crystal + 2 10pF caps
   * JST connecors were changed to the wrong size   * JST connecors were changed to the wrong size
   * power CAP back-fed into data pin and fried! zener diode BAT-54S?   * power CAP back-fed into data pin and fried! zener diode BAT-54S?
Line 216: Line 220:
     * add SPI interface (add 10k resistor to pin9/gpio15)     * add SPI interface (add 10k resistor to pin9/gpio15)
     * order more!     * order more!
- 
-## Rev 2017 May E1 
  
 ## Rev 2017 May D1 ## Rev 2017 May D1
 +
 +## Rev 2017 May E1
   * Drop pin9 resistor, restore ground   * Drop pin9 resistor, restore ground
   * Run clk and mosi to bottom/neopix row (share clk)   * Run clk and mosi to bottom/neopix row (share clk)
Line 227: Line 231:
   * Load init.lua, rainbow.lua, wifigo.lua   * 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
  
esp-ftl.1505961394.txt.gz · Last modified: 2024/01/31 04:08 (external edit)