-
Firmware refactoring
06/15/2022 at 19:44 • 0 commentsAfter soldering and starting up new, fresh PCB I decided to clean up the code.
I'm unable to reach microsecond precision with ESP8266 timers, so I decided to split 'repeats' of OOK protocols and now only one 'repeat' is handled per application loop, somehow mitigating the problem with app execution logic blocking while transmitting OOK pulses into the air.
-
Second iteration PCBs arrived!
06/13/2022 at 18:50 • 0 commentsToday I've received package with second iteration PCBs. Boards have been assembled and this time everything works as expected!
Improvements since previous version:
- Removed conflict of radio SS pin with internal ESP-12S LED.
- Removed unnecessary components.
- Fixed issue with boot sequence (improper reset reason).
-
Boards arrived, soldered and I'm in trouble
05/26/2022 at 18:54 • 0 commentsLooks like everything is working, I'm able to control my RC power outlets, but getting weird results in tests of ESP module. Getting "External reset" when querying last reset cause.
After hours of debugging, I've found that this is caused by "mess" done with ESP12 modules. Looks like ESP12-S differs from ESP-12F which has been used as design reference.
Today I've corrected my PCB adding capacitor to chip enable pin which will work as RC delay circuit with built-in one to guarantee that CHIP_EN pin won't go high before RST pin.
Boards have been ordered today...