Search found 9 matches

by ytan86
Sat Oct 03, 2020 6:59 am
Forum: Hardware
Topic: Using MCPWM for AC dimming
Replies: 0
Views: 1990

Using MCPWM for AC dimming

Hi I am generating a 100Hz MCPWM signal that is synchronised with the AC signal. Although it works well, when I increase the PWM duty cycle to a point, it starts to glitch. It seems that this phenomenon occurs when the high side of the PWM gets close to the trigger signal. ( See the glitch at t=6s t...
by ytan86
Mon Aug 24, 2020 5:52 am
Forum: ESP RainMaker
Topic: Support for Apple HomeKit
Replies: 2
Views: 5444

Support for Apple HomeKit

Hi,

Will there be any plans moving forward to add support for Apple HomeKit or integrate HomeKit SDK with RainMaker?

Thanks.
by ytan86
Sat Aug 22, 2020 8:32 am
Forum: ESP RainMaker
Topic: What is the difference between data partitions fctry and nvs ?
Replies: 1
Views: 4031

What is the difference between data partitions fctry and nvs ?

Hi This is the partition.csv from rainmaker examples/switch: sec_cert, 0x3F, ,0xd000, 0x3000, , # Never mark this as an encrypted partition nvs, data, nvs, 0x10000, 0x6000, otadata, data, ota, , 0x2000 phy_init, data, phy, , 0x1000, ota_0, app, ota_0, 0x20000, 1600K, ota_1, app, ota_1, , 1600K, fctr...
by ytan86
Thu Aug 20, 2020 9:33 am
Forum: ESP RainMaker
Topic: Question on OTA callback (ota_cb_func)
Replies: 2
Views: 4699

Re: Question on OTA callback (ota_cb_func)

Thanks, your simplified exampled worked!
by ytan86
Sun Aug 16, 2020 11:03 am
Forum: ESP RainMaker
Topic: Question on OTA callback (ota_cb_func)
Replies: 2
Views: 4699

Question on OTA callback (ota_cb_func)

Hi, I'm trying to add callback to the OTA function in the switch example: /* Enable OTA */ esp_rmaker_ota_config_t ota_config = { .ota_cb = &ota_cb_func, .server_cert = ESP_RMAKER_OTA_DEFAULT_SERVER_CERT, }; And my callback function: esp_err_t ota_cb_func(esp_rmaker_ota_handle_t handle, esp_rmaker_o...
by ytan86
Wed Aug 12, 2020 11:11 pm
Forum: ESP RainMaker
Topic: Cannot build esp-rainmaker\examples\switch>
Replies: 2
Views: 4932

Re: Cannot build esp-rainmaker\examples\switch>

Hi Piyush, Thanks for the reply. It works now. For the record, I am using the following: ESP-IDF Tools 2.3 Python 3.8 (64bit) Git 2.16.2.windows.1 ESP-IDF master (development branch) Python 3.8.2 Using Git in C:\Program Files\Git\cmd\ git version 2.16.2.windows.1 Setting IDF_PATH: C:\Users\y.tan\Des...
by ytan86
Tue Aug 11, 2020 12:44 am
Forum: ESP RainMaker
Topic: Cannot build esp-rainmaker\examples\switch>
Replies: 2
Views: 4932

Cannot build esp-rainmaker\examples\switch>

Hi there, I'm trying to build an example rainmaker project (switch), but I encountered some errors. Anyone encountered this? I'm using v4.0.1 on Windows 10. C:/msys32/home/y.tan/esp/esp-rainmaker/components/led_strip/src/led_strip_rmt_ws2812.c: In function 'led_strip_new_rmt_ws2812': C:/msys32/home/...
by ytan86
Fri Jan 03, 2020 5:02 am
Forum: ESP32 Arduino
Topic: ESPAsyncWebServer: Long load time in AP mode
Replies: 0
Views: 2143

ESPAsyncWebServer: Long load time in AP mode

Hi there I find that while AsyncWebServer is very snappy in STA mode - the same cannot be said in soft AP mode. Here is the comparison that I have made between AP and STA mode using Opera browser: espasyncwebserver_sta_ap.png Image: Slow load time in AP mode The delay is much shorter in Chrome (1sec...
by ytan86
Thu Aug 15, 2019 3:20 am
Forum: Report Bugs
Topic: BLEScan not returning beacon name.
Replies: 1
Views: 5648

Re: BLEScan not returning beacon name.

I suspect that I am facing the same problem. I am using SampleAsyncScan.cpp by nkolban, and the scan only returns BLE module information in the first scan, and not subsequent ones.

Issue mentioned here: https://github.com/nkolban/esp32-snippe ... -521498490