Outils pour utilisateurs

Outils du site


wiki:tutoriels:intel_galileo_arduino

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
wiki:tutoriels:intel_galileo_arduino [2016/12/17 22:47]
royce
wiki:tutoriels:intel_galileo_arduino [2020/10/05 14:39] (Version actuelle)
Ligne 1: Ligne 1:
-**__<fs large>Introduction</fs>__** - +  **__<fs large>Introduction</fs>__** - 
 Most users of the RPi, Beagle Bone, or any other Arduino platform are probably familiar with the ARM microcontrollers used on these respective platforms. The Intel Galileo is unique in that is uses a x86 family microprocessor. ARM and x86 differ at a fundament level: the size of their instruction set. ARM is a RISC (Reduced Instruction Set Computing, a smaller, simpler instruction set) architecture and x86 processors are CISC (Complex Instruction Set Computing, a more complex, and powerful set). Something that takes an x86 one clock cycle, might take an ARM processor three.  Most users of the RPi, Beagle Bone, or any other Arduino platform are probably familiar with the ARM microcontrollers used on these respective platforms. The Intel Galileo is unique in that is uses a x86 family microprocessor. ARM and x86 differ at a fundament level: the size of their instruction set. ARM is a RISC (Reduced Instruction Set Computing, a smaller, simpler instruction set) architecture and x86 processors are CISC (Complex Instruction Set Computing, a more complex, and powerful set). Something that takes an x86 one clock cycle, might take an ARM processor three. 
  
 However, because the Quark X1000 was develloped in partnership with Arduino, it is entirely possible to download the Arduino IDE directly onto the Galileo. This will allow, in essence, to have a fully operational arduino uno R3 directly integrated onto the board. It will even be compatible with all R3 libraries and all arduino 3.3V/5V shields!  However, because the Quark X1000 was develloped in partnership with Arduino, it is entirely possible to download the Arduino IDE directly onto the Galileo. This will allow, in essence, to have a fully operational arduino uno R3 directly integrated onto the board. It will even be compatible with all R3 libraries and all arduino 3.3V/5V shields! 
  
-**__<fs large>Download & Install</fs>__**+  **//<fs medium>NOTE</fs>//**: We will assume that you have created a folder " C:/Galileo " for the sake of this tutorial
  
