Power & Source of Big Ideas

External power button

Moderators: chensy, FATechsupport

The button on the PCB is good enough for development work but I want to install this in a case with the LCD so I need to have access to the power button externally.

The schematic shows a connector for this called PWRJ but I can't find this on the board. Does this actually exist?

I could solder wires to the existing switch but that is not the ideal solution.
Hi,
You cannot external power button on M3 , the hardware doesnot support it.

thank you!
jjm wrote:
Hi,
You cannot external power button on M3 , the hardware doesnot support it.

thank you!


Yeah, got a reply from FriendlyArm with the same information.

Real shame as putting this on a daughterboard PCB means I have to solder a wire onto the existing switch so that I can get external access so I can do this from front panel of the enclosure.
You can create an app providing a shutdown / reboot function. Must be signed with the firmware key like described in the SerialPort Demo tutorial.

In Manifest you must request android.permission.SHUTDOWN.

In your code, you add:

Intent intent = new Intent("android.intent.action.ACTION_REQUEST_SHUTDOWN");
intent.putExtra("android.intent.extra.KEY_CONFIRM", false);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 2 guests