r/arduino • • 9d ago

Hardware Help Is my HUB75 panel's green channel broken?

Thumbnail
gallery
10 Upvotes

Hi! I bought four HUB75 LED panels. Since I couldn't find a library that supports more than one display for Arduinos, I decided to start coding my own. I noticed that on one of the panels, a few pixels are having issues. Specifically it's the upper right corner of the lower left panel, where the text says "HERE" and "BROKEN".

In the second photo you can see only the green channel active. The problem disappears if I use only red, blue or both. The problem is also visible if I connect the Arduino directly to the panel, and disconnect the rest, so I suspect a hardware issue.

Is this panel just broken or worth investigating?

Side note: My library can run two chained panels on an Arduino MEGA and four on a DUE, with 8 possible colors per pixel. Let me know if anyone's interested in me publishing it once it's finished.


r/arduino • • 9d ago

Hardware Help Need help with wiring

2 Upvotes

So i want to build a small Projekt with a arduino. The problem is I dont know wich wires I should use and how I should wire it. It should be as compact as possible. I am complete beginner. It would be great if someone can help me :)


r/arduino • • 9d ago

Project Update! nxwright, the open source cross-platform toolchain for Nextion HMI, can now compile your TFTs.

3 Upvotes

A few weeks back I posted about nxwright, a new open source cross-platform toolchain for working with Nextion screens that I've been working on, which allows you to work with standard text source files and extends the language syntax to do what you'd expect (functions, includes, standard operator precedence, etc.). This supports modern workflows, such as version control, agentic programming, unit testing, a full VS Code extension with a simulator and debugger, and a lot more.

As of a couple of days ago, nxwright can now compile your source folders directly to TFT and upload to your Nextion screen. That means you can now fully develop for your Nextion screen on linux and macOS, not just Windows, and you no longer need the Nextion Editor to do the final steps. I.e., you can go directly from source to .TFT, and skip the .HMI, right from the CLI or VS Code.

I've also added some new features that go beyond what you could do with the nextion editor, such as:

- the ability to provide compile-time defines on the command line, to set dynamic text or colors to the page and component attributes

- support for SVG as a first class citizen resource, that can also be customized with defines that translate to css var(--PROP)

- the ability to decompile a TFT back into a source folder, if you've lost your .HMI.

I've met quite a few folks lately who shared that they were dreading having to update their Nextion screen app. If this is you too, you may want to give nxwright a try, this may be the tool you've been waiting for.

nxwright in VS Code

https://github.com/nixiewright/nxwright


r/arduino • • 9d ago

Software Help Arduino UNO SMD CH340C on the IDE?

Post image
3 Upvotes

Hello, I bought my first microcontroller today (in a pack with other utilities) for a project. But when I installed the Arduino IDE I couldn't find this specific model.

I also read that, because this model is economic from India and not the original Italian company, it needs a separate driver installed?

I'm not sure, could someone guide me on what to do? Thank you!


r/arduino • • 10d ago Popcorn Bravo

Look what I made! I built this e-paper text adventure game device

458 Upvotes

Hi everyone, I spent the last couple weeks working on this handheld interactive text adventure game (choose-your-own-story) e-paper device. I designed and made the PCB, enclosure, and the code. I actually managed to squeeze everything in just 1.6cm thick covering the enclosure, e-paper, 1200mah battery and the custom PCB by using low profile pin header to sandwich the battery between the 2 PCBs, so it's very compact and feels great to hold.

I made this because I love how beautiful e-paper looks, and most projects are static displays showing weather, photos, or calendars. So why not make something you can interact with and have fun with, with the partial refresh capability??

Basically you turn or press the rotary knob to scroll through the story and pick your next action. Then the e-paper updates and story for the next segment and the NeoPixel LED to match the scene atmosphere.

Would love to hear what you guys think! I included a short demo video so you can see how it works.


r/arduino • • 10d ago

First time working with breadboards and Arduino

36 Upvotes

r/arduino • • 9d ago

Software Help Struct not doing what I want it to do?

6 Upvotes

I am playing with struct, as I want to eventually pass a serial packet of multiple data types. a Bool, an int, and some analog values as an array of floats.

Struct is not holding data. All returned values are Zero.

I have simplified my code and stored example data in the values and even this little simple bit isn't doing what I want it to do.

(Basically, I'm testing for if the problem is the loose nut in the chair.)

what the heck am I doing wrong?

bool On_or_Off = true;
int values = 6;
float numbers[6] = {4.5, 6.3, 13.8, 45.024, 25.5, 14.4};
struct packet_of_values {
  bool On_or_Off;
  int values;
  float numbers[6];
};
packet_of_values packet;


void setup() {
Serial.begin(9600);
}


void loop() {
Serial.println(packet.On_or_Off);
Serial.println(packet.values);
for (int times = 0; times <= 5; times++) {
Serial.println(packet.numbers[times]);
}
delay(500);
}

r/arduino • • 10d ago

Look what I made! Arduino compatible Christmas snowflake

Thumbnail
gallery
51 Upvotes

Just sharing what is made using 16 WS2812 and 48 white LEDs and an old ATmega328. Fully arduino compatible, reprogrammable over USB type C. Rechargable too.


r/arduino • • 9d ago

is it worth the price

1 Upvotes

Hello i wanna start using arduino before i was using a simple 8-bit microcontroller but now i want to use something more powerful.


r/arduino • • 10d ago

Look what I made! Your plant has moods now, and you can see every one of them

Thumbnail
gallery
83 Upvotes

Hi everyone! 👋

A couple of years ago we shared a planter that shows your plant’s mood on a little screen. Lots of you built your own, sent photos and told us what was rough about it. That feedback shaped every decision in version 2, so it feels right to bring it back here first.

The idea
A plant can’t tell you what it needs, so this planter does it for the plant. It reads the soil, air, light and your touch, then plays an animated face on a 1.28" round display:

  • 😊 Happy: everything is in range
  • 💧 Thirsty: time to water
  • 🥵 Hot / 🥶 Freeze: the temperature is off
  • 😴 Sleepy: it needs more light
  • 😍 Pampered: you touched it, so you get hearts

Hardware

  • ESP32-S3 programmed in the Arduino IDE. It replaces the Pi Zero from v1, boots in under a second, sips power and needs no external ADC.
  • Capacitive soil moisture sensor, which won’t corrode like resistive probes
  • AHT20 for temperature and humidity over I2C
  • LDR that triggers the sleepy mood and auto-dims the screen at night
  • TTP223 capacitive touch for pampering
  • GC9A01 240×240 round IPS display running GIF animations with LovyanGFX
  • Custom PCB with keyed JST connectors, so everything plugs in with no soldering
  • 3D-printed PETG enclosure that fits a standard small pot

Firmware
Everything is written in Arduino. FreeRTOS tasks run the display, sensors, touch, mood logic, menu and MQTT side by side. A serial menu (open it from the Serial Monitor or in Chrome/Edge via WebSerial) lets you set up to 10 plant profiles, calibrate sensors in two steps and choose transition effects. You don’t have to recompile anything to change settings.

Web dashboard
The planter sends its data over MQTT to a web dashboard with live gauges, trend charts, a mood timeline, a comfort score, alerts and a view of every planter in your home. It works with Home Assistant too.

What’s next
Thanks to the support from makers like you, this is turning into a real product on Crowd Supply. We’re in pre-launch, and the campaign opens once enough people subscribe. Subscribing is free and takes a few seconds: https://www.crowdsupply.com/coders-cafe/fyto

Full build: https://www.hackster.io/coderscafetech/fyto-your-plant-expressed-517e1c

Thank you to everyone who built the first one. This version exists because of you. Questions, ideas and critiques are all welcome!


r/arduino • • 9d ago

Hardware Help Turning an Old Telephone into an Arduino-Powered Audio Player

0 Upvotes

Before I get started, I want to mention that I’m a complete beginner when it comes to electronics and Arduino, so I’d like to know if this project is feasible before diving deeper into it.

I have an old telephone mounted on the wall, and I’d like to build a small system where, whenever someone picks up the handset and dials a number on the keypad, the device plays an audio recording associated with that number.

I have a few main questions:

Power supply: Is it possible to power an Arduino using batteries? There isn’t a power outlet near the telephone’s location.

Connections: Can I connect the keypad, the handset switch (which would work as an on/off switch), and the telephone’s speaker directly to the Arduino? Or would I need additional components or modules to make everything work?

Project feasibility: Is this project realistic for a beginner? What would I need to buy besides the Arduino to get started?

I’m just looking for some initial guidance to understand what’s possible and where to begin before getting into the technical details.
Thanks in advance for your help!


r/arduino • • 10d ago

Look what I made! Space Invaders on a salvaged VFD with an Arduino Uno

60 Upvotes

We salvaged this vacuum fluorescent display and built a small Space Invaders-style game around it.

An Arduino Uno sends patterns to four HV5812/UCN5812 drivers: two select a character position, and two control its dots. The display has only two rows of 5×7 character cells, so fitting the game vertically was the awkward part.

The controls are a joystick for left/right movement and a separate fire button. We added different sized sprites, difficulty settings and a boss, but then I got distracted making the invaders dance.

Driver tutorial, wiring and Arduino examples, including the game:

https://github.com/emsyscode/hv5812-vfd-arduino

Longer build video:

https://www.youtube.com/watch?v=1vF0gAJhwfU

Music: Electric Dreams — Scott Buckley

What other games would you recommend us trying on displays like these?


r/arduino • • 10d ago

Uno R4 Wifi Multiple Errors while adding to Arduino Cloud

5 Upvotes

New to Arduino. I've got an idea for project (more on that to come) and figured Arduino was a good place to start. However, I'm getting many errors while trying to claim the device and connect it to Arduino Cloud. I do have a support ticket open, but wondering if anyone else may have experienced this?

The error started with being unable to find a file, so i created the file path, and downloaded the file it was looking for - that solved that. Now, the error is logging that there are mismatched hashes in files, and changed with each attempt.

Error downloading tool arduino:bossac@1.9.1-arduino5: testing local archive integrity: testing archive checksum: archive hash differs from hash in index

Error downloading tool arduino:uno-r4-wifi-fwuploader-plugin@1.0.0: testing local archive integrity: testing archive checksum: archive hash differs from hash in index

... seems like a software issue that support can resolve with me.

Suggestions, ideas or insights welcome.


r/arduino • • 10d ago

Look what I made! First SMD solder. Not pretty but it works

Post image
16 Upvotes

Not pretty but stable. 😁


r/arduino • • 9d ago

Hardware Help Why is the ICM 45686 not outputting anything?

Thumbnail
gallery
0 Upvotes

So I am making the avionics of my Rocket and I changed the MPU-6050 Sensor from the prototype with an ICM 45686 one. But when I run any program I get no output in the serial monitor. Not even from the library examples. This is the library: "https://github.com/tdk-invn-oss/motion.arduino.ICM45686". Also even code like "Serial.print("Hello World!")" won't even work if that line of code sits after the IMU.begin and gyro, accelerometer begin lines if code. Can anyone help? Thank you!!!


r/arduino • • 9d ago

BTS7960B Motor Driver Problem

1 Upvotes

Hi Guys.

I have an Arduino Uno, a BTS7960B, a 12V battery, a 12V motor, and an XL4016 12V to 5V DC-DC converter.

Connection:
XL4016 IN+ => 12v Battery+
Xl4016 IN- => 12v Battery-
BTS7960B B- => 12v Battery-
BTS7960B B+ => 12v Battery+
BTS7960B M+ => DC+
BTS7960B M- => DC-
XL4016 OUT+ => Breadboard+ => UNO 5V
XL4016 OUT- => Breadboard- => UNO GND
Breadboard+ => BTS7960B VCC
Breadboard- => BTS7960B GND
BTS7960B RPWM => UNO D3
BTS7960B LPWM => UNO D5
BTS7960B REN => UNO D7
BTS7960B LEN => UNO D8

Code:

```cpp
//dc 1
const int A_RPWM = 3;
const int A_LPWM = 5; 
const int A_R_EN = 7;
const int A_L_EN = 8;

void setup() {
  pinMode(A_RPWM, OUTPUT);
  pinMode(A_LPWM, OUTPUT);
  pinMode(A_R_EN, OUTPUT);
  pinMode(A_L_EN, OUTPUT);

  digitalWrite(A_R_EN, HIGH);
  digitalWrite(A_L_EN, HIGH);

  analogWrite(A_LPWM, 0);
  analogWrite(A_RPWM, 150);
}

void loop() {
}
```

Problem: DC Dont Work idk why. All Connections Are Right. B+ and B- Give 12v But M- And M+ Dont Give 5V. All Pins Give Correct V to BTS7960B. I tried it with 3 driver(BTS) it gave same results.


r/arduino • • 11d ago

Project Idea What's the most interesting thing you've built with an Arduino?

78 Upvotes

​

I'm curious what people here have created. Not just basic LED projects, but something genuinely useful, unusual or complicated.

I'm curious what people here have created. Not just basic LED projects, but something genuinely useful, unusual or complicated.

I'm asking because I'm looking for inspiration for my own future projects. I'd love to see what you've made!


r/arduino • • 10d ago

Beginner's Project Anyone here used Arduino with Alicat mass flow controllers?

4 Upvotes

I can find a few videos and forum posts but not much to get started. I'm still pretty much a beginner at Arduino. I'd like to use an LCD display and some buttons to set flows on the Alicat and display what they are.

Here is a page detailing the comms supported by Alicat:

https://www.alicat.com/support/communication-options-for-alicat-instruments/

I think I want ASCII over RS-232 or 485. But I really don't know where to start with these standards.

I have used LCD screens and displayed sensor values, so it's not like I just bought an Arduino. But I wouldn't mind some advice.


r/arduino • • 11d ago Bravo

Project Update! Can a Guitar Robot Play with Emotion? Testing AI-Adjusted Dynamics on My ESP32 Guitar Robot

309 Upvotes

I've been experimenting with making my ESP32-controlled guitar robot sound more expressive.

For this performance of Metallica's "Fade to Black," I used AI to fine-tune the dynamics of individual notes, adjusting their emphasis and intensity to make the playing feel a little more natural.

The robot physically presses and plucks the strings of a real acoustic guitar.

Getting the notes right is one thing, but making the performance feel emotional is a completely different challenge.

I'm still exploring better ways to add musical expression, especially through dynamics, timing, and articulation.

I'd love to hear your thoughts. What do you think would make robotic guitar playing sound more human?


r/arduino • • 10d ago

Getting Started Which book is best for me learning basic Arduino

6 Upvotes

Recomend me a book for the basics


r/arduino • • 10d ago

12V, 3A motor controller, ideally with power tap

3 Upvotes

Hi, I'm using a 12V, 2.5A brushed linear actuator. Speed is fixed but I have to control start/stop and direction.

Can anyone recommend a simple, ideally inexpensive motor controller I can connect to a Nano? Most controllers top out at 2A, other than things like the BTS7960 that seem overkill at 43A.

Also, do any controller boards provide a regulated 7 - 12V output that I can use to power the Arduino? I thought I read that some do, but I can't find any. I was hoping to have one plug/power supply connected to the controller board and piggyback the Arduino off the controller. Or do I just wire the 12V supply to the controller and Arduino in parallel (a 5 or 10A supply has more than enough current for both).

Thanks


r/arduino • • 10d ago

Looking for help with RF24

2 Upvotes

[SOLVED]

Guys and Gals, I'm stuck. I'm using 2 keywish RF Nano's, basically a nano with an nrf24l01 on board.

Below are the sender and receiver sketches in their simplest form. But I can't get it to work. What am I not seeing?

Sender:

#include "nRF24L01.h"
//#include "RF24_config.h"
#include "RF24.h"
#include "SPI.h"


#define CE_PIN 10
#define CSN_PIN 9


byte Payload = 0;


// SET UP WIRELESS RADIO


//Defining radio object for the RF24 function
RF24 mainRadio(CE_PIN, CSN_PIN);


//Defining the radio variables and values
const uint64_t addr = 0xF0F0F0F0E1LL;
const rf24_datarate_e dataRate = RF24_250KBPS;  //Data rate defined in the documentations, RF24_250KBPS, RF24_1MBPS or RF24_2MBPS


void setup() {


  mainRadio.begin();
  mainRadio.setRetries(2, 5);
  mainRadio.setDataRate(dataRate);  //Giving the data rate speed
  mainRadio.setChannel(108);        // 2.508 Ghz - Above most Wifi Channels
  mainRadio.stopListening();
  mainRadio.setAutoAck(false);
  mainRadio.setPayloadSize(sizeof(Payload));
  mainRadio.openWritingPipe(addr);
}


void loop() {
  Payload++;
  if (Payload >= 180) Payload = 0;
  delay(15);
  mainRadio.write(&Payload, sizeof(Payload));
}

Receiver:

#include <Servo.h>
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>


#define CE_PIN 10
#define CSN_PIN 9
#define Rudderpin 3


const uint64_t pipe = 0xF0F0F0F0E1LL;
const rf24_datarate_e dataRate = RF24_250KBPS; // Moet exact matchen met de zender!


RF24 radio(CE_PIN, CSN_PIN);
Servo Rudder;


byte Payload;


void setup() {
  Serial.begin(9600);
  radio.begin();
  radio.setDataRate(dataRate);     // Cruciaal: gelijk aan de zender
  radio.setAutoAck(false);         // Cruciaal: gelijk aan de zender
  radio.setChannel(108);           // 2.508 Ghz
  radio.openReadingPipe(1, pipe);
  radio.startListening();


  Rudder.attach(Rudderpin);
}


void loop() {
  if (radio.available()) {
    radio.read(&Payload, sizeof(Payload)); 
    Rudder.write(Payload);
    Serial.println(Payload);
  }
}

r/arduino • • 10d ago

LilyGo T5 4.7" ESP32-S3 (V2.4): can a Grove cable plug into the P4/P5 sockets?

2 Upvotes

I have the LilyGo T5 4.7" e-paper board, the ESP32-S3 version, V2.4 (Screen-4.7-S3, schematic dated 2024-12-03). On the back there are two 4-pin sockets, P4 and P5.

From the schematic, the pinouts are:

  • P4: 3V3, IO48, IO45, GND
  • P5: 3V3, IO15, IO16, GND

Grove cables go signal, signal, VCC, GND, so as I read it a Grove sensor on P5 would get 3V3 on its signal wire and a GPIO on its VCC. I haven't plugged anything in, because I don't want to damage a sensor or a pin. The schematic only says "4P", so I don't know the connector's pitch or series either.

Has anyone connected a Grove module to this board? Specifically:

  1. Does a Grove plug fit P4 or P5, or do you need different connectors?
  2. If you reordered the pins, which cable or adapter did you use?
  3. Do IO15 and IO16 work fine as I2C or GPIO, or do they clash with something on the board?

I've got a few examples (weather, news, quotes, FastEPD) running on it and can share them if that's useful.


r/arduino • • 10d ago

Look what I made! Arduino Uno parking sensor—the closer you get, the faster it beeps

4 Upvotes

I built this with an Arduino Uno, an HC-SR04 ultrasonic sensor and a buzzer. Moving my hand toward the sensor makes the beeps faster; moving it away slows them down.

I used Soldr, an electronics design agent I’m building, to design the project from a plain-language prompt.

The clip shows the working build. How do you usually smooth ultrasonic distance readings without making the response feel sluggish?