Custom Uno for a battery powered project

I am making a Uno for a battery powered project, and I just want some opinions on whether anything looks incorrect in the schematic. I have added a few things that the Uno doesn't have, such as digital pin protection, plus the power LED only runs when the board is connected to USB. Does it look right to anyone here? Are there any ways I can use even better components for using the least milliamps possible?

1 Like

For a battery powered "Uno" I'd drop the USB stuff. Just leave an FTDI header (assuming you add a bootloader) and/or an ICSP header
Can you explain what you are doing with Q2 and D4.
Built in resistors on GPIO pins are not normal. You may get problems, for example, with SPI peripherals.

2 Likes

I thought about this. But I want to find some way of disabling the USB interface when the board is powered by the VIN pin/barrel jack. Q2 and D4 are supposed to be the LED on pin 13.

This is what I was told be someone in a private message. I tried to follow their advice there, but I think I did it wrong.

I was told by someone that they did this without any issues.

The monitoring circuit for D13 will not work that way.

Use something like this:

1 Like

You are shorting Vin to GND ! :scream:

2022-09-07_17-30-25

The center pin is Positive

Updated schematic:


EDIT: I just updated the schematic for the barrel jack error

Oops. I wired that wrong.

Just follow the UNO schematic:

2022-09-07_17-43-44

1 Like

I was hoping to use the half of the LMV358 that Uno uses for the pin 13 LED for the power LED instead:

Power LED is a simple circuit, save the 358 for D13.

1 Like

Here you go:


Is pin 6 and pin 7 of the LMV358 supposed to be connected? One goes to SCK, and one goes to 13. But both SCK and 13 are directly connected to the same digital pin, and header pin.

6 is connected to 7.

This has the NET called L13

1 Like

So my schematic is correct?

In your schematics, place GND at the bottom and +Vs at the top.

1 Like

I am having some difficulty of justifying the expense of the from-scratch construction of a clone UNO. Most members use the "mini" clone for such needs as it is inexpensive and can easily plug-in to a DIP socket made of header strips.

At 16MHz, the minimal UNO is extremely sparse in parts: xtal, 2x load cap, ATmega328P, connection for +5V. An optional USB-serial permits programming with a bootloader.

Understandable. But I can build it for $20, which is cheaper than a genuine Uno anyway.

I specifically want to be able to use Uno shields on it though, and I'm trying to make a circuit that shuts off the USB chip when the board is using the VIN pin, mostly just because I want to see if it is able to be done.

Can I just build a simple NPN transistor switch?

Very poor man LED switch:

header pin shorting jumper at DuckDuckGo

image

Yes. But I want it to do this automatically (a manual override such as a jumper would be nice though).

A simple circuit is always the best.

1 Like