Search found 30 matches

by kian79
Mon Sep 09, 2024 9:19 am
Forum: ESP32 Arduino
Topic: ESP32 OTA from Github - Not connecting to raw.githubusercontent.com
Replies: 3
Views: 1460

Re: ESP32 OTA from Github - Not connecting to raw.githubusercontent.com

Try to use WiFiClientSecure.h instead of WiFiClient.h when connecting to the GitHub server. The example uses this library #include <WiFiClientSecure.h> But it sets it to allow unsecure connections: WiFiClientSecure client; client.setInsecure(); // Set client to allow insecure connections if (client...
by kian79
Sun Sep 08, 2024 11:20 am
Forum: ESP32 Arduino
Topic: ESP32 OTA from Github - Not connecting to raw.githubusercontent.com
Replies: 3
Views: 1460

ESP32 OTA from Github - Not connecting to raw.githubusercontent.com

Hi all, I am trying to do OTA updates where the bin file is fetched from github. I tried to follow this simple example here: https://medium.com/@adityabangde/esp32-firmware-updates-from-github-a-simple-ota-solution-173a95f4a97b However, my program is unable to connect to GitHub server. This is the l...
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: 1455

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: 1838

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: 1838

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: 3767

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: 3767

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: 1681

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: 3000

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: 4642

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...