[vc_row][vc_column][vc_column_text]In 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.
2. Copy the “Android light lamb.apk” to USB, then install the USB to the the USB host on pcDuino. Click the file manage:
Click USB device option:
Find the “Android light lamb.apk” in the USB, Click it to Install the application:
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:
When well done, back to the system desk, you will see the mark of “LED light lamb”
3. Click “LED light lamb”mark to open the application, in turns click the three LED , the responding Linker LED will light:
D0:
D1:
D2:
[/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]
Leave a Reply
You must be logged in to post a comment.