Date   

Re: 12V Power for the Pi (was Re: [RaspberryPi-4-HamRadio] Getting back to the RPi)

David Lane
 

By default, yes, once there is enough power, the boot cycle starts. 

Question - how would you retard the boot cycle, until the battery fully charges? Or are you assuming that once the mains are back up, you are ‘good to go,’ and not worried about a secondary outage without enough battery? If the MOPI is managing the battery, does it have the ability to retard that restart?  (I am thinking about the much larger logic circuits that are in smart ups and larger power systems that keep the main CPUs from coming back if the battery charge is still insufficient for full operations and shutdown again - then you get into a is there enough capacity in the capacitor for the battery to know if the capacitor is charged enough to tell the battery to start charging again). Or does it not really matter? (Worse case scenario is a required FSCK on the drive preventing a boot and needing a manual intervention). 

David 



On Dec 24, 2019, at 2:34 PM, Daniel Holmes <danielh@...> wrote:

I don’t have it handy to check, but I’d assume so—anytime you remove power from a Pi and then reapply power it starts up. 

Dan

--
. Please pardon any mispelings or errors.


On Dec 24, 2019, at 11:41 AM, Tadd KA2DEW in NC via Groups.Io <tadd@...> wrote:


interesting.  ok.  so same scenario but in B> the Raspberry PI is left OFF.  Does it turn on when G or H? 


On December 24, 2019 at 1:36 PM, Daniel Holmes <danielh@...> wrote:

If power is applied to the Pi while it is off it will turn on at G.

Dan
--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin


On Dec 24, 2019, at 11:33 AM, Tadd KA2DEW in NC via Groups.Io <tadd@...> wrote:

Using the MOPI-2 In this scenario

A> mains are working.   
B> Start Raspberry PI
C> runs steady for a long time (weeks) 
D> Mains go to 0v but are still hooked up.
E> battery eventually gets low
F> MOFI does LInux shutdown and turns off Raspberry PI
G> mains come back eventually
H>  battery charges 
J> raspberry is provided power again 

Is there a way to have the Raspberry PI come back on-line in H or J ?   

Thanks!
  Tadd - KA2DEW 
  Raleigh NC USA


On December 24, 2019 at 11:39 AM, Daniel Holmes <danielh@...> wrote:

Good question on a monitor—I think the specs said it’ll only do about 2.5-3 amps, but there’s a way to switch in a 5V relay to power up the monitor. I personally run my Pi headless, and use VNC on my iPad to connect in (although I have a small wireless keyboard I use because typing on a virtual keyboard stinks.)

Dan
--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin


On Dec 24, 2019, at 9:35 AM, Michael WA7SKG <wa7skg@...> wrote:

Dan,

THANK YOU! What a device! While you say expensive, it's only a few dollars more than the USBuddy and does so much more. The on/off switch is a big plus, as well as the HAT configuration. The only thing I'm not sure of is powering the monitor as well. As I am using the Smarti-Pi Touch Case, the RPi is not mounted directly to the monitor, so it is not powered through the IO pins, but from a separate USB connection. However, I do not think this is insurmountable.

Thanks again.

73,
Michael WA7SKG

Daniel Holmes wrote on 12/24/19 6:57 AM:
For running off a 12V supply, this is what I use: https://pi.gate.ac.uk/pages/mopi.html Seems to be pretty RF quiet.
Yeah, it’s a bit expensive, but I have it wired with an on/off switch to power up/power down the Pi cleanly, and it powers it down when the batteries are almost exhausted. I haven’t worked up the battery charger just yet, but it’ll be a handy part of my go-kit. I still need to figure out how to use more than 1 HAT on my Pi, but that’s just a bit of research—so many projects so little time.
Dan












Re: 12V Power for the Pi (was Re: [RaspberryPi-4-HamRadio] Getting back to the RPi)

Daniel Holmes
 

I don’t have it handy to check, but I’d assume so—anytime you remove power from a Pi and then reapply power it starts up. 

Dan

--
. Please pardon any mispelings or errors.


On Dec 24, 2019, at 11:41 AM, Tadd KA2DEW in NC via Groups.Io <tadd@...> wrote:


interesting.  ok.  so same scenario but in B> the Raspberry PI is left OFF.  Does it turn on when G or H?


On December 24, 2019 at 1:36 PM, Daniel Holmes <danielh@...> wrote:

If power is applied to the Pi while it is off it will turn on at G.

Dan
--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin


On Dec 24, 2019, at 11:33 AM, Tadd KA2DEW in NC via Groups.Io <tadd@...> wrote:

