https://wiki.hevs.ch/uit/api.php5?action=feedcontributions&user=Woa&feedformat=atomUIT - User contributions [en]2024-03-29T15:07:48ZUser contributionsMediaWiki 1.18.1https://wiki.hevs.ch/uit/index.php5/Inventory/CPU/ArduinoInventory/CPU/Arduino2014-05-28T08:01:43Z<p>Woa: /* Arduino kit (box with diverse material) */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
<br />
<br />
== [[Arduino kit (box with diverse material)]] ==<br />
{|class=wikitable<br />
|-<br />
! Kit number || Stock Location || Usage Location / User || Additional Information || Problems || Remarks<br />
|-<br />
| 01 || A305 || Renaud Moulin || || ||<br />
|-<br />
| 02 || A305 || Lauraux Alan || || ||<br />
|-<br />
| 03 || A305 || Struchen Lucas || || ||<br />
|-<br />
| 04 || A305 || Fürhoff Michael || || ||<br />
|-<br />
| 05 || A305 || Biner Amadé || || ||<br />
|-<br />
| 06 || A305 || Pierre-André Mudry || || ||<br />
|-<br />
| 07 || A305 || Messerli Marc-Anthony || || ||<br />
|-<br />
| 08 || A305 || Capponi Lino || || ||<br />
|-<br />
| 09 || A305 || Pereira David || || ||<br />
|-<br />
| 10 || A305 || Perruchoud Julien || || ||<br />
|-<br />
| 11 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 12 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 13 || A305 || Raboud Valentin || || ||<br />
|-<br />
| 14 || A305 || Vallat Aurélien || || ||<br />
|-<br />
| 15 || A305 || Masserey Stéphane || || ||<br />
|-<br />
| 16 || A305 || Desprez Guillaume || || ||<br />
|-<br />
| 17 || A305 || Germanier Joël || || ||<br />
|-<br />
| 18 || A305 || Slatincic David || || ||<br />
|-<br />
| 19 || A305 || Crottaz Michael || || ||<br />
|-<br />
| 20 || A305 || Hoyos José || || ||<br />
|-<br />
| 21 || A305 || Perrier Loïc || || ||<br />
|-<br />
| 22 || A305 || Brunner Jürgen || || ||<br />
|-<br />
| 23 || A305 || Borloz Maxime || || ||<br />
|-<br />
| 24 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 25 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 26 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 27 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 28 || A305 || Cohen Jesse || || ||<br />
|-<br />
| 29 || A305 || Pierre Ferrez || || ||<br />
|-<br />
| 30 || A305 || Alain Woeffray || || ||<br />
|-<br />
|}</div>Woahttps://wiki.hevs.ch/uit/index.php5/Inventory/CPU/ArduinoInventory/CPU/Arduino2014-05-23T08:30:49Z<p>Woa: /* Arduino kit (box with diverse material) */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
<br />
<br />
== [[Arduino kit (box with diverse material)]] ==<br />
{|class=wikitable<br />
|-<br />
! Kit number || Stock Location || Usage Location / User || Additional Information || Problems || Remarks<br />
|-<br />
| 01 || A305 || Renaud Moulin || || ||<br />
|-<br />
| 02 || A305 || Lauraux Alan || || ||<br />
|-<br />
| 03 || A305 || Struchen Lucas || || ||<br />
|-<br />
| 04 || A305 || Fürhoff Michael || || ||<br />
|-<br />
| 05 || A305 || Biner Amadé || || ||<br />
|-<br />
| 06 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 07 || A305 || Messerli Marc-Anthony || || ||<br />
|-<br />
| 08 || A305 || Capponi Lino || || ||<br />
|-<br />
| 09 || A305 || Pereira David || || ||<br />
|-<br />
| 10 || A305 || Perruchoud Julien || || ||<br />
|-<br />
| 11 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 12 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 13 || A305 || Raboud Valentin || || ||<br />
|-<br />
| 14 || A305 || Vallat Aurélien || || ||<br />
|-<br />
| 15 || A305 || Masserey Stéphane || || ||<br />
|-<br />
| 16 || A305 || Desprez Guillaume || || ||<br />
|-<br />
| 17 || A305 || Germanier Joël || || ||<br />
|-<br />
| 18 || A305 || Slatincic David || || ||<br />
|-<br />
| 19 || A305 || Crottaz Michael || || ||<br />
|-<br />
| 20 || A305 || Hoyos José || || ||<br />
|-<br />
| 21 || A305 || Perrier Loïc || || ||<br />
|-<br />
| 22 || A305 || Brunner Jürgen || || ||<br />
|-<br />
| 23 || A305 || Borloz Maxime || || ||<br />
|-<br />
| 24 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 25 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 26 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 27 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 28 || A305 || Cohen Jesse || || ||<br />
|-<br />
| 29 || A305 || Pierre Ferrez || || ||<br />
|-<br />
| 30 || A305 || Alain Woeffray || || ||<br />
|-<br />
|}</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-05-07T06:06:14Z<p>Woa: /* Bugs on transfer */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
'''Don't forget to update the [[Inventory/CPU/Arduino | inventory]] !'''<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
*''OS : Windows 7''<br />
*''Arduino IDE version : 1.5.3''<br />
*''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows or make the following procedure : <br />
* Restart the board by unplug the power supply<br />
* Close the Arduino IDE<br />
* Open the task manager and kill all the processes named ''lsz.exe'' and ''bash.exe''<br />
* Start the Arduino IDE<br />
* When the device is recognized on ''Devices and Printer'', you may need to unplug and re-plug the USB cable.<br />
==== Blocked when "Deleting current sofware" ====<br />
Try to push (many time) the reset button on the Galileo board. (It seem that the the current sketch is using the serial connection and crash the transfer.)<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
The XBee device is configured with AT commands<br />
Here are many useful AT Commands :<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
<br />
See the [[Addresses of XBee Modules | relational table]] beetween the label on module and his serial number.<br />
==== Example ====<br />
Here is an example to enter on the XBee settings :<br />
<br />
Serial1.begin( 9600 );<br />
String response = String("");<br />
<br />
Serial1.print("+++");<br />
delay(1000);<br />
<br />
while( Serial1.available() > 0 ) {<br />
response += (char) Serial1.read();<br />
}<br />
<br />
if(response.equals("OK\r")){<br />
// connected to XBee module on configuration mode<br />
<br />
// write some AT commands<br />
<br />
// exit configuration mode<br />
Serial1.println("ATCN"); <br />
}else{<br />
// cannot connect to XBee module<br />
}<br />
<br />
=== Home made XBee library ===<br />
The library is downloadable on the svn repository here : [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee/XBee.zip FET_Inf/galileo/lib/XBee]<br />
<br />
All the description of this library is on the [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee/xbee.h ''xbee.h''] file.<br />
==== Installation ====<br />
* Copy the XBee directory on the folder ''arduino-x.y.z/librairies''.<br />
* Restart the IDE.<br />
==== Usage ====<br />
On a arduino sketch, write :<br />
<br />
#include <xbee.h><br />
<br />
Or include it from ''Croquis/Importer bibliothèque/XBee'' <br />
==== Example ====<br />
Here is an example of two sketches :<br />
<ol><br />
<li> ''xbee_ping'' send alternatively 'H' and 'L' to the XBee '''Tx''' and read the response on the XBee '''Rx'''. Every time he receive an 'H', he turn the GP Led on and inversely when he receive an 'L'. </li><br />
<li> ''xbee_pong'' copy the XBee '''Rx''' to the XBee '''Tx'''.</li><br />
</ol><br />
If the GP Led of the board with ''xbee_pong'' is blinking, it's means that the two boards are correctly configured and connected.<br />
<br />
This two examples are on the svn :<br />
* [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/ping/ping.ino FET_Inf/galileo/examples/xbee/ping]<br />
* [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/pong/pong.ino FET_Inf/galileo/examples/xbee/pong]<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Inventory/CPU/ArduinoInventory/CPU/Arduino2014-04-29T08:15:57Z<p>Woa: /* Arduino kit (box with diverse material) */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
<br />
<br />
== [[Arduino kit (box with diverse material)]] ==<br />
{|class=wikitable<br />
|-<br />
! Kit number || Stock Location || Usage Location / User || Additional Information || Problems || Remarks<br />
|-<br />
| 01 || A305 || Renaud Moulin || || ||<br />
|-<br />
| 02 || A305 || Lauraux Alan || || ||<br />
|-<br />
| 03 || A305 || Struchen Lucas || || ||<br />
|-<br />
| 04 || A305 || Fürhoff Michael || || ||<br />
|-<br />
| 05 || A305 || Biner Amadé || || ||<br />
|-<br />
| 06 || A305 || || || ||<br />
|-<br />
| 07 || A305 || Messerli Marc-Anthony || || ||<br />
|-<br />
| 08 || A305 || Capponi Lino || || ||<br />
|-<br />
| 09 || A305 || Pereira David || || ||<br />
|-<br />
| 10 || A305 || Perruchoud Julien || || ||<br />
|-<br />
| 11 || A305 || || || ||<br />
|-<br />
| 12 || A305 || || || ||<br />
|-<br />
| 13 || A305 || Raboud Valentin || || ||<br />
|-<br />
| 14 || A305 || Vallat Aurélien || || ||<br />
|-<br />
| 15 || A305 || Masserey Stéphane || || ||<br />
|-<br />
| 16 || A305 || Desprez Guillaume || || ||<br />
|-<br />
| 17 || A305 || || || ||<br />
|-<br />
| 18 || A305 || Slatincic David || || ||<br />
|-<br />
| 19 || A305 || Crottaz Michael || || ||<br />
|-<br />
| 20 || A305 || Hoyos José || || ||<br />
|-<br />
| 21 || A305 || Perrier Loïc || || ||<br />
|-<br />
| 22 || A305 || Brunner Jürgen || || ||<br />
|-<br />
| 23 || A305 || Borloz Maxime || || ||<br />
|-<br />
| 24 || A305 || || || ||<br />
|-<br />
| 25 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 26 || A305 || || || ||<br />
|-<br />
| 27 || A305 || Pierre Roduit || || ||<br />
|-<br />
| 28 || A305 || Cohen Jesse || || ||<br />
|-<br />
| 29 || A305 || Pierre Ferrez || || ||<br />
|-<br />
| 30 || A305 || Pierre Roduit || || ||<br />
|-<br />
|}</div>Woahttps://wiki.hevs.ch/uit/index.php5/Addresses_of_XBee_ModulesAddresses of XBee Modules2014-04-29T07:57:56Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
'''TODO : Control addresses'''<br />
{|class=wikitable<br />
|-<br />
! N° || High || Low<br />
|-<br />
| 1 || 0013A200 || 40ACAD60<br />
|-<br />
| 2 || 0013A200 || 40ACAD60<br />
|-<br />
| 3 || 0013A200 || 40ACAD67<br />
|-<br />
| 4 || 0013A200 || 40ACAD76<br />
|-<br />
| 5 || 0013A200 || 40ACAD78<br />
|-<br />
| 6 || 0013A200 || 40ACAD81<br />
|-<br />
| 7 || 0013A200 || 40ACAD86<br />
|-<br />
| 8 || 0013A200 || 40ACAD87<br />
|-<br />
| 9 || 0013A200 || 40ACAD92<br />
|-<br />
| 10 || 0013A200 || 40ACAD97<br />
|-<br />
| 11 || 0013A200 || 40ACAD99<br />
|-<br />
| 12 || 0013A200 || 40ACAD9B<br />
|-<br />
| 13 || 0013A200 || 40ACADA0<br />
|-<br />
| 14 || 0013A200 || 40ACADB6<br />
|-<br />
| 15 || 0013A200 || 40ACADB8<br />
|-<br />
| 16 || 0013A200 || 40ACAE0D<br />
|-<br />
| 17 || 0013A200 || 40ACAE22<br />
|-<br />
| 18 || 0013A200 || 40ACAE29<br />
|-<br />
| 19 || 0013A200 || 40ACAE2C<br />
|-<br />
| 20 || 0013A200 || 40ACAE2F<br />
|-<br />
| 21 || 0013A200 || 40ACAE31<br />
|-<br />
| 22 || 0013A200 || 40ACAE3B<br />
|-<br />
| 23 || 0013A200 || 40ACAE6D<br />
|-<br />
| 24 || 0013A200 || 40ACAE44<br />
|-<br />
| 25 || 0013A200 || 40ACAE45<br />
|-<br />
| 26 || 0013A200 || 40ACAE4A<br />
|-<br />
| 27 || 0013A200 || <br />
|-<br />
| 28 || 0013A200 || 40ACAE3B<br />
|-<br />
| 29 || 0013A200 || 40ACAE7F<br />
|-<br />
| 30 || 0013A200 || 40ACAE92<br />
|}</div>Woahttps://wiki.hevs.ch/uit/index.php5/Addresses_of_XBee_ModulesAddresses of XBee Modules2014-04-29T07:56:08Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
{|class=wikitable<br />
|-<br />
! N° || High || Low<br />
|-<br />
| 1 || 0013A200 || 40ACAD60<br />
|-<br />
| 2 || 0013A200 || 40ACAD60<br />
|-<br />
| 3 || 0013A200 || 40ACAD67<br />
|-<br />
| 4 || 0013A200 || 40ACAD76<br />
|-<br />
| 5 || 0013A200 || 40ACAD78<br />
|-<br />
| 6 || 0013A200 || 40ACAD81<br />
|-<br />
| 7 || 0013A200 || 40ACAD86<br />
|-<br />
| 8 || 0013A200 || 40ACAD87<br />
|-<br />
| 9 || 0013A200 || 40ACAD92<br />
|-<br />
| 10 || 0013A200 || 40ACAD97<br />
|-<br />
| 11 || 0013A200 || 40ACAD99<br />
|-<br />
| 12 || 0013A200 || 40ACAD9B<br />
|-<br />
| 13 || 0013A200 || 40ACADA0<br />
|-<br />
| 14 || 0013A200 || 40ACADB6<br />
|-<br />
| 15 || 0013A200 || 40ACADB8<br />
|-<br />
| 16 || 0013A200 || 40ACAE0D<br />
|-<br />
| 17 || 0013A200 || 40ACAE22<br />
|-<br />
| 18 || 0013A200 || 40ACAE29<br />
|-<br />
| 19 || 0013A200 || 40ACAE2C<br />
|-<br />
| 20 || 0013A200 || 40ACAE2F<br />
|-<br />
| 21 || 0013A200 || 40ACAE31<br />
|-<br />
| 22 || 0013A200 || 40ACAE3B<br />
|-<br />
| 23 || 0013A200 || 40ACAE6D<br />
|-<br />
| 24 || 0013A200 || 40ACAE44<br />
|-<br />
| 25 || 0013A200 || 40ACAE45<br />
|-<br />
| 26 || 0013A200 || 40ACAE4A<br />
|-<br />
| 27 || 0013A200 || <br />
|-<br />
| 28 || 0013A200 || 40ACAE3B<br />
|-<br />
| 29 || 0013A200 || 40ACAE7F<br />
|-<br />
| 30 || 0013A200 || 40ACAE92<br />
|}</div>Woahttps://wiki.hevs.ch/uit/index.php5/Addresses_of_XBee_ModulesAddresses of XBee Modules2014-04-29T07:55:54Z<p>Woa: Created page with "{{private}} {{TOC right}} {{private}} {{TOC right}} {|class=wikitable |- ! N° || High || Low |- | 1 || 0013A200 || 40ACAD60 |- | 2 || 0013A200 || 40ACAD60 |- | 3 || 0013A200 ..."</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
{{private}}<br />
{{TOC right}}<br />
{|class=wikitable<br />
|-<br />
! N° || High || Low<br />
|-<br />
| 1 || 0013A200 || 40ACAD60<br />
|-<br />
| 2 || 0013A200 || 40ACAD60<br />
|-<br />
| 3 || 0013A200 || 40ACAD67<br />
|-<br />
| 4 || 0013A200 || 40ACAD76<br />
|-<br />
| 5 || 0013A200 || 40ACAD78<br />
|-<br />
| 6 || 0013A200 || 40ACAD81<br />
|-<br />
| 7 || 0013A200 || 40ACAD86<br />
|-<br />
| 8 || 0013A200 || 40ACAD87<br />
|-<br />
| 9 || 0013A200 || 40ACAD92<br />
|-<br />
| 10 || 0013A200 || 40ACAD97<br />
|-<br />
| 11 || 0013A200 || 40ACAD99<br />
|-<br />
| 12 || 0013A200 || 40ACAD9B<br />
|-<br />
| 13 || 0013A200 || 40ACADA0<br />
|-<br />
| 14 || 0013A200 || 40ACADB6<br />
|-<br />
| 15 || 0013A200 || 40ACADB8<br />
|-<br />
| 16 || 0013A200 || 40ACAE0D<br />
|-<br />
| 17 || 0013A200 || 40ACAE22<br />
|-<br />
| 18 || 0013A200 || 40ACAE29<br />
|-<br />
| 19 || 0013A200 || 40ACAE2C<br />
|-<br />
| 20 || 0013A200 || 40ACAE2F<br />
|-<br />
| 21 || 0013A200 || 40ACAE31<br />
|-<br />
| 22 || 0013A200 || 40ACAE3B<br />
|-<br />
| 23 || 0013A200 || 40ACAE6D<br />
|-<br />
| 24 || 0013A200 || 40ACAE44<br />
|-<br />
| 25 || 0013A200 || 40ACAE45<br />
|-<br />
| 26 || 0013A200 || 40ACAE4A<br />
|-<br />
| 27 || 0013A200 || <br />
|-<br />
| 28 || 0013A200 || 40ACAE3B<br />
|-<br />
| 29 || 0013A200 || 40ACAE7F<br />
|-<br />
| 30 || 0013A200 || 40ACAE92<br />
|}</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-29T07:55:46Z<p>Woa: /* AT Commands */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
'''Don't forget to update the [[Inventory/CPU/Arduino | inventory]] !'''<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
*''OS : Windows 7''<br />
*''Arduino IDE version : 1.5.3''<br />
*''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
The XBee device is configured with AT commands<br />
Here are many useful AT Commands :<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
<br />
See the [[Addresses of XBee Modules | relational table]] beetween the label on module and his serial number.<br />
==== Example ====<br />
Here is an example to enter on the XBee settings :<br />
<br />
Serial1.begin( 9600 );<br />
String response = String("");<br />
<br />
Serial1.print("+++");<br />
delay(1000);<br />
<br />
while( Serial1.available() > 0 ) {<br />
response += (char) Serial1.read();<br />
}<br />
<br />
if(response.equals("OK\r")){<br />
// connected to XBee module on configuration mode<br />
<br />
// write some AT commands<br />
<br />
// exit configuration mode<br />
Serial1.println("ATCN"); <br />
}else{<br />
// cannot connect to XBee module<br />
}<br />
<br />
=== Home made XBee library ===<br />
The library is downloadable on the svn repository here : [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee/XBee.zip FET_Inf/galileo/lib/XBee]<br />
<br />
All the description of this library is on the [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee/xbee.h ''xbee.h''] file.<br />
==== Installation ====<br />
* Copy the XBee directory on the folder ''arduino-x.y.z/librairies''.<br />
* Restart the IDE.<br />
==== Usage ====<br />
On a arduino sketch, write :<br />
<br />
#include <xbee.h><br />
<br />
Or include it from ''Croquis/Importer bibliothèque/XBee'' <br />
==== Example ====<br />
Here is an example of two sketches :<br />
<ol><br />
<li> ''xbee_ping'' send alternatively 'H' and 'L' to the XBee '''Tx''' and read the response on the XBee '''Rx'''. Every time he receive an 'H', he turn the GP Led on and inversely when he receive an 'L'. </li><br />
<li> ''xbee_pong'' copy the XBee '''Rx''' to the XBee '''Tx'''.</li><br />
</ol><br />
If the GP Led of the board with ''xbee_pong'' is blinking, it's means that the two boards are correctly configured and connected.<br />
<br />
This two examples are on the svn :<br />
* [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/ping/ping.ino FET_Inf/galileo/examples/xbee/ping]<br />
* [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/pong/pong.ino FET_Inf/galileo/examples/xbee/pong]<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Relational_tableRelational table2014-04-28T13:24:39Z<p>Woa: Created page with "{{private}} {{TOC right}} {|class=wikitable |- ! N° || High || Low |- | 1 || 0013A200 || 40ACAD60 |- | 2 || 0013A200 || 40ACAD60 |- | 3 || 0013A200 || 40ACAD67 |- | 4 || 0013..."</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
{|class=wikitable<br />
|-<br />
! N° || High || Low<br />
|-<br />
| 1 || 0013A200 || 40ACAD60<br />
|-<br />
| 2 || 0013A200 || 40ACAD60<br />
|-<br />
| 3 || 0013A200 || 40ACAD67<br />
|-<br />
| 4 || 0013A200 || 40ACAD76<br />
|-<br />
| 5 || 0013A200 || 40ACAD78<br />
|-<br />
| 6 || 0013A200 || 40ACAD81<br />
|-<br />
| 7 || 0013A200 || 40ACAD86<br />
|-<br />
| 8 || 0013A200 || 40ACAD87<br />
|-<br />
| 9 || 0013A200 || 40ACAD92<br />
|-<br />
| 10 || 0013A200 || 40ACAD97<br />
|-<br />
| 11 || 0013A200 || 40ACAD99<br />
|-<br />
| 12 || 0013A200 || 40ACAD9B<br />
|-<br />
| 13 || 0013A200 || 40ACADA0<br />
|-<br />
| 14 || 0013A200 || 40ACADB6<br />
|-<br />
| 15 || 0013A200 || 40ACADB8<br />
|-<br />
| 16 || 0013A200 || 40ACAE0D<br />
|-<br />
| 17 || 0013A200 || 40ACAE22<br />
|-<br />
| 18 || 0013A200 || 40ACAE29<br />
|-<br />
| 19 || 0013A200 || 40ACAE2C<br />
|-<br />
| 20 || 0013A200 || 40ACAE2F<br />
|-<br />
| 21 || 0013A200 || 40ACAE31<br />
|-<br />
| 22 || 0013A200 || 40ACAE3B<br />
|-<br />
| 23 || 0013A200 || 40ACAE6D<br />
|-<br />
| 24 || 0013A200 || 40ACAE44<br />
|-<br />
| 25 || 0013A200 || 40ACAE45<br />
|-<br />
| 26 || 0013A200 || 40ACAE4A<br />
|-<br />
| 27 || 0013A200 || <br />
|-<br />
| 28 || 0013A200 || 40ACAE3B<br />
|-<br />
| 29 || 0013A200 || 40ACAE7F<br />
|-<br />
| 30 || 0013A200 || 40ACAE92<br />
|}</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T13:11:30Z<p>Woa: /* Home made XBee library */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
'''Don't forget to update the [[Inventory/CPU/Arduino | inventory]] !'''<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
*''OS : Windows 7''<br />
*''Arduino IDE version : 1.5.3''<br />
*''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
The XBee device is configured with AT commands<br />
Here are many useful AT Commands :<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
<br />
See the [[relational table]] beetween the label on module and his serial number.<br />
==== Example ====<br />
Here is an example to enter on the XBee settings :<br />
<br />
Serial1.begin( 9600 );<br />
String response = String("");<br />
<br />
Serial1.print("+++");<br />
delay(1000);<br />
<br />
while( Serial1.available() > 0 ) {<br />
response += (char) Serial1.read();<br />
}<br />
<br />
if(response.equals("OK\r")){<br />
// connected to XBee module on configuration mode<br />
<br />
// write some AT commands<br />
<br />
// exit configuration mode<br />
Serial1.println("ATCN"); <br />
}else{<br />
// cannot connect to XBee module<br />
}<br />
<br />
=== Home made XBee library ===<br />
The library is downloadable on the svn repository here : [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee/XBee.zip FET_Inf/galileo/lib/XBee]<br />
<br />
All the description of this library is on the [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee/xbee.h ''xbee.h''] file.<br />
==== Installation ====<br />
* Copy the XBee directory on the folder ''arduino-x.y.z/librairies''.<br />
* Restart the IDE.<br />
==== Usage ====<br />
On a arduino sketch, write :<br />
<br />
#include <xbee.h><br />
<br />
Or include it from ''Croquis/Importer bibliothèque/XBee'' <br />
==== Example ====<br />
Here is an example of two sketches :<br />
<ol><br />
<li> ''xbee_ping'' send alternatively 'H' and 'L' to the XBee '''Tx''' and read the response on the XBee '''Rx'''. Every time he receive an 'H', he turn the GP Led on and inversely when he receive an 'L'. </li><br />
<li> ''xbee_pong'' copy the XBee '''Rx''' to the XBee '''Tx'''.</li><br />
</ol><br />
If the GP Led of the board with ''xbee_pong'' is blinking, it's means that the two boards are correctly configured and connected.<br />
<br />
This two examples are on the svn :<br />
* [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/ping/ping.ino FET_Inf/galileo/examples/xbee/ping]<br />
* [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/pong/pong.ino FET_Inf/galileo/examples/xbee/pong]<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T13:09:51Z<p>Woa: /* Home made XBee library */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
'''Don't forget to update the [[Inventory/CPU/Arduino | inventory]] !'''<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
*''OS : Windows 7''<br />
*''Arduino IDE version : 1.5.3''<br />
*''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
The XBee device is configured with AT commands<br />
Here are many useful AT Commands :<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
<br />
See the [[relational table]] beetween the label on module and his serial number.<br />
==== Example ====<br />
Here is an example to enter on the XBee settings :<br />
<br />
Serial1.begin( 9600 );<br />
String response = String("");<br />
<br />
Serial1.print("+++");<br />
delay(1000);<br />
<br />
while( Serial1.available() > 0 ) {<br />
response += (char) Serial1.read();<br />
}<br />
<br />
if(response.equals("OK\r")){<br />
// connected to XBee module on configuration mode<br />
<br />
// write some AT commands<br />
<br />
// exit configuration mode<br />
Serial1.println("ATCN"); <br />
}else{<br />
// cannot connect to XBee module<br />
}<br />
<br />
=== Home made XBee library ===<br />
The library is downloadable on the svn repository here : [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee/XBee.zip FET_Inf/galileo/lib/XBee]<br />
<br />
All the description of this library is on the ''xbee.h'' file.<br />
==== Installation ====<br />
* Copy the XBee directory on the folder ''arduino-x.y.z/librairies''.<br />
* Restart the IDE.<br />
==== Usage ====<br />
On a arduino sketch, write :<br />
<br />
#include <xbee.h><br />
<br />
Or include it from ''Croquis/Importer bibliothèque/XBee'' <br />
==== Example ====<br />
Here is an example of two sketches :<br />
<ol><br />
<li> ''xbee_ping'' send alternatively 'H' and 'L' to the XBee '''Tx''' and read the response on the XBee '''Rx'''. Every time he receive an 'H', he turn the GP Led on and inversely when he receive an 'L'. </li><br />
<li> ''xbee_pong'' copy the XBee '''Rx''' to the XBee '''Tx'''.</li><br />
</ol><br />
If the GP Led of the board with ''xbee_pong'' is blinking, it's means that the two boards are correctly configured and connected.<br />
<br />
This two examples are on the svn :<br />
* [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/ping/ping.ino FET_Inf/galileo/examples/xbee/ping]<br />
* [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/pong/pong.ino FET_Inf/galileo/examples/xbee/pong]<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T13:02:49Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
'''Don't forget to update the [[Inventory/CPU/Arduino | inventory]] !'''<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
*''OS : Windows 7''<br />
*''Arduino IDE version : 1.5.3''<br />
*''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
The XBee device is configured with AT commands<br />
Here are many useful AT Commands :<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
<br />
See the [[relational table]] beetween the label on module and his serial number.<br />
==== Example ====<br />
Here is an example to enter on the XBee settings :<br />
<br />
Serial1.begin( 9600 );<br />
String response = String("");<br />
<br />
Serial1.print("+++");<br />
delay(1000);<br />
<br />
while( Serial1.available() > 0 ) {<br />
response += (char) Serial1.read();<br />
}<br />
<br />
if(response.equals("OK\r")){<br />
// connected to XBee module on configuration mode<br />
<br />
// write some AT commands<br />
<br />
// exit configuration mode<br />
Serial1.println("ATCN"); <br />
}else{<br />
// cannot connect to XBee module<br />
}<br />
<br />
=== Home made XBee library ===<br />
The library is downloadable on the svn repository here : [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee/XBee.zip FET_Inf/galileo/lib/XBee]<br />
<br />
All the description of this library is made on the ''xbee.h'' file.<br />
==== Installation ====<br />
* Copy the XBee directory on the folder ''arduino-x.y.z/librairies''.<br />
* Restart the IDE.<br />
==== Usage ====<br />
On a arduino sketch, write :<br />
<br />
#include <xbee.h><br />
<br />
Or include it from ''Croquis/Importer bibliothèque/XBee'' <br />
==== Example ====<br />
Here is an example of two sketches :<br />
<ol><br />
<li> ''xbee_ping'' send alternatively 'H' and 'L' to the XBee '''Tx''' and read the response on the XBee '''Rx'''. Every time he receive an 'H', he turn the GP Led on and inversely when he receive an 'L'. </li><br />
<li> ''xbee_pong'' copy the XBee '''Rx''' to the XBee '''Tx'''.</li><br />
</ol><br />
If the GP Led of the board with ''xbee_pong'' is blinking, it's means that the two boards are correctly configured and connected.<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T13:01:28Z<p>Woa: /* Intel Galileo */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
*''OS : Windows 7''<br />
*''Arduino IDE version : 1.5.3''<br />
*''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
The XBee device is configured with AT commands<br />
Here are many useful AT Commands :<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
<br />
See the [[relational table]] beetween the label on module and his serial number.<br />
==== Example ====<br />
Here is an example to enter on the XBee settings :<br />
<br />
Serial1.begin( 9600 );<br />
String response = String("");<br />
<br />
Serial1.print("+++");<br />
delay(1000);<br />
<br />
while( Serial1.available() > 0 ) {<br />
response += (char) Serial1.read();<br />
}<br />
<br />
if(response.equals("OK\r")){<br />
// connected to XBee module on configuration mode<br />
<br />
// write some AT commands<br />
<br />
// exit configuration mode<br />
Serial1.println("ATCN"); <br />
}else{<br />
// cannot connect to XBee module<br />
}<br />
<br />
=== Home made XBee library ===<br />
The library is downloadable on the svn repository here : [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee/XBee.zip FET_Inf/galileo/lib/XBee]<br />
<br />
All the description of this library is made on the ''xbee.h'' file.<br />
==== Installation ====<br />
* Copy the XBee directory on the folder ''arduino-x.y.z/librairies''.<br />
* Restart the IDE.<br />
==== Usage ====<br />
On a arduino sketch, write :<br />
<br />
#include <xbee.h><br />
<br />
Or include it from ''Croquis/Importer bibliothèque/XBee'' <br />
==== Example ====<br />
Here is an example of two sketches :<br />
<ol><br />
<li> ''xbee_ping'' send alternatively 'H' and 'L' to the XBee '''Tx''' and read the response on the XBee '''Rx'''. Every time he receive an 'H', he turn the GP Led on and inversely when he receive an 'L'. </li><br />
<li> ''xbee_pong'' copy the XBee '''Rx''' to the XBee '''Tx'''.</li><br />
</ol><br />
If the GP Led of the board with ''xbee_pong'' is blinking, it's means that the two boards are correctly configured and connected.<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T12:59:34Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Don't forget to update the [[Inventory/CPU/Arduino]]<br />
Tested with the following configuration :<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
The XBee device is configured with AT commands<br />
Here are many useful AT Commands :<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
<br />
See the [[relational table]] beetween the label on module and his serial number.<br />
==== Example ====<br />
Here is an example to enter on the XBee settings :<br />
<br />
Serial1.begin( 9600 );<br />
String response = String("");<br />
<br />
Serial1.print("+++");<br />
delay(1000);<br />
<br />
while( Serial1.available() > 0 ) {<br />
response += (char) Serial1.read();<br />
}<br />
<br />
if(response.equals("OK\r")){<br />
// connected to XBee module on configuration mode<br />
<br />
// write some AT commands<br />
<br />
// exit configuration mode<br />
Serial1.println("ATCN"); <br />
}else{<br />
// cannot connect to XBee module<br />
}<br />
<br />
=== Home made XBee library ===<br />
The library is downloadable on the svn repository here : [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee/XBee.zip FET_Inf/galileo/lib/XBee]<br />
<br />
All the description of this library is made on the ''xbee.h'' file.<br />
==== Installation ====<br />
* Copy the XBee directory on the folder ''arduino-x.y.z/librairies''.<br />
* Restart the IDE.<br />
==== Usage ====<br />
On a arduino sketch, write :<br />
<br />
#include <xbee.h><br />
<br />
Or include it from ''Croquis/Importer bibliothèque/XBee'' <br />
==== Example ====<br />
Here is an example of two sketches :<br />
<ol><br />
<li> ''xbee_ping'' send alternatively 'H' and 'L' to the XBee '''Tx''' and read the response on the XBee '''Rx'''. Every time he receive an 'H', he turn the GP Led on and inversely when he receive an 'L'. </li><br />
<li> ''xbee_pong'' copy the XBee '''Rx''' to the XBee '''Tx'''.</li><br />
</ol><br />
If the GP Led of the board with ''xbee_pong'' is blinking, it's means that the two boards are correctly configured and connected.<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T12:56:05Z<p>Woa: /* AT Commands */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
The XBee device is configured with AT commands<br />
Here are many useful AT Commands :<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
<br />
See the [[relational table]] beetween the label on module and his serial number.<br />
==== Example ====<br />
Here is an example to enter on the XBee settings :<br />
<br />
Serial1.begin( 9600 );<br />
String response = String("");<br />
<br />
Serial1.print("+++");<br />
delay(1000);<br />
<br />
while( Serial1.available() > 0 ) {<br />
response += (char) Serial1.read();<br />
}<br />
<br />
if(response.equals("OK\r")){<br />
// connected to XBee module on configuration mode<br />
<br />
// write some AT commands<br />
<br />
// exit configuration mode<br />
Serial1.println("ATCN"); <br />
}else{<br />
// cannot connect to XBee module<br />
}<br />
<br />
=== Home made XBee library ===<br />
The library is downloadable on the svn repository here : [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee/XBee.zip FET_Inf/galileo/lib/XBee]<br />
<br />
All the description of this library is made on the ''xbee.h'' file.<br />
==== Installation ====<br />
* Copy the XBee directory on the folder ''arduino-x.y.z/librairies''.<br />
* Restart the IDE.<br />
==== Usage ====<br />
On a arduino sketch, write :<br />
<br />
#include <xbee.h><br />
<br />
Or include it from ''Croquis/Importer bibliothèque/XBee'' <br />
==== Example ====<br />
Here is an example of two sketches :<br />
<ol><br />
<li> ''xbee_ping'' send alternatively 'H' and 'L' to the XBee '''Tx''' and read the response on the XBee '''Rx'''. Every time he receive an 'H', he turn the GP Led on and inversely when he receive an 'L'. </li><br />
<li> ''xbee_pong'' copy the XBee '''Rx''' to the XBee '''Tx'''.</li><br />
</ol><br />
If the GP Led of the board with ''xbee_pong'' is blinking, it's means that the two boards are correctly configured and connected.<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T12:38:17Z<p>Woa: /* Example */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
The XBee device is configured with AT commands<br />
Here are many useful AT Commands :<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
=== Home made XBee library ===<br />
The library is downloadable on the svn repository here : [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee/XBee.zip FET_Inf/galileo/lib/XBee]<br />
<br />
All the description of this library is made on the ''xbee.h'' file.<br />
==== Installation ====<br />
* Copy the XBee directory on the folder ''arduino-x.y.z/librairies''.<br />
* Restart the IDE.<br />
==== Usage ====<br />
On a arduino sketch, write :<br />
<br />
#include <xbee.h><br />
<br />
Or include it from ''Croquis/Importer bibliothèque/XBee'' <br />
==== Example ====<br />
Here is an example of two sketches :<br />
<ol><br />
<li> ''xbee_ping'' send alternatively 'H' and 'L' to the XBee '''Tx''' and read the response on the XBee '''Rx'''. Every time he receive an 'H', he turn the GP Led on and inversely when he receive an 'L'. </li><br />
<li> ''xbee_pong'' copy the XBee '''Rx''' to the XBee '''Tx'''.</li><br />
</ol><br />
If the GP Led of the board with ''xbee_pong'' is blinking, it's means that the two boards are correctly configured and connected.<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T12:35:37Z<p>Woa: /* Home made XBee library */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
The XBee device is configured with AT commands<br />
Here are many useful AT Commands :<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
=== Home made XBee library ===<br />
The library is downloadable on the svn repository here : [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee/XBee.zip FET_Inf/galileo/lib/XBee]<br />
<br />
All the description of this library is made on the ''xbee.h'' file.<br />
==== Installation ====<br />
* Copy the XBee directory on the folder ''arduino-x.y.z/librairies''.<br />
* Restart the IDE.<br />
==== Usage ====<br />
On a arduino sketch, write :<br />
<br />
#include <xbee.h><br />
<br />
Or include it from ''Croquis/Importer bibliothèque/XBee'' <br />
==== Example ====<br />
Here is an example of two sketches :<br />
1) ''xbee_ping'' send alternatively 'H' and 'L' to the XBee '''Tx''' and read the response on the XBee '''Rx'''. Every time he receive an 'H', he turn the GP Led on and inversely when he receive an 'L'.<br />
2) ''xbee_pong'' copy the XBee '''Rx''' to the XBee '''Tx'''.<br />
<br />
If the GP Led of the board with ''xbee_pong'' is blinking, it's means that the two boards are correctly configured and connected.<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T09:53:57Z<p>Woa: /* Home made XBee library */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
The XBee device is configured with AT commands<br />
Here are many useful AT Commands :<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
=== Home made XBee library ===<br />
The library is downloadable on the svn repository here : [https://repos.hevs.ch/svn/FET_Inf/galileo/lib/XBee FET_Inf/galileo/lib/XBee]<br />
All the description of this library is made on the ''xbee.h'' file.<br />
==== Installation ====<br />
==== Usage ====<br />
==== Example ====<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T09:45:10Z<p>Woa: /* XBee module */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
The XBee device is configured with AT commands<br />
Here are many useful AT Commands :<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
=== Home made XBee library ===<br />
All you need is described on the ''xbee.h'' file.<br />
==== Installation ====<br />
==== Usage ====<br />
==== Example ====<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T09:37:51Z<p>Woa: /* AT Commands */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
The XBee device is configured with AT commands<br />
Here are many useful AT Commands :<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T09:09:37Z<p>Woa: /* AT Commands */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
Here are many useful AT Commands<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Get the serial number of the device || <ADDRESS HIGH> || ''first 8 chars''<br />
|-<br />
| ATSL\r || Get the serial number of the device || <ADDRESS LOW> || ''last 8 chars''<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''first 8 chars''<br />
|-<br />
| ATDH<ADDRESS LOW>\r || Set the destination* address || OK\r || ''last 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and '''NOT''' the address.<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T09:06:46Z<p>Woa: /* AT Commands */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
Here are many useful AT Commands<br />
{|class=wikitable<br />
|-<br />
! Command || Description || Expected answer || Remarks<br />
|-<br />
| +++ || Begin the setting mode || OK\r || ''Wait 1s before read answer''<br />
|-<br />
| ATCN\r || Get the label of the device || <LABEL> ||<br />
|-<br />
| ATNI<LABEL>\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATOP\r || Get the id of the current network || <ID> || ''Normally : '''2603''' ''<br />
|-<br />
| ATSH\r || Set the label of the device || OK\r ||<br />
|-<br />
| ATDH<ADDRESS HIGH>\r || Set the destination* address || OK\r || ''max. 8 chars''<br />
|-<br />
|}<br />
<nowiki>*)</nowiki> The destination address match the '''serial number''' of the destination device and [[NOT]] the address.<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Inventory/CPU/ArduinoInventory/CPU/Arduino2014-04-28T08:45:45Z<p>Woa: /* Arduino kit (box with diverse material) */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
<br />
<br />
== [[Arduino kit (box with diverse material)]] ==<br />
{|class=wikitable<br />
|-<br />
! Kit number || Stock Location || Usage Location / User || Additional Information || Problems || Remarks<br />
|-<br />
| 01 || A305 || Renaud Moulin || || ||<br />
|-<br />
| 02 || A305 || Lauraux Alan || || ||<br />
|-<br />
| 03 || A305 || Struchen Lucas || || ||<br />
|-<br />
| 04 || A305 || Fürhoff Michael || || ||<br />
|-<br />
| 05 || A305 || Biner Amadé || || ||<br />
|-<br />
| 06 || A305 || || || ||<br />
|-<br />
| 07 || A305 || Messerli Marc-Anthony || || ||<br />
|-<br />
| 08 || A305 || Capponi Lino || || ||<br />
|-<br />
| 09 || A305 || Pereira David || || ||<br />
|-<br />
| 10 || A305 || Perruchoud Julien || || ||<br />
|-<br />
| 11 || A305 || || || ||<br />
|-<br />
| 12 || A305 || || || ||<br />
|-<br />
| 13 || A305 || Raboud Valentin || || ||<br />
|-<br />
| 14 || A305 || Vallat Aurélien || || ||<br />
|-<br />
| 15 || A305 || Masserey Stéphane || || ||<br />
|-<br />
| 16 || A305 || Desprez Guillaume || || ||<br />
|-<br />
| 17 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 18 || A305 || Slatincic David || || ||<br />
|-<br />
| 19 || A305 || Crottaz Michael || || ||<br />
|-<br />
| 20 || A305 || || || ||<br />
|-<br />
| 21 || A305 || Perrier Loïc || || ||<br />
|-<br />
| 22 || A305 || Brunner Jürgen || || ||<br />
|-<br />
| 23 || A305 || Borloz Maxime || || ||<br />
|-<br />
| 24 || A305 || || || ||<br />
|-<br />
| 25 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 26 || A305 || || || ||<br />
|-<br />
| 27 || A305 || Pierre Roduit || || ||<br />
|-<br />
| 28 || A305 || Cohen Jesse || || ||<br />
|-<br />
| 29 || A305 || Pierre Ferrez || || ||<br />
|-<br />
| 30 || A305 || Pierre Roduit || || ||<br />
|-<br />
|}</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T08:44:46Z<p>Woa: /* AT Commands */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
Here are many useful AT Commands<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T08:42:26Z<p>Woa: /* Principle */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''2603'''.<br />
<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T08:30:12Z<p>Woa: /* XBee module */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
=== Principle ===<br />
A XBee network need a coordinator to be mounted.<br />
However, if a terminal device was one time connected to a network, this device can remount the network without coordinator.<br />
<br />
All the devices of FET lab have normally in memory the network '''0803'''.<br />
=== Connection ===<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T08:22:21Z<p>Woa: /* Intel Galileo */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
Tested with the following configuration :<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T08:21:07Z<p>Woa: /* XBee module */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
'''This solution doesn't work if you want to setup the XBee as coordinator''' : therefor, you need the XBIB-U-DEV board available by Thomas Sterren. <br />
=== AT Commands ===<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-28T08:19:49Z<p>Woa: /* XBee module */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The 2 jumpers on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
This solution doesn't work if you want to setup the XBee as coordinator : therefor, you need the XBIB-U-DEV board, available by Thomas Sterren. <br />
=== AT Commands ===<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.<br />
<br />
<br />
=== Servo library ===<br />
Servo library is not working, either you work directly with the PWM, indication in this document:<br />
https://communities.intel.com/servlet/JiveServlet/previewBody/21837-102-6-25156/Galileo_RelNotes_329686_004.pdf<br />
Or you install the modified version of the servo library coming from here :<br />
https://github.com/mikalhart/galileo-Servo/releases<br />
<br />
Version 2 is on the SVN, you have to put the files in <br />
arduino-1.5.3\hardware\arduino\x86\libraries\Servo</div>Woahttps://wiki.hevs.ch/uit/index.php5/Inventory/CPU/ArduinoInventory/CPU/Arduino2014-04-17T08:58:18Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
<br />
<br />
== [[Arduino kit (box with diverse material)]] ==<br />
{|class=wikitable<br />
|-<br />
! Kit number || Stock Location || Usage Location / User || Additional Information || Problems || Remarks<br />
|-<br />
| 01 || A305 || || || ||<br />
|-<br />
| 02 || A305 || || || ||<br />
|-<br />
| 03 || A305 || || || ||<br />
|-<br />
| 04 || A305 || || || ||<br />
|-<br />
| 05 || A305 || || || ||<br />
|-<br />
| 06 || A305 || || || ||<br />
|-<br />
| 07 || A305 || || || ||<br />
|-<br />
| 08 || A305 || || || ||<br />
|-<br />
| 09 || A305 || || || ||<br />
|-<br />
| 10 || A305 || || || ||<br />
|-<br />
| 11 || A305 || || || ||<br />
|-<br />
| 12 || A305 || || || ||<br />
|-<br />
| 13 || A305 || || || ||<br />
|-<br />
| 14 || A305 || || || ||<br />
|-<br />
| 15 || A305 || || || ||<br />
|-<br />
| 16 || A305 || || || ||<br />
|-<br />
| 17 || A305 || Alain Woeffray || || ||<br />
|-<br />
| 18 || A305 || || || ||<br />
|-<br />
| 19 || A305 || || || ||<br />
|-<br />
| 20 || A305 || || || ||<br />
|-<br />
| 21 || A305 || || || ||<br />
|-<br />
| 22 || A305 || || || ||<br />
|-<br />
| 23 || A305 || || || ||<br />
|-<br />
| 24 || A305 || || || ||<br />
|-<br />
| 25 || A305 || || || ||<br />
|-<br />
| 26 || A305 || || || ||<br />
|-<br />
| 27 || A305 || || || ||<br />
|-<br />
| 28 || A305 || || || ||<br />
|-<br />
| 29 || A305 || Pierre Ferrez || || ||<br />
|-<br />
| 30 || A305 || Pierre Roduit || || ||<br />
|-<br />
|}</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-10T11:15:51Z<p>Woa: /* Terminal */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br />
== XBee module ==<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The jumper on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-10T11:15:36Z<p>Woa: /* Terminal */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the following settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|center|300px]]<br />
<br><br />
<br />
== XBee module ==<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The jumper on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-10T11:13:02Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png|200px]]<br />
<br><br />
<br />
== XBee module ==<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The jumper on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.</div>Woahttps://wiki.hevs.ch/uit/index.php5/File:TeraTermTerminalSetup.pngFile:TeraTermTerminalSetup.png2014-04-10T11:12:10Z<p>Woa: uploaded a new version of &quot;File:TeraTermTerminalSetup.png&quot;</p>
<hr />
<div></div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-10T11:08:52Z<p>Woa: /* Terminal */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the settings on : ''Setup -> Terminal...''<br />
[[File:TeraTermTerminalSetup.png]]<br />
<br><br />
<br />
== XBee module ==<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The jumper on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.</div>Woahttps://wiki.hevs.ch/uit/index.php5/File:TeraTermTerminalSetup.pngFile:TeraTermTerminalSetup.png2014-04-10T11:08:01Z<p>Woa: </p>
<hr />
<div></div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-10T11:04:56Z<p>Woa: /* Terminal */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br><br />
To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the settings on : ''Setup -> Terminal...''<br />
[[File:edawiki.jpg|left|100px|EDA Wiki Logo left]]<br />
<br><br />
<br />
== XBee module ==<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The jumper on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-10T11:01:02Z<p>Woa: /* Terminal */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
Unfortunately, you can only start one instance of the Arduino IDE. It's means that you cannot monitor two serial ports simultaneously. You'll also need a monitor software such as ''Tera Term''.<br />
<br>To have pretty much the same behavior with ''TeraTerm'' as the ''Arduino'' monitor, you need to change the settings on : ''Setup -> Terminal...''<br />
<br />
[[File:edawiki.jpg|left|100px|EDA Wiki Logo left]]<br />
<br />
== XBee module ==<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The jumper on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-10T10:00:34Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== Terminal ==<br />
<br />
== XBee module ==<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The jumper on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-08T09:45:27Z<p>Woa: /* SD Card */</p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== XBee module ==<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The jumper on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
== SD Card ==<br />
The usage of a microSD card is required to persist a sketch when the power supply is shutting down.<br />
<br />
=== Installation ===<br />
# Download the [http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z linux image for SD Card]<br />
# Copy folders on the root of the SD Card.<br />
# Plug the SD Card on the Galileo board.<br />
<br />
=== Usage ===<br />
# Transfer normally the sketch with the IDE.<br />
# Remove the usb cable.<br />
# Reboot the card by removing the power supply.<br />
# The SD's led will blink because the board is booting on SD card.</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-08T09:16:44Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== XBee module ==<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The jumper on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].<br />
<br />
== SD Card ==</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-08T09:15:43Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
= Intel Galileo =<br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
== Bugs on transfer ==<br />
When programming the target, it can happen many errors :<br />
===== /dev/ttySxx: Permission denied ===== <br />
Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.<br />
===== /dev/ttySxx: No such file or directory =====<br />
The port is dead for this session : use an another port COM on computer or reboot Windows.<br />
===== Unrecognized device (on "Devices and Printer") ===== <br />
Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.<br />
<br />
== XBee module ==<br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The jumper on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-04T11:32:38Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
<H1>Intel Galileo</H1><br />
<h2>Bugs on transfer</h2><br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
<p>When programming the target, it can happen many errors :</p><br />
<br />
<h4>[...] Retry 0: Got TIMEOUT </h4> <br />
<h4>/dev/ttySxx: Permission denied</h4> <br />
<p>Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.</p><br />
<h4>/dev/ttySxx: No such file or directory </h4> <br />
<p>The port is dead for this session : use an another port COM on computer or reboot Windows.</p><br />
<h4>Unrecognized device (on "Devices and Printer")</h4> <br />
<p>Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.</p><br />
<br />
<h2>XBee module</h2><br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The jumper on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/galileo/examples/xbee/repeater/repeater.ino FET_Inf/galileo/examples/xbee/repeater/repeater.ino].</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-04T11:31:44Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
<H1>Intel Galileo</H1><br />
<h2>Bugs on transfer</h2><br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
<p>When programming the target, it can happen many errors :</p><br />
<br />
<h4>[...] Retry 0: Got TIMEOUT </h4> <br />
<h4>/dev/ttySxx: Permission denied</h4> <br />
<p>Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.</p><br />
<h4>/dev/ttySxx: No such file or directory </h4> <br />
<p>The port is dead for this session : use an another port COM on computer or reboot Windows.</p><br />
<h4>Unrecognized device (on "Devices and Printer")</h4> <br />
<p>Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.</p><br />
<br />
<h2>XBee module</h2><br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The jumper on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
You can find the complete source file on [https://repos.hevs.ch/svn/FET_Inf/arduino/xbee/repeater/repeater.ino FET_Inf/arduino/xbee/repeater/repeater.ino].</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-04T11:29:04Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
<H1>Intel Galileo</H1><br />
<h2>Bugs on transfer</h2><br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
<p>When programming the target, it can happen many errors :</p><br />
<br />
<h4>[...] Retry 0: Got TIMEOUT </h4> <br />
<h4>/dev/ttySxx: Permission denied</h4> <br />
<p>Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.</p><br />
<h4>/dev/ttySxx: No such file or directory </h4> <br />
<p>The port is dead for this session : use an another port COM on computer or reboot Windows.</p><br />
<h4>Unrecognized device (on "Devices and Printer")</h4> <br />
<p>Remove the USB cable from the board and reboot it by removing the power supply. Verify that the usb led turn on. After a long time, the computer should detect the board.</p><br />
<br />
<h2>XBee module</h2><br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software. This mean 2 things :<br />
<ol><br />
<li>The jumper on the XBee shield must stay on <i>XBEE</i> position.</li><br />
<li>If you want to configure the XBee directly with the [http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities X-CTU] tool from digi, you need to redirect all frames from usb to Serial1 and conversely. The code below on the <b>loop()</b> function make that :<br />
</ol><br />
if (Serial.available() > 0) {<br />
Serial1.write(Serial.read());<br />
}<br />
if (Serial1.available() > 0) {<br />
Serial.write(Serial1.read());<br />
}<br />
The complete source file exists on FET_Inf/arduino/xbee/xbee_repeater.ino [https://repos.hevs.ch/svn/FET_Inf/exams/end1stSemester/201402_end1stSem-sol.docx here].</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-04T08:19:31Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
<H1>Intel Galileo</H1><br />
<h2>Bugs on transfer</h2><br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
<p>When programming the target, it can happen many errors :</p><br />
<br />
<h4>[...] Retry 0: Got TIMEOUT </h4> <br />
<h4>/dev/ttySxx: Permission denied</h4> <br />
<p>Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.</p><br />
<h4>/dev/ttySxx: No such file or directory </h4> <br />
<p>The port is dead for this session : use an another port COM on computer or reboot Windows.</p><br />
<h4>Unrecognized device (on "Devices and Printer")</h4> <br />
<p>Remove the USB cable from the board and reboot it by removing the power supply. Verify that After a long time, the normally </p><br />
<br />
<h2>XBee module</h2><br />
The XBee shield is only connected to the pins <i>0->RX</i> and <i>1<-TX</i> which is called <b>Serial1</b> on software.</div>Woahttps://wiki.hevs.ch/uit/index.php5/Hardware/GalileoHardware/Galileo2014-04-01T12:54:17Z<p>Woa: </p>
<hr />
<div>{{private}}<br />
{{TOC right}}<br />
<br />
<H1>Intel Galileo</H1><br />
<h1>Bugs on transfer</h1><br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
<p>When programming the target, it can happen many errors :</p><br />
<br />
<h4>[...] Retry 0: Got TIMEOUT </h4> <br />
<h4>/dev/ttySxx: Permission denied</h4> <br />
<p>Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.</p><br />
<h4>/dev/ttySxx: No such file or directory </h4> <br />
<p>The port is dead for this session : use an another port COM on computer or reboot Windows.</p><br />
<h4>Unrecognized device (on "Devices and Printer")</h4> <br />
<p>Remove the USB cable from the board and reboot it by removing the power supply. Verify that After a long time, the normally </p></div>Woahttps://wiki.hevs.ch/uit/index.php5/No_AccessNo Access2014-04-01T12:53:15Z<p>Woa: </p>
<hr />
<div><br />
<table><br />
<td> [[File:lock_close.png]]</td><br />
<td>'''Access to this page is denied for you!'''<br />
If you want to access this page you can:<br />
* [[Special:UserLogin|Log in]] with your Certified Novell Account<br />
* Ask the [[Help:Guidelines#Maintainer|Maintainer]] for permission</td><br />
</table></div>Woahttps://wiki.hevs.ch/uit/index.php5/No_AccessNo Access2014-04-01T12:52:34Z<p>Woa: Undo revision 3186 by Woa (talk)</p>
<hr />
<div><br />
<table><br />
<td> [[File:lock_close.png]]</td><br />
<td>'''Access to this page is denied for you!'''<br />
If you want to access this page you can:<br />
* [[Special:UserLogin|Log in]] with your Certified Novell Account<br />
* Ask the [[Help:Guidelines#Maintainer|Maintainer]] for permission</td><br />
</table><br />
<br />
<h1>Bugs on transfer</h1><br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
<p>When programming the target, it can happen many errors without apparent reason :</p><br />
<br />
<h4>[...] Retry 0: Got TIMEOUT </h4> <br />
<h4>[...] permission denied </h4> <br />
<h4>/dev/ttySxx: No such file or directory </h4> <br />
<p>The port is dead for this session : use an another COM port on computer or reboot Windows.</p><br />
<h4>Unrecognized device (on "Devices and Printer")</h4> <br />
<p>Remove the USB cable from the board and reboot it by removing the power supply. Verify that After a long time, the normally </p></div>Woahttps://wiki.hevs.ch/uit/index.php5/No_AccessNo Access2014-04-01T07:04:30Z<p>Woa: </p>
<hr />
<div><br />
<table><br />
<td> [[File:lock_close.png]]</td><br />
<td>'''Access to this page is denied for you!'''<br />
If you want to access this page you can:<br />
* [[Special:UserLogin|Log in]] with your Certified Novell Account<br />
* Ask the [[Help:Guidelines#Maintainer|Maintainer]] for permission</td><br />
</table><br />
<br />
<h1>Bugs on transfer</h1><br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
<p>When programming the target, it can happen many errors :</p><br />
<br />
<h4>[...] Retry 0: Got TIMEOUT </h4> <br />
<h4>/dev/ttySxx: Permission denied</h4> <br />
<p>Check if an another software is using the selected port COM and close it. If it doesn't work, use an another port COM on computer or reboot Windows.</p><br />
<h4>/dev/ttySxx: No such file or directory </h4> <br />
<p>The port is dead for this session : use an another port COM on computer or reboot Windows.</p><br />
<h4>Unrecognized device (on "Devices and Printer")</h4> <br />
<p>Remove the USB cable from the board and reboot it by removing the power supply. Verify that After a long time, the normally </p></div>Woahttps://wiki.hevs.ch/uit/index.php5/No_AccessNo Access2014-04-01T06:51:16Z<p>Woa: </p>
<hr />
<div><br />
<table><br />
<td> [[File:lock_close.png]]</td><br />
<td>'''Access to this page is denied for you!'''<br />
If you want to access this page you can:<br />
* [[Special:UserLogin|Log in]] with your Certified Novell Account<br />
* Ask the [[Help:Guidelines#Maintainer|Maintainer]] for permission</td><br />
</table><br />
<br />
<h1>Bugs on transfer</h1><br />
''OS : Windows 7''<br />
''Arduino IDE version : 1.5.3''<br />
''Target version :'' <br />
<p>When programming the target, it can happen many errors without apparent reason :</p><br />
<br />
<h4>[...] Retry 0: Got TIMEOUT </h4> <br />
<h4>[...] permission denied </h4> <br />
<h4>/dev/ttySxx: No such file or directory </h4> <br />
<p>The port is dead for this session : use an another COM port on computer or reboot Windows.</p><br />
<h4>Unrecognized device (on "Devices and Printer")</h4> <br />
<p>Remove the USB cable from the board and reboot it by removing the power supply. Verify that After a long time, the normally </p></div>Woa