Skip to content

Enhancement absis ale power regulation - first#1151

Open
rainbow-solutions wants to merge 14 commits into
jrsteensen:Enhancement_ABSIS_ALE_Power_Regulationfrom
rainbow-solutions:Enhancement_ABSIS_ALE_Power_Regulation
Open

Enhancement absis ale power regulation - first#1151
rainbow-solutions wants to merge 14 commits into
jrsteensen:Enhancement_ABSIS_ALE_Power_Regulationfrom
rainbow-solutions:Enhancement_ABSIS_ALE_Power_Regulation

Conversation

@rainbow-solutions

@rainbow-solutions rainbow-solutions commented Jun 4, 2025

Copy link
Copy Markdown

Description

The Arduino Pro Micro have some issues when +5V comes not from USB but from VCC pin. To be able to use the usb VIN pin I add 2 USB connectors to pass through the data connection, but on the same way inject the +5V from the ABSIS BUS to the USB connection.
grafik

To get a stable +5V source I add a step down voltage regulator to have +5.1V from the +12V of the ABSIS bus.
grafik
The Arduino is powered only over the USB port, the VCC pin is used only as output to provide power additional PCB's over the VCC pins.
The USB ports on the ABSIS board are used to pass through the data pins of the USB connection, and add a second power source on the VBUS +5V USB wire.
To prevent backdrop from USB to ABSIS bus and inverted USB cables there are 2 diodes on both USB and ABSIS VBUS wire.

Addresses # (issue)

Motivation and Context

Enable the power source from the ABSIS bus and USB. Injecting the +5V from the ABSIS bus directly to the USB VBUS wire. This should solve the backdrop from ABSIS BUS to USB cable and faulty Arduino voltage regulator when using the RAW pin

Type of change

  • changed size of the ABSIS ALE board in one direction to fit USB and SMD parts

grafik

How Has This Been Tested?

Not yet tested, waiting for approval of schematics.

Screenshots:

<Paste screenshots of the WAS/IS state. Show us what it was before your changes, and show us what it is now.>

Checklist: (Delete non-relevant sections)

MCAD:

  • the PCB is 5mm longer than before, there should be no impact on mounting positions, but needs to be checked.

PCB/ECAD:

  • waiting for approval of the schematics and PCB to continue on master parts and creating gerber / production files.

Changed PCB size and add USB injection of 12V from ABSIS bus
Change PCB size and add USB injection of +12V -> +5V to power Arduino Pro Micro
Add 2 missing connections
@jrsteensen jrsteensen added Type: Bug/Obsolesce Something isn't working/Part no longer available for sale Category: ECAD Electrical CAD/PCB HW Design Priority: High labels Jul 12, 2025
@jrsteensen jrsteensen added this to the v0.3.0 (Beta 2) milestone Jul 12, 2025

@jrsteensen jrsteensen left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, this isn't quite what we were looking for. We don't want to add USB cables just for power - that fix will come from the good OH pro-micros that don't have the power trace spacing issues all other pro-micros currently may or may not have, and some additional protections to prevent ABSIS bus power being injected on the USB power bus. If you can update to remove the USB connectors, that would be appreciated.

@jrsteensen

Copy link
Copy Markdown
Owner

The Power Protection/Conditioning circuit looks good, and once the changes previously mentioned are implemented, feel free to upload manufacturing files and all - I'd recommend keeping the checklist in place in the PR to help keep track of the steps taken.

@rainbow-solutions

Copy link
Copy Markdown
Author

Sorry, no review requested. I will than remove the USB connectors and inject the +5V directly to the VCC pin of the Arduino.

@rainbow-solutions

Copy link
Copy Markdown
Author

First version with power regulation without the USB connectors. The D1 and F1 now protects the raw pin and the entire power regulator. depending on what solder bridges are closed it will powered directly from the JP3 to the raw pin, or closing JP1 and CP2 over the +5V pin.
image
The schematic is here:
image

@jrsteensen

Copy link
Copy Markdown
Owner

First blush looks great.

Please commit the complete package to include manufacturing files and step model for full review.

If notes on the schematic dont include an explanation of how to configure the jumpers, please add notes explaining it.

Once that review is complete and we have a final PCB, I'll have you generate the release package as well.

@jrsteensen

Copy link
Copy Markdown
Owner

Sorry, just saw your additional commits while I was writing my reply. 😂

@rainbow-solutions

Copy link
Copy Markdown
Author

Oh no, you are right, I have to add the jumper description... :-) just a moment, I will add it right now...

@kbastronomics

Copy link
Copy Markdown
Collaborator

Please note it will not actually solve the pro Micro issue. VCC is fed directly to the regulator on the pro Micro causing in this case a feedback loop where the regulator is trying to supply 5 V but because that's what's being supplied it can't so we will apply try to supply a voltage less the most that it can But on VCC will be 5 V from the external regulator. You'll have 25 sources fighting each other for VCC.

See attached for the power supply section of the pro Micro the default configuration is J one is jumper which means VCC will flow into the regulator or if you supply raw will have the same issue we already have

Just want to point that out
image

@rainbow-solutions

Copy link
Copy Markdown
Author

Thank you for your feedback.
Yes, I know, the only way that I found was using a USB connector to feed the arduino only over the USB bus, injecting +5V using the UVCC pin on the usb connector to feed the Pro Mikro. But it was not an option using a usb cable from ABSIS board to Pro Micro.