Using the MOPI-2 In this scenario

A> mains are working.  
B> Start Raspberry PI
C> runs steady for a long time (weeks)
D> Mains go to 0v but are still hooked up.
E> battery eventually gets low
F> MOFI does LInux shutdown and turns off Raspberry PI
G> mains come back eventually
H>  battery charges
J> raspberry is provided power again

Is there a way to have the Raspberry PI come back on-line in H or J ?  

Thanks!
  Tadd - KA2DEW
  Raleigh NC USA


On December 24, 2019 at 11:39 AM, Daniel Holmes <danielh@...> wrote:

Good question on a monitor—I think the specs said it’ll only do about 2.5-3 amps, but there’s a way to switch in a 5V relay to power up the monitor. I personally run my Pi headless, and use VNC on my iPad to connect in (although I have a small wireless keyboard I use because typing on a virtual keyboard stinks.)

Dan
--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin


On Dec 24, 2019, at 9:35 AM, Michael WA7SKG <wa7skg@...> wrote:

Dan,

THANK YOU! What a device! While you say expensive, it's only a few dollars more than the USBuddy and does so much more. The on/off switch is a big plus, as well as the HAT configuration. The only thing I'm not sure of is powering the monitor as well. As I am using the Smarti-Pi Touch Case, the RPi is not mounted directly to the monitor, so it is not powered through the IO pins, but from a separate USB connection. However, I do not think this is insurmountable.

Thanks again.

73,
Michael WA7SKG

Daniel Holmes wrote on 12/24/19 6:57 AM:
For running off a 12V supply, this is what I use: https://pi.gate.ac.uk/pages/mopi.html Seems to be pretty RF quiet.
Yeah, it’s a bit expensive, but I have it wired with an on/off switch to power up/power down the Pi cleanly, and it powers it down when the batteries are almost exhausted. I haven’t worked up the battery charger just yet, but it’ll be a handy part of my go-kit. I still need to figure out how to use more than 1 HAT on my Pi, but that’s just a bit of research—so many projects so little time.
Dan











Re: 12V Power for the Pi (was Re: [RaspberryPi-4-HamRadio] Getting back to the RPi)

 

interesting.  ok.  so same scenario but in B> the Raspberry PI is left OFF.  Does it turn on when G or H?


On December 24, 2019 at 1:36 PM, Daniel Holmes <danielh@...> wrote:

If power is applied to the Pi while it is off it will turn on at G.

Dan
--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin


On Dec 24, 2019, at 11:33 AM, Tadd KA2DEW in NC via Groups.Io <tadd@...> wrote:

Using the MOPI-2 In this scenario

A> mains are working.  
B> Start Raspberry PI
C> runs steady for a long time (weeks)
D> Mains go to 0v but are still hooked up.
E> battery eventually gets low
F> MOFI does LInux shutdown and turns off Raspberry PI
G> mains come back eventually
H>  battery charges
J> raspberry is provided power again

Is there a way to have the Raspberry PI come back on-line in H or J ?  

Thanks!
  Tadd - KA2DEW
  Raleigh NC USA


On December 24, 2019 at 11:39 AM, Daniel Holmes <danielh@...> wrote:

Good question on a monitor—I think the specs said it’ll only do about 2.5-3 amps, but there’s a way to switch in a 5V relay to power up the monitor. I personally run my Pi headless, and use VNC on my iPad to connect in (although I have a small wireless keyboard I use because typing on a virtual keyboard stinks.)

Dan
--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin


On Dec 24, 2019, at 9:35 AM, Michael WA7SKG <wa7skg@...> wrote:

Dan,

THANK YOU! What a device! While you say expensive, it's only a few dollars more than the USBuddy and does so much more. The on/off switch is a big plus, as well as the HAT configuration. The only thing I'm not sure of is powering the monitor as well. As I am using the Smarti-Pi Touch Case, the RPi is not mounted directly to the monitor, so it is not powered through the IO pins, but from a separate USB connection. However, I do not think this is insurmountable.

Thanks again.

73,
Michael WA7SKG

Daniel Holmes wrote on 12/24/19 6:57 AM:
For running off a 12V supply, this is what I use: https://pi.gate.ac.uk/pages/mopi.html Seems to be pretty RF quiet.
Yeah, it’s a bit expensive, but I have it wired with an on/off switch to power up/power down the Pi cleanly, and it powers it down when the batteries are almost exhausted. I haven’t worked up the battery charger just yet, but it’ll be a handy part of my go-kit. I still need to figure out how to use more than 1 HAT on my Pi, but that’s just a bit of research—so many projects so little time.
Dan











