Hot answers tagged

14 votes
Accepted

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

What you describe is actually a quite common (the most common?) way to solve the problem of integrating WiFi IoT devices into your local LAN. For example, from my experience Amazon Echo Devices are ...
user avatar
  • 570
12 votes
Accepted

Remote Firmware Update Arduino Nano

Short answer: It's possible. Long answer: It's complicated. That's why so many many very bad implementations are out there. At the very least you have two steps in any remote / over-the-air update ...
user avatar
  • 8,095
7 votes

Device for a motion tracker with BLE/Wi-Fi

Building your own device for this use case really is the wrong approach. The industrial design to build something that will survive day to day use and be comfortable to wear with a useable battery ...
user avatar
  • 12k
7 votes
Accepted

RFM69W and LoraWan

Just to clarify from what I undestand when researching these modules: RFM69x - Packet Radio (not LoRa) RFM96x - LoRa Radio (or RFM95 / RFM97 - thanks Chris) If you're trying to use an RF69x for ...
user avatar
7 votes
Accepted

IOTA on Arduino or Raspberry Pi or Similar Board?

To interact with IOTA, you must be running or have access to an IRI node, which usually has its API exposed. IOTA is still in a heavy development phase, and an embedded linux device such as Raspberry ...
user avatar
6 votes

Read and Send Orientation Sensor Values from Android to Arduino

I'm not sure why you're checking for z's and so on but your first else if clause ensures that none of the clauses in the rest of the block is ever executed. else if (state != 'z' && state!=0)...
user avatar
6 votes

Syntax for using HTTP GET with ampersand and float

Parameters to an HTTP GET request are key/value pairs, separated by an ampersand & The key and value are separated by an equals sign. Your use of DeviceData=T=<value> breaks this rule. ...
user avatar
6 votes
Accepted

Cannnot send from Arduino to Raspberry pi via LoRa

I figured it out. Turns out there was a bug in the raspi_lora library I used for my python code. It is so that, if you are not specifically sending to the device address or have receive_all=True, it ...
user avatar
  • 241
5 votes

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

There are no standards only RFCs for CoAP; all of them are accessible on the web: RFC 7228 - Terminology for Constrained-Node Networks, May 2014 RFC 7252 - The Constrained Application Protocol (CoAP),...
user avatar
5 votes
Accepted

Control arduino via MQTT

What you've written all seems reasonable to me. MQTT traditionally runs over TCP1, but your browser does not allow webpages to open a raw TCP socket. There are proposals to allow that, but I doubt ...
user avatar
5 votes

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

Cloud-based services are unlikely to offer much 'local-lan' functionality without some competitive pressure. Specifically, a lan implementation requires a local hub. That could be the service's native ...
user avatar
5 votes
Accepted

WiFi Mesh on Windows IoT core

I posted this same question to the Microsoft forums and got a reply from IoTGirl saying that WiFi Direct is an option: Windows IoT Core WiFi Mesh I need to confirm whether the RPi3B supports WiFi ...
user avatar
  • 389
5 votes
Accepted

Commercial Arduino Reprogrammable Smart Plug

The Sonoff line is very diy-friendly, breaking out the ESP8266 headers you need to program it. Anything Wi-Fi under $10USD/ea commercially will probably be using an ESP8266. They probably won't get a ...
user avatar
  • 275
5 votes

IoT app and software

Anya - Very broad requirement you have but you can get result with something like this: Your arduino should be equipped with wifi or ethernet connection in order to communicate over internet You can ...
user avatar
  • 239
5 votes

IoT app and software

Application on Android & iOS: IFTTT (IF This Then That) you can use this app from its webpage also. Handy website to manage online data: Adafruit IO Instead of Arduino boards, you can use ...
user avatar
5 votes

When use microcontroller, when use microprocessor and when combine both

There are differences between the definitions of the two. Microcontroller is actually a microprocessor with a bunch of built-in, built-around peripherals. Such as ADC (analog digital converter), DAC (...
user avatar
4 votes

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

You want to get data off a moving vehicle into the cloud. A trailing cable seems a trifle impractical, so you're down to wireless. Wireless options are roughly: Satellite Cellular Point-to-point ...
user avatar
4 votes

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

To summarize, you want an Arduino, which is driving around in a car or a bus, to send some data to a sensor. Firstly, you need to be clear whether you need this data in real time, or whether you can ...
user avatar
4 votes
Accepted

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

There a million ways to skin this cat. Best for you at this stage to just try to get something working. Beyond that you can worry about "right" and "suitable" ways. Your setup is feasible and makes ...
user avatar
4 votes

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

You might want to check out Amazon FreeRTOS. Amazon FreeRTOS (a:FreeRTOS) is an operating system for microcontrollers that makes small, low-power edge devices easy to program, deploy, secure, ...
user avatar
  • 141
4 votes

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

AWS IOT requires that your device understand TCP/IP and encryption. The ATMega328 has 2K bytes of RAM, but Ethernet frames can be up to 1500 bytes long. Even if you could receive a packet, there ...
user avatar
4 votes
Accepted

Could not ping ESP8266 Wifi module connected to an Arduino

255.255.255.0 is the value that determines the SIZE of the subnet. 192.168.1.xxx with the subnet mask 255.255.255.0 is a subnet spanning from 192.168.1.0 to 192.168.1.255. 192.168.10.xxx with the ...
user avatar
  • 762
4 votes
Accepted

First steps to learn IoT with watering plants project

This is a very generic question, the answers mainly depend on your existing skills, and if you desire to progress into developments that might be commercially relevant. Depending how far you want to ...
user avatar
4 votes

IoT and middleware

The concept of middleware is a little ambiguous. You mean a middleware between your backend and raspberry/ies? A middleware is useful when you have different devices and protocols communicating to ...
user avatar
4 votes

Distance calculation based on RSSI value

First you have to know that only one RSSI gives you nothing about distance. Because it may vary from device to device. To calculate distance you must know "calibrated" value. For example, RSSI value ...
user avatar
4 votes
Accepted

Make Embedded Board NTP Server for Arduino boards in the subnet

Precise Description for the Query Initial NTP time sync In the Yocto build system under conf/local.conf add ntp recipe as follows: IMAGE_INSTALL_append = " ntp" on Target board initially stop the ...
user avatar
  • 1,458
4 votes

How to detect desk occupancy in office

Infrared detection of body heat sounds like your best bet, with sensors in the ceiling above each desk. Triangulation of signal strength is a nightmare, even assuming that you can force everyone to ...
user avatar
4 votes

How to detect desk occupancy in office

Maybe a light barrier between the two front legs of the desk? Assuming they are not standing desks some part of the leg or chair will interrupt the barrier most of the time. At least at my work all ...
user avatar
  • 213
4 votes

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

These systems work by having the device connect out from your home network to the a server run by the service. This outbound connection is bi-directional so the server can send commands back "down" ...
user avatar
  • 12k
4 votes
Accepted

How to get stepper motor to rotate smoothly and continuously?

The loop functions does quite a lot of things, some of them probably a bit lengthy. So it takes a while to execute and get to the next call of loop and the next step. Add (local) traces with precise ...
user avatar
  • 1,768

Only top scored, non community-wiki answers of a minimum length are eligible