Arduino: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 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 ===

In Terminal:

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.

In Terminal:

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.

== Testing ==


==See also==
* start Applications -> Programming -> Arduino,
* connect Arduino board,
* [[Arduino/Firmata]]
* [[XO Stick]]
* choose Tools -> Board entry, e.g. Arduino Uno,
* [[XOrduino]]
* choose Tools -> Serial Port entry, e.g. /dev/ttyACM0,
* [[XO_Stick/Bootloader]]
* choose File -> Examples -> Basics -> Blink,
* [[XOrduino/bootloader]]
* choose Upload to send the program to the Arduino board,
* [[ProtoSnap_Contributors_Guide|How to use TurtleBots with the SparkFun ProtoSnap - Pro Mini]]
* see LED flashing.
* [[Serial adapters/Arduino|How to use an Arduino as a Serial Adapter]]


== References ==
== References ==
Line 47: Line 29:
* http://lists.laptop.org/pipermail/devel/2012-January/034062.html
* http://lists.laptop.org/pipermail/devel/2012-January/034062.html
* http://tonyforster.blogspot.com.au/2010/10/arduino-fork-of-turtle-art.html
* http://tonyforster.blogspot.com.au/2010/10/arduino-fork-of-turtle-art.html
* http://wiki.sugarlabs.org/go/Activities/TurtleArt
* http://firmata.org/
* http://arduino.cc/playground/Interfacing/Firmata
* http://arduino.cc/en/Reference/Firmata

Latest revision as of 08:57, 11 October 2017