Re: 12V Power for the Pi (was Re: [RaspberryPi-4-HamRadio] Getting back to the RPi)

Daniel Holmes
 

If power is applied to the Pi while it is off it will turn on at G.

Dan
--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin


On Dec 24, 2019, at 11:33 AM, Tadd KA2DEW in NC via Groups.Io <tadd@...> wrote:

Using the MOPI-2 In this scenario

A> mains are working.  
B> Start Raspberry PI
C> runs steady for a long time (weeks)
D> Mains go to 0v but are still hooked up.
E> battery eventually gets low
F> MOFI does LInux shutdown and turns off Raspberry PI
G> mains come back eventually
H>  battery charges
J> raspberry is provided power again

Is there a way to have the Raspberry PI come back on-line in H or J ?  

Thanks!
  Tadd - KA2DEW
  Raleigh NC USA


On December 24, 2019 at 11:39 AM, Daniel Holmes <danielh@...> wrote:

Good question on a monitor—I think the specs said it’ll only do about 2.5-3 amps, but there’s a way to switch in a 5V relay to power up the monitor. I personally run my Pi headless, and use VNC on my iPad to connect in (although I have a small wireless keyboard I use because typing on a virtual keyboard stinks.)

Dan
--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin


On Dec 24, 2019, at 9:35 AM, Michael WA7SKG <wa7skg@...> wrote:

Dan,

THANK YOU! What a device! While you say expensive, it's only a few dollars more than the USBuddy and does so much more. The on/off switch is a big plus, as well as the HAT configuration. The only thing I'm not sure of is powering the monitor as well. As I am using the Smarti-Pi Touch Case, the RPi is not mounted directly to the monitor, so it is not powered through the IO pins, but from a separate USB connection. However, I do not think this is insurmountable.

Thanks again.

73,
Michael WA7SKG

Daniel Holmes wrote on 12/24/19 6:57 AM:
For running off a 12V supply, this is what I use: https://pi.gate.ac.uk/pages/mopi.html Seems to be pretty RF quiet.
Yeah, it’s a bit expensive, but I have it wired with an on/off switch to power up/power down the Pi cleanly, and it powers it down when the batteries are almost exhausted. I haven’t worked up the battery charger just yet, but it’ll be a handy part of my go-kit. I still need to figure out how to use more than 1 HAT on my Pi, but that’s just a bit of research—so many projects so little time.
Dan









Re: 12V Power for the Pi (was Re: [RaspberryPi-4-HamRadio] Getting back to the RPi)

 

Using the MOPI-2 In this scenario

A> mains are working.  
B> Start Raspberry PI
C> runs steady for a long time (weeks)
D> Mains go to 0v but are still hooked up.
E> battery eventually gets low
F> MOFI does LInux shutdown and turns off Raspberry PI
G> mains come back eventually
H>  battery charges
J> raspberry is provided power again

Is there a way to have the Raspberry PI come back on-line in H or J ?  

Thanks!
  Tadd - KA2DEW
  Raleigh NC USA


On December 24, 2019 at 11:39 AM, Daniel Holmes <danielh@...> wrote:

Good question on a monitor—I think the specs said it’ll only do about 2.5-3 amps, but there’s a way to switch in a 5V relay to power up the monitor. I personally run my Pi headless, and use VNC on my iPad to connect in (although I have a small wireless keyboard I use because typing on a virtual keyboard stinks.)

Dan
--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin


On Dec 24, 2019, at 9:35 AM, Michael WA7SKG <wa7skg@...> wrote:

Dan,

THANK YOU! What a device! While you say expensive, it's only a few dollars more than the USBuddy and does so much more. The on/off switch is a big plus, as well as the HAT configuration. The only thing I'm not sure of is powering the monitor as well. As I am using the Smarti-Pi Touch Case, the RPi is not mounted directly to the monitor, so it is not powered through the IO pins, but from a separate USB connection. However, I do not think this is insurmountable.

Thanks again.

73,
Michael WA7SKG

Daniel Holmes wrote on 12/24/19 6:57 AM:
For running off a 12V supply, this is what I use: https://pi.gate.ac.uk/pages/mopi.html Seems to be pretty RF quiet.
Yeah, it’s a bit expensive, but I have it wired with an on/off switch to power up/power down the Pi cleanly, and it powers it down when the batteries are almost exhausted. I haven’t worked up the battery charger just yet, but it’ll be a handy part of my go-kit. I still need to figure out how to use more than 1 HAT on my Pi, but that’s just a bit of research—so many projects so little time.
Dan








