-
Notifications
You must be signed in to change notification settings - Fork 835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial support for the ESP32 architecture & boards. #742
Conversation
- Fix issue with first boot on new hardware that doesn't have a SPIFFS filesystem. - Ensure the hard wipe/reset creates a SPIFFS fs.
We can't disable the RX pin usage like on the ESP8266, so add it to the check.
Report the CPU clock freq in the Info page on IRMQTTServer.
`kCommandDelimiter` isn't just used by MQTT.
Hello! |
@u4mzu4 I've started looking at HW PWM on the ESP32, but using the existing code base (software pwm) means I know it just works. Just getting something working out first is the priority. i.e. baby steps. :-) I'll certainly look into the When researching PWM for the ESP32 the other night, I only saw the ledc stuff. I don't have an oscilloscope so I can't verify the duty-cycle stuff myself. If you have access to an oscilloscope, an ESP32, and are willing to do some testing for me, we can explore those avenues sooner rather than later. |
@u4mzu4 Btw, did you try it out? |
Lot of commits!! Will work on review during this weekend! |
@rahuljawale That would be great. Any of the open PR that you can review would be fantastic! |
Hi again! |
@u4mzu4 Excellent. Hit me up via an Issue when you get back and we can try to work together to make it more hardware based on the ESP32. |
Merging after 7 days of no "review" feedback. |
_v2.6.2 (20190616)_ **[Features]** - Initial support for the ESP32 architecture & boards. (#742) - Add changable GPIO settings to IRMQTTServer. (#730) - IRMQTTServer: Enforce a repeat for all Coolix calls (#752) - Basic DAIKIN 160bit send and decode. (#754) - Add example code for a Smart(er) IR Repeater. (#740) - Enforce Samsung A/C Quiet & Powerful mutual exclusivity. **[Misc]** - IRMQTTServer: Add some memory alloc safety checks. (#749) - Move some ToString() functions to IRac.cpp (#748) - Increase tolerance value for TCL112AC protocol. (#745) - Fix compiler warning in IRutils_test.cpp (#756) - Scrape Supported Protocols and generate SupportedProtocols.md (#755) - Make supported device info more organised. (#753)
_v2.6.2 (20190616)_ **[Features]** - Initial support for the ESP32 architecture & boards. (#742) - Add changable GPIO settings to IRMQTTServer. (#730) - IRMQTTServer: Enforce a repeat for all Coolix calls (#752) - Basic DAIKIN 160bit send and decode. (#754) - Add example code for a Smart(er) IR Repeater. (#740) - Enforce Samsung A/C Quiet & Powerful mutual exclusivity. **[Misc]** - IRMQTTServer: Add some memory alloc safety checks. (#749) - Move some ToString() functions to IRac.cpp (#748) - Increase tolerance value for TCL112AC protocol. (#745) - Fix compiler warning in IRutils_test.cpp (#756) - Scrape Supported Protocols and generate SupportedProtocols.md (#755) - Make supported device info more organised. (#753)
Woww, thanks for this PR. I will certainly test it in the coming weeks ! |
@crankyoldgit |
@u4mzu4 Please log an issue. However, doing some quick research: https://randomnerdtutorials.com/esp32-pinout-reference-gpios/
No idea if you need to use a pull up/down resistor or not for your module. If it works on other GPIOs, then it could be the issue. Seems some boards use those GPIs for other purposes, so your mileage may vary. :-/ |
Similar send & receive functionality as the ESP8266 platform.
i.e. It bit-bangs a software PWM signal when sending IR messages.
IRrecvDumpV2
andIRMQTTServer
examples appear to work as expected.IRMQTTServer
example code requires the development version of theWifiManager
library.platformio.ini
s for each example added. Everything automatically builds out of the box under PlatformIO.IRMQTTServer
handles first boot and/or corrupted SPIFFS situations.If you have an ESP32 board, please test this an let us know if there are any issues.