Powering the Galileo
Gen 1:
- The Galileo Gen1 should be powered through the barrel jack, using a regulated 5V DC power supply.
- After plug-in, just wait for 2 green LEDs to light up (ON and USB).
- Connect the micro-USB cable to the Intel® Galileo.
- Connect the other end to your computer.
Gen 2:
- The Galileo Gen2 should be powered through the barrel jack, using a 7-15V DC power supply.
- After plug-in, just wait for 2 green LEDs to light up (ON and USB).
- Connect the micro-USB cable to the Intel® Galileo.
- Connect the other end to your computer.
Run the sketch (for linux)
IDE download and setup
- Download the ide from here and extract the tar.gz file.
- Go to extracted directory and run the arduino file
- Open a terminal and run
./arduino
- If everything is successful, Arduino IDE will be launched (you might need to install java as well to your host machine).
- Power up the galileo, attach it to the host machine using micro-USB cable.
- Open a terminal and type
ls /dev/ttyACM*
- If the serial port is disabled, you need to give some permission. So type
sudo chmod a+rw /dev/ttyACM*
Updating the firmware
Before trying to upload any sketch, first you must update the firmware.
- To update the board firmware go to Help > Firmware Update. Then click Yes to proceed.
- Make sure you don’t unplug either power or USB from the Galileo. The update procedure will take about five minutes.
First program - Blink
- To open the Blink example, go to the File > Examples > 01.Basics > Blink.
- Make sure the Serial Port and Board selections are still correct. Then click the Upload button.
No comments:
Post a Comment