Please note it will not actually solve the pro Micro issue. VCC is fed directly to the regulator on the pro Micro causing in this case a feedback loop where the regulator is trying to supply 5 V but because that's what's being supplied it can't so we will apply try to supply a voltage less the most that it can But on VCC will be 5 V from the external regulator. You'll have 25 sources fighting each other for VCC.

See attached for the power supply section of the pro Micro the default configuration is J one is jumper which means VCC will flow into the regulator or if you supply raw will have the same issue we already have

Just want to point that out image

@kbastronomics

Copy link
Copy Markdown
Collaborator

I'm implementing a power switching circuit into the pro Micro that will favor the 12 V input or actually the raw input over the 5 V USB power and only allow one of them through. They'll be no direct connection to the regulator except through the raw Pin and the output from it will feed the VCC input of the 32U4.

That should solve most of the problems at the source, which is the power circuit of the pro Micro, which was never designed to allow both USB power and external power at the same time

@jrsteensen

Copy link
Copy Markdown
Owner

This is a little late I know, after all the work @rainbow-solutions has put in, but is a change even necessary for the ALE? Will it all be fixed by the OH Pro Micro?

@kbastronomics

Copy link
Copy Markdown
Collaborator

i don't think it will hurt, I would have to program the 2121 to prioritize the externa, power whether it is 5v or 12V coming in on RAW/VCC in addition to the vBUS but honestly I think I would just block VCC from hitting the input of the regulator and only allow RAW or VBUS

@rainbow-solutions

Copy link
Copy Markdown
Author

Sorry my ignorance, but what do you mean with the 2121? No worry about my work, important is that we get things done :-)

@kbastronomics

Copy link
Copy Markdown
Collaborator

I'm referring to a TPS2121 Power Mux
https://www.ti.com/product/TPS2121
it allows you to have 2 power sources and auto switch between based on a few different methods.
in this case I'm looking to make it 12v priority which means if only 5v is available pass it on, if only 12v is available pass it on
but if both 5v and 12 v are available it will select 12v since I make it the priority power supply

There's like no space on the top side of the PCB so I'll have to put it on the bottom side, I'm also removing the SJ1 to remove that feeding of the VCC power back to the input of the regulator (mux in my case.

the only thing this does not address is the phantom power on the D+ of the USB port but that really is not an issue, its leakage current due to the firmware config not turning off the input pullup resistor on the 32u4 but we've talking <3v @ <1mA of leakage
its not blowing any hub

@rainbow-solutions

Copy link
Copy Markdown
Author

OK, understand. So what should the next steps? Finish the version that I build, Sandra's version with the 2121, or creating a sort of small pcb that connects to the usb port of the pro micro to feed the arduino.
I think that the smartest solution is to use the usd power pins to feed the arduino. If we create a small pcb with just 2 usb (male/female), 2 diodes and a 1 pin connector (for the +5V), using the +12V from the absis bus we avoid using the raw pin and the vcc pin for source. Plus we avoid the backlash voltage on the d+ usb.
The absis ale board will remain the same size, no smd components on both sides (easier and cheaper), and the usb injection pcb can be usen on all pro micro boards.

generate production files with new compnents and update bom and placing file. change also value of fuse.
@rainbow-solutions

Copy link
Copy Markdown
Author

I add the production files and bom/placement file. The fuse now is 200mA to protect better the arduino from overcurrent.

@jrsteensen jrsteensen left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see individual file comments.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file should be a STEP file, not a STL.

@rainbow-solutions rainbow-solutions Oct 8, 2025

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello! I did not generate this file because I did not know how to generate it. I will give a look now...

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How are you doing your BOM generation? (Columns changed significantly.)

WAS: Comment,Designator,Footprint,LCSC
IS: "Reference","Value","Datasheet","Footprint","Qty","DNP","LCSC"

@jrsteensen jrsteensen mentioned this pull request Oct 5, 2025
24 tasks
@jrsteensen

jrsteensen commented May 2, 2026

Copy link
Copy Markdown
Owner

SCHEMATIC CHANGES

  • F1: Change to 500mA (C7472569)
  • ADD SHOTTKEY DIODE BETWEEN JP2 & VCC (Same as D1)
  • Change U1 to use DIP package (MAX487EEPA+)
  • Change U1 to use VCC instead of 5V, remove 5V label.
  • Change Vin(+12V) to 12V_SUPPLY
  • Rewrite power note
  • Fix all values to be horizontal.

LAYOUT CHANGES

  • Change U1 to use DIP package (MAX487EEPA+)
  • ADD SHOTTKEY DIODE BETWEEN JP2 & VCC (Same as D1)
  • Silkscreen fixes.
  • Optimize new circuit layout on PCB.

Got this in progress.

Replace the solder-jumper note with explicit, safety-focused instructions for JP1/JP2/JP3 and reposition that text. Large tidy-up of schematic nets: many junctions, wires and labels were repositioned or reconnected (UUIDs updated) to correct routing and visual layout. Update component U1 properties: change value/part to MAX487EEPA+, set DIP-8 footprint and move related properties/instances. Remove/adjust redundant power symbol entries, update power/ground label positions, and tweak JP3 placement and properties. Overall this commit is a schematic cleanup and clarification to improve documentation and net topology. Added D2 between regulator output and VCC.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: ECAD Electrical CAD/PCB HW Design Priority: High Type: Bug/Obsolesce Something isn't working/Part no longer available for sale

Projects

Status: ECAD TODO

Development

Successfully merging this pull request may close these issues.

3 participants