Aller au contenu


Photo
- - - - -

ups-boards


1792 réponses à ce sujet

#1601 garfield2142

garfield2142

    Habitué

  • Membres
  • PipPip
  • 379 messages
  • Gender:Male

Posté 01 juillet 2025 - 17:59

I knew the 3b+ would consume less, but didn't expect this much of a difference...


#1602 firened

firened

    Pilier du forum

  • Membres
  • PipPipPipPipPip
  • 2 124 messages
  • Gender:Male

Posté 01 juillet 2025 - 18:07

Huhh wow

#1603 firened

firened

    Pilier du forum

  • Membres
  • PipPipPipPipPip
  • 2 124 messages
  • Gender:Male

Posté 01 juillet 2025 - 18:09

Does it run over the same cables and dupont power distribution board?

#1604 garfield2142

garfield2142

    Habitué

  • Membres
  • PipPip
  • 379 messages
  • Gender:Male

Posté 01 juillet 2025 - 18:33

I didn't need the distribution board for this one, but the power supply cable is the same

#1605 garfield2142

garfield2142

    Habitué

  • Membres
  • PipPip
  • 379 messages
  • Gender:Male

Posté 01 juillet 2025 - 18:39

But you're right, for a fair comparison I should've ran it through the distribution board

#1606 firened

firened

    Pilier du forum

  • Membres
  • PipPipPipPipPip
  • 2 124 messages
  • Gender:Male

Posté 01 juillet 2025 - 19:00

Even with that in mind, i thought the pi4 only uses 20-25% more.
I wonder if there's something else unaccounted for, still. :huh:

#1607 garfield2142

garfield2142

    Habitué

  • Membres
  • PipPip
  • 379 messages
  • Gender:Male

Posté 01 juillet 2025 - 19:11

I should just do a naked raspberry pi 3 & 4 with the power supply @5 v and only a camera.

#1608 garfield2142

garfield2142

    Habitué

  • Membres
  • PipPip
  • 379 messages
  • Gender:Male

Posté 01 juillet 2025 - 19:38

Hmm, you were right, there were way too many variables to make a conclusion. With the pi4 I used a powerpack pro which is discontinued by now. When I run the pi with only the lab bench power supply, the difference is not that significant

#1609 Mike118

Mike118

    Staff Robot Maker

  • Administrateur
  • PipPipPipPipPip
  • 12 871 messages
  • Gender:Male
  • Location:Anglet
  • Interests:Robotique, Entrepreneuriat, Innovation, Programmation, Résolution de problème, Recherche de solutions, Mécanique, Electronique, Créer, Concevoir

Posté 02 juillet 2025 - 18:08

@Garfield2142

Si mon commentaire vous a plus laissez nous un avis  !  :thank_you:

Nouveau sur Robot Maker ? 

Jetez un oeil aux blogs, aux tutoriels, aux ouvrages, au robotscope  aux articles,  à la boutique  et aux différents services disponible !
En attendant qu'une bibliothèque de fichiers 3D soit mise en place n'hésitez pas à demander si vous avez besoin du fichier 3D d'un des produits de la boutique... On l'a peut être ! 
Si vous souhaitez un robot pilotable par internet n'hésitez pas à visiter www.vigibot.com et à lire le sous forum dédié à vigibot!

 

Les réalisations de Mike118  

 

 

 


#1610 firened

firened

    Pilier du forum

  • Membres
  • PipPipPipPipPip
  • 2 124 messages
  • Gender:Male

Posté 20 août 2025 - 14:04

@Mike118 could cutting the i2c line on the charge chip be a good test?

If the i2c collision is the problem, it could be moved to the second i2c bus the Pi has on the next revision for future implementation if necessary

#1611 Mike118

Mike118

    Staff Robot Maker

  • Administrateur
  • PipPipPipPipPip
  • 12 871 messages
  • Gender:Male
  • Location:Anglet
  • Interests:Robotique, Entrepreneuriat, Innovation, Programmation, Résolution de problème, Recherche de solutions, Mécanique, Electronique, Créer, Concevoir

Posté 20 août 2025 - 16:05

I just made a software patch and tested it succesfully. Now the robot will not crash anymore when charging.
I guess cutting the I2c line on the charger might work too, but in order to charge at full capacity I think we might need to send few I2C commands to the charger ...

Si mon commentaire vous a plus laissez nous un avis  !  :thank_you:

Nouveau sur Robot Maker ? 

Jetez un oeil aux blogs, aux tutoriels, aux ouvrages, au robotscope  aux articles,  à la boutique  et aux différents services disponible !
En attendant qu'une bibliothèque de fichiers 3D soit mise en place n'hésitez pas à demander si vous avez besoin du fichier 3D d'un des produits de la boutique... On l'a peut être ! 
Si vous souhaitez un robot pilotable par internet n'hésitez pas à visiter www.vigibot.com et à lire le sous forum dédié à vigibot!

 

Les réalisations de Mike118  

 

 

 


#1612 firened

firened

    Pilier du forum

  • Membres
  • PipPipPipPipPip
  • 2 124 messages
  • Gender:Male

