Search found 43 matches
- Fri Sep 13, 2019 12:38 pm
- Forum: Hardware
- Topic: sppiffs using up a lot of space
- Replies: 9
- Views: 12037
Re: sppiffs using up a lot of space
There does seem to be an issue with SPIFFS slowing down appending onto large files and ultimately failing. So maybe the thing to do is to have a series of files each capable of holding say 256 records. Indexing would still be pretty straightforward as the high byte of the index would select the file...
- Fri Sep 06, 2019 11:06 am
- Forum: Hardware
- Topic: sppiffs using up a lot of space
- Replies: 9
- Views: 12037
Re: sppiffs using up a lot of space
Why not use 1 file for all the records to maximise space efficiency?
Decide on your maximum record size.
Block in file is Length (4 bytes) + max size.
Seek to record position (n x (4 + max Size)
Read or write length + data
Decide on your maximum record size.
Block in file is Length (4 bytes) + max size.
Seek to record position (n x (4 + max Size)
Read or write length + data
- Mon Aug 05, 2019 9:36 am
- Forum: ESP32 Arduino
- Topic: Esp32-arduino-fuel gauge
- Replies: 3
- Views: 5448
Re: Esp32-arduino-fuel gauge
I think you need to say a little bit more about where you think you need help. Like 1) Hardware interfacing 2) Basic development environment set up 3) Basic software development to set up and periodically read gauge 4) Web development (assuming that is a phone display) or 4) Local display onto scree...
- Sat Jul 27, 2019 9:53 am
- Forum: Hardware
- Topic: I2C transmission errors. Rounded I2C clock edge from ESP module?
- Replies: 6
- Views: 7805
Re: I2C transmission errors. Rounded I2C clock edge from ESP module?
Are you using x10 probes to view these signals? A x1 probe has significant capacitance and could well explain the rise time.
- Mon Jun 10, 2019 1:46 pm
- Forum: ESP32 Arduino
- Topic: Alexa interaction with ESP32 chip
- Replies: 2
- Views: 4573
Re: Alexa interaction with ESP32 chip
Piggybacking on an existing Alexa integration would work for a personal project but might look 'unprofessional' if you are marketing this a a product. If this didn't worry you then I don't know if there any legal implications. One can use intermediary services like IFTTT but that complicates set up ...
- Mon Mar 18, 2019 11:52 am
- Forum: Hardware
- Topic: Explanation on ESP32 DevitKitV1 circuitry
- Replies: 2
- Views: 5010
Re: Explanation on ESP32 DevitKitV1 circuitry
When either DTR,RTS are both high or both low then EN and GPIO0 will both be high. It is done this way to ensure that the chip will run normally under either of these conditions. When DTR is high and RTS is low then GPIO0 is high and EN is low. Similarly when RTS is high and DTR is low then EN is hi...
- Mon Dec 17, 2018 9:05 am
- Forum: Hardware
- Topic: How to power the 3.3V ESP32 from a 3.7V Li-ion battery?
- Replies: 14
- Views: 64930
Re: How to power the 3.3V ESP32 from a 3.7V Li-ion battery?
Little bit more info on the XC6203 LDO regulators. The maximum peak current is 600mA with the sustained output current of 400mA. I use the E series which has no built in current limiter to ensure that doesn't kick in. With a 220uF miniature SMD output capacitor I haven't seen any significant brown o...
- Fri Dec 14, 2018 8:49 am
- Forum: Hardware
- Topic: How to power the 3.3V ESP32 from a 3.7V Li-ion battery?
- Replies: 14
- Views: 64930
Re: How to power the 3.3V ESP32 from a 3.7V Li-ion battery?
I use xc6203 LDO regulators with LIPO batteries. These have a drop out of around 150mV at the normal supply currents and also a fairly low quiescent current of around 8uA to minimise battery drain. As the modules will work happily down to 3.0V this means the batteries are good down to about 3.3V whi...
- Sat Dec 01, 2018 11:18 am
- Forum: ESP32 Arduino
- Topic: Calling function from inside ISR doesn't work
- Replies: 3
- Views: 5702
Re: Calling function from inside ISR doesn't work
Difficult to see what is going on as code example seems to be badly formatted onto one line.
It does look like there might be a missing semicolon after the digitalWrite in morseDebug
It does look like there might be a missing semicolon after the digitalWrite in morseDebug
- Fri Nov 16, 2018 11:48 am
- Forum: ESP32 Arduino
- Topic: ESP32 and solar cells
- Replies: 5
- Views: 10467
Re: ESP32 and solar cells
I think something like this would work. LP3470Reset.jpg Battery includes any charging / protection circuit you are using. When voltage is above 3.6V RST is high, MOSFET turns on and connects circuit ground back to battery ground. Capacitor controls delay on releasing RST after battery goes above 3.6...