Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.
1
vote
Accepted
How to connect an Arduino Uno with an ESP-01 to the Arduino IoT cloud?
Arduino IoT Cloud doesn't support Arduino Uno, but it does support esp8266.
You have to do the communication with the IoT Cloud from a ESP-01 sketch with esp8266 Arduino Core. Then you can pass the va …
1
vote
ESP8266 - server.write() doesn't work
In esp8266 Arduino before version 3, write was not implemented in WiFiServer.
In version 3 WiFiServer doesn't have write, but class ArduinoWiFiServer implements the print-to-all-clients functionality. …
0
votes
How to connect a NRF24L01 to a Wemos D1 R2
Select Wemos D1 R2/mini in Tools menu in IDE. Then you can use the Dx names of the pins. Don't put them in quotes.
Since D8 is CS pin at the Uno pin 10 location, you can't use it as CE. And because es …
2
votes
Where does this sketch have Undefined Behavior?
With some USB to TTL Serial chips it is a problem to start the upload if there is too much input from the MCU on the Serial side. In this case it is the Holtek UART Bridge which is not common for Ardu …
2
votes
How to upload code to Arduino without a laptop
One good way to update Uno/Nano/Mini without connecting it to a computer is to use SD bootloader. SD bootloader reads at boot the bin file with the update from the attached SD card and copies it to fl …
1
vote
Accepted
Library files multiple users
Arduino IDE can use libraries only from 3 locations.
libraries folder in sketchbook folder
libraries folder of selected board's platform
libraries folder in IDE installation folder (only IDE 1, not I …
0
votes
Is there a way to strip a library from all unused parts and defines, automatically?
The -E command for gcc generates preprocessed C and CPP source.
I didn't find a way to integrate it into the Arduino build process. Only thing I could do was edit platform.txt and change the compile c …
2
votes
Arduino + ESP8266 to send MQTT messages
I didn't use MQTT yet so I didn't try any of the following options. I only know they exist.
AT firmware version 2 has a set of AT commands for MQTT. But development of AT 2 for esp8266 was ended with …
1
vote
LED blink patterns with multiple LEDs with millis() not using Delay()
This is one of the effects for 3 (sets) of LEDs from my light alarm clock sketch:
void cycleEffect() {
static unsigned long previousMillis;
static uint8_t cycleCounter;
if (millis() - previous …
1
vote
Accepted
How to do multiple serial.read()
While your way to read the input from user is sub-optimal, to make it work you have to read the new line characters Serial Monitor sends (if line ending are selected in the drop down box).
The new lin …
1
vote
Playing Melody with Tone() without using delay()
this is a minimal modification of the basic Arduino toneMelody example to a non-blocking version
#include "pitches.h"
// notes in the melody:
int melody[] = {
NOTE_C4, NOTE_G3, NOTE_G3, NOTE_A3, NO …
0
votes
Can I flash hoodloader2 or HEX files on Arduino Simulators?
Only Arduino boards with ATmega16u2 as USB adapter can use Hoodloader. So not even all Uno clones can use it.
I doubt the simulator is so precise that it would simulate the second MCU on Uno to allow …
3
votes
Can I use Data Logger Shield with Arduino Sensor shield V5.0?
The 'data logging' shield by Adafruit and Deek Robot has two devices.
First device is the SD card which uses SPI bus. Every SPI device on the SPI bus has to have a select pin CS. On this shield the SD …
0
votes
Using ESP8266 to program Arduino by serial comm
If you use Linux, you can use a simple Telnet to Serial sketch in esp8266 to upload with avrdude to Uno over esp8266. Only on Linux can avrdude use telnet to do a serial upload.
For upload from IDE on …
0
votes
'D1' was not declared in this scope; did you mean 'y1'?
Only for some esp8266 dev boards Dx pins are defined. The constants map esp module pin numbers to board's pin numbers (for example on most of them D1 is io 4).
If you have a dev board with Dx labels o …