Posté 06 décembre 2025 - 10:40

On 2 robots already, after switching to the 4 pin magnetic cable instead of the 2 pin, the geekworm UPS v3 stopped charging.

Here's a hypothesis as to why, i estimate a 30% chance of it being correct, but really hope it's not the case:

- geekworm UPS v3 has 2x ICs: (1) a PD negotiation IC and (2) the BQ25... Charge and boost IC.

- the magnetic 4 pin plug, under specific circumstances, when unplugging, could perhaps accidentally connect 12 V to one of the data D+ D- lines, which may kill the PD negotiation chip. From this point forward it 95% of the time stays at 5V.

- due to unknown reasons (perhaps the 5V sags too much), the BQ25.. doesn't want to use more than about 1A @ 5V. Which effectively disables charging.

- by using a different PD negotiation IC (external PD decoy module), we can have 9 V again.

- due to unknown reasons, by manually setting the charge current limit in the BQ25.. i2c registers, it only then starts charging. Restoring proper functionality.


I'll test it more to see if this fixes it :)

#1613 firened

firened

    Pilier du forum

  • Membres
  • PipPipPipPipPip
  • 2 124 messages
  • Gender:Male

Posté 06 décembre 2025 - 10:44

What the I2C registers look like
Screenshot_20251205_182358_JuiceSSH.jpg

#1614 firened

firened

    Pilier du forum

  • Membres
  • PipPipPipPipPip
  • 2 124 messages
  • Gender:Male

Posté 11 décembre 2025 - 18:57

[U+2191]the above only worked when force feeding 9V. It still didn't charge on 5V.

There are multiple things that can disable charging on the bq25895 charge IC, all have to be set correctly:
- voltage drop between USB no-load and under-load cannot be more than 0.5V by default. With a magnetic plug and running robot, this is normally the case. <- this drove me up the walls, i didn't understand why it doesn't want to charge on 5V. Status: if VDPM_STAT is 1. Fix: Increase VINDPM_OS to 1V.
- total input current limit. Status: if IDPM_STAT is 1.
- on i2c read a watchdog is started automatically, runs out after 40 s and resets most registers. Fun!
- ADC's don't update by default.


Here are my notes so far, sorry it's not clean yet:

UPS geekworm v3 (BQ25895)
on 9V supply
```
i2cset -y 1 0x6a 0x07 0x8d #disable i2c watchdog
i2cset -y 1 0x6a 0x03 0xba #reset watchdog fail flag
i2cset -y 1 0x6a 0x02 0x6d #enable 1s adc conversion
i2cset -y 1 0x6a 0x00 0x58 #set charge current
```

on 5V supply
if REG13 0x80 `VDPM_STAT` is 1
increase `VINDPM_OS`: `i2cset -y 1 0x6a 0x01 0x0a`
if 0x40 `IDPM_STAT` is 1
increase `IDPM_LIM`: how? it's read-only. -> appears to be controlled by same `IINLIM` 0x00

#1615 firened

firened

    Pilier du forum

  • Membres
  • PipPipPipPipPip
  • 2 124 messages
  • Gender:Male

Posté 11 décembre 2025 - 18:59

Some common caveats and troubleshooting is listed here:
https://gist.github....d2a2f2a00b18c7f

#1616 garfield2142

garfield2142

    Habitué

  • Membres
  • PipPip
  • 379 messages
  • Gender:Male

Posté 21 décembre 2025 - 18:45

I just found this UPS that I never heard before. What do you think? https://www.pisugar....aspberry-pi-ups

#1617 firened

firened

    Pilier du forum

  • Membres
  • PipPipPipPipPip
  • 2 124 messages
  • Gender:Male

Posté 22 décembre 2025 - 08:38

Nice.
Smaller battery.
Fuel gauge?

#1618 garfield2142

garfield2142

    Habitué

  • Membres
  • PipPip
  • 379 messages
  • Gender:Male

Posté 22 décembre 2025 - 09:13

It's very similar to the wittypi I tried last year. It also has an RTC and its own webUI. Addresses are 0x57/0x68 https://docs.pisugar...3/pisugar-3-i2c

#1619 garfield2142

garfield2142

    Habitué

  • Membres
  • PipPip
  • 379 messages
  • Gender:Male

Posté 22 décembre 2025 - 09:14

I'll order the 2 and 3 sometime soon. The first version does not support battery reading from software, only the 2 and 3 version.

#1620 wowhik1

wowhik1

    Membre occasionnel

  • Membres
  • Pip
  • 177 messages

Posté 22 décembre 2025 - 09:32

The capacity is quite realistic, but it doesn't make much sense.
Inside this module there is a single 3.7V / 4.2V cell, and the voltage is boosted to 5V via a step-up (boost) converter.
It may only be useful for powering a Raspberry Pi, and nothing more. When connecting servos or motors, the voltage will sag.
(For robots or other equipment, a voltage of around 8.4V is preferable, especially for motors, etc.)

So it depends on the purpose



Répondre à ce sujet



  


1 utilisateur(s) li(sen)t ce sujet

0 members, 1 guests, 0 anonymous users