Friday, April 3, 2020

Node MCU Arduino IDE in Ubantu

Install Arduino IDE on Ubuntu

1. Download Arduino linuxIDE from https://www.arduino.cc/en/main/software
2. Extract it (tar xvf FILENAME)and Runit (./install.sh)

USB Serial Port Setup

In order to upload code an arduino board over USB, you need to add your user to the `dailout` group and connect the snap to the `raw-usb` socket. Open a terminal window, run the following commands an *reboot* your computer.

> `sudo usermod -a -G dialout $USER`

> `sudo snap connect arduino:raw-usb`

Now restart your computer and you're good to go!

NodeMCU on Arduino IDE

1. Open IDE
File>Preferances>AdditionalBoardManagerUrls>
Enter==>http://arduino.esp8266.com/stable/package_esp8266com_index.json
2. Tools>Boards>Board Manager>
select ESP2266 then update


Reference 1: https://ubuntu.com/tutorials/install-the-arduino-ide#2-installing-via-a-tarball
Reference 2: https://www.instructables.com/id/Quick-Start-to-Nodemcu-ESP8266-on-Arduino-IDE/
http://arduino.esp8266.com/stable/package_esp8266com_index.json

No comments:

Search This Blog