projets:fuz:webduino
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| projets:fuz:webduino [2019-12-03 21:41] – [Description] Lomanic | projets:fuz:webduino [2023-02-02 22:06] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| <WRAP round box 60%> | <WRAP round box 60%> | ||
| ===== Goals ===== | ===== Goals ===== | ||
| - | * [OK] Flash Webduino with different IDEs | + | * [OK] Flash Webduino |
| - | * Check Components : pins, photocell, RGB LED, button | + | * [OK] Check Components : pins, photocell, RGB LED, button |
| * [OK?] Use OTA | * [OK?] Use OTA | ||
| </ | </ | ||
| Line 11: | Line 11: | ||
| * [[https:// | * [[https:// | ||
| - | * Webduino USB port is only used to power the board, not for upload and monitoring | + | * Webduino |
| * The chip is labeled ESP8266MOD by AI Thinker, in fact it is an ESP-12F, same as Wemos D1 | * The chip is labeled ESP8266MOD by AI Thinker, in fact it is an ESP-12F, same as Wemos D1 | ||
| * The board includes a photocell, an RGB led and a button. | * The board includes a photocell, an RGB led and a button. | ||
| - | * [[https:// | + | * [[https:// |
| + | * The Webduino Smart is extremely similar to the " | ||
| ===== Wiring and flashing ===== | ===== Wiring and flashing ===== | ||
| - | Plug Webduino Smart using FTDI **3.3v** module. Webduino and the FTDI must be powered. Webduino is powered through its micro USB port. | + | Plug the Webduino Smart using an FTDI **3.3v** module. |
| | | ||
| Line 31: | Line 32: | ||
| For **rebooting**, | For **rebooting**, | ||
| - | Flashing usual sequence is : | + | Flashing usual sequence is: |
| - Set flash position (GPIO0 on GND) | - Set flash position (GPIO0 on GND) | ||
| - Power the FTDI and the Webduino | - Power the FTDI and the Webduino | ||
| - (RGB goes light blue) Disconnect GPIO 0 | - (RGB goes light blue) Disconnect GPIO 0 | ||
| - | - Upload sketch... Webduino should restart in normal mode. | + | - Upload sketch... Webduino |
| - | - Or disconnect GPIO 0 and restart using RST or Webduino power | + | - Or disconnect GPIO 0 and restart using RST or Webduino |
| ===== Arduino IDE ===== | ===== Arduino IDE ===== | ||
| Line 44: | Line 45: | ||
| ===== Platformio ===== | ===== Platformio ===== | ||
| - | Got it to work as a Wemos d1 ! | + | Got it to work as a Wemos d1! |
| [env:d1] | [env:d1] | ||
| Line 91: | Line 92: | ||
| RGB_color(255, | RGB_color(255, | ||
| break; | break; | ||
| - | case 3: // CYAN | + | case 3: |
| RGB_color(0, | RGB_color(0, | ||
| break; | break; | ||
| - | case 4: // BLUE? | + | case 4: |
| RGB_color(255, | RGB_color(255, | ||
| break; | break; | ||
| - | case 5: // GREEN | + | case 5: |
| RGB_color(255, | RGB_color(255, | ||
| break; | break; | ||
| Line 160: | Line 161: | ||
| ===== OTA ===== | ===== OTA ===== | ||
| See https:// | See https:// | ||
| + | |||
| + | This was randomly working for me, maybe implement [[http:// | ||
projets/fuz/webduino.1575409291.txt.gz · Last modified: (external edit)