Skip to content

Instantly share code, notes, and snippets.

@tuxmartin
Last active Feb 2, 2020
Embed
What would you like to do?
ESP8266 - co koupit + navod
# NodeMcu DevKit - doporucuji na pocatecni vyuku s ESP8266!!!
New Wireless module CH340 NodeMcu V3 Lua WIFI Internet of Things development board based ESP8266
http://www.aliexpress.com/item/NodeMcu-Lua-WIFI-development-board-based-on-the-ESP8266-Internet-of-things/32339203041.html
NodeMcu base ESP8266 testing DIY Breadboard
http://www.aliexpress.com/item/NodeMcu-base-ESP8266-testing-DIY-Breadboard/32457259665.html
#ESP8266 ESP07
ESP8266 ESP-07 WiFi modul (imho nejlepsi verze co se dela)
http://www.aliexpress.com/item/ESP8266-serial-WIFI-model-ESP-07-Authenticity-Guaranteed/32411148666.html
Redukce na 2,54mm pin header (temer nutnost, wifi modul ma roztec 1,27mm)
http://www.aliexpress.com/item/ESP8266-serial-WIFI-module-adapter-plate-Applies-to-ESP-07-ESP-08-ESP-12/32381092806.html
Linearni 3,3V stabilizatory. Pozor, maji jine zapojeni nez 78xx!!! viz datasheet
http://www.aliexpress.com/item/5-PCS-LM1117T-3-3-LM1117T-LD1117-regulated-hym-selling-3-3-v-220/32338626964.html
Ja pouzivam tento DC-DC menic. Je luxusne maly.
http://www.aliexpress.com/item/RC-Airplane-Module-Mini-360-DC-Buck-Converter-Step-Down-Module-4-75V-23V-to/32266152653.html
Prevodnik logickych urovni 5V <---> 3,3V.
http://www.aliexpress.com/item/Free-shipping-4-channel-IIC-I2C-Logic-Level-Converter-Bi-Directional-Module-5V-to-3-3V/32361171646.html
Volitelne pigtail na externi antenu. (wifi modul ma integrovanou keramickou antenu)
http://www.aliexpress.com/item/2015-Highly-Commend-Gino-U-FL-IPX-to-SMA-Female-Pigtail-Cable/32420927480.html
Ten prevodnik logickych urovni se da vyrobit, ale kdo by to za ty penize (asi 9 Kc) delal? :-D
Takhle by mel fungovat:
https://cdn.sparkfun.com/r/400-400/assets/f/3/3/4/4/526842ae757b7f1b128b456f.png
https://raw.githubusercontent.com/tuanpmt/espduino/master/fritzing/espdruino_bb.png
Tady je ukazka pouziti toho kupovaneho: https://learn.sparkfun.com/tutorials/bi-directional-logic-level-converter-hookup-guide
Programuje se to v jejich upravenem Arduino IDE. Nova verze uz se myslim pouziva, jako plugin v oficialnim Arduino IDE.
https://github.com/esp8266/Arduino
Instalovat podle navodu: https://github.com/esp8266/Arduino#installing-with-boards-manager
Zapojeni doporucuji toto:
https://github.com/esp8266/Arduino/blob/esp8266/hardware/esp8266com/esp8266/doc/boards.md#esp-to-serial
ESP-12 je temer stejna jako verze ESP-07 (asi se lisi jen antenou).
Info k ESP-07 WiFI modulu:
http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family#esp-07
* pro stabilni pouzivani je potreba zajistit, aby zdroj dal 3,3V >= 250mA (hlavne kvuli vysilani).
* pred programovanim je potreba prepnout ESP8266 do bootloader modu.
zarizeni pri startu kontroluje GPIO a pokud je GPIO0 pripojeny na GND, je mozne nahrat firmware.
Jinak normalne bootuje z flash.
Pro preprogramovani nestaci pouze uzemnit GPIO0, je treba ho uzemnit a teprve pak pripojit napajeni!
* pinout wifi modulu: https://goo.gl/Cgd3zZ
* teoreticky by melo jit bootovat z SD karty, ale nezkousel jsem to: https://goo.gl/O53SGq
* ESP-07 ma 9 GPIO
* prehled ESP8266 modulu: http://l0l.org.uk/2014/12/esp8266-modules-hardware-guide-gotta-catch-em-all/
* hardwarova specifikace wifi modulu: https://github.com/esp8266/esp8266-wiki/wiki#what-is-this-esp8266
- wireless SoC
- GPIO, I2C, ADC, SPI, PWM, ...
- RISC 32bit 80MHz
- 64KBytes of instruction RAM
- 96KBytes of data RAM
- 64KBytes boot ROM
- Winbond W25Q40BVNIG SPI flash 4Mbit (512KByte)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment