Skip to main content

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.

Filter by
Sorted by
Tagged with
17 votes
2 answers
1k views

What is a good way for an IoT device to receive its network settings?

I'm in the process of building an IoT device using ESP8266. The device will eventually contain a couple of motors, and I would like to control these motors using MQTT. I would like to make the device ...
Mikael Lindqvist's user avatar
10 votes
2 answers
1k views

Remote Firmware Update Arduino Nano

I am working on Arduino Nano (32Kb flash memory of which 2Kb used by boot loader, 2Kb SRAM, 1Kb EEPROM). The micro-controller takes input from an electrical device via RS485 module and posts the ...
Ashish K's user avatar
  • 233
10 votes
2 answers
687 views

AWS IoT implementation on a low end controller like Atmega328, nrf51822?

I have been using AWS IoT implemented in a RPi for a while. I was wondering if I could use a controller like Atmega328 or some NRF based controllers or STM32 to publish and subscribe to AWS IoT MQTT ...
A.Rajib Kumar Gupta's user avatar
10 votes
1 answer
2k views

IOTA on Arduino or Raspberry Pi or Similar Board?

I'm new to the world of IoT, I don't even have an Arduino or similar board yet... but I am very interested, especially with cryptocurrency such as IOTA making such things potentially profitable. Sadly,...
Serj Sagan's user avatar
9 votes
1 answer
862 views

IoT Setup: Bluetooth Sensor -> IoT Gateway -> IoT Platform

