First Engineering project

Hey guys, ive spent about a week or 2 grinding out a design that i want to 3d print and add electronics to. I have it finished but am now facing electrical problems, i was analyzing what i would need and i have no clue how i will make this portable. For some context, i want to build a project for my gf as a promposal, its a heart that will hav a 1602 I2C LCD screen and two buttons to answer yes or no, but im going to rig it so only yes works. My problem is i want to use either esp 32 or arduino uno r4, but i want to make it portable, prom is in 2 weeks and i have no clue what to do for the power issue. I was thinking maybe 2 or 3 AA batteries might be enough to at least run it for an hour. I also need help with a circuit, i want to use a button and a transistor, the button will work as a switch to turn on the base when i press it once and turn off when i press it again. I need to finish this project by the end of next week thank you all!

  • Always show us a good schematic of your proposed circuit.
    Show us good images of your ‘actual’ wiring.
    Show us your enclosure.
    Give links to components.

Why not just use a club?

  • Or a ring

:ring::man_kneeling:

Use one 18650 battery and a boost converter to get 5V. Then you can use almost any Arduino and displays you would like.

It would be much better if the No shows a broken heart.

Why? There is absoloutly no reason to use anything to "power" a push button. Just declare the buttons as inputs in the setup function with INPUT_PULLUP, and connect the actual button between the input and ground.

When you see a zero upon reading that pin you know that the button has been pushed.

Sounds like "Back to the future" again. Make sure she is not your Mom.

Tiny esp32 with lipo-battery pads:

Attiny85 + 0.96 OLED + 2 buttons + ON/OFF switch --> powered by 3V coin cell battery

PS: no complex graphics

For a short-term project, get one of the little USB power banks and power it through the usb port.

I would avoid the UNO R4, too large and would use too much power compared to an ESP32.

I wanted to use the button as a way to turn on or off the system, this way i could save battery

this is acctually a great idea! i didnt really think about using a power bank!

Yes of course my apologies, i shall do it asap, it is a simple circuit and simple wiring as if you were going to make an lcd screen display something different when a button gets pressed

The only problem with power banks is that if you do not draw enought current from them they shut down after a short time.

Its a small project that techinically should only be used once, and the most important part i need is to be able to power it all and give it to her by then end of next week. So as long as it works for the short time ill bank on it, for other projects such as the robotic arm im also working on im using a power bank and LiPO batteries that were recommended to me by others on the forum.

If you don't need wireless communication, post#8 gives you the best bang.
If you do, consider post#7. Using Uno R4 makes no sense here...

See post #5

You can use rechargeable batteries like 3.7V Li-ion batteries and carry a battery charger with you.

Rude comments deleted.

Unhelpful AI reply deleted. Please flag useless AI generated replies, especially when they are the first post from new users, they are often for spam.

Please keep things polite and helpful.

Thank you.

If your dev board doesn't draw enough power, you can add a large capacitor and a resistor in series for the start-up. But I definitely think that a powerbank is the best option.

Important note: don't forget the resistor, because it can fry things if you do