You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
lumapu a95069e65c * set default pinout to Wemos D1mini 2 years ago
..
html * set default pinout to Wemos D1mini 2 years ago
tools added ESP8266 code 3 years ago
CircularBuffer.h * new structure 2 years ago
README.md added ESP8266 code 3 years ago
app.cpp * set default pinout to Wemos D1mini 2 years ago
app.h * set default pinout to Wemos D1mini 2 years ago
crc.cpp * renamed .ino (must be identical to parent folder name) 3 years ago
crc.h * renamed .ino (must be identical to parent folder name) 3 years ago
debug.h * new structure 2 years ago
defines.h * set default pinout to Wemos D1mini 2 years ago
eep.h * new structure 2 years ago
esp8266.ino * communication works again 2 years ago
hmInverters.h * increased number of inverters 2 years ago
hmRadio.h * set default pinout to Wemos D1mini 2 years ago
hmSystem.h * increased number of inverters 2 years ago
main.cpp * set default pinout to Wemos D1mini 2 years ago
main.h * set default pinout to Wemos D1mini 2 years ago
mqtt.h * new structure 2 years ago

README.md

OVERVIEW

This code was tested on a ESP8266 - ESP-07 module. Many parts of the code are based on 'Hubi's code, which can be found here: https://www.mikrocontroller.net/topic/525778?page=3#7033371

The NRF24L01+ radio module is connected to the standard SPI pins. Additional there are 3 pins, which can be set individual:

  • IRQ - Pin 4
  • CE - Pin 5
  • CS - Pin 15

Compile

This code can be compiled using Arduino. The settings were:

  • Board: Generic ESP8266 Module
  • Flash-Size: 1MB (FS: none, OTA: 502kB)

Flash ESP with firmware

  1. flash the ESP with the compiled firmware using the UART pins or any preinstalled firmware with OTA capabilities
  2. repower the ESP
  3. the ESP will start as access point (AP) if there is no network config stored in its eeprom
  4. connect to the AP, you will be forwarded to the setup page
  5. configure your WiFi settings, save, repower
  6. check your router for the IP address of the module

Usage

Connect the ESP to power and to your serial console. The webinterface is currently only used for OTA and config. The serial console will print all information which is send and received.

Known Issues

  • only command 0x81 is received

USED LIBRARIES

  • Time
  • RF24