Arduino-er
293 FOLLOWERS
Arduino-er is an Arduino development blog from beginner to beginner.
Arduino-er
1y ago
It's posted in my another new blogspot, coXXect, to re-group all topic in one place.
- Install Ubuntu MATE 22.04 LTS on VirtualBox 6.1
- Install Arduino IDE 1.8.19 on Ubuntu MATE 22.04 LTS, and set permission ..read more
Arduino-er
2y ago
To get user input from Serial Monitor:
void setup() { Serial.begin(9600);}void loop() { if (Serial.available() > 0){ String stringIn = Serial.readString(); stringIn.toUpperCase(); Serial.println(stringIn ..read more
Arduino-er
2y ago
Currently (as on 2021-04-28), arduino-esp32 support ESP32-S2 and ESP32-C3 in development release 2.0.0-alpha1.
To install development release to Arduino IDE board manager:
Click in Arduino IDE Menu > File > Preferences
Enter development release link () in Additional Boards Manager URLs:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
Open board manager:
Tools > Board > Boards Manager
Search and select esp32 by Esoressif systems, install the latest version, currentlt 2.0.0-alpha1.
After then, ESP32C3/ESP32S2 Dev Modules are availa ..read more
Arduino-er
2y ago
This post show how to generate QR Code with Nano RP2040 Connect (Arduino Framework) using QRCode library by Richard Moore, also display on ST7735 SPI TFT, and finally adapt to WiFiNINA > AP_SimpleWebServer example to control onboard LED.
Library
Install QRCode library by Richard Moore in Arduino IDE's Libraries Manager.
And, "Adafruit ST7735 and ST7789 Library" and "Adafruit GFX Library" are needed to display with ST7735 SPI TFT.
Connection
The hardware SPI of Arduino Nano RP2040 Connect are:
- (CIPO/MISO) - D12
- (COPI/MOSI) - D11
- (SCK) - D13
- (CS/SS) - Any GP ..read more
Arduino-er
2y ago
Arduino IDE 2.0 (beta) is now available (refer to announcement in Arduino blog). It,s my first try to install Arduino IDE 2.0 beta (2.0.0-beta3) on Linux Mint 20.1, tested with VirtualBox 6.1/Windows 10.
Download Arduino IDE 2.0 beta
Visit https://www.arduino.cc/en/software, scroll download to download Arduino IDE 2.0 beta for Linux 64 bits (X86-64).
Run arduino-ide
Extract the downloaded file to a any folder you want. Run arduino-ide in Terminal
$ ./arduino-ide
Install board
In a fresh new installed Arduino IDE 2.0, no board is installed, you will be report with error:
Compilation error ..read more
Arduino-er
2y ago
The pins used for SPI (Serial Peripheral Interface) on the Nano RP2040 Connect are the:
(CIPO/MISO) - D12
(COPI/MOSI) - D11
(SCK) - D13
(CS/SS) - Any GPIO (except for A6/A7)
ref: https://docs.arduino.cc/tutorials/nano-rp2040-connect/rp2040-01-technical-reference
Please note that SCK on D13 is conflict with the onboard LED.
To get SPI pins programmatically:
ref: Nano RP2040 Connect pin out:
https://docs.arduino.cc/static/8b9e4e17c1e1afa836057c5ba87c27c9/2f891/pinout.png ..read more
Arduino-er
2y ago
Exercises run on Arduino Nano RP2040 Connect (in Arduino framework) work with 1.8" 128x160 ST7735 SPI TFT/SD Card Module, to:
- simple display something on ST7735 SPI TFT
- Display files in SD Card, and read txt file from SD Card.
- Read bmp from SD Card and display on ST7735 SPI TFT
- Try example of Adafruit_ImageReader
- Simplified version display bitmap from SD and display on TFT using Adafruit_ImageReader.
In the following exercise Hardware SPI is used for ST7735 and SD Card SPI interface. refer to last post, SPI pins in Arduino Nano RP2040 Connect is:
- MISO - D12 ..read more
Arduino-er
2y ago
ESP32 BLE_notify example create a BLE server that, once we receive a connection, will send periodic notifications.
In ESP32 side, load
Examples > ESP32 BLE Arduino > BLE_notify
Tested on ESP32-DevKitC V4 in my case.
I implemented a simple Python code run on Raspberry Pi, connect to ESP32 and handle notification.
BLE_notify.ino
/* Video: https://www.youtube.com/watch?v=oCMOYS71NIU Based on Neil Kolban example for IDF: https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/BLE%20Tests/SampleNotify.cpp Ported to Arduino ESP32 by Evandro Copercini updated b ..read more
Arduino-er
2y ago
This video show how to install "Adafruit ST7735 and ST7789 Library" on Arduino IDE, tested with Arduino Nano RP2040 Connect to display on 1.54 inch 240x240 and 2 inch 240x320 ST7789 SPI LCD, using hardware SPI and software SPI.
Connection:
Connection between ST7789 SPI to Arduino Nano RP2040 Connect,using HARDWARE SPI.ST7789 SPI Arduino Nano RP2040 ConnectGND GNDVCC 3V3SCL 13SDA 11RES 9DC 8CS 10BLK 3V3
Connection between ST7789 SPI to Arduino Nano RP2040 Connect,using SOFTWARE SPI.ST778 ..read more
Arduino-er
2y ago
To open two Arduino IDEs, with independent board and Serial Monitor. Tested on Arduino IDE 1.8 in Raspberry Pi OS, Windows 10 and Ubuntu 21.10.
- Open new Arduino IDE from system, or
- from File Explorer ..read more