Questions tagged [arduino]
For questions related to the IoT applications that use Arduino. If question is about software or hardware issue with Arduino, consider whether asking it at Arduino Stack Exchange would be more appropriate.
31 questions with no upvoted or accepted answers
6
votes
0
answers
393
views
Creating COM serial port between external device (Joule/Arduino/etc.) and PC over Bluetooth w/ linux sdptool & rfcomm (OR another method)
This article is not device specific, but rather is focused on using sdptool and rfcomm to setup a serial com port connection over bluetooth. If you have another method instead of these two Linux ...
4
votes
2
answers
191
views
Arduino LMIC: GPS Logger - old coordinates stuck in queue
I'm building a LoRaWAN GPS Logger using the Arduino LMIC Library. I've got a running solution which reads GPS coordinates and transmits them via LoRaWAN to TTN. For activation, I'm using OTAA. On TTN, ...
4
votes
0
answers
296
views
Sending temperature sensor's data to Kaa-IoT platform via 6LoWPAN
I want to set up some sensors in different places, which are wire connected to my development board, Raspberry PI or Arduino.
I'm going to send the data wirelessly but without using WiFi protocol, ...
3
votes
0
answers
44
views
How to use multiple characteristics when implementing Bluetooth Low Energy on HM-10?
I am implementing BLE with a HM-10 connected to an arduino UNO.
I have encountered an issue where attempting to add another characteristic results in the overwrite of the first one, leaving me with ...
3
votes
0
answers
57
views
Particle.io argon delay time as var
I have everything working wonderfully but I want to accomplish one more thing and I'm not sure how to go about it.
Part one to this question:
Under command=="loops" I have a delay() function....
3
votes
0
answers
605
views
ESP IDF Data backup to NVS when power goes off
I am using esp-IDF library and esp32 for smart lighting. I want to maintain the state of the lights when power goes off as it can be written somewhere in NVS.
Such implementation is available for ...
3
votes
0
answers
290
views
Arduino MKR 1300 LoRa library and RTC problem
I have a really weird problem with the Arduino MKR 1300 and the use of the RTCzero library. Simply put when I use both of them the data does not get sent and I have no idea why. The alarms when not ...
3
votes
0
answers
181
views
SCT-013-000 with Arduino MKR 1300
Has anyone tried to use this particular sensor (SCT-013-000) with that particular Arduino (MKR 1300)? Cause I keep getting different results when connecting Arduino UNO and then trying the MKR, both ...
3
votes
0
answers
164
views
Does MQTT inresponse can cause a reset due to network activity?
Setup description:
I have 8 ESP8266s running an Arduino code to control windows shades up and down using relays, local switches and MQTT for remote operation, which work OK for the past few weeks.
...
3
votes
0
answers
126
views
Is it possible to use both Lua and the Arduino IDE on the node-mcu?
I've been playing around with two node-mcu boards uploading Lua scripts via ESPlorer on one and uploading code built from C++ via the Arduino IDE.
I've come to a point where I have preference for Lua ...
2
votes
1
answer
3k
views
How to import libraries with ESP-IDF for visual studio code?
What I am trying to do
I have an ESP32-CAM, and I want to use Visual Studio Code, I already used the Arduino IDE at first, and it worked fine.
To work with the ESP32 on VS Code I installed the ...
2
votes
0
answers
58
views
Custom flashed Sonoff basic doesn't work when connected to main power
I flashed a sketch to a Sonoff basic switch R2 through Arduino IDE (with FTDI).
Flash is completed and Sonoff runs the sketch successfully.
The code is just a typical setup for making esp8266 a soft ...
2
votes
0
answers
880
views
How to send data to broker from arduino, sim808 using mqtt protocol
I want to send data from my Arduino ATmega2560, SIM808 using MQTT protocol.
By executing my code, successfully connected to broker but couldn't publish message.
#include "Arduino.h"
int led ...
2
votes
0
answers
1k
views
Internet of Things: ThingsBoard.io
I am in a middle of an IOT project. I have to design the dashboard. I am facing difficulties in setting up the dashboard. I am using thingsboard.io
I want to know how to send data from thingsboard ...
1
vote
0
answers
23
views
How to setup an alternative algorithm to ADR?
I've setup a simple LoRaWAN network with a Seeeduino node and an RHF2S001 gateway module using a Raspberry pi 3. I'm working on a project where I need to setup an alternative algorithm to ADR (...
1
vote
0
answers
468
views
Alternative for ESP23-WROOM-32D
A couple of months ago I designed a board with an ESP32-WROOM-32D (M113DH3200PS3Q0).
Now on the Espressif product selector page they say it's not recommended for new designs!
Questions:
What is the ...
1
vote
0
answers
41
views
Getting a custom SBC board developed to spec
I need to design a single-board computer to the following specs. Can anyone please suggest companies that could build this economically?
Two full-size (USB-A) USB 3 ports
A CPU fast enough to handle ...
1
vote
0
answers
138
views
Integrating STM32 device with smart lock via BLE
I am using a Particle Boron to integrate with a Smart lock but I am not being able to do it. I'm using Particle's BLE interface to connect to Bluetooth and start sending messages to the lock, and a ...
1
vote
0
answers
723
views
What are lower latency alternatives to using MQTT brokers with the ESP8266
I'm experimenting with the nodeMCU board attempting to proto type out an IoT project. My first iteration involved using an MQTT broker to send messages between my computer and the board. Due to the ...
1
vote
0
answers
26
views
Can there be a correlation between Emonlib current increase and RTC unsync on MKR 1300?
I'm having this weird issue where my data Send interval gets screwed up when the monitored current goes above 27A. Basically, it keeps adding several seconds to my interval, here's an example:
...
1
vote
2
answers
79
views
Where to find descriptions of the example ESP32 sketches in the Arduino IDE?
I chose this one at random
https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WebServer/examples/HelloServer/HelloServer.ino
but looked at the code of others & hope that there is ...
0
votes
0
answers
26
views
DS3231 set time compiling to wrong date and time
I am working on a project where I need to set the alarm on a DS3231 to wake an ESP32 at a specified time. In my workflow, I upload three scripts: one to set the time on the DS3231, one to set the ...
0
votes
0
answers
73
views
Using ESP32 as a web server and Arduino
This is my first project and I'm getting my way around this.
I wanted to make a simple project using Arduino creating a web server, in order to turn on and off the AC.
I think I made a mistake buying ...
0
votes
0
answers
214
views
What is the difference between a GATT Unit and a GATT Characteristic?
I am setting up an Arduino to collect temperature and pressure data, and I want to broadcast that data via bluetooth.
My question boils down to what allocated UUID is best for my characteristic, and I ...
0
votes
0
answers
56
views
TFT screen shield worked and quickly quit
I bought an Arduino Uno board and the Elegoo 2.8" TFT Shield. I plugged them together. It just worked. Examples from Elegoo including graphicstest and displaystring worked great. Then I tried ...
0
votes
0
answers
475
views
Can I upload 2 code files to a NodeMCU
I have a NodeMCU board. I uploaded blink example for that board and I need to add another example project from the IDE. What happens to the 1st code example or blink example when 2nd code uploaded. Is ...
0
votes
0
answers
1k
views
Circuit Playground Express not showing CIRCUITPY drive
I got a Circuit Playground Express to serve as an anti-slumper device. Several mini-USB cables were power-only, and I tested them with the Arduino IDE and C code until one worked.
I reset the board to ...
0
votes
0
answers
886
views
ESP32-CAM and I2C bus connection issue
I'm trying to add I2C sensors to my esp cam but it doesn't work in either way.
I followed some tutorials about it and have working code but scanning the bus shows no devices.
Here is the sketch:
#...
0
votes
0
answers
345
views
Send data from GSM module to cloud server like Firebase
I am trying to search for anything to send my sensor data from Arduino + GSM SIM900A to a cloud server, preferably Firebase. Does anyone know how can I achieve this operation to Firebase or any other ...
0
votes
0
answers
50
views
Mini weather station project not working
I have been trying to do this project for 2 weeks. The project is about mini weather station. It uses esp8266, DHT11 sensor,BMP180 sensor and FC 37 rain sensor. I have taken reference from the ...
0
votes
0
answers
39
views
Not getting data from nodemcu to the firebase
I've done almost everything to get the data from nodemcu but nothing happened.
I tried by changing the fingerprint.
I have also used project secret and copy it in FIREBASE_AUTH part.
I also ...