-**//For Windows//**+  **__<fs large>Download & Install</fs>__** 
 + 
 +  **//For Windows//**
 The Arduino IDE (1.6.0 /V1.8) can be downloaded [[http://www.intel.com/content/www/us/en/support/boards-and-kits/intel-galileo-boards/000021501.html|here]]. Note that this tutorial was written on 16/12/2016 and all newer versions of the software can be found via a search for "Galileo Gen 2" on the [[https://downloadcenter.intel.com/|intel download center webpage]] The Arduino IDE (1.6.0 /V1.8) can be downloaded [[http://www.intel.com/content/www/us/en/support/boards-and-kits/intel-galileo-boards/000021501.html|here]]. Note that this tutorial was written on 16/12/2016 and all newer versions of the software can be found via a search for "Galileo Gen 2" on the [[https://downloadcenter.intel.com/|intel download center webpage]]
  
-The .ZIP file should be unpacked directly onto the "C:/" with a name that includes NO SPACES!+The .ZIP file should be unpacked directly onto the "C:/Galileo/" with a name that includes NO SPACES! We will use 
 You can then open the Arduino.exe to run  You can then open the Arduino.exe to run 
  
-**//For Linux//**+  **//For Linux//**
  
 The Arduino IDE (1.6.0 /V1.8) can be downloaded [[http://www.intel.com/content/www/us/en/support/boards-and-kits/intel-galileo-boards/000021501.html|here]]. Note that this tutorial was written on 16/12/2016 and all newer versions of the software can be found via a search for "Galileo Gen 2" on the [[https://downloadcenter.intel.com/|intel download center webpage]] The Arduino IDE (1.6.0 /V1.8) can be downloaded [[http://www.intel.com/content/www/us/en/support/boards-and-kits/intel-galileo-boards/000021501.html|here]]. Note that this tutorial was written on 16/12/2016 and all newer versions of the software can be found via a search for "Galileo Gen 2" on the [[https://downloadcenter.intel.com/|intel download center webpage]]
Ligne 22: Ligne 24:
 Once installed, run the arduino file in the extracted directory. From a terminal, you can enter ./arduino to run it. Once installed, run the arduino file in the extracted directory. From a terminal, you can enter ./arduino to run it.
  
-**__<fs large>Update Driver</fs>__**+  **__<fs large>Update Driver</fs>__**
  
 To start, plug in the "barrel jack" power supply to the Galileo Gen 2 card. Then using a Micro USB B cable, plug the micro usb into the "USB Client input" on the Galileo. Plug the other standard USB into your PC.  To start, plug in the "barrel jack" power supply to the Galileo Gen 2 card. Then using a Micro USB B cable, plug the micro usb into the "USB Client input" on the Galileo. Plug the other standard USB into your PC. 
  
-**NOTE** Do not plug the USB cable into your PC until you have first plugged the power supply into the card (and the wall obviously)+ 
 + 
 +You must visit [[https://downloadcenter.intel.com/download/26417/Intel-Galileo-Firmware-Updater-and-Drivers?product=83137|Intel's download center]] to download the appropriate Firmware Updater. 
 +  *Unzip this file into: C:/Galileo/ 
 + 
 +  ***NOTE** Do not plug the USB cable into your PC until you have first plugged the power supply into the card (and the wall obviously)
      
-**//For Windows//** +  **//For Windows//** 
     * Goto the window's start menu and run the software "executer", within executer run "devmgmt.msc"{{ :wiki:tutoriels:galileo_driver_install.png |}}     * Goto the window's start menu and run the software "executer", within executer run "devmgmt.msc"{{ :wiki:tutoriels:galileo_driver_install.png |}}
     * Select "Ports" and select "Gadget Serial v2.4" within. If nothing else is plugged into you USB ports, then it should be the only object.     * Select "Ports" and select "Gadget Serial v2.4" within. If nothing else is plugged into you USB ports, then it should be the only object.
     * Right click, and "Update drivers"     * Right click, and "Update drivers"
-    * Auto-search for new Drivers +    * Select "Search PC for updates" 
-    * After a few loading bars, if there is any new driver available it will update +      * Search within the folder C:/Galileo/Galileo Driver 
-    * If not, then it will let you know that your current driver is the most current{{ :wiki:tutoriels:capture_d_ecran_122_.png |}} +    * After a few loading bars, you will be asked to verify the update. Select yes.  
-    *  After updating the driver, right click the "Gadget Serial v2.4"+{{ :wiki:tutoriels:capture_d_ecran_132_.png |}} 
 +    * The "Gadget Serial v2.4 should now be named "Galielo" 
 + 
 +    *  After updating the driver, right click the "Galileo"
         * Open proprietes         * Open proprietes
         * Select the COM parameters tab         * Select the COM parameters tab
Ligne 43: Ligne 53:
  
  
-**//For Linux//**+  **//For Linux//**
     * Open terminal     * Open terminal
     * type " ls/dev/ttyACM*     * type " ls/dev/ttyACM*
 +    * Restart the udev: sudo service udev restart
     * Note the COM#     * Note the COM#
 +
 +  **__<fs large>Update Firmware</fs>__**
 +
 +Now that the COM# is known and the latest driver has been installed we must update the firmware witin the Galielo Gen2. 
 +
 +{{ :wiki:tutoriels:capture_d_ecran_133_.png |}}
 +  *Open "firmware-updater-x.x.x" found withing C:/galileo, it may take a moment to fully load. 
 +  *Make sure at this point that your PC battery is not near empty
 +  *Chose the proper COM# for your device under "Port"
 +  *Update Firmware
 +{{ :wiki:tutoriels:capture_d_ecran_135_.png |}}
 +  * You will be prompted to confirm an external power for the Galileo
 +  * OK
 +{{ :wiki:tutoriels:capture_d_ecran_136_.png |}}
 +  *You will be asked to confirm the update
 +  *Yes
 +{{ :wiki:tutoriels:capture_d_ecran_137_.png |}}
 +  ***DO NOT UNPLUG YOUR GALILEO OR TOUCH ANY BUTTONS**
 +  ***DO NOT SHUT OF YOUR PC**
 +  *The update takes about 3-5 minutes
 +  *When finished you will be prompted concerni
 +
 +  **__<fs large> Section Conclusion</fs>__**
 +
 +The Intel Galileo Gen 2 has now been properly installed onto your PC/MAC and the drivers are installed. Also, we are now sure of the current firmware installed onto the galileo which should allow us to more efficently select development tools that exist.
  
 The Arduino IDE for the Galileo is now installed onto your PC. We are also now sure of the COM# of your device and that the driver is fully updated. This will the most basic means of programming Intel's Quark X1000, and will allow us to exploit Arduino's vast opensource online community. The Arduino IDE for the Galileo is now installed onto your PC. We are also now sure of the COM# of your device and that the driver is fully updated. This will the most basic means of programming Intel's Quark X1000, and will allow us to exploit Arduino's vast opensource online community.
  
-**__<fs large> Arduino example</fs>__**+  **__<fs large> Arduino example</fs>__**
  
-**//Board Setup//**+  **//Board Setup//**
  
 {{ :wiki:tutoriels:capture_d_ecran_123_.png |}} {{ :wiki:tutoriels:capture_d_ecran_123_.png |}}
Ligne 73: Ligne 109:
 Lastly, remember that the Arduino IDE has an EXTENSIVE list of prewritten scripts that will help the new user (and the experienced alike) to directly start using their Arduino! In the above photo I have highlighted the "Ethernet Sub-menu" as that will be the ultimate goal of this tutorial. However, we will start with the "Hello World" of the Microcontroller world. Let's start with... Lastly, remember that the Arduino IDE has an EXTENSIVE list of prewritten scripts that will help the new user (and the experienced alike) to directly start using their Arduino! In the above photo I have highlighted the "Ethernet Sub-menu" as that will be the ultimate goal of this tutorial. However, we will start with the "Hello World" of the Microcontroller world. Let's start with...
  
-**//The Blink LED 13 test//**+  **//The Blink LED 13 test//**
  
 With the Arduino IDE open and configured to the proper COM#/Board: With the Arduino IDE open and configured to the proper COM#/Board:
Ligne 114: Ligne 150:
   *27   *27
  
 +
 +  **__<fs large>Conclusion</fs>__** - 
  
 This is the most basic means of using the Intel Galileo. We have now been introduced to the Arduino side of the board. However, to use only this would be a poor use of this board as the Uno is capable of this type of project and is quicker. The next sections of this tutorial will now explain how we can install Linux onto the Galileo Gen 2.  This is the most basic means of using the Intel Galileo. We have now been introduced to the Arduino side of the board. However, to use only this would be a poor use of this board as the Uno is capable of this type of project and is quicker. The next sections of this tutorial will now explain how we can install Linux onto the Galileo Gen 2. 
Ligne 126: Ligne 164:
   ***ALSA** – Advanced Linux Sound Architectures (ALSA) can equip your Galileo (and an attached sound card) with the ability to play and record MIDI files.   ***ALSA** – Advanced Linux Sound Architectures (ALSA) can equip your Galileo (and an attached sound card) with the ability to play and record MIDI files.
   ***V4L2** – Video4Linux2 is a video record and play utility for Linux. You’ll need a USB webcam attached to your Galileo to make use of this.   ***V4L2** – Video4Linux2 is a video record and play utility for Linux. You’ll need a USB webcam attached to your Galileo to make use of this.
 +
 +[[http://fablab.sorbonne-universites.fr/wiki/doku.php?id=wiki:tutoriels:intel_galileo|Go Home]]
 +
 +[[http://fablab.sorbonne-universites.fr/wiki/doku.php?id=wiki:tutoriels:intel_galileo_linux|Introduction to Terminal Serial Com]]
 +
wiki/tutoriels/intel_galileo_arduino.1482014879.txt.gz · Dernière modification: 2016/12/17 22:47 de royce