I want to get started implementing IoT stuff. I do not have experience with it so far, but am learning fast. I am imagining my setup as follows: Proposed Setup Different wireless sensors (...
HideAndSeek's user avatar
8 votes
1 answer
277 views

Cannnot send from Arduino to Raspberry pi via LoRa

I am trying to send messages from my Arduino to my Raspberry pi. But I don't understand why the pi isn't receiving the messages. On the Arduino side I'm using an Arduino UNO with a Dragino Lora/GPS ...
metichi's user avatar
  • 241
8 votes
2 answers
359 views

Make Embedded Board NTP Server for Arduino boards in the subnet

I have an Embedded Board where the distribution on it is a custom Linux Distribution based on Yocto. I have added ntp and via ntpd I will sync time with the common ntp pools either via UMTS 3G dongle ...
Shan-Desai's user avatar
  • 1,558
8 votes
1 answer
935 views

Commercial Arduino Reprogrammable Smart Plug

Has anyone reprogrammed a commercially available smart plug, such as the Etekcity Voltson? Are there plugs available with open source Wi-Fi chips in them that perform better than an ESP8266? I’m ...
Jesse's user avatar
  • 191
8 votes
1 answer
455 views

Control arduino via MQTT

I working with several arduino board and now I need to control them via a web interface. Via web interface I want to activate GPIO. I have two ideas: Each arduino acts as web server and I can ...
Federico's user avatar
  • 183
8 votes
1 answer
499 views

WiFi Mesh on Windows IoT core

I have a project where I need to create a Wi-Fi mesh network of nodes sharing a distributed mesh database that requires relatively quick search access on each node. I was initially thinking of running ...
Gineer's user avatar
  • 409
8 votes
1 answer
5k views

ESP32-CAM Camera init failure, SCCB write failure

I can successfully flash my ESP32-CAM to do the blink demo but when I try to run the code below I get the following error (b/t the asterisks/bar.) It seems the "Serial Camera Control Bus" (...
Jerrad's user avatar
  • 81
8 votes
1 answer
2k views

Connecting air conditioner to Apple's HomeKit

I'm planning to connect my air conditioner to Apple's HomeKit app. At first I searched for ways to do it, but I couldn't find a solution that would work for that project. As I've found, Apple ...
Rafał M's user avatar
  • 181
7 votes
7 answers
1k views

How to detect desk occupancy in office

I'm working on a POC to try and find desk occupancy in an office. The aim is to identify which desk is occupied and how many are free and where are the free ones. Also I would like to identify who is ...
PNDev's user avatar
  • 181
7 votes
3 answers
971 views

How can I push data from car-mounted microcontrollers to a remote server?

Firstly, I'm a newbie in the IoT field. Hardware parts are quite new to me. I want to make a small project. That is creating a box attached into a car that can keep track its location and temperature....
juggernaut156's user avatar
7 votes
1 answer
1k views

How can I connect a local Arduino to my Google Assistant without relying on cloud services?

I want to make a product, which consists of an Arduino connected to my local Blynk server (an application which allows me to control my Arduino using my smartphone). I want it to connected to my ...
Sanjay .S Kumar's user avatar
6 votes
2 answers
2k views

Syntax for using HTTP GET with ampersand and float

I am currently working on a wireless gardening project and quite new to this field. My sht10 sensor is connected to Arduino Uno and GSM AT commands is used for wireless communication. I am using ...
knowledgeispower's user avatar
6 votes
1 answer
224 views

Could not ping ESP8266 Wifi module connected to an Arduino

I have been working with a water flow counter which sends data over wifi. I'm using an ESP8266 wifi module. Everything is correctly connected and I've gotten to the point where it's correctly ...
Alberto Elorduy's user avatar
6 votes
1 answer
131 views

Error: 'NN_DIGIT' does not name a type, while using google-cloud-iot-arduino

I recently started learning IoT with ESP8266MOD (Arduino IDE). I want to start working with Google Cloud IoT, but confused about how to use google-cloud-iot-arduino. I tried its Esp8266-http example, ...
Praveen Soni's user avatar
6 votes
1 answer
4k views

Using Arduino LoRa with RFM9X chipset: How to connect the RMF9x NSS pin?

As I am searching on libraries that can be used with Lora and arduino I came across on this one: https://github.com/sandeepmistry/arduino-LoRa Also the RFM9x has the following pinout: The data ...
Dimitrios Desyllas's user avatar
6 votes
1 answer
178 views

How can I write bytes to BH1750 via line buffer IC (ESP32)?

I want to switch data reading from multiple sensors by line buffer IC (74F244). My problem is I can't read anything from sensor when I connect via IC but can when connect sensor to ESP32 directly. I ...
3ORZ's user avatar
  • 61
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 ...
Sam H.'s user avatar
  • 69
5 votes
2 answers
582 views

Read and Send Orientation Sensor Values from Android to Arduino

I'm trying to read orientation sensor values from android and send them to an Arduino. The android will send valueX, valueY and valueZ in bytes. Each value will end with x,y and z character at end of ...
fadfadhli's user avatar
5 votes
2 answers
1k views

What is the library to be used to implement CoAP in ESP8266?

I am using Arduino IDE to program my ESP8266. I would like to send data from one ESP8266 module to other. So I would like to use CoAP for this communication. Is there any standard or good library to ...
a-c-sreedhar-reddy's user avatar
5 votes
2 answers
384 views

What is the best sensor for the measurement of Carbon-dioxide?

I need to measure the amount of carbon-dioxide in parts per million (ppm) within a closed environment. Currently, I am using a MQ-135 gas sensor which has some sort of concentration on Carbon-dioxide. ...
Abdul Alim Shakir's user avatar
5 votes
2 answers
4k views

Can I use MatLab code in esp32?

We've some method to run the MatLab code in esp8266 microcontroller. We can manipulate Arduino pins using Simulink in MatLab. Can we do the same with an esp32 microcontroller as their code can be ...
Arshdeep Singh's user avatar
5 votes
1 answer
153 views

Efficient Server- and Protocol structure for raspberry, smartphone and 3rd-party-device network

I am new to this forum and this field. I am looking forward to good criticism and tutorials/links/instructing suggestions to build a nice system with as less effort as possible while achieving all ...
ReneL's user avatar
  • 59
4 votes
2 answers
142 views

IoT app and software [closed]

I'm new to IoT and this is my first project, I didn't find the answer to my question anywhere. Is there an app for Android and Windows software that can control an Arduino device from different ...
Anya's user avatar
  • 49
4 votes
3 answers
4k views

MQTT - keepAlive using Arduino

I'm using MQTT broker for my IOT devicess, mostly ESP8266 ( some are NodeMCU, some Wemos mini, and some are Sonoff) , running an Arduino code, some time ( about a year ). MQTT broker is running on a ...
guyd's user avatar
  • 889
4 votes
1 answer
265 views

How to get stepper motor to rotate smoothly and continuously?

I'm trying to build my own motorised roller blinds based off this project. It uses the Stepper_28BYJ_48 library. The problem I'm having is that the motor is either very slow and jittery, going forward ...
jampez77's user avatar
  • 351
4 votes
1 answer
103 views

For my "switch on light with clap project " will sound sensors detect other sounds other than a clap and switch on the light?

I am just a high school student who is trying to self-learn for my IoT home automation projects.Please excuse me if this question sound silly to you.This time I am working on this "clap to switch on ...
whae's user avatar
  • 143
4 votes
1 answer
506 views

Fs1000a generic cheap RF transmitter compatibility with Hc12 receiver?

I have build a door sensor where Arduino uno reads reed switch and transmits RF 433MHz signal to other Arduino uno connected RF receiver. I am using rcswitch library and cheap ask/ook transmitter/ ...
suresh hariramani's user avatar
4 votes
2 answers
121 views

Building a special effects rig

I'm not sure if this is the best place to ask but I will give it a try. I build mechanisms that are used in commercials, tv shows, window displays, multimedia art etc. They generally involve ...
Mike C's user avatar
  • 41
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, ...
Felix's user avatar
  • 41
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, ...
Richard Adams's user avatar
3 votes
1 answer
945 views

RFM69W and LoraWan

I'm trying to figure out how I will make an RFM69W LoRa Module work with The Things Network, so I looked over many tutorials, code samples, and libraries. The one I find closest to LoRaWan support is: ...
Dimitrios Desyllas's user avatar
3 votes
1 answer
272 views

How do IOT platforms like Blynk, ThingSpeak etc. communicate with hardware (e.g. ESP8266) without port forwarding?

I use port forwarding if I want to access my local server NodeMCU from internet. However if I use IOT platforms like Blynk, ThingSpeak... then I dont need to care about port forwarding. We can access ...
Angom's user avatar
  • 131
3 votes
1 answer
3k views

Distance calculation based on RSSI value

I want to calculate the RSSI value of a Bluetooth module (HC05) and from the derived RSSI value I want to calculate the distance of the surrounding devices. I'm using an Arduino Uno r3 as a controller ...
Arockia Jegan's user avatar
3 votes
3 answers
243 views

Are there Arduino boards that can be used as a small web server, supporting HTTPS?

I would like to control a relay from over the internet. I was thinking of making this using an Arduino and some wifi/ethernet shield. Searching the internet, I see a lot of shields and modules that ...
user2190492's user avatar
3 votes
1 answer
125 views

Smart gate - where to start?

I have this idea of writing an app/something to make the gate, that we have in front of our house, smart. But I just don't know where to start. I assume that the gate uses IR because we have remotes ...
G Buis's user avatar
  • 133
3 votes
1 answer
944 views

How to speed up first Mosquitto message?

When sending MQTT messages, first message arrives within 2 seconds and subsequent messages sent within less than 20 secs from first message, arrive in about 0.5 second. I would like to speed up those “...
Nino's user avatar
  • 131
3 votes
1 answer
81 views

How to store non-volatile data (an ID) inside a passive physical object?

I'm starting a project that evolve some kind of multiple small physical IoT objects that can be plugged dynamically to a wood board and trigger some leds. My question is so simple that I'm afraid of ...
Viot Camille's user avatar
3 votes
1 answer
865 views

MQTT Library for Arduino using GSM

I am developing a vehicle tracking device.I want to send data to server through MQTT from my sim808 GSM module.But I couldn't find any good library of MQTT for Arduino. There are so much resources for ...
Iqbal Hossain's user avatar
3 votes
1 answer
94 views

How to collect data from AM 2302 temperature sensors over long wires?

I am trying to monitor the grain temperature in 4 roughly 25ft grain bins. I currently am monitoring temperature in one 15ft bin with the AM 2302 sensor, and it appears to be working. I just made a ...
Kody Rogers's user avatar
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 ...
Giorgi Datunaishvili's user avatar
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....
Kelly's user avatar
  • 31
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 ...
Learner's user avatar
  • 131
3 votes
0 answers
107 views

run arduino code without a usb cable connected to a computer [closed]

I am using sim7000E with arduino uno and i want to be able to run it without a computer. I tried to connect it only with the power supply with the correct power and again it doesn't run my code. Does ...
user8937's user avatar
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 ...
BryceSoker's user avatar
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 ...
BryceSoker's user avatar
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. ...
guyd's user avatar
  • 889