Search found 149 matches

by orbitcoms
Thu Oct 22, 2020 2:46 am
Forum: ESP-IDF
Topic: Need help fast switching of PWM
Replies: 4
Views: 3904

Re: Need help fast switching of PWM

I am using ESP-IDF in vscode
by orbitcoms
Thu Oct 22, 2020 2:00 am
Forum: ESP-IDF
Topic: Need help fast switching of PWM
Replies: 4
Views: 3904

Re: Need help fast switching of PWM

Thanks, that peripheral looks like it will do a better job. Have you used it? I am having trouble assigning the GPIO pin 18 in the config. The code example does this rmt_config_t config = RMT_DEFAULT_CONFIG_TX(CONFIG_EXAMPLE_RMT_TX_GPIO, RMT_TX_CHANNEL); My code is like this rmt_config_t config = RM...
by orbitcoms
Thu Oct 22, 2020 12:02 am
Forum: ESP-IDF
Topic: Need help fast switching of PWM
Replies: 4
Views: 3904

Need help fast switching of PWM

Hi, I am working on a project that sends data using 125 kHz signal. So far, I have used LEDC to generate 125kHz signal ok and can switch it on and off using the timer_pause and timer_resume. However, I cannot turn it on an off fast enough without getting watchdog timer errors showing up. I need to b...
by orbitcoms
Tue Oct 13, 2020 4:21 am
Forum: ESP-IDF
Topic: Having trouble with Can Bus
Replies: 3
Views: 4761

Re: Having trouble with Can Bus

Thanks for your reply. I found a hardware problem. Initially I was going to place TCAN337 on board and this has pull-down on the RX_Enable pin but I fitted MAX3051 and it does not have that feature so it was in diel mode. I grounded the pin and it is working. My components/driver folder only has can...
by orbitcoms
Mon Oct 12, 2020 12:53 am
Forum: ESP-IDF
Topic: Having trouble with Can Bus
Replies: 3
Views: 4761

Having trouble with Can Bus

I am trying to get the Can Bus running on ESP32 (WROOM). The documentation described twai driver but I could not find this, only "/drivers?can.h" So I used the Can driver and followed example code in documentation on ESP-IDF site. The can appears to configure and load without error but when attempti...
by orbitcoms
Sun Sep 20, 2020 7:37 am
Forum: Hardware
Topic: Use of inputs IO34,35,36 and 39
Replies: 4
Views: 3602

Re: Use of inputs IO34,35,36 and 39

Thanks
by orbitcoms
Sat Sep 19, 2020 2:59 am
Forum: Hardware
Topic: Use of inputs IO34,35,36 and 39
Replies: 4
Views: 3602

Use of inputs IO34,35,36 and 39

Can the analog inputs IO34, 35, 36 and 39 on WROOM32 be used for Interrupt, MISO and UART RXD functions?
I suspect that apart from needing pull-up resistors, these all provide full input functionality and any of the other GPIO?

Thanks
by orbitcoms
Wed Apr 10, 2019 12:53 am
Forum: General Discussion
Topic: Using WROVER as logger
Replies: 2
Views: 3168

Using WROVER as logger

I am looking at using the WROVER as a data logger and wondering if there are any tutorials out there for using PSRAM and RTC?

If these can be used and data plus time retained during power down (I can add a small lithium cell) then I don't need to add external RTC and Memory modules

Thanks
by orbitcoms
Fri Aug 03, 2018 10:42 pm
Forum: ESP-IDF
Topic: Example C code for Wifi Connection
Replies: 1
Views: 14411

Example C code for Wifi Connection

Hi, I am a newbie to ESP32. So far I have installed VisualGDB into Visual Studion 2017 on Windows OS and can run the example Blink code in my custom hardware using the Olimex Debugger OK. My project is for a logger that is to receive packets of date via the UART and then forward them to a controller...