ATXraspi not working with Volumio [Solved but now have another issue]

Started by xyzzy, March 02, 2017, 01:44:37 PM

Felix

Great, thanks for the update, problems solved, sweet!
Enjoy the ATXRaspi!

lumor

I've been testing the system for a while now and I have one problem... sometimes the toggle switch shutdowns the system and sometimes it reboots the system. Any idea why?

I'm not really interested in the reboot function, so if I can disable that and just use shutdown for the toggle switch it would be great.

Felix

To shutdown you have to flip the switch and keep it flipped. The reboot function is available on the latching switch as well - ex if you flip it to OFF for 1 second and revert to ON then ATXRaspi will issue a reboot instead of a shutdown. This is similar to momentary switches where if you want a reboot you keep it pressed for 1 second then release, if you want a shutdown you press it for at least 3 seconds. This is also reflected on the SHUTDOWN RED LED. If you watched the videos and looked at the guide you cant miss this, its a trivial concept.

lumor

I am flipping the switch and keep it flipped. It's still rebooting instead of shutdown (randomly).

I've read the guide and watched the video many times.

Felix

What's the behavior of the RED led?
It's always some wiring problem or script not running or something like that.
Your wiring looked OK, double check everything again, not sure what else to suggest. The boards work as long as everything is setup right and the switch is solid. The resistor should be 10K.

lumor

The red LED (on the Pi) is just showing that the Pi has power(?)

I think there's a difference of how fast I'm switching the toggle. If it's running a shutdown or reboot.

I'll try to remove the reboot section from the script tonight.

Felix

The RED led should NOT normally be on, except briefly when you execute a reboot or shutdown.
The GREEN LED should always be ON, after boot is complete, if the script is running correctly.
So ... you telling me the RED is on indicating power is a red flag.

sparky

The Red LED on my Pi is always on when powered up.  According to the link below, this appears to be normal for my particular Pi.

https://blog.adafruit.com/2013/02/15/raspberry-pi-status-leds-explained-piday-raspberrypi-raspberry_pi/

lumor


Felix

Guys I am talking about the RED led on ATXRaspi ..........  :)