Category "arduino"

Auto increment build number using PlatformIO

I have several micro controller projects for home automation. Each of my nodes have a version number which is manually set in the code. This version number is r

External interrupt for AVR is not working

I would like to learn how interrupt works with AVR. I have built up a simple button and LED circuit. It works with the interrupt Arduino library, but does not w

After wiping out EEPROM with NULL, it later shows NBSP(255) instead of NULL(0)

So, I am a curious person. And been tinkling with NVS in ESP32 WROOM 32D for storage. What I did was simply write a formatting code to wipeout a few addresses i

Why is VS Code throwing this error (ARDUINO)?

Okay, so I'm trying to code & upload to an Arduino with VS Code (Visual Studio Code). When I try to upload or verify my Arduino code, this error pops up: I

How do i send data from my esp8266 light sensor to blynk?

I am trying to know whether the lights have tripped using a light sensor to detect light intensity. However, i do not know how to upload my data onto blynk, as

Arduino: getting filenames using SdFat

I have used SdFat before, but it seems to have changed and I can't find documentation that I understand, and fewer examples... I have an Arduino project in whic

How can I connect Arduino nano 33 IOT and PN532 module?

I am using the example code of readMifare This is my code ` #include <Wire.h> #include <SPI.h> #include <Adafruit_PN532.h> // If using the b

ESP32 - SoftwareSerial Library

I have a ESP32 and I need to work with more serial ports, but I can't be using the Software Serial Library into ESP32, because the Arduino IDE don't recognize t

a TCP client communicating with a server set on ESP8266-01

I'm setting up a TCP/IP communication between an android app and an ESP8266 module connected to Arduino uno. I'm using AT commands to set up the server as follo

how can I store the uid of my rfid card in a string?

I am a big noob at C++ and arduino, but that doesn't stop me from attempting cool projects. I have an arduino mega 2560 v3. I am tying to make a simple rfid sca

How can I get this code to make LEDs linked to my arduino flash at either the value the dial outputs, or no more than a determined value?

Before I get started I want to make it clear I am still a beginner in both C++ and Arduino electronics, so the answer may be painfully obvious to someone with e

SIM800l V2 Keeps Blinking Every Second

I'm desperately looking for a solution for my SIM800l v2. The network LED just keeps blinking every second. It does not restart but it keeps blinking and not pi

Arduino RFID (MFRC522) problem - stops reading tags after some time

For some time I wanted to have an Arduino controlled light switcher for outdoors and few weeks ago I created it, but I have problems with it. I needed to have a

Not able to plot voltages graph (v1 vs v2) in a website using esp32 and arduino

I have started learning to build some good websites. In one of my projects, I wanted to display two voltages (named "POTvalue1" & "POTvalue2") on a website.

How do I solve error '<=' not supported between instances of 'float' and 'NoneType' on pyFirmata?

I am making a code for an automatic watering system for my plants using pyFirmata on Arduino but I always get this error when I try to run it Traceback (most re

How to post image using Arduino HTTPClient

I am using arduino HTTPClient to do the post request in ESP32. Can anyone help me with the part where I will be able to post an image file along with some data.

Unable to connect NodeMCU with Firebase as console shows setting /number failed: each time

Unable to connect NodeMCU with Firebase as console shows setting /number failed: each time No updation on firebase as well. or should I change the cloud se

Cannot clone nRF52840 to reproduce low deep sleep current

I currently have firmware that can reach an average deep sleep current of ~130uA. I can reach this level reproducibly on one of the boards I have. successful de

Arduino servo code resetting to positon 0

(excuse my english) Hi. I'm a beginner at coding who started trying things in Arduino and c++ (because of Arduino). Recently I just learned that you could write

How to use FM Radio on SIM808 EVB-V3.2.2

I Just bought the SIM808 GSM/GPRS/GPS shield with an arduino Mega 2560. I have written a simple sketch shown below which I'm using to execute AT commands on my