-->
Page 1 of 1

Using the Arduino IDE on a Raspberry Pi 2 B

PostPosted: Fri Sep 09, 2016 1:46 pm
by Falesh
First of all I am a linux newbie so I may well be doing something dumb. ;) This is what I did:

Code: Select allsudo apt-get install arduino

Opened a terminal at: /usr/share/arduino/hardware/

sudo mkdir esp8266com
cd esp8266com
sudo git clone https://github.com/esp8266/Arduino.git esp8266
cd esp8266/tools
sudo python get.py


After opening the Arduino IDE with a Doit NodeMcu Lua ESP8266 ESP-12E plugged in there are only options for the Arduino boards in tools>boards and nothing obvious in tools>programmer.

Any idea what I have done wrong?

Re: Using the Arduino IDE on a Raspberry Pi 2 B

PostPosted: Fri Sep 09, 2016 5:16 pm
by bbx10node
I suggest undoing what you have done so far.

Download IDE 1.6.11 for Linux ARM from arduino.cc. Get the Linux ARM (experimental version). This should work for raspi 3 as well but not for older Pi's. Also not for Pi Zero.

https://www.arduino.cc/en/Main/Software

Untar it on your home directory and run it.

Code: Select all$ cd
$ tar xf arduino-1.6.11-linuxarm.tar.gz
$ cd arduino-1.6.11
$ ./arduino


See the following to install the ESP8266 support package.

https://github.com/esp8266/arduino#inst ... ds-manager

Re: Using the Arduino IDE on a Raspberry Pi 2 B

PostPosted: Sat Sep 10, 2016 9:37 am
by Falesh
That worked perfectly. Thanks!