r/ArduinoProjects • • Mar 12 '26

Day 66/100 — micropidash: Real-time IoT Web Dashboard for MicroPython

0 Upvotes

For Day 66 of my 100 Days 100 IoT Projects challenge, showcasing micropidash — a library I built that turns your Pico W or ESP32 into a live web dashboard over WiFi.

What it does:

Real-time sync via AJAX polling

Non-blocking — runs on uasyncio alongside your hardware code

Dark/light mode per connected device

Widgets: toggle, label, progress bar

Memory efficient for low-RAM microcontrollers

Repo- https://github.com/kritishmohapatra/100_Days_100_IoT_Projects

Lib:-https://github.com/kritishmohapatra/micropidash

Would love feedback from anyone who's built similar dashboards! šŸ‘‡


r/ArduinoProjects • • Sep 11 '24

Doubt on Arduino FreqCount library

0 Upvotes

Hi folks,
I want to use Arduino FreqCount library for a project I have in mind. The signal I want to measure is a sinusoid (or something pretty damn close to it) and in general it may have negative voltage values and 'above 5 volts' values.

I'm not sure if I have to modify the signal to have a sinusoid between 0 and 5 volts because the library's working process counts how many peaks are there in a defined time. I tried measuring a 0-5V sinusoid and it works, but from the library documentation: https://www.pjrc.com/teensy/td_libs_FreqCount.html it isn't clear if I have to re-dimensionate the signal.

It is not hard to re-dimensionate the signal, a diode is all I need, but I ask this also for curiosity.

Thanks to everyone for reading!


r/ArduinoProjects • • Oct 22 '24

Hi

0 Upvotes

Hello everyone, I have a problem regarding the use of arduino-ide. I know this may not be that redundant but my Linux distribution is arch, with the Linux kernel itself and an xfce4 desktop environment. Regarding the problem, I have an error when recognizing an Arduino mega 2560 board. The error as such is that the board is sometimes recognized by the system and the Arduino ide as such, but when trying to upload a code to the board it does not load and the port the arduino is on changes (Ex: /dev/ttyACM0 to /dev/tty/ACM1) and then trying again changes the port again until the board simply stops being recognized by the system. If there is any kind soul who can help me I would greatly appreciate it, as I have been using Linux as my main system for about a year and now due to this problem I must temporarily use a Windows installation until I can fix it and learn in the process :)


r/ArduinoProjects • • Sep 17 '24

I dont understand why the code doesn't work... for a school project

0 Upvotes

For context, I'm making an automated drying rug that rotates to another rug along a roller when its wet or a certain amount of people has walked past the IR sensors, then it would also send a telegram message to the cleaner to replace the rug for a cleaner one.

The servos (signifying a gate opening to deter people from using the rug) wont turn at all
The moisture sensor isnt updating on the phone arduino cloud app
The IR sensor data seems to not be adding up on the phone app too

Appreciate the assistance and thank you for your time, kind tinkerers.

Arduino IoT Cloud Variables description

The following variables are automatically generated and updated when changes are made to the Thing

CloudSwitch carpetOverride;

int carpetWet;

int numberPeople;

bool carpetReplace;

bool carpetStatus;

Variables which are marked as READ/WRITE in the Cloud Thing will also have functions

which are called when their values are changed from the Dashboard.

These functions are generated with the Thing and added at the end of this sketch.

*/

include "thingProperties.h"

include <ESP32Servo.h>

include <HTTPClient.h>

include <WiFi.h>

Servo myservo;

define greenpin 35

define redpin 33

define buzzpin 32

define irpin1 21

define irpin2 19

define moistpin 23

define servopin 15

define motorinput1 14

define motorinput2 12

define dryerinput3 27

define dryerinput4 26

unsigned long lastActivationTime = 0;

const int timeInterval = 3000; // Time interval in milliseconds

void setup()

{

Serial.begin(9600);

delay(1500);

initProperties();

ArduinoCloud.begin(ArduinoIoTPreferredConnection);

setDebugMessageLevel(2);

ArduinoCloud.printDebugInfo();

myservo.attach(servopin);

pinMode(greenpin, OUTPUT);

pinMode(redpin, OUTPUT);

pinMode(buzzpin, OUTPUT);

pinMode(irpin1, INPUT);

pinMode(irpin2, INPUT);

pinMode(moistpin, INPUT);

pinMode(servopin, OUTPUT);

pinMode(motorinput1, OUTPUT);

pinMode(motorinput2, OUTPUT);

pinMode(dryerinput3, OUTPUT);

pinMode(dryerinput4, OUTPUT);

// Initial setup

digitalWrite(greenpin, HIGH);

digitalWrite(redpin, LOW);

carpetStatus = false;

}

