• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoAndroid for pcDuinoControl LED under Android on pcDuino3
Previous Next

Control LED under Android on pcDuino3

Posted by: admin , February 12, 2015

[vc_row][vc_column][vc_column_text]Android点灯11In this tutorial, we will introduce how to control a LED using GPIO of pcDuino3 under Android.[/vc_column_text][vc_tour][vc_tab title=”Hardware prepare” tab_id=”1423757218-1-66″][vc_column_text]1 × pcDuino3B

1 × USB

1 × Base Shield

1 × Linker 10mm Red LED

1 × Linker 10mm Yellow LED

1 × Linker 10mm Blue LED

3 × Linker 20cm Cables[/vc_column_text][/vc_tab][vc_tab title=”Software prepare” tab_id=”1423757218-2-50″][vc_column_text]Click and download Android light lamb .apk[/vc_column_text][/vc_tab][vc_tab title=”Procedure ” tab_id=”1423757558021-2-8″][vc_column_text]1. Install Base shield to pcDuino3 B, then connect the 10mm Red LED to D0 pin, connect 10mm Yellow Led to D1 pin,10mm Blue LED to D2 pin.

Android点灯1

 

2. Copy the “Android light lamb.apk” to USB, then install the USB to the the USB host on pcDuino. Click the file manage:

Android点灯2

 

Click USB device option:

 

Android点灯3

 

Find the “Android light lamb.apk” in the USB, Click it to Install the application:

Android点灯4

The system will prompt that need to set the safety option, choose the option as the following picture in the system, then we can install the application:

Android点灯5

When well done, back to the system desk, you will see the mark of “LED light lamb”

Android点灯6

3.  Click “LED light lamb”mark to open the application, in turns click the three LED , the responding Linker LED will light:

D0:

Android点灯7

Android点灯8

 

D1:

Android点灯9

Android点灯10

 

D2:

Android点灯11

Android点灯12[/vc_column_text][/vc_tab][vc_tab title=”Android program ” tab_id=”1423757559083-3-5″][vc_column_text]Click and  download “Android source program” [/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors