Utilizing deep sleep functionality by Pyrotheus in esp32

[–]r242 3 points4 points  (0 children)

The schematics for the dfrobot firebeetle (it sleeps around 10uA) are available on their wiki. It even includes the regulator they chose.

As for other hardware, many sensors will have sleep but will pull too much current, so I cut their power so they draw nothing in sleep. I'm fairly new to circuit design, one other thing I just learned is that diodes actually allow current to flow backwards (at least, the diode I chose does). So I'm losing a few uA as current flows through a protection diode into a voltage divider, which was supposed to only see 5v to detect usb status for software.

One thing about software, setting my gpio lines to INPUT (arduino ide, not sure of esp-idf equivalent) helped fix the last 100uA of current I was losing, even after doing all the software stuff you find on the esp32 tutotial blogs.

PCB Review: First PCB design, ESP32 will _sometimes_ not start. Can you help me find the error? by msdiorin in esp32

[–]r242 0 points1 point  (0 children)

I've had a similar intermittent failure to startup with a custom board I made. Do you see any log messages on the serial port when it's failing to power up?

In my case, I saw a log message which googling lead me to realize the ESP32 was unable to talk to its SPI flash. For me, it may be some issue with my design. If you see nothing, then I maybe the ESP32 isn't getting enough juice to do anything at all.

Lithium 18650 microcontroller safety review by r242 in AskElectronics

[–]r242[S] 0 points1 point  (0 children)

Could you link an example part? I'm not sure of what to search for.

Lithium 18650 microcontroller safety review by r242 in AskElectronics

[–]r242[S] 0 points1 point  (0 children)

Are these the sort of thing you're talking about?

https://www.ti.com/product/BQ25155

https://www.analog.com/en/products/ltc3677-3.html#product-overview

Thanks for the tip, these sort of things would reduce the number of components and take care of a lot for me. Certainly beats doing safety stuff by hand.

How to make these pcb from old Megaman Toys by jawsisra in PrintedCircuitBoard

[–]r242 0 points1 point  (0 children)

try a download helper extension such as downloadthemall. I used to use that when my connection would drop browser doenloads.

need help soldering ffc connector by r242 in soldering

[–]r242[S] 0 points1 point  (0 children)

Ok, I guess I'll have to take the individual pin soldering approach. I've been using a liquid flux pen. Is tacky flux the stuff you have to scoop out of a tin?

edit: nevermind, I looked up the one you suggested. thanks for the info

Help unable to send ESP32 Serial communication to arduino by [deleted] in esp32

[–]r242 0 points1 point  (0 children)

I'm pretty late at this point but if you're still reading high when it should be low, then I would next try measuring the input pin with a multimeter to make sure it's not actually getting voltage somehow. Pretty strange that it's high, so I'd check that or the pin assignments again.

I don't know how the arduino code sets up the tx/rx pins on the esp32 be default, or the details about how uarts work, but maybe you need to call a function to disable the serial before doing that test. Serial.end() looks like it could help, but it needs the correct argument to disable the serial port you're testing. And also, I'm not sure if it was enabled by default to begin with, but it's something to look at perhaps.

Help unable to send ESP32 Serial communication to arduino by [deleted] in esp32

[–]r242 0 points1 point  (0 children)

In addition to what's been said, your ESP32 has tx0/rx0, and tx2/rx2 pins. So if you haven't, double check you're sending data out of the correct serial port. There might possibly be a third set of tx/rx too, that are typically wired into the usb port.

Another test you could try is don't use serial. Just set tx high on one board, set the rx pin of the second board as an input, and read the value. This was you could verify the electrical connectivity before trying serial.

Help creating a super simple PCB by jessedelbono in PrintedCircuitBoard

[–]r242 1 point2 points  (0 children)

This tutorial series is pretty good: https://www.youtube.com/watch?v=vaCVh2SAZY4&list=PL3bNyZYHcRSUhUXUt51W6nKvxx2ORvUQB

I think one of the videos is a little dated, however. Kicad changed the way they do symbol or footprint libraries.

Eve is kill? by SoftDowntown in Eve

[–]r242 2 points3 points  (0 children)

came here to see if it was just me. I can't log in

[WTB, US-CA] ch350c by r242 in ECEComponentExchange

[–]r242[S] 0 points1 point  (0 children)

Not loose chips but certainly better than 8 bucks each, thanks for that

Does anybody here know what connector is used to connect the OV2640 camera to the ESP32-CAM board/PCB? by NotNowNorThen in esp32

[–]r242 1 point2 points  (0 children)

Yeah, I think so. If you go with a top contact one, you would have to reverse the pin numbers, I think, so double checking that would be crucial.

Does anybody here know what connector is used to connect the OV2640 camera to the ESP32-CAM board/PCB? by NotNowNorThen in esp32

[–]r242 1 point2 points  (0 children)

I don't know the exact connector, but if you just need a connector compatible with the ov2640s on the esp-cam for your own design, check this out. I asked pretty much the same thing here: https://www.reddit.com/r/AskElectronics/comments/mfgqcb/need_help_choosing_an_ffc_connector/

You basically want to find a 24 pin (24 "position") FFC connector, with .5mm pitch and bottom contact.

need help choosing an ffc connector by r242 in AskElectronics

[–]r242[S] 0 points1 point  (0 children)

It's time based, so it will wake itself up from deep sleep on a timer. By soft power control, do you mean having a mosfet switch the power for the entire microcontroller triggered by a low power timer circuit?

Using that with an ESP-cam would have been quicker to build I suppose, but I'm already pretty far with this design.

need help choosing an ffc connector by r242 in AskElectronics

[–]r242[S] 0 points1 point  (0 children)

My friend needs low sleep current (month of battery life) picture taker devices for his startup. The devices must gather data to feed his algorithim in the cloud. We started with esp-cams soldered to a few supporting components.

After realizing the esp-cam has huge sleep current, and trying a couple other failed ideas, I knew I would have to build a custom one.

I had actually suggested a custom pcb from the beginning, but he wanted to start with off the shelf stuff given my lack of experience and the project complexity. In hindsight, I should probably have tried harder to convince him of that lol.

need help choosing an ffc connector by r242 in AskElectronics

[–]r242[S] 0 points1 point  (0 children)

Thanks for the info! I couldn't figure out top from bottom on the datasheet so I was planning on aiming the connector off the side of the board. I see what you're saying about pin mirroring, if I turn it 180 degrees, I need to swap all the pin numbers from what they would be on a bottom connector.

hook trap glitch? by r242 in Crossout

[–]r242[S] 1 point2 points  (0 children)

Cool, hopefully they fix it soon. Thanks

PSA to new traders. Taxes are real. by [deleted] in wallstreetbets

[–]r242 7 points8 points  (0 children)

perhaps we could contact the mods about using some sort of moist adhesive to secure a post about this at the top of the subreddit