void loop()

{

ArduinoCloud.update();

digitalWrite(greenpin, HIGH);

digitalWrite(redpin, LOW);

int people_count = 0;

// Only count people that are coming in

if (irpin1 == LOW)

{

lastActivationTime = millis();

}

if (irpin2 == LOW && millis() - lastActivationTime <= timeInterval)

{

people_count = people_count + 1;

numberPeople = people_count;

}

if(people_count > 5) //Reset the amount of people when it reaches the maximum number

{

people_count = 0;

carpetReplace = true;

sendTelegramMessage("Carpet need to be replaced! ");

}

numberPeople = people_count;

int carpetHumidLevel = analogRead(moistpin);

Serial.println(carpetHumidLevel);

carpetWet = carpetHumidLevel;

if(carpetHumidLevel > 300)

{

carpetcleaning();

}

}

void sendTelegramMessage(String message)

{

if (WiFi.status() == WL_CONNECTED)

{

HTTPClient http;

String url = "https://api.telegram.org/bot" + botToken + "/sendMessage?chat_id=" + chatID + "&text=" + message;

http.begin(url);

int httpResponseCode = http.GET();

if(httpResponseCode > 0)

{

String response = http.getString();

Serial.println(httpResponseCode);

Serial.println(response);

}

else

{

Serial.print("Error on sending post: ");

Serial.println(httpResponseCode);

}

http.end();

}

}

void carpetcleaning()

{

carpetStatus = true;

ArduinoCloud.update();

digitalWrite(greenpin, LOW); // Red LED lights up

digitalWrite(redpin, HIGH);

tone(buzzpin, 1000);

delay(1000);

tone(buzzpin, 0);

myservo.write(90); // Close the gate

delay(2000);

digitalWrite(motorinput1, LOW); // Carpet start rotating

digitalWrite(motorinput2, HIGH);

tone(buzzpin, 1000);

delay(1000);

tone(buzzpin, 0);

delay(10000); // Adjust time for carpet to fully flipped

digitalWrite(motorinput1, LOW); // Carpet stop rotating

digitalWrite(motorinput2, LOW);

tone(buzzpin, 1000);

delay(1000);

tone(buzzpin, 0);

digitalWrite(dryerinput3, LOW); // Dryer is on

digitalWrite(dryerinput4, HIGH);

delay(7000);

digitalWrite(dryerinput3, LOW); // Dryer is off

digitalWrite(dryerinput4, LOW);

tone(buzzpin, 1000);

delay(1000);

tone(buzzpin, 0);

carpetStatus = false;

ArduinoCloud.update();

delay(2000);

digitalWrite(greenpin, HIGH); // Green LED lights up

digitalWrite(redpin, LOW);

tone(buzzpin, 1000);

delay(1000);

tone(buzzpin, 0);

myservo.write(0); // Open the gate

}

void onCarpetOverrideChange()

{

if(carpetOverride)

{

carpetcleaning();

carpetOverride = false;

}

ArduinoCloud.update();

}

void onNumberPeopleChange()

{

// Add your code here to act upon NumberPeople change

}

void onCarpetStatusChange()

{

// Add your code here to act upon CarpetStatus change

}

void onCarpetReplaceChange() {

// Add your code here to act upon CarpetReplace change

}

/*

Since CarpetWet is READ_WRITE variable, onCarpetWetChange() is

executed every time a new value is received from IoT Cloud.

*/

void onCarpetWetChange() {

// Add your code here to act upon CarpetWet change

}

*edited out bot token and chat id


r/ArduinoProjects • • Oct 16 '24

How to solve error ( can not open port com3)

Post image
0 Upvotes

Hello, iam trying to control led lights through hand gestures using open cv, iam encountring this error i have chat gpt but it doesn't help.


r/ArduinoProjects • • Oct 17 '24

Sending phones state of charge via bluetooth

0 Upvotes

For a school project, I need to send my phones battery percentage or state of charge to an ESP32 chip. I know this is possible to do by creating a GATT table on the phone with an app, however I believe this is possible to do without any applications. Both the BMW I3 and WV E-UP are able to get my phones battery by just pairing the phone to the car, without installing any apps. How would I go about this?

I already tried doing this using GATT battery service. In that case a phone will be used as a server and ESP32 will be used as a client. ESP32 successfully manages to retrieve data, but for the phone an app need to be created and installed. So, before starting with the app I would like to know if there are any simpler ways to do that.


r/ArduinoProjects • • Jun 25 '23

Question about resistance and thermistors

0 Upvotes

I'm currently trying to build a refrigeration monitor for an outdoor freezer. For my first attempt I've used a 100k ohm resistor, with a 100k ohm thermistor. At room temperature it's very consistent (Within a tenth of a degree Fahrenheit). While at subzero temps the variation between temp readouts has widened to 3-5 degrees Fahrenheit. Do different resistance thermistors and resistors perform differently at different temperature ranges?


r/ArduinoProjects • • May 26 '23

Automated Can Crysher

1 Upvotes

Hello All,

This is my first attempt to try anything like this. I’m trying to automate my can crusher. I have the code working to crush the cans. Now I want to add a sensor to detect the cans and start the program. I need some assistance trying to figure out what type of sensor would be best.


r/ArduinoProjects • • Jul 07 '23

'Crazy Project' -- 18650 AutoCharger -- RETRY#3! (V0.7)

0 Upvotes

Having a rough time getting this damned post to show up! But I think I found a way! Please redirect as follows:

https://www.reddit.com/r/lithiummasterrace/comments/14tj0jj/crazy_project_18650_autocharger_retry3_v07/


r/ArduinoProjects • • Jul 07 '23

Project Transistors with PWM

0 Upvotes

Hey! I have a question about this electrical circuit design.

The light bulb is supposed to be oscillating in terms of brightness, but it isn't. I tested the code on a pre-existing circuit and it seemed to work there, but not in this circuit design. I am using a MOSFET transistor because it is supposed to be PWM. Is there something wrong with my actual circuit design? I tried changing the analogWrite value too for the brightness and it appears to be the same still. I am not sure if it is properly connected to the right transistor pin at 9.

Thanks yall!


r/ArduinoProjects • • Jul 07 '23

3D Printed Lithophane Lampe

0 Upvotes

r/ArduinoProjects • • Jun 24 '23

Arduino With RFID Door Lock

0 Upvotes

r/ArduinoProjects • • Jul 28 '22

Programming WISOL LOM204(ESP32) with Visuino - master/slave bridge with LoRa - p2p by Miguel Alexandre Wisintainer

Thumbnail
lom204-cli-wisol.blogspot.com
0 Upvotes

r/ArduinoProjects • • Jul 28 '22

ARDUINO NANO BLE RECIEVER

0 Upvotes

I AM WORKING ON A PROJECT I AM ASKING IS HOW TO READ ADDRESSES OF DEVICE TRYING TO CONNECT NANO BLE 33


r/ArduinoProjects • • Aug 16 '22

Soldering, Programming and Testing Adafruit I2C LCD(BW or RGB) Display and 5 Button Keypad

Thumbnail
youtube.com
0 Upvotes

r/ArduinoProjects • • Aug 29 '22

ESP32 Servo Motor Controller Board (Up to 16 Servo Motors) - In this project we will look at the assembly and use of ESP32 based printed circuit board that allows you to control up to 16 servo motors.

Thumbnail
youtu.be
0 Upvotes

r/ArduinoProjects • • May 16 '21

I can't get my SIM800L to connect. Tried different V and SIM.

0 Upvotes

r/ArduinoProjects • • Jul 14 '20

How flame sensors work and how to use them (Use them to automate turning stuff off if there's a fire)

Thumbnail
youtu.be
0 Upvotes

r/ArduinoProjects • • Oct 17 '21

"U-BLOX NINA W106(ESP32) + VISUINO + RAPID SCADA + REMOT3" - tutorial and project code by Miguel Alexandre Wisintainer

Thumbnail
blinky-nina-w102.blogspot.com
0 Upvotes

r/ArduinoProjects • • Nov 13 '21

Touchless Arduino Dice Project

Thumbnail
youtube.com
0 Upvotes

r/ArduinoProjects • • Sep 07 '21

How To Make Something That Can Pull You To Walls?

Thumbnail self.arduino
0 Upvotes

r/ArduinoProjects • • Sep 11 '21

I finally figured out how to upload custom images to an 8x8 array using fast led and some other software

Thumbnail
youtu.be
0 Upvotes

r/ArduinoProjects • • Aug 22 '21

I need with my a pro micro giving out this error when i try and compile. can someone in the comments or dms

0 Upvotes

sketch_aug22a:1:10: fatal error: HID-Project.h: No such file or directory

#include <HID-Project.h>

^~~~~~~~~~~~~~~

compilation terminated.

exit status 1

HID-Project.h: No such file or directory


r/ArduinoProjects • • Aug 14 '21

Unboxing Arduino Nano 33, and Arduino MKR WiFi 1010 + Visuino Support Sneak Peek

Thumbnail
youtube.com
0 Upvotes