Questions tagged [microcontrollers]

For questions concerning IoT applications that use microcontrollers as control units. Almost every IoT device has an embedded microcontroller. Thus, use this tag when the usage, development or constraints of the microcontroller are at the core of the question.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

What could be causing ESP IDF to not recognize the content of my included header files?

ESP - IDF not functioning as expected. I've been trying to work on esp32s3 and skainet using esp-idf(ide not the eclipse or vs code plugin) and I am facing this issue constantly. Issue: I have made a ...
user21923894's user avatar
0 votes
0 answers
46 views

Which microcontroller should I select for my project idea?

I am an IT engineer but always wanted to learn electronics and IoT. I have a project idea in mind for which I am unsure which MCU should I use. I have previously used Arduino, ESP8266, and ESP32 for ...
Mihir Kandoi's user avatar
1 vote
0 answers
68 views

How can I make my dumb TV bed lift smart?

I'm an experienced developer who is looking to make the foray into IoT hardware. I have written applications in C and C++ in the past and I'm currently interested in Rust. I have little to no ...
Andy E's user avatar
  • 111
0 votes
1 answer
166 views

How to effectively control Arduino via a web application?

I have a web application in PHP on remote hosting. The application is connected to a MySQL database, from which it reads states, draws graphs from the data that Arduino sends to the database. The ...
Sahasrar's user avatar
0 votes
1 answer
29 views

Help selecting a microcontroler

I need you help, currently I`m searching for a microcontroller That supports ultra power mode. Has bluettoth support. Can be waked up by a wireless interruption. The microcontroller must be powered ...
Adrian Cojocari's user avatar
3 votes
2 answers
132 views

How secure connection between modem and microchip

My board has a separate Quectel MC66 modem and STM32 microchip. The communication between modem and microchip is AT Commands. If a hacker connected a wire between modem and microchip, he could have ...
behroozbc's user avatar
  • 153
0 votes
0 answers
25 views

How to configure watchdog mode with interrupt in MSP430F5358?

I am using the MSP430F5358 controller and want to enable the watchdog timer to reset the controller when some malfunction occurs with the Software. I need to add watchdog Interrupt so that it ...
Shubhanshu Rastogi's user avatar
0 votes
1 answer
131 views

Battery powered MCU with accelerometers and LTE-COMS, looking for products

I've made a question previously but I did not give enough background info so here it goes: I have been developing a prototype for measuring ground vibrations using three MEMS-accelerometers together ...
nwretborn's user avatar
1 vote
1 answer
92 views

Can I make individual callbacks to handle each MQTT topic?

I'm using the PubSubClient on some ESP-01 modules to make smart/connected devices around the house. I'm not super fond of the way all incoming messages get routed to the single callback. When I get a ...
HaLo2FrEeEk's user avatar
3 votes
3 answers
195 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
1 vote
1 answer
165 views

Quality water IoT system - Which device choose

I want to develop a quality water IoT system. The picture below shows the idea. I'm not sure the device that I have to use for this project. My idea is: Every X minutes (I'm not sure the time) get ...
Lleims's user avatar
  • 119
0 votes
2 answers
309 views

When use microcontroller, when use microprocessor and when combine both

For a long time I have had a simple question to which I can't find an answer which convinces me. Basically the title: when should I use a microcontroller, when should I use a microprocessor and when ...
Lleims's user avatar
  • 119
5 votes
4 answers
1k views

ESP8266 with Dual Relay AND STM8S103

I'm looking for an ESP8266 board with a dual relay for one of my projects. Yes a Sonoff Dual - quite answers all my needs, beside the part of messing around with soldering and the for need more GPIO's ...
guyd's user avatar
  • 791
1 vote
1 answer
384 views

Has any one developed M-Bus protocol on STM controller?

M-Bus is a building management side protocol which helps to communicate with the controller to get the available parameter values like current, voltage, power etc. I have to develop an architecture ...
Shubhanshu Rastogi's user avatar
2 votes
0 answers
116 views

POE ethernet passthrough microcontroller [closed]

I'm looking for a build your own or mod hack something like a POE ethernet passthrough that powers an Arduino IoT controller. I understand that what ever I am using will need it's own dedicated IP ...
Robert Williams's user avatar
3 votes
0 answers
220 views

How we can interface LoRa(RFM96W) with STM32F030 controller?

I have tested my RF96W LoRa boards with the Lolin Boards, it works fine. However when I interface these Lora boards with a stm32f030r8t6 based controller, I don't receive any data, although I have ...
Shubhanshu Rastogi's user avatar
4 votes
1 answer
247 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
  • 331
2 votes
2 answers
87 views

wireless moisture data transmission

I am mainly from software background with very very basic level of electronics/microcontroller knowledge. I recently did a small IoT project for moisture/temp detection following this tutorial At a ...
Fahad Najib's user avatar
1 vote
0 answers
121 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 ...
Mauricio's user avatar
  • 111
3 votes
2 answers
702 views

ESP32 always high pins screwing analog measure

TL;DR When trying to use some pins of my ESP32 to read analog signals, it turns out those pins have a non-zero voltage, messing up the measurements. Why? I got myself an Olimex ESP32-POE-ISO (see ...
ErosC's user avatar
  • 133
1 vote
1 answer
88 views

Suggestion between bluetooth and wifi for a simple sensor reading application

So I have a simple application that involves reading the input over terminal via UART, and then responding accordingly, be it toggling an LED or outputting a sensor reading over I2C. As a step up, I ...
xyf's user avatar
  • 111
1 vote
1 answer
263 views

Can AVR microcontroller be used in commercial products? [closed]

I'm working on a startup and I have come to know that AVR is closed source so I wonder if I can use their chips inside my commercial product?
ukasha sohail's user avatar
1 vote
0 answers
235 views

Creating a Non Blocking socket for making GET requests

I am using an ESP32 with a MicroPython Firmware and want to make asynchronous HTTP requests such as GET request. I have tried using usocket but it did kept throwing OSError 128. I have attached my ...
Archit Kithania's user avatar
2 votes
0 answers
112 views

Is it possible to implement the HomeKit Accessory Protocol directly on an Arduino or some other microcontroller without the need for a bridge

It seems that all solutions involving homekit make use of a bridge server, so I am confused as to why none of the setups that I can find are implementing homekit directly on the microcontroller. Is ...
user10216's user avatar
1 vote
0 answers
191 views

Is it possible to send data to AMQP server using AT-Command on ESP8266 Wi-Fi module?

I'm currently working on an IoT project which I have an STM32F0 connected to the ESP8266 Wi-Fi module. My goal is to publish data to an AMQP server. Currently, I'm trying to connect to an AMQP server(...
copsterr's user avatar
4 votes
3 answers
187 views

Choosing low power microcontrollers to run with a solar panel

I am starting a project which will control a small motor, some LEDs for illumination and read some analog sensors and I need to power it via a solar panel. I am looking for the best option on ...
daniel castellanos's user avatar
1 vote
1 answer
96 views

Does server running on local host constitute IoT? [closed]

I have created a network, using mobile hotspot (without internet connectivity), between microcontroller and pc.(intranetwork) The designed server right now works on the local host. Will this be ...
Megh's user avatar
  • 21
2 votes
1 answer
165 views

Development board for DASH7

Has anyone experimented with DASH7? I am searching for a development board, which is proven to work with the DASH7 stack in the 433/868 MHz bands. There are, of course, the official development kits, ...
typo's user avatar
  • 249
7 votes
3 answers
719 views

Is a simple UDP messaging a good idea for IoT Sensor?

I am working with NB-IoT Modem - Quectel BC95 that will be used in a simple IoT sensor that will periodically (Once per hour) send measurements to our server. Because of the restriction in place by ...
Oli Řeháček's user avatar
4 votes
1 answer
71 views

How to decide how to select an endpoint device

This question is intentionally rather open ended, and potentially opinion based, but it is intended to act as a catch-all for the questions on how to select a device for a sensor/endpoint. Any ...
Sean Houlihane's user avatar
1 vote
1 answer
1k views

Read data from STM32 using UART ESP32 micropython \x00 error?

I am using a LOLIN32 lite (ESP32) to read data sent from a STM32F103 (black pill). The ESP32 is using micropython and the STM32 is programmed using CubeMX + Truestudio. When calling the uart.read() ...
Gabriel's user avatar
  • 111
3 votes
1 answer
2k 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
9 votes
2 answers
970 views

Embedded C—check internet connection

Is there any way to check if actually my embedded device has a working connection (i.e. can reach the WAN)? My device has no RTOS, so I cannot rely on OS functionalities like ping. I can see that the ...
panc_fab's user avatar
  • 311
2 votes
1 answer
175 views

Industrial Controller Vs Prototype Controller(Study level Controller)

What is the difference between industrial Controller and prototype(Study)level controllers or Raspberry pi/Arduino Vs. Industrial Controllers(PLC, NON PLC) controllers
EKNATH KULKARNI's user avatar
7 votes
1 answer
256 views

Cheap PoE board with TCP/IP support

I have a small IoT project where I want a network enabled electrical relay. I do not need full network plug nor linux on it. It just should be small and cheap. I feel smart enough to write a small ...
rekire's user avatar
  • 303
6 votes
1 answer
619 views

WiFi communication between PC and embedded system on LAN

I'm here asking some support for a newbie in embedded communication. My situation is the following: embedded device: STM32L4xx microcontroller + ATWINC1500 wifi module WiFi management code (driver) ...
panc_fab's user avatar
  • 311
8 votes
2 answers
537 views

What is difference between a mote and a microcontroller equipped with sensors and connectivity?

Reading some papers about IoT and Wireless Sensor Networks (WSN) I came across mote devices and have seen there are lots of them. I have understood that they are the leaves in an IoT system and that ...
Francesco Boi's user avatar
3 votes
1 answer
75 views

Finding the time interval between two events using CCP on PIC18f4520

I'm trying to calculate the time elapsed between two events using the CCP on PIC18F4520. The events are triggered by two sensors that are on the ccp1 and ccp2 ports. I've assigned a prescalar of 8 to ...
Souvik Saha's user avatar
2 votes
0 answers
218 views

Automatic Compiling & Flashing of EFM32 Programs

I'm working a Machine Learning project, and I need to gather some data about the run-time of an EFM32 Microcontroller (EZR32LG). After gathering a small dataset and realizing I need more (A lot more) ...
shmoo6000's user avatar
  • 137
4 votes
0 answers
282 views

NodeMCU - create public webserver

How would I go about creating a public web server so that I can control my NodeMCU v3 from anywhere in the world? I was thinking about flashing espruino on my board since I have more experience with ...
Stuart Fong's user avatar
5 votes
1 answer
439 views

File Transfer from ESP8266

How can I download / access a file contained in the ESP8266 SPIFFS memory over the internet and not only on a local wi-fi? Can it send a complete file contained on its SPIFFS memory to a website or to ...
Nagesh Naik's user avatar
9 votes
3 answers
251 views

Calculate velocity and direction on microcontroller or on remote server?

Assume that I have a device attached on a car which includes an MCU, and a SIM908 module. The SIM908's function is to receive GPS data from satellites and then send them to the remote server through ...
juggernaut156's user avatar
1 vote
0 answers
210 views

How to Make Custom-Length Jumper Wires [closed]

I am prototyping a Wi-Fi thermometer with an ESP8266 and an HT11, it works on the breadboard (!) and now I am designing a 3D printable cabinet. I would like the final thing to be completely dis-...
Rho Phi's user avatar
  • 119
6 votes
3 answers
882 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
8 votes
2 answers
640 views

What right hardware to use for Home Automation using MQTT?

I have been working on a home automation project lately. It is complete to the extent of switch control and getting the readings of temperature, humidity. I am using a Raspberry Pi 3 as MQTT broker. ...
Rohit Mathur's user avatar
6 votes
2 answers
814 views

Website on a microcontroller

I want to create a simple web server on a SAM4E. I have found a example but I would like to change the website. Now it's just plain html code: if(( NULL != pcRxString) && ( !strncmp( ...
Dylan's user avatar
  • 61
11 votes
3 answers
4k views

A low cost alternative option for ZigBee stack in mesh network of sensors

We're in the step of making design decision for a wireless mesh network of individual sensors which is going to be low cost. At first research I decided to use MQTT for application layer and global ...
IMAN4K's user avatar
  • 211
13 votes
1 answer
457 views

Can I implement ZigBee with generic hardware?

As I understand ZigBee is only a specification of a data transfer protocol. So I was expecting to find some library that implements this protocol to use it with my MCU and RF transceiver. Instead, I ...
rattrapper's user avatar
5 votes
2 answers
504 views

Is it okay to use the 4 pin USB TTL cable instead of the recommended 6 pin USB TTL cable for Intel Galileo?

I have only the 4 pin USB TTL cable which has the Rx, Tx, Vcc and GND pins. The 6 pin includes the CTS and RTS pins also, and is specified for use with Intel Galileo board. My question is if I can ...
nj2237's user avatar
  • 269
4 votes
0 answers
632 views

I2C transfer to Thunderboard Sense microcontroller never completes [closed]

I am using a Thunderboard Sense microcontroller, plugged into my desktop (Windows) with a USB, and the Simplicity IDE with the coding language C. I am trying to write to a register using the ...
The Impossible Squish's user avatar