Re: 12V Power for the Pi (was Re: [RaspberryPi-4-HamRadio] Getting back to the RPi)

David Ranch
 


The thought about checking your power connection (Y cables, etc) from N9VPV was a very important one.  Even with a good power supply, if your power cables are too thin, too long, or both.. you're going to have power issues when the Rpi needs to draw more current as the voltage drop will upset it.  Maybe the PowerWerx USB-buddy can supply your needed current and do so RF quietly but it could be the power cables before and after that unit are letting you down.  Try beefing up the gauge of the wire and shorten the cables and maybe your Rpi "lightening" bolt issues will go way.

As to the Rpi powering ideas, google "raspberry pi USB hatt".  There are a LOT of them out there but the question is if they are RF quiet.  The impressive TARPN project from KA2DEW  has a lot of Raspberry Pi units running for a long time so if he gives it the nod of acceptance, I bet it's a safe bet but just be careful on the cooling.  There are other similar products out there as well such as this one:

   https://www.ebay.com/itm/Buck-Step-down-LM2596-Power-Converter-Module-DC-4-0-40-to-1-3-37V-LED-Voltmeter/222514124788

I have one of these but I haven't put it under enough stress to give it any recommendations just yet.


Btw.. if you want to monitor the status of the voltage issues on your Raspberry Pi when HEADLESS, this script can get you that detail and a lot more.  It's a bit complicated to decipher the bitmask but that's how the Broadcom chip presents all of it.  Once you get used to it, it's not bad.  You can also just look at the content of the script to give you ideas of how to do things your way.


http://www.trinityos.com/HAM/CentosDigitalModes/RPi/usr/local/bin/review-rpi-cpu.sh
--
review-rpi-cpu.sh : Read the script comments for lots of helpful details and URL on specific areas


CPU / GPU Memory split
arm=896M             
gpu=128M             

View count of any previous power under-voltage or over-temp events:


   Example: for a 0x50005 result, the different bit values translate to:
        0: currently under-voltage          : occurs when input voltage drops below 4.63V
        1: currently arm frequency capped   : occurs with temp > 80'C
                                            : over-temperature occurs with temp > 85'C
        2: currently throttled (any reason from above)
       16: under-voltage has occurred in the past
       17: arm frequency capped has occurred in the past
       18: throttling has occurred in the past

Read value:
throttled=0x0

Translation
bit
1111111110000000000
8765432109876543210
-------------------
0

Current CPU speed govrenor: (valid is 'powersave', 'ondemand'): ondemand

Current CPU frequency: 600000

Max allowed frequency: 1200000

SOC Temp (in Celsius) - DD.ddd -- throttling begins at 80C: 41856
Temp in C: 41.85
Temp in F: 107.33

GPU temp: temp=41.9'C

Rpi Serial number, model firmware and Waranty bit (MSB):
Serial          : 00000000585fxxxx
Revision        : a22082
   Example:
      revision value of 9000c1 is Pi 0 Model W   - 512MB
      revision value of   000f is Pi 1 Model B   - 512MB
      revision value of a21041 is Pi 2 Model B   -   1GB - made at Embest, China
      revision value of a22082 is Pi 3 Model B   -   1GB - made at Embest, China
      revision value of a020d3 is Pi 3 Model B+   -  1GB

Broadcom firmware version:
Aug 15 2019 12:08:48
Copyright (c) 2012 Broadcom
version 0e6daa5106dd4164474616408e0dc24f997ffcf3 (clean) (release) (start_x)

Max CPU clock confirmation: system will clock up to max CPU speed (turbo mode) by loading the CPUs and then report new CPU frequency
1200000

Done
--



On 12/24/2019 08:35 AM, Michael WA7SKG wrote:
Dan,

THANK YOU! What a device! While you say expensive, it's only a few dollars more than the USBuddy and does so much more. The on/off switch is a big plus, as well as the HAT configuration. The only thing I'm not sure of is powering the monitor as well. As I am using the Smarti-Pi Touch Case, the RPi is not mounted directly to the monitor, so it is not powered through the IO pins, but from a separate USB connection. However, I do not think this is insurmountable.

Thanks again.

73,
Michael WA7SKG


Re: 12V Power for the Pi (was Re: [RaspberryPi-4-HamRadio] Getting back to the RPi)

Daniel Holmes
 

