The Oak by Digistump > Oak Support
"official" ESP8266 Arduino Core support
boneskull:
In version 2.4.0 of the Arduino Core for ESP8266 (https://github.com/esp8266/Arduino), my PR for DigiStump Oak support landed.
You can now use Oak (without the Particle nonsense) directly in the Arduino IDE or PlatformIO just like any other ESP8266.
A couple caveats being that:
* You need to use a USB-to-UART adapter to talk to it. FT232RL, CP2102, PL2303HX, CH340G, etc. TX->RX, RX->TX, GND->GND
* You may need to power the Oak via the USB port instead of from the USB-to-UART adapter.
* Keep the baud speed to 115200; if one adapter doesn't work, try a different one.
* P2 must be low (wired to GND) at powerup for the Oak to go into flashing mode, and then power cycled (without P2 to GND) to run your firmware thereafter
* I have a bugfix (https://github.com/esp8266/Arduino/pull/4222) that's been merged, but not yet released at the time of this writing
See attached image for location in Arduino IDE's "Boards" menu.
Good luck. Please file any issues you might have with the Oak support in the issue tracker: https://github.com/esp8266/Arduino/issues
Chris
PeterF:
Great work on that Chris, and thanks for getting the Oak variant included in the ESP8266 Arduino package as native! :D
I've submitted some patches to that which have been merged but also not released yet (board.txt definition using non-existent reset method, documentation updates, etc), which would obviously not have been possible without that patch.
I've finally moved one node over to the 2.4.0 ESP8266 core with no issues, but have yet to try with another... it's currently running 2.3.0 (just means I have to use the ESP8266 native GPIO numbers, not the Oaks) as when I tried the 2.4.0 pre-release it kept locking up... probably something in the adafruit TFT library that didn't sit right.... so will be interesting to see how that goes.
Z69:
Hi PeterF
I have been using - https://www.letscontrolit.com/wiki/index.php/ESPEasy for a while now on my Oak with Zero crashes.
They use 2.3.0 and it works like a charm.
I have been using the latest release of Ver.2 here - https://github.com/letscontrolit/ESPEasy/releases without any issues.
Z69
PeterF:
Fantastic to hear!
I've head mention of ESPEasy on and off, so it's great to hear from a user that it's another viable option. Just never got to playing around with myself... don't have all the other automation stuff running atm.
Yeah, I've had no issues with the official Arduino ESP8266 core v2.3.0, it was just the R1 or R2 of 2.4.0, but hopefully, that was a bug that has gone away now, or is a bug in my code due to some change in the libraries or codebase... have yet to run up the TFT display unit with 2.4.0... it'll happen... someday ;)
willgonz:
So if I do this, will I be able to do over the air updates or do I always have to do it over Arduinos and the USB-to-UART adapter?
Navigation
[0] Message Index
[#] Next page
Go to full version