[vc_row][vc_column width=”1/1″][vc_column_text]Theoretically speaking, we don’ need to use Arduino Uno with pcDuino as pcDuino has all interface that can be offered by Arduino Uno. In the pcDuino ubuntu released after 20130531, there is Arduino IDE already embedded.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width=”1/1″][vc_tour][vc_tab title=”Simple Experiment: Blink” tab_id=”1389245883-1-74″][vc_column_text]Take an Aduino Uno and plug to any available USB host port on pcDunino. The whole setup is shown below:
Launch Arduino IDE and open the sample code “Blink”:
Click upload button, we can observe that the code is being uploaded to Arduino Uno, and the LED on Arduino starts to blink when it is done uploading.[/vc_column_text][/vc_tab][vc_tab title=”ArduBlock” tab_id=”1389245883-2-13″][vc_column_text]ArduBlock is designed to make it easy to get start with programming Arduino and we believe that electronic brick is more suitable for starter than breadboard or protoboard approach. LinkSprite has a full set of Linker kit, which can help teach programming with Arduino.
We can launch ArduBlock by navigating the menu Tools->ArduoBlock.
We can create a program by picking the elements in the left column to the work space in right column:
Save the program to a file named ‘test’. The experiment setup is shown below:
LED module is connected to GPIO 13, and the touch sensor module is connected to GPIO 1.
Click ‘Upload’ to flash the program to Arduino Uno. We can see the LEDs on Arduino Uno blinking very fast, and after the uploading is done, we can press touch sensor to turn on/off the LED.
[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]
Leave a Reply
You must be logged in to post a comment.