Good question on a monitor—I think the specs said it’ll only do about 2.5-3 amps, but there’s a way to switch in a 5V relay to power up the monitor. I personally run my Pi headless, and use VNC on my iPad to connect in (although I have a small wireless keyboard I use because typing on a virtual keyboard stinks.)

Dan
--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin

On Dec 24, 2019, at 9:35 AM, Michael WA7SKG <wa7skg@...> wrote:

Dan,

THANK YOU! What a device! While you say expensive, it's only a few dollars more than the USBuddy and does so much more. The on/off switch is a big plus, as well as the HAT configuration. The only thing I'm not sure of is powering the monitor as well. As I am using the Smarti-Pi Touch Case, the RPi is not mounted directly to the monitor, so it is not powered through the IO pins, but from a separate USB connection. However, I do not think this is insurmountable.

Thanks again.

73,
Michael WA7SKG

Daniel Holmes wrote on 12/24/19 6:57 AM:
For running off a 12V supply, this is what I use: https://pi.gate.ac.uk/pages/mopi.html Seems to be pretty RF quiet.
Yeah, it’s a bit expensive, but I have it wired with an on/off switch to power up/power down the Pi cleanly, and it powers it down when the batteries are almost exhausted. I haven’t worked up the battery charger just yet, but it’ll be a handy part of my go-kit. I still need to figure out how to use more than 1 HAT on my Pi, but that’s just a bit of research—so many projects so little time.
Dan


Re: 12V Power for the Pi (was Re: [RaspberryPi-4-HamRadio] Getting back to the RPi)

Michael WA7SKG
 

Dan,

THANK YOU! What a device! While you say expensive, it's only a few dollars more than the USBuddy and does so much more. The on/off switch is a big plus, as well as the HAT configuration. The only thing I'm not sure of is powering the monitor as well. As I am using the Smarti-Pi Touch Case, the RPi is not mounted directly to the monitor, so it is not powered through the IO pins, but from a separate USB connection. However, I do not think this is insurmountable.

Thanks again.

73,
Michael WA7SKG

Daniel Holmes wrote on 12/24/19 6:57 AM:

For running off a 12V supply, this is what I use: https://pi.gate.ac.uk/pages/mopi.html Seems to be pretty RF quiet.
Yeah, it’s a bit expensive, but I have it wired with an on/off switch to power up/power down the Pi cleanly, and it powers it down when the batteries are almost exhausted. I haven’t worked up the battery charger just yet, but it’ll be a handy part of my go-kit. I still need to figure out how to use more than 1 HAT on my Pi, but that’s just a bit of research—so many projects so little time.
Dan


Re: Getting back to the RPi

Michael WA7SKG
 

Hi Kevin,

Thanks for that insight. I never thought about the 'Y' cable. Of course that would entail using two 12-5V adapters, increasing an already jumbled mess of wires, but, if that what it takes, so be it. I shall look into it.

Thanks,
Michael WA7SKG

Kevin Gray wrote on 12/24/19 6:00 AM:

Hi Michael
I also use a 7” Touch monitor for y pi, and possibly the case you mentioned.
I had the same “Lightning Bolt” problem you describe.
My Cure – stop using the “Y adapter” that came with the monitor.
The wires are too small to provide the necessary voltage/current needed for the PI.
Once I switched to two separate cables to power things, the “Lightning Bolt” disappeared.
73 Kevin N9VPV


Re: 12V Power for the Pi (was Re: [RaspberryPi-4-HamRadio] Getting back to the RPi)

Daniel Holmes
 

That was the device that led me to find the MoPi. The only thing that stopped me from building that one was the requirement the mains supply is 14.2V. The MoPi combines their PWRMAN project too.

My GoBox project will have external power and charger inputs--the MoPi will run off internal batteries or external supply, then charge them automatically without trouble. I haven’t quite worked out the power distribution or requirements yet, but getting there. Another upside of the MoPi, is the charger circuitry is pass through—meaning it’ll still charge LiFePo4 batteries with the appropriate charger. $35 or so IIRC.

Dan
--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin


On Dec 24, 2019, at 8:24 AM, Tadd KA2DEW in NC via Groups.Io <tadd@...> wrote:

Here’s another idea for running a PI for 12v.    

This is a schematic and suggested parts for a trivial home-brew battery backup solution.  It was designed for base-station use.  
It doesn’t have automation for shutting down the PI, and it could be a bit large, but it will keep power glitches from killing the Raspberry PI and it will keep the Raspberry PI up while transporting it for a couple of hours.  It costs about $25US as pictured.  


Tadd / KA2DEW
tadd@...
Raleigh NC  FM05pv

“Packet networking over ham radio": http://tarpn.net/t/packet_radio_networking.html
North Carolina Packet Radio Network: http://ncpacket.net/north_carolina_packet_network.html
Local Raleigh ham radio info: http://torborg.com/a

On Dec 24, 2019, at 9:57 AM, Daniel Holmes <danielh@...> wrote:

For running off a 12V supply, this is what I use: https://pi.gate.ac.uk/pages/mopi.html Seems to be pretty RF quiet. 

Yeah, it’s a bit expensive, but I have it wired with an on/off switch to power up/power down the Pi cleanly, and it powers it down when the batteries are almost exhausted. I haven’t worked up the battery charger just yet, but it’ll be a handy part of my go-kit. I still need to figure out how to use more than 1 HAT on my Pi, but that’s just a bit of research—so many projects so little time.

Dan

--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin




Re: 12V Power for the Pi (was Re: [RaspberryPi-4-HamRadio] Getting back to the RPi)

 

Here’s another idea for running a PI for 12v.    

This is a schematic and suggested parts for a trivial home-brew battery backup solution.  It was designed for base-station use.  
It doesn’t have automation for shutting down the PI, and it could be a bit large, but it will keep power glitches from killing the Raspberry PI and it will keep the Raspberry PI up while transporting it for a couple of hours.  It costs about $25US as pictured.  


Tadd / KA2DEW
tadd@...
Raleigh NC  FM05pv

“Packet networking over ham radio": http://tarpn.net/t/packet_radio_networking.html
North Carolina Packet Radio Network: http://ncpacket.net/north_carolina_packet_network.html
Local Raleigh ham radio info: http://torborg.com/a

On Dec 24, 2019, at 9:57 AM, Daniel Holmes <danielh@...> wrote:

For running off a 12V supply, this is what I use: https://pi.gate.ac.uk/pages/mopi.html Seems to be pretty RF quiet. 

Yeah, it’s a bit expensive, but I have it wired with an on/off switch to power up/power down the Pi cleanly, and it powers it down when the batteries are almost exhausted. I haven’t worked up the battery charger just yet, but it’ll be a handy part of my go-kit. I still need to figure out how to use more than 1 HAT on my Pi, but that’s just a bit of research—so many projects so little time.

Dan

--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin



12V Power for the Pi (was Re: [RaspberryPi-4-HamRadio] Getting back to the RPi)

Daniel Holmes
 

For running off a 12V supply, this is what I use: https://pi.gate.ac.uk/pages/mopi.html Seems to be pretty RF quiet. 

Yeah, it’s a bit expensive, but I have it wired with an on/off switch to power up/power down the Pi cleanly, and it powers it down when the batteries are almost exhausted. I haven’t worked up the battery charger just yet, but it’ll be a handy part of my go-kit. I still need to figure out how to use more than 1 HAT on my Pi, but that’s just a bit of research—so many projects so little time.

Dan

--
Daniel Holmes, danielh@...
"Laugh while you can, monkey boy!" -- Lord John Whorfin


Re: Getting back to the RPi

Kevin Gray <notsome1else@...>
 

Hi Michael

I also use a 7” Touch monitor for y pi, and possibly the case you mentioned.

I had the same “Lightning Bolt” problem you describe.

 

My Cure – stop using the “Y adapter” that came with the monitor.

 

The wires are too small to provide the necessary voltage/current needed for the PI.

Once I switched to two separate cables to power things, the “Lightning Bolt” disappeared.

 

73 Kevin N9VPV


Re: Getting back to the RPi

Michael WA7SKG
 

Okay, flashing the "Raspbian Buster with desktop" image to an SD card right now. I'll give that a go and see what happens.

As far as the power supply goes, the USBuddy is basically what you linked to with PowerPoles installed on the 12V wires. I'll have to find an old USB cable to sacrifice to get access to the wires to put a meter on it and verify the voltage. The Kenwood video is interesting. Unfortunately, I do not have access to a Spectrum Analyzer to evaluate all the USB adapters I have. Somehow, with their main customer base being hams, I would kind of assume that Powerwerx would evaluate their products to chose ones with minimum noise. Of course that video only addresses noise, not voltage stability or current handling capability.

Thanks for your comments.

73,
Michael WA7SKG


David Ranch wrote on 12/23/19 9:45 PM:

Hello Michael,

On the RPi website, I see three options, "Raspbian Buster with desktop and recommended software", "Raspbian Buster with desktop", and "Raspbian Buster Lite". For this purpose, again, basically just running APRS, will the Lite version be adequate? Or should I use the Buster with Desktop image?
Since it sounds like you want to use YACC which is a graphical APRS client, you need an image that runs a windowing client.  You would be best served with "Raspbian Buster with desktop".
To your next question:

>This is a mobile application where everything runs from 12V. My 12V
distribution is via PowerPoles, so power supplies built into cigarette lighter plugs are not going to work (don't want huge adapter string), and I have found nothing >besides the USB-Buddy that takes the varying voltage of a mobile installation and gives a steady 5V output with enough current for the RPi/TNC/Monitor combination. If someone has a better power supply recommendation, I would >love to hear it.
You're looking for a DC to DC bridge, DC DC step down converter, UBEC, etc and there are a LOT of options there.  Google "12v to 5v DC DC converter RF quiet" and you'll find lots options and also a lot of complaints.  Why complaints?   This short video frames it well: https://www.youtube.com/watch?v=0OGvzIJiNmo
Here is one that I've had decent luck with:
https://www.amazon.com/dp/B01MEF293V/ref=cm_sw_r_em_api_i_c_Nwl2DbBYS45PZ
--David
KI6ZHD


Re: Getting back to the RPi

Michael WA7SKG
 

With almost two dozen items shown on that page, is there one in particular you recommend? Do any of these have some kind of case where they would be suitable in a mobile environment?

Michael WA7SKG



Clark Martin wrote on 12/23/19 9:34 PM:

I use something like some of the following to power a RPi 3 off a 12V LiFePO4 Battery.
<https://www.amazon.com/s?k=12v+5v+step+down&crid=2JEJT78ZCKX7H&sprefix=12v+5v+%2Caps%2C199&ref=nb_sb_ss_i_4_7>
Clark Martin
KK6ISP

On Dec 23, 2019, at 7:40 PM, Michael WA7SKG <wa7skg@... <mailto:wa7skg@...>> wrote:

This is a mobile application where everything runs from 12V. My 12V distribution is via PowerPoles, so power supplies built into cigarette lighter plugs are not going to work (don't want huge adapter string), and I have found nothing besides the USB-Buddy that takes the varying voltage of a mobile installation and gives a steady 5V output with enough current for the RPi/TNC/Monitor combination. If someone has a better power supply recommendation, I would love to hear it.


Re: Getting back to the RPi

David Ranch
 


Hello Michael,


On the RPi website, I see three options, "Raspbian Buster with desktop and recommended software", "Raspbian Buster with desktop", and "Raspbian Buster Lite". For this purpose, again, basically just running APRS, will the Lite version be adequate? Or should I use the Buster with Desktop image?

Since it sounds like you want to use YACC which is a graphical APRS client, you need an image that runs a windowing client.  You would be best served with "Raspbian Buster with desktop".


To your next question:

>This is a mobile application where everything runs from 12V. My 12V distribution is via PowerPoles, so power supplies built into cigarette lighter plugs are not going to work (don't want huge adapter string), and I have found nothing >besides the USB-Buddy that takes the varying voltage of a mobile installation and gives a steady 5V output with enough current for the RPi/TNC/Monitor combination. If someone has a better power supply recommendation, I would >love to hear it.

You're looking for a DC to DC bridge, DC DC step down converter, UBEC, etc and there are a LOT of options there.  Google "12v to 5v DC DC converter RF quiet" and you'll find lots options and also a lot of complaints.  Why complaints?   This short video frames it well:  https://www.youtube.com/watch?v=0OGvzIJiNmo

Here is one that I've had decent luck with:

   https://www.amazon.com/dp/B01MEF293V/ref=cm_sw_r_em_api_i_c_Nwl2DbBYS45PZ

--David
KI6ZHD


Re: Getting back to the RPi

Clark Martin
 

I use something like some of the following to power a RPi 3 off a 12V LiFePO4 Battery.

<https://www.amazon.com/s?k=12v+5v+step+down&crid=2JEJT78ZCKX7H&sprefix=12v+5v+%2Caps%2C199&ref=nb_sb_ss_i_4_7>


Clark Martin
KK6ISP

On Dec 23, 2019, at 7:40 PM, Michael WA7SKG <wa7skg@...> wrote:

This is a mobile application where everything runs from 12V. My 12V distribution is via PowerPoles, so power supplies built into cigarette lighter plugs are not going to work (don't want huge adapter string), and I have found nothing besides the USB-Buddy that takes the varying voltage of a mobile installation and gives a steady 5V output with enough current for the RPi/TNC/Monitor combination. If someone has a better power supply recommendation, I would love to hear it.


Re: Getting back to the RPi

Michael WA7SKG
 

On the RPi website, I see three options, "Raspbian Buster with desktop and recommended software", "Raspbian Buster with desktop", and "Raspbian Buster Lite". For this purpose, again, basically just running APRS, will the Lite version be adequate? Or should I use the Buster with Desktop image?

tnx,
Michael WA7SKG


David Ranch wrote on 12/23/19 6:53 PM:



I don't need a whole lot of apps. Just the basic OS and APRS client (probably YAAC). I'll be connecting a GPS puck for time and location. So, it will primarily be doing APRS and occasional conventional packet stuff.
Raspbian will work well here

Is there a suggested ham distribution for the Pi available, or should I just install the latest Raspbian, YAAC, and gpsd?
I would recommend the latter.  There are some pre-built amateur radio Raspberry Pi images out there these days (check out the archives here in this list) but I would recommend you built it yourself.  It's the only way you're going to learn how it all works.
--David
KI6ZHD


Re: Getting back to the RPi

Michael WA7SKG
 

This is a mobile application where everything runs from 12V. My 12V distribution is via PowerPoles, so power supplies built into cigarette lighter plugs are not going to work (don't want huge adapter string), and I have found nothing besides the USB-Buddy that takes the varying voltage of a mobile installation and gives a steady 5V output with enough current for the RPi/TNC/Monitor combination. If someone has a better power supply recommendation, I would love to hear it.

Michael WA7SKG


David Ranch wrote on 12/23/19 6:53 PM:


I am powering the package through a Powerwerx USB-Buddy, which accepts 10-30V for a 5V-3A output which goes through a splitter (provided with the Smarti-Pi case) to power both the RPi and the touchscreen. I am getting a bright yellow lightning bolt in the upper right corner of the screen.
The lighning bolt symbol means it's getting an under-volt condition. Regardless of what you think of the USB-Buddy quality, it's NOT getting the proper voltage to the Raspberry Pi.  Use a proper Raspberry Pi USB power supply and get that resolved or you'll only have nothing but headaches around stability problems, quirkiness, etc.


Re: Getting back to the RPi

David Ranch
 


Hello Michael,

After a hiatus of about two years or more, I am finally getting back to some RPi projects.

Welcome back.


This is the first time booting with the 7" touchscreen and the TNC-Pi attached. It was previously used with a 19" HDMI connection. Everything is way too big for this screen.

I would recommend to start simple and work your way up.  Disconnect the 7" display and get things working with the 19" monitor at first.  Then, once that's working, find the instructions for the 7" display (they all seem to be different so you'll need to follow their specific recommendations) to get that going.


I am powering the package through a Powerwerx USB-Buddy, which accepts 10-30V for a 5V-3A output which goes through a splitter (provided with the Smarti-Pi case) to power both the RPi and the touchscreen. I am getting a bright yellow lightning bolt in the upper right corner of the screen.

The lighning bolt symbol means it's getting an under-volt condition.  Regardless of what you think of the USB-Buddy quality, it's NOT getting the proper voltage to the Raspberry Pi.  Use a proper Raspberry Pi USB power supply and get that resolved or you'll only have nothing but headaches around stability problems, quirkiness, etc. 


I opened a terminal window and did the sudo apt update/sudo apt update thing which is taking forever to run.

If you run:

   cat /etc/debian_version

What do you see?   If you're setting up a new Pi, I would recommend to use Rasbian Buster which is version 10.2.  If it shows 9.x (Stretch), or 8.x (Jessie), etc... I recommend to install a whole new version from scratch.


As this Pi was not previously used for ham applications and the software is likely stale, I am assuming I should download a new image to the SD card. I honestly do not remember whether the current SD card has Raspbian or NOOBS on it and I don't recall how to tell. I've pretty much forgotten almost everything abut the Pi, so I'm really starting from scratch here.

NOOBS is just an OS installer that would later put different OSes on the card for you.  I generally recommend Raspbian for new users or people who want system stability over specific LInux distribution features, etc.


I don't need a whole lot of apps. Just the basic OS and APRS client (probably YAAC). I'll be connecting a GPS puck for time and location. So, it will primarily be doing APRS and occasional conventional packet stuff.

Raspbian will work well here


Is there a suggested ham distribution for the Pi available, or should I just install the latest Raspbian, YAAC, and gpsd?

I would recommend the latter.  There are some pre-built amateur radio Raspberry Pi images out there these days (check out the archives here in this list) but I would recommend you built it yourself.  It's the only way you're going to learn how it all works.

--David
KI6ZHD