Arduino: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Created page with 'Installing Arduino IDE on OLPC OS. == 12.1.0 == Switch to the GNOME desktop. === Packages === sudo yum install -y arduino Roughly 43 MB of packages are downloaded and insta…')
 
No edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Installing Arduino IDE on OLPC OS.
Installing the Arduino IDE on OLPC OS.


* [[Arduino/1.0.5|Arduino 1.0.5 on OLPC OS 13.2.8]],
== 12.1.0 ==
* [[Arduino/1.8.5|Arduino 1.8.5 on OLPC OS 13.2.8]].


== Choose a larger font ==
Switch to the GNOME desktop.


The default font is very small on the XO laptop, to fix it:
=== Packages ===

sudo yum install -y arduino

Roughly 43 MB of packages are downloaded and installed.

=== Fix Access ===

The IDE requires that the user be a member of the ''lock'' group. See also <trac>11972</trac>. This also restarts GNOME.

sudo groupmems --group lock --add olpc && \
sudo systemctl restart prefdm.service

=== Choose a larger font ===

The default font is small.


* Applications -> Programming -> Arduino,
* Applications -> Programming -> Arduino,
* File -> Preferences,
* File -> Preferences,
* Editor font size to 18, OK.
* Editor font size to 18, OK,
* Quit and restart Arduino.

==See also==
* [[Arduino/Firmata]]
* [[XO Stick]]
* [[XOrduino]]
* [[XO_Stick/Bootloader]]
* [[XOrduino/bootloader]]
* [[ProtoSnap_Contributors_Guide|How to use TurtleBots with the SparkFun ProtoSnap - Pro Mini]]
* [[Serial adapters/Arduino|How to use an Arduino as a Serial Adapter]]


== Testing ==
== References ==


* http://arduino.cc/playground/Linux/Fedora
* start Applications -> Programming -> Arduino,
* http://blog.makezine.com/2007/12/21/howto-run-arduino-on-the-xo-la/
* connect Arduino board,
* http://tonyforster.blogspot.com.au/2012/01/arduino-and-xo-laptop.html
* choose Tools -> Board entry, e.g. Arduino Uno,
* http://lists.laptop.org/pipermail/devel/2012-January/034062.html
* choose Tools -> Serial Port entry, e.g. /dev/ttyACM0,
* http://tonyforster.blogspot.com.au/2010/10/arduino-fork-of-turtle-art.html
* choose File -> Examples -> Basics -> Blink,
* http://wiki.sugarlabs.org/go/Activities/TurtleArt
* choose Upload to send the program to the Arduino board.
* http://firmata.org/
* http://arduino.cc/playground/Interfacing/Firmata
* http://arduino.cc/en/Reference/Firmata

Latest revision as of 08:57, 11 October 2017