Search found 9 matches

by MakerMan
Sun Jan 30, 2022 7:11 pm
Forum: ESP32 Arduino
Topic: view measurements of a sensor via WiFi
Replies: 4
Views: 5912

Re: view measurements of a sensor via WiFi

Writing out what you want to achieve presumably looks something like ... initially ... open a wifi connection to an access point open a transport layer connection to a server / your computer next ... every 1 ms > check connection, handle disconnection > read MPU6050 acceleration (x,y,z values) > sen...
by MakerMan
Thu Jan 27, 2022 11:30 am
Forum: ESP32 Arduino
Topic: view measurements of a sensor via WiFi
Replies: 4
Views: 5912

Re: view measurements of a sensor via WiFi

Perhaps you could tell us more about your requirement.

For example, what is the accelerometer measuring, how often, are you seeking real-time readings, what are you expecting at server ...?
by MakerMan
Thu Jan 27, 2022 11:05 am
Forum: ESP32 Arduino
Topic: ESP32, Arduino IDE, Parallel Tasks
Replies: 1
Views: 2621

ESP32, Arduino IDE, Parallel Tasks

I have a sketch that - connects to WiFi - connects to MQTT - reads data from a BME688 sensor - sends that data to a server This works, but I am having issues maintaining sensor quality, which degrades on timeouts, say when MQTT needs to re-connect. I am wondering about assigning the sensor read oper...
by MakerMan
Thu Jan 13, 2022 9:20 am
Forum: Hardware
Topic: ESP-WROOM-32 - 3.3v rail voltage excursion
Replies: 3
Views: 4288

Re: ESP-WROOM-32 - 3.3v rail voltage excursion

This is a graph of an ESP-WROOM-32 3.3V rail monitored by an ADC connected to another ESP32, so that the device under test has no load, or capacitors added. This appears to show that the voltage excursions are present even when not powering other devices although they are much lower in magnitude. ht...
by MakerMan
Thu Jan 13, 2022 1:30 am
Forum: Hardware
Topic: ESP-WROOM-32 - 3.3v rail voltage excursion
Replies: 3
Views: 4288

Re: ESP-WROOM-32 - 3.3v rail voltage excursion

For measurement, I take the 3.3V rail to a voltage divider, just so that this is moved away from the top end of the ADC range a little. The calculations back-out the impact of the voltage divider to give the 3.3V rail voltage, which seems to average about 3.265V with these three external boards powe...
by MakerMan
Thu Jan 13, 2022 12:39 am
Forum: Hardware
Topic: ESP-WROOM-32 - 3.3v rail voltage excursion
Replies: 3
Views: 4288

ESP-WROOM-32 - 3.3v rail voltage excursion

I have a few of these ESP-WROOM-32 devices (38 pin). I am powering the following from the 3.3V supply which should not, I think, cause any issues in terms of supply capability. - BME280 - 1115 ADC - 9808 temperature sensor The 3.3V rail has parallel 0.1u and 10u capacitors to ground. The ESP-WROOM-3...
by MakerMan
Fri Dec 24, 2021 3:15 pm
Forum: ESP32 Arduino
Topic: MCP9808 Temperature Reading Incorrect
Replies: 1
Views: 4801

Re: MCP9808 Temperature Reading Incorrect

For testing, I bought another couple of these and they both worked out of the box.

Same manufacturer chip ID reported in testing. The new ones I got have a different PCB layout.

I'm guessing that quite simply the first board I got was faulty.
by MakerMan
Thu Dec 23, 2021 3:17 pm
Forum: ESP32 Arduino
Topic: Auto Reconnect to Station without disconnecting AP
Replies: 3
Views: 9817

Re: Auto Reconnect to Station without disconnecting AP

I don't have a definitive answer, but a couple of thoughts which might stimulate some debate ... Have you tried the options "WiFi.setAutoReconnect(true) and WiFi.persistent(true) to see if that will force auto-reconnect? Did WiFi.reconnect() not work? Was that why you're looking at WiFi.disconnect()...
by MakerMan
Wed Dec 22, 2021 8:25 pm
Forum: ESP32 Arduino
Topic: MCP9808 Temperature Reading Incorrect
Replies: 1
Views: 4801

MCP9808 Temperature Reading Incorrect

Hello I am having problems getting the correct temperature from a MCP9808 I am using the Arduino IDE and have tried both the MCP9808_RT and the Adafruit MCP9808 Libraries In all cases, the temperature returned is -34 degC while the board is at room temperature. Having failed to get this working, I t...