Search found 20 matches
- Sun Aug 21, 2022 1:50 pm
- Forum: General Discussion and Questions
- Topic: How to reduce power consumption reduction for a wearbale project
- Replies: 6
- Views: 6174
Re: Power consumption reduction for a wearbale project
I have already implemented deepsleep on a long press of a button (and the press the same button to come out of deepsleep). I'm trying to reduce power consumption during operation when the device is continuously sampling data
- Fri Aug 19, 2022 9:04 pm
- Forum: General Discussion and Questions
- Topic: How to reduce power consumption reduction for a wearbale project
- Replies: 6
- Views: 6174
Re: Power consumption reduction for a wearbale project
Thanks! You really scared me hahahah I would love to hit a minimum of 30 hours. So you can just charge it once a day and still have some margin, even accounting for battery degradation :) Reaching 30 mA would allow me to scale down the battery to something like 800 mAh which could maybe fit in a (bi...
- Fri Aug 19, 2022 8:15 pm
- Forum: General Discussion and Questions
- Topic: How to reduce power consumption reduction for a wearbale project
- Replies: 6
- Views: 6174
Re: Power consumption reduction for a wearbale project
Are you sure about your battery life estimation? From my tests, in USB (5V) I am currently using about 1 or 2 mAh/min (given by my wattmeter). So a 1400 mAh battery would be way enough to run the device for an entire day if I reach 30mA. I was thinking of using a ADXL345 accelerometer to replace the...
- Fri Aug 19, 2022 1:08 pm
- Forum: General Discussion and Questions
- Topic: How to reduce power consumption reduction for a wearbale project
- Replies: 6
- Views: 6174
How to reduce power consumption reduction for a wearbale project
Hi everyone, I am currently finalizing my first prototype ever: an arm band that sense acceleration, electrodermal activity and BVP (Blood Volume Pulse)! As you can imagine, I am very excited as it is my first electronics project ever. Here is the list of the components I use: ESP32 Devkit C MPU6050...
- Sun Jul 24, 2022 1:05 pm
- Forum: ESP32 boards
- Topic: File write speed
- Replies: 18
- Views: 14688
Re: File write speed
Hello! I am very interested in what you did. I'm working on the same kind of problems and started a similar discussion some time ago (i.e. how to write a lot of data in a file without impacting the performance too much). I am gonna try to replicate what you did but I wanted to know if you could post...
- Sat Jun 18, 2022 11:18 am
- Forum: General Discussion and Questions
- Topic: Clearing a bytearray like a list?
- Replies: 9
- Views: 2567
Re: Clearing a bytearray like a list?
Isn't calling the GC before showing the available memory cheating? It doesn't remedy the fact that the heap is filling up with no obvious reason to me and introduces a blocking step. From my benchmarks, using a thread instead of another coroutine is faster and therefore yields better results. It doe...
- Fri Jun 17, 2022 8:08 pm
- Forum: General Discussion and Questions
- Topic: Clearing a bytearray like a list?
- Replies: 9
- Views: 2567
Re: Clearing a bytearray like a list?
Ok, I found that the leak seems to come from the packing step as well as from the reading of some sensors like the MPU6050 accelerometer...
- Fri Jun 17, 2022 7:08 pm
- Forum: General Discussion and Questions
- Topic: Clearing a bytearray like a list?
- Replies: 9
- Views: 2567
Re: Clearing a bytearray like a list?
Thank you both for your replies. I already tried this implementation but at the time I made a mistake and discarded the idea. Today I tried to implement it again. It works BUT I still have a memory leak... As an example, here, each half second I lose around Ko of RAM. I know printing values will con...
- Wed Jun 15, 2022 2:01 pm
- Forum: General Discussion and Questions
- Topic: Clearing a bytearray like a list?
- Replies: 9
- Views: 2567
Clearing a bytearray like a list?
Hello, I have a program that needs that writes measures into a bugger that i then flushed into a file every half second. Because I'm using multiple uasyncio coroutines, I cannot simply create a fixed size array/bytearray into which I put my data throughout the half second (I tried). There are two ma...
- Tue Jun 07, 2022 1:27 pm
- Forum: ESP32 boards
- Topic: ADC unintendedly transformed into an antenna???
- Replies: 4
- Views: 1744
Re: ADC unintendedly transformed into an antenna???
Yesterday after seeing you post and before going to bed I turned down my tower PC and retested the esp32 with my portable computer and didn't see the same interference so I likely identified the source haha Thanks a lot for your valuable feedback. My goal is to build a "watch" (more like a big brace...