Search found 40 matches

by phatpaul
Fri Oct 11, 2019 2:58 pm
Forum: Hardware
Topic: Fuel Gauge to go with ESP32
Replies: 3
Views: 327

Re: Fuel Gauge to go with ESP32

Wow, I left the battery world for a couple years and now there are fuel-gauges that don't need to measure current!? I'm betting there's some sophisticated algorithms and DSP going on in there. https://www.maximintegrated.com/en/products/power/battery-management/MAX17048.html I don't advise trying to...
by phatpaul
Tue Oct 08, 2019 2:11 pm
Forum: Hardware
Topic: DM9051 SPI Ethernet example?
Replies: 0
Views: 86

DM9051 SPI Ethernet example?

I'm excited to see the new support for an SPI-connected Ethernet solution (DM9051) described in the 4.0-beta1 release notes: https://github.com/espressif/esp-idf/releases/tag/v4.0-beta1 I assume it will cut down the required IO pins from 9 (RMII) to 4 (SPI). I'm currently using the LAN8720 but I'm o...
by phatpaul
Wed Aug 28, 2019 7:19 pm
Forum: ESP32 IDF
Topic: multiple virtual TCP/IP interfaces?
Replies: 0
Views: 117

multiple virtual TCP/IP interfaces?

Is it possible to have multiple virtual TCP/IP interfaces on one physical Ethernet interface? I need 2 interfaces with their own IP address, mask, etc. One will be receiving IP via DHCP in the 192.168.1.0/24 network. The other should assign it's own static IP in the 169.254.0.0/16 range. I know how ...
by phatpaul
Tue Jun 25, 2019 8:50 pm
Forum: General Discussion
Topic: OTA of factory app
Replies: 6
Views: 3644

Re: OTA of factory app

@ESP_Angus thanks for the explanation of the concept of the factory partition. I understand that it defeats the purpose of having a fail-safe factory app if one is able to write to it in the field. But there will be (unusual) instances when we need to upgrade the factory partition via OTA. And of co...
by phatpaul
Tue Jun 25, 2019 8:15 pm
Forum: General Discussion
Topic: Forum search fails often
Replies: 6
Views: 771

Re: Forum search fails often

I was getting so frustrated with the search just hanging. Somehow my search for "search forum" didn't fail and brought me here.

Thanks for the advice to use google via https://www.google.com/search?q=site%3Aesp32.com+QUERY
That works! :)
by phatpaul
Wed Jun 19, 2019 3:14 pm
Forum: Hardware
Topic: Analog Comparator?
Replies: 1
Views: 418

Analog Comparator?

Is there an analog comparator function on this chip? If not is there a hack to get similar function? I have an input signal 0~30V (divided to 0~2.7V) that I need to compare with a threshold ~5V (divided 0.45V). I need to detect both rising and falling edge. Latency < 10us. Hysteresis of about 50mV w...
by phatpaul
Thu May 16, 2019 7:40 pm
Forum: General Discussion
Topic: BLE mtu and iPhone compatibility
Replies: 3
Views: 1972

Re: BLE mtu and iPhone compatibility

Did you find any info specific to 4.2 DLE? I suspect that DLE is working automatically on ESP32 from my experience with an android phone transferring much faster vs iphone 6. The answer from Lucas.Hutchinson doesn't seem to acknowledge that MTU is different from DLE. Here's a great overview: https:/...
by phatpaul
Tue Apr 02, 2019 9:59 pm
Forum: ESP32 IDF
Topic: app version string in partition image
Replies: 4
Views: 908

Re: app version string in partition image

Ok, I hacked the esp_app_desc_t into my 3.1.3 branch and it seems to work. I see from the hex editor my PROJECT_VER text appearing at address 0x00000030. This checks out since there are 2 structs before the esp_app_desc_t. esp_image_header_t is 24 bytes, esp_image_segment_header_t is 8 bytes. So inf...
by phatpaul
Tue Apr 02, 2019 3:59 pm
Forum: ESP32 IDF
Topic: app version string in partition image
Replies: 4
Views: 908

Re: app version string in partition image

Thanks ESP_Angus this looks interesting. But I'm currently on stable 3.1.3. So is this structure not present in my builds? (I don't see any obvious version strings when looking at the .bin file in a hex-editor) Where is this structure physically located? Is it stored in the image itself (in the .bin...
by phatpaul
Mon Apr 01, 2019 6:57 pm
Forum: ESP32 IDF
Topic: app version string in partition image
Replies: 4
Views: 908

app version string in partition image

I need the ability to tag my application image with a name and version string. Does the ESP32 app image file (*.bin) have any metadata embedded? Otherwise, I'm thinking of declaring (in the app code) a const char[] which is rooted at a fixed address. Then retrieve that string from a fixed offset in ...

Go to advanced search