r/ArduinoProjects • • Dec 25 '22

speed detector

482 Upvotes

r/ArduinoProjects • • Nov 20 '22

Arduino Trex Game (ldr positioning)

482 Upvotes

r/ArduinoProjects • • Jun 18 '21

Automatic dispenser for liquor shots!

469 Upvotes

r/ArduinoProjects • • Feb 09 '21

An "arm" that tries to stay 7cm away from my hand (or whatever is in front of it), it is still kinda wobbly but at least it works :)

464 Upvotes

r/ArduinoProjects • • Feb 07 '25

Me building an Arduino robot with Lidar. Is it OK to post?

458 Upvotes

r/ArduinoProjects • • Mar 23 '21

Need these in my life.

Post image
458 Upvotes

r/ArduinoProjects • • Jan 30 '23

PID Control With Arduino

451 Upvotes

r/ArduinoProjects • • Jan 22 '21

Project hexabot, servo test (kid didn't like it)

446 Upvotes

r/ArduinoProjects • • Aug 25 '24

Beginner project, still proud.

444 Upvotes

A prototype of a ultrasonic sonar system, inspired by a hackster.io project I stumbled across.


r/ArduinoProjects • • Jun 21 '21

I built a Kinetic Sand Art Coffee Table. It has two Arduinos (One for GRBL and another for lighting control). It's a simple design and uses some 3D printed parts for construction. Full how-to video is on Youtube: https://youtu.be/Lng_AsmfBfU

438 Upvotes

r/ArduinoProjects • • Oct 06 '24

Recreated self balancing cube

437 Upvotes

I had a lot of problems with schematic errors for the esp32 and printing or cabling error. for the moment only one corner manages from time to time to be stable. But I hope to find the origin of the problem. Code here (not me) https://github.com/remrc/Self-Balancing-Cube


r/ArduinoProjects • • Jul 25 '24

Jumperless V5, the next generation jumperless breadboard.

436 Upvotes

r/ArduinoProjects • • Oct 10 '20

My Weather Machine is finally complete. Weather looks pretty average in Melbourne over the next week....

431 Upvotes

r/ArduinoProjects • • Sep 21 '24

First project completely on my own!

428 Upvotes

I've made some IOT stuff here and there before but always copying tutorials on YouTube, but this is the first project I did it on my own, I don't know coding so I took help from ChatGPT and tweaked it myself, even learnt some bits of coding on the process. Here is a cash box/ register that keeps track of your expenses. The 3 buttons behind are for adding bills (I couldn't figure out a way to do automatically, yes I thought of weight sensors too), and the one at left is to check how many bills are in each compartment.


r/ArduinoProjects • • Feb 10 '20

I built a mechanical two digit, 7 segment display using an Arduino Mega and fourteen micro servos

428 Upvotes

r/ArduinoProjects • • Sep 27 '23

Built a processor out of 2000 transistors

Thumbnail
gallery
422 Upvotes

Finally finished my computer built entirely from transistors! Had some problems which delayed the build but it is over now. Tested it on several programs, like helloworld and dinosaur game.

It is an

  • 11 bit cpu

  • more than 2000 transistors

  • Arduino as memory

  • 32 micromemory/ROM addresses

  • accumulator architecture

  • 8 branch flags

  • connects to LCD and keyboard

  • has stack pointer register so supports recursive function calling

Currently on a trip but will open source it when I get back and clean the repo.

Posted here before and got requests to go more in depth, so i made an interactive blog where I explain it all:

Overview

Logic gate construction

Decoder construction

Register

(You can see all the planned posts in burger top left, they include micromemory, signals, stack...).

I also made a web based simulator for it: simulator.

Some supported instructions are:

  • Add addr (adds value at addr to accumulator)

  • Addi val (adds val to acc)

  • Not, Nand

  • B addr (Branch to addr)

  • Bz (beanch zero), Bnz, ...

  • sp2acc (move stack pointer to acc)

  • acc2sp, pc2acc, acc2sp...


r/ArduinoProjects • • Nov 24 '24

Arduino nano operated nightmare - made by me

420 Upvotes

@odo_paints for more


r/ArduinoProjects • • Feb 15 '21

We all start somewhere right :)

418 Upvotes

r/ArduinoProjects • • Aug 13 '21

How would you make one of these?

413 Upvotes

r/ArduinoProjects • • Dec 31 '25

Mom always complained about her car not having a Clock, so i made her this for Christmas

Thumbnail
gallery
411 Upvotes

As described in the title, my mom always complained about not having a clock in her car.
That’s why I decided to use this empty space above the car radio to add one.

I’m using an Arduino Nano together with an HD44780 I²C LCD and a DS3231 RTC.
Everything is powered by an LM2596 buck converter, which is connected to the power outlet fuse using a fuse tap and a 1A fuse.
I managed to dim the display using a PWM signal and a transistor connected to the backlight LED header on the back of the display.

Most of the code was written with the help of ChatGPT.

I’d really appreciate some feedback from you all, especially since this is my first real Arduino/electronics project.
Thanks in advance, and happy New Year!

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <I2C_RTC.h>


static DS3231 RTC;
LiquidCrystal_I2C lcd(0x27, 16, 2);


// Buttons
const int BTN_BACKLIGHT = 2; 
const int BTN_MODE      = 3; 
const int BTN_INC       = 4; 
const int BTN_DEC       = 5; 


// Backlight state
bool backlightState = true;
static bool backlightPressedLast = false; // track previous button state


// Edit mode
bool editMode = false;
unsigned long modePressTime = 0;


// Cursor position
int cursorPos = 0;


// Editable time
int cDay, cMonth, cYear, cHour, cMinute;


// Blink control
unsigned long lastBlink = 0;
bool blinkOn = true;
const unsigned long blinkInterval = 500;


// Debounce
unsigned long lastButton = 0;
const unsigned long debounce = 150;


// Display refresh control
unsigned long lastDisplayUpdate = 0;
const unsigned long displayInterval = 80;


// Previous values
int prevDay = -1, prevMonth = -1, prevYear = -1, prevHour = -1, prevMinute = -1;


void setup() {
lcd.init();
RTC.begin();
RTC.setHourMode(CLOCK_H24);


// decide backlight ONCE at startup
int hour = RTC.getHours();
if (hour >= 10 && hour < 16) {
  backlightState = true;
  lcd.backlight();
} else {
  backlightState = false;
  lcd.noBacklight();
}


  pinMode(BTN_BACKLIGHT, INPUT);
  pinMode(BTN_MODE, INPUT);
  pinMode(BTN_INC, INPUT);
  pinMode(BTN_DEC, INPUT);


  Serial.begin(115200);
}


void loop() {
  unsigned long now = millis();


  // -------- Manual backlight toggle (single toggle per press) ----------
  bool backlightPressed = digitalRead(BTN_BACKLIGHT);
  if (backlightPressed && !backlightPressedLast && now - lastButton > debounce) {
    backlightState = !backlightState;
    if (backlightState) lcd.backlight();
    else lcd.noBacklight();
    lastButton = now;
  }
  backlightPressedLast = backlightPressed;


  // -------- Mode button handling ----------
  bool btnModePressed = digitalRead(BTN_MODE);
  if (btnModePressed) {
    if (modePressTime == 0) modePressTime = now;


    if (now - modePressTime >= 1500) {
      if (!editMode) {
        editMode = true;
        cDay    = RTC.getDay();
        cMonth  = RTC.getMonth();
        cYear   = RTC.getYear();
        cHour   = RTC.getHours();
        cMinute = RTC.getMinutes();
        cursorPos = 0;
      } else {
        editMode = false;
        RTC.setDate(cDay, cMonth, cYear);
        RTC.setTime(cHour, cMinute, 0);


        blinkOn = true;
        prevDay = prevMonth = prevYear = prevHour = prevMinute = -1;
        drawDisplay();
      }
      lastBlink = now;
      modePressTime = now;
    }
  } else {
    if (modePressTime != 0) {
      if (editMode && (now - modePressTime < 1500)) {
        cursorPos = (cursorPos + 1) % 5;
        blinkOn = true;
        lastBlink = now;
      }
      modePressTime = 0;
    }
  }


  // -------- Increment / Decrement ----------
  if (editMode) {
    if (digitalRead(BTN_INC) && now - lastButton > debounce) { incrementField(); lastButton = now; }
    if (digitalRead(BTN_DEC) && now - lastButton > debounce) { decrementField(); lastButton = now; }
  }


  // -------- Blinking --------
  if (editMode && now - lastBlink >= blinkInterval) {
    blinkOn = !blinkOn;
    lastBlink = now;
  } else if (!editMode) blinkOn = true;


  // -------- Display update ----------
  if (now - lastDisplayUpdate >= displayInterval) {
    drawDisplay();
    lastDisplayUpdate = now;
  }
}


// ---------- Field operations ----------
void incrementField() {
  switch(cursorPos) {
    case 0: cDay = (cDay % 31) + 1; break;
    case 1: cMonth = (cMonth % 12) + 1; break;
    case 2: cYear++; break;
    case 3: cHour = (cHour + 1) % 24; break;
    case 4: cMinute = (cMinute + 1) % 60; break;
  }
}


void decrementField() {
  switch(cursorPos) {
    case 0: cDay = (cDay + 29) % 31 + 1; break;
    case 1: cMonth = (cMonth + 10) % 12 + 1; break;
    case 2: cYear--; break;
    case 3: cHour = (cHour + 23) % 24; break;
    case 4: cMinute = (cMinute + 59) % 60; break;
  }
}


// ---------- Draw display ----------
void printField(int x, int y, int value, bool blinkField) {
  lcd.setCursor(x, y);
  if (blinkField && !blinkOn) lcd.print("  ");
  else { if(value<10) lcd.print('0'); lcd.print(value);}
}


void drawDisplay() {
  int d, m, y, h, mi;
  d = editMode ? cDay : RTC.getDay();
  m = editMode ? cMonth : RTC.getMonth();
  y = editMode ? cYear : RTC.getYear();
  h = editMode ? cHour : adjustDST(RTC.getDay(), RTC.getMonth(), RTC.getYear(), RTC.getHours());
  mi = editMode ? cMinute : RTC.getMinutes();


  int line1Start = (16 - 10) / 2;
  printField(line1Start, 0, d, editMode && cursorPos==0);
  lcd.setCursor(line1Start + 2, 0); lcd.print("-");
  printField(line1Start + 3, 0, m, editMode && cursorPos==1);
  lcd.setCursor(line1Start + 5, 0); lcd.print("-");
  lcd.setCursor(line1Start + 6, 0);
  if (editMode && cursorPos==2 && !blinkOn) lcd.print("    ");
  else lcd.print(y);


  int line2Start = (16 - 5) / 2;
  printField(line2Start, 1, h, editMode && cursorPos==3);
  lcd.setCursor(line2Start + 2, 1); lcd.print(":");
  printField(line2Start + 3, 1, mi, editMode && cursorPos==4);


  prevDay = d; prevMonth = m; prevYear = y; prevHour = h; prevMinute = mi;
}


// ---------- DST adjustment ----------
int adjustDST(int day, int month, int year, int hour) {
  if (month == 3) { 
    int lastSunday = 31 - ((5 + (year + year/4 - year/100 + year/400 + 3)) % 7);
    if (day > lastSunday || (day == lastSunday && hour >= 2)) hour++;
  } else if (month == 10) { 
    int lastSunday = 31 - ((5 + (year + year/4 - year/100 + year/400 + 10)) % 7);
    if (day < lastSunday || (day == lastSunday && hour < 3)) hour++;
    else hour--;
  }
  return hour % 24;
}

r/ArduinoProjects • • Mar 30 '26

I made an Arduino clone based off a PIC Microcontroller

Post image
410 Upvotes

I made these for my Universities embedded systems lectures, I thought it would be a fun project and it was! Although not pin compatible with Arduino Uno shields I still found this a fun little project to familiarise myself with EDA and PIC Systems.


r/ArduinoProjects • • Oct 01 '22

Add-on to control the volume on my old amplifier

410 Upvotes

r/ArduinoProjects • • Sep 21 '22

I built a physical switch to deploy a new feature on a website. The thing requires 3 people to turn 3 separate keys to "arm" it, then when the main switch is flipped a light goes on and an HTTP request is sent over wifi to deploy the new version of the website. Sorry for ugly case - I was in a rush.

Thumbnail
gallery
409 Upvotes

r/ArduinoProjects • • Mar 16 '23

I made a 96 stepper motors matrix!!!

407 Upvotes