Search found 28 matches

by kian79
Sun Apr 16, 2023 6:07 am
Forum: ESP32 Arduino
Topic: Dynamically assigning Preferences name gives problems when reading back
Replies: 1
Views: 859

Dynamically assigning Preferences name gives problems when reading back

Hi all, I am having a very weird problem trying to get Preferences.getBytes to work. My key names are labelled as "001", "002", "003" ... up to "200" and I am using a character array(char myKey[3] - declared as a global variable) to dynamically assign the key names. And I have written a simple funct...
by kian79
Fri Dec 02, 2022 9:46 am
Forum: Hardware
Topic: Sipeed dual serial port to USB module programmable ESP8285 / ESP8266 / ESP32
Replies: 2
Views: 1064

Re: Sipeed dual serial port to USB module programmable ESP8285 / ESP8266 / ESP32

I tried adding pull up resistors but it didn't work.

What also puzzles me is that when this module is plugged in to my computer, it detects 2 COM ports. It also doesn't come with a BOOT or RST button.
by kian79
Mon Nov 28, 2022 1:10 pm
Forum: Hardware
Topic: Sipeed dual serial port to USB module programmable ESP8285 / ESP8266 / ESP32
Replies: 2
Views: 1064

Sipeed dual serial port to USB module programmable ESP8285 / ESP8266 / ESP32

Hi all, I bought a Serial Port to USB programmer board for the ESP32 (https://www.aliexpress.com/i/4000515425227.html) but just can't seem to get it to work. The programmer board has the following outputs https://ae01.alicdn.com/kf/H0cdd4e5163a447f296efc2728217858b6.jpg What I have tried to do is co...
by kian79
Mon Oct 10, 2022 12:22 pm
Forum: ESP32 Arduino
Topic: Unable tp ping remote host using ESP32 ping
Replies: 4
Views: 2248

Re: Unable tp ping remote host using ESP32 ping

Hi all, I tried some of the suggestions above. Using my home Wifi network, I tried changing different host names but ping is still unsuccessful. However, when I set my mobile phone as a hotspot device and have the ESP32 connected to it, I was able to ping successfully different hostnames, eg www.goo...
by kian79
Sun Oct 09, 2022 12:41 am
Forum: ESP32 Arduino
Topic: Unable tp ping remote host using ESP32 ping
Replies: 4
Views: 2248

Unable tp ping remote host using ESP32 ping

Hi all, I am following an example for this website: https://techtutorialsx.com/2019/10/05/esp32-arduino-pinging-a-remote-host/ I am able to successfully connect to my home WIFI network, but ping method just doesn't work and returns an error message "Ping failed" all the time. bool success = Ping.pin...
by kian79
Mon Feb 14, 2022 1:04 pm
Forum: ESP32 Arduino
Topic: ESP32 Touch not working with Neopixels
Replies: 0
Views: 1222

ESP32 Touch not working with Neopixels

Hi all, I am working on project where I want to turn on/off and cycle through different colour on the Neopixel (WS2812) LED strip using capacitive touch on the ESP32. I have standalone code for touch detection working and I also have standalone code working for controlling the LED strip. However whe...
by kian79
Sun Jul 05, 2020 11:31 am
Forum: General Discussion
Topic: How to read a file hosted on website?
Replies: 1
Views: 2448

How to read a file hosted on website?

Hi all, I would like to work on a project where I can use the ESP32 to connect to a website and download a .h file (containing a large image array) to be displayed on a TFT LCD. I don't have much idea on how to get started. I am able to interface the ESP32 to the TFT LCD and I can display an image p...
by kian79
Fri Apr 24, 2020 10:58 am
Forum: ESP32 Arduino
Topic: How to Disable DAC
Replies: 1
Views: 3941

How to Disable DAC

Hi all, I need to use IO25 as a digital output pin, but it seems like it is a DAC output by default. How do I disable DAC function? I tried the following code but its not working: #include <driver/dac.h> // the setup function runs once when you press reset or power the board void setup() { // initia...
by kian79
Wed Apr 08, 2020 1:08 am
Forum: Hardware
Topic: Question about Wake from Deep Sleep using EXT1
Replies: 3
Views: 7191

Question about Wake from Deep Sleep using EXT1

Hi, The ESP32 can be woken up from deep sleep using EXT1. It is described as follows: This wake up source allows you to use multiple RTC GPIOs. You can use two different logic functions: 1. Wake up the ESP32 if any of the pins you’ve selected are high; 2. Wake up the ESP32 if all the pins you’ve sel...
by kian79
Mon Mar 23, 2020 3:53 am
Forum: Hardware
Topic: ESP32 IO input pin 5V tolerant?
Replies: 1
Views: 8649

ESP32 IO input pin 5V tolerant?

Can I connect a voltage greater than VCC to a input pin? For example my ESP32 is running at 3.3V and I am putting 4.2V into the IO input it.

Right now, its reading the logic value correctly, but I don't know if is going to cause a problem over a long time.