Intel Galileo: Difference between revisions
Jump to navigation
Jump to search
(→Books) |
|||
Line 66: | Line 66: | ||
* [[RobAIR]] |
* [[RobAIR]] |
||
* [[CannonBall de voitures autonomes]] |
* [[CannonBall de voitures autonomes]] |
||
==Boitiers== |
|||
* [http://www.thingiverse.com/search?q=intel+galileo&sa= Sur Thingiverse] (découpe laser, impression 3D). |
|||
==Books== |
==Books== |
Revision as of 07:27, 17 January 2014
Arduino-compatible board build on a x86 SoC by Intel.
http://arduino.cc/en/ArduinoCertified/IntelGalileo
Premiers sketches
- Blink OK
- AnalogReadSerial OK
- MonsterMotoShield OK
Notes de mise en route
"Quick Start Guide", Section 11
If you want to use WiFi, you must follow these steps. The WiFi driver is not present in the Linux image in SPI flash because it is too large. The Linux SD image also includes ALSA, V4L2, python, SSH, node.js, and openCV.
Linux Python script from Arduino sketch
/* This example uses Linux system calls to create a python script which writes number 0-9 to a file, log.txt, one number per second. Then execute the python script in the background, and regularly read the contents of the logfile in the sketch while the python script is updating it. */ char output[3]; void setup() { Serial.begin(115200); system("echo '#!/usr/bin/python' > myScript.py"); system("echo 'import time' >> myScript.py"); system("echo 'for i in range(10):' >> myScript.py"); system("echo ' with open(\"log.txt\", \"w\") as fh:' >> myScript.py"); system("echo ' fh.write(\"{0}\".format(i))' >> myScript.py"); system("echo ' time.sleep(1)' >> myScript.py"); system("chmod a+x myScript.py"); system("./myScript.py &"); } void loop() { FILE *fp; fp = fopen("log.txt", "r"); fgets(output, 2, fp); fclose(fp); Serial.println(output); delay(1000); }
Projects @ AIR
Boitiers
- Sur Thingiverse (découpe laser, impression 3D).
Books
- “Getting Started with Intel Galileo” by Matt Richardson (coming soon ! Jan 22, 2014)