Search found 59 matches
- Sat Feb 11, 2017 4:05 pm
- Forum: General Discussion
- Topic: OTA Example not working
- Replies: 2
- Views: 6078
Re: OTA Example not working
The partition table was the problem. To fix it, I did the following: make menuconfig Partition Table Factory App, two OTA definitions Save Exit I then ran make erase_flash flash and reflashed. I kept getting the error OTA Write Header format Check Failed! so I changed the code in the resolve_pkg fun...
- Fri Feb 10, 2017 6:38 pm
- Forum: General Discussion
- Topic: OTA Example not working
- Replies: 2
- Views: 6078
OTA Example not working
I've tried to get the OTA example working found in the esp-idf. I tried following the steps given, but it resulted in lots of errors. A few examples of those errors. esp-idf/examples/system/ota/build/esp32/libesp32.a(system_api.o):(.iram1.literal+0x34): undefined reference to `esp_wifi_stop' /esp32/...
- Wed Feb 08, 2017 2:48 pm
- Forum: Hardware
- Topic: information required for ESP32-Bit module with ESP32-T devboard
- Replies: 6
- Views: 12308
Re: information required for ESP32-Bit module with ESP32-T devboard
Mine is identical to the one shown in the link...
- Tue Feb 07, 2017 3:48 am
- Forum: General Discussion
- Topic: Wifi Issue
- Replies: 2
- Views: 5902
Re: Wifi Issue
Thanks for the reply. I did a git pull on the esp-idf, and it solved my problem.
- Mon Feb 06, 2017 11:28 pm
- Forum: General Discussion
- Topic: Wifi Issue
- Replies: 2
- Views: 5902
Wifi Issue
I am able to connect to a router with SSID "Test-Net" and passcode "passpass" with the Arduino code below. /* * This sketch sends data via HTTP GET requests to data.sparkfun.com service. * * You need to get streamId and privateKey at data.sparkfun.com and paste them * below. Or just customize this s...
- Mon Feb 06, 2017 11:09 pm
- Forum: Hardware
- Topic: information required for ESP32-Bit module with ESP32-T devboard
- Replies: 6
- Views: 12308
Re: information required for ESP32-Bit module with ESP32-T devboard
I bought the same two items: ESP32-Bit and ESP32-T. I soldered the ESP32-Bit on top of the ESP32-T All of my pins were labeled, and it started working pretty quickly. I did have to add an external 3.3V power supply to get a good wifi connection. I also had to download the usb driver.
- Thu Jan 26, 2017 9:01 pm
- Forum: General Discussion
- Topic: MCP23017 Port Expander
- Replies: 9
- Views: 25736
Re: MCP23017 Port Expander
SOLVED! The code is now working. I needed to write to the slave and then read it. /* * test_main.c * * Created on: Jan 24, 2017 * Author: Greg */ #include <stdio.h> #include "driver/i2c.h" #define MCP23017_ADDR 0x23 /*!< slave address for MCP23017 sensor */ #define ACK_CHECK_EN 0x1 #define I2C_MASTE...
- Thu Jan 26, 2017 3:34 pm
- Forum: General Discussion
- Topic: MCP23017 Port Expander
- Replies: 9
- Views: 25736
Re: MCP23017 Port Expander
Thanks for the help! One other common I2C Problem: Do you have pull-up resistors on the clock and data lines to 3V3? 2K to 5K are common values. The ESP-32 has internal pull up resistors which I am using. Thanks for the suggestion! I was able to get outputs working with the following code. /* * test...
- Mon Jan 23, 2017 11:49 pm
- Forum: General Discussion
- Topic: MCP23017 Port Expander
- Replies: 9
- Views: 25736
MCP23017 Port Expander
I am trying to use a MCP23017 port expander in c via i2c with the ESP32. The only example code for i2c I have been able to find is https://github.com/espressif/esp-idf/tree/6bc9cd3/examples/peripherals/i2c. This code is for a light sensor. Arduino has some code for using this IC on the aduino uno, b...