From the following relation we can calculate the unknown value of the internal pull-up resistor associated to a GPIO pin that is configured as an input pull-up in the Arduino's sketch.
I= (Vcc — Vfb) / R
having :
Vcc = 3.3V esp32 MCU power supply
Vfb =? V Forward V of the built-in LED
I = 73.4uA measured LED current
the calculated internal pull-up resistor value or magnitude is equal to:
But it's not good approach for most applications since boost DC-DC converter and load will always drain battery.
1) XT1861B502MR-G (DC-DC IC)
From datasheet:
低静态电流:15µA
Low quiescent current: 15µA
2) WS2812B-B/T (Addressable LED IC)
My measurements:
Quiescent current: 720uA
3) SN74LV1T34DCKR (Level Translator IC for 3.3V -> 5V)
From datasheet:
Static supply current: 1-10uA
That means (15uA + 720uA +1uA) ≈ 736uA will significantly affect on device sleep-mode current and to prevent additional power drain it should have additional switch.
Since typical system already has 3.3V switch and LED power relatively small it make sense to just connect boost DC-DC to it, instead of using additional switch.
Is there a way to know how to do ADC sampling I tried to do something similar but the signal is lost and it is distorted a lot, will you have any suggestion to replicate something similar of your project ?
Thank you! It was very usefull alhorithm to set hex-file generation until I closed my project, and then opened it again. Despite the fact that all necessary options have been selected (according items 4 & 5), project building creates *.hex.asm — file which contains two words: "; Disassembled code". There are no code errors (when build project), but working *.hex — file is absent. Please, help me to solve the problem!
I see:
I can't find ESP32 right now, so I checked it with cable:
1) Try to connect it using USB-C to USB-C cable
2) Try to use fully-charged battery as power supply (instead of USB)
3) Try to change probes
ibb.co/tP3QqZhr
Почему у меня столько помех? Я всё правильно собрал и перепроверил. Какие есть варианты?
Variable type can be obtained by selecting myVariables, exporting it to JSON format and there you can find variable name, addres and type.
Hi. After riding at heavy rain I left it for a week.
On the next weekend I tried throttle, but display showed Error message.
I removed controller board, cleaned it and replace two big aluminum electrolytic capacitors 1000uF 63V (their pins was damaged).
In your case the situation could be another, who knows how much the board is damaged.
Hello, I have one of these boards it got a little water now shorted can't find exact one out there it's from a 2024 bluvall b1 ebike
Muhh!!
From the following relation we can calculate the unknown value of the internal pull-up resistor associated to a GPIO pin that is configured as an input pull-up in the Arduino's sketch.
I= (Vcc — Vfb) / R
having :
Vcc = 3.3V esp32 MCU power supply
Vfb =? V Forward V of the built-in LED
I = 73.4uA measured LED current
the calculated internal pull-up resistor value or magnitude is equal to:
R = (Vcc — ?) / I
R = ((3.3 — ?)/73.4)*10^3 = ?? kOhm.
I can't see image.
But it's not good approach for most applications since boost DC-DC converter and load will always drain battery.
1) XT1861B502MR-G (DC-DC IC)
From datasheet:
2) WS2812B-B/T (Addressable LED IC)
My measurements:
3) SN74LV1T34DCKR (Level Translator IC for 3.3V -> 5V)
From datasheet:
That means (15uA + 720uA +1uA) ≈ 736uA will significantly affect on device sleep-mode current and to prevent additional power drain it should have additional switch.
Since typical system already has 3.3V switch and LED power relatively small it make sense to just connect boost DC-DC to it, instead of using additional switch.
I think powering boost DC-DC converter directly from battery would be a better solution then daisy-chaining one converter after the other
That's why it's better to use two diodes and +3.3Vrail(you will save coin battery charge and power RTC from big battery)
Why can't I use the p-channel MOSFET solution if I am giving power from ESP32 and a 1.5V coin cell
humba humba bumba bumba kamba kamba
It's not my link, it's link where from I downloaded files.
Backups available above of this link (Document + Gerber).
➡️ Source: https://drive.google.com/drive/folders/1WdWcisx70J... your zource is not working,please update,thank you
Great tip, just came across your site (now bookmarked) amazing and very helpful content, thanks for sharing. I’d love to see more KiCad articles
Great. Thanks!
Is there a way to know how to do ADC sampling I tried to do something similar but the signal is lost and it is distorted a lot, will you have any suggestion to replicate something similar of your project ?
I would say up to ~700 kHz, if we talk about rectangular signal.
See the PWM-signal (50% duty cycle) chapter for more details with tests 10 Hz to 1 MHz.
What is maximum frequency it can measure accurately ?
Thank you! It was very usefull alhorithm to set hex-file generation until I closed my project, and then opened it again. Despite the fact that all necessary options have been selected (according items 4 & 5), project building creates *.hex.asm — file which contains two words: "; Disassembled code". There are no code errors (when build project), but working *.hex — file is absent. Please, help me to solve the problem!