is there any monitoring/reporting from the UPS, does it have a mains failure alarm?Radturtle wrote:I am currently using 6 raspberry pi's all running the exact same script, but it just loops audio. I currently have 7 other Pi's running the same script elsewhere and none of them are having this problem. The 6 are all plugged into the same outlet, so I am thinking it may be a power issue, I think the power is not exactly balanced where they are located so they are just crashing, maybe? I took hooked them up to a UPS, thinking maybe it would help balance out the flow of electricity but it was still causing this issue. Is there a way I can make the Pi's not flip out over unbalanced energy? Or just automatically recover?
We found the problem with the UPS was that it doesn't notice the power difference because it was so minor. We are going to run a new cable from a different location to get our power and see if the problem still occurs. If it doesn't then yay, but if not we will search for another solution.aTao wrote:is there any monitoring/reporting from the UPS, does it have a mains failure alarm?Radturtle wrote:I am currently using 6 raspberry pi's all running the exact same script, but it just loops audio. I currently have 7 other Pi's running the same script elsewhere and none of them are having this problem. The 6 are all plugged into the same outlet, so I am thinking it may be a power issue, I think the power is not exactly balanced where they are located so they are just crashing, maybe? I took hooked them up to a UPS, thinking maybe it would help balance out the flow of electricity but it was still causing this issue. Is there a way I can make the Pi's not flip out over unbalanced energy? Or just automatically recover?
If the problem is incoming supply then you have a rubbish UPS.
What do you mean "balanced" mains?
How long between crashes, what electronic installations are nearby? Airport radar, lift(elevator) control room or such?
Where does the audio go after the RPi?
If you do want to chase the mains supply route there there are monitors for hire that you can log any problems.
Haha, yeah. The RPI's aren't the only problem we are having. We have our camera server in this same room, and something is causing all of the cameras to be extremely fuzzy (Brand new cameras). We have a few guys out there right now trying to figure out a solution, because we can't have this. Lol.aTao wrote:If you have a poor mains supply and any ups/mains cleaner dont do the job then there may also be a problem with an earth connection permitting noise onto the RPi
A bomb proof solution would be..
incoming mains to ups
ups to isolating transformer
isolating transformer to 12v psu
12v psu to ubec for each RPi
RPi audio out to audio transformer
audio transformer to where the music needs to be,
just for good measure put each Pi in a metal box wit its own earth connection.
If that does not work then move away from the radar installation/nuclear physics laboratory/national grid eht switching station
Sounds like a line conditioner.Radturtle wrote:Not sure what is going on, we hooked up a new surge protector to some type of transformer that is supposed to produce "clean" electricity(making sure it is a constant flow of balanced electricity), and we're still having issues. I brought them back to my office and let it run for well over an hour without 1 hiccup. So, in all it isn't the RPI's.
The sounds like there is some sort of interference. I saw a situation one time where someone was having glitches all over her monitor and it was traced to an unshielded power distribution panel on the other side of the wall.Radturtle wrote: Haha, yeah. The RPI's aren't the only problem we are having. We have our camera server in this same room, and something is causing all of the cameras to be extremely fuzzy (Brand new cameras). We have a few guys out there right now trying to figure out a solution, because we can't have this. Lol.
I can try the foolproof way, but I am not sure I can get a few metal boxes done in time. A foolproof way would be a lead box!
My first try along these lines would be to power the Pis from a 12V-to-mains-converter off a car battery without even a charger connected to the battery to separate from the mains completely. If you still have problems, then you have an EMI problem and not a mains problem.TassyJim wrote:It sounds like an earth loop problem or very bad mains supply.
I would go with a 12 volt battery charged by a basic transformer type charger.
Separate 12v to 5v converters for each Pi
Audio isolators on the outputs.
Earth loops are common with temporary supplies and can be a real pain to sort out.
Jim