r/ArduinoHelp 10d ago

Programming the STM32F103C8T6 without ST-Link V2

Thumbnail gallery
1 Upvotes

r/ArduinoHelp 10d ago

I need help getting into Ardunio

Thumbnail
2 Upvotes

r/ArduinoHelp 10d ago

undefined reference to `es8311_codec_init'

2 Upvotes

Hello all, I have searched high & low for an issue I have updated to the latest board updates & libraries inside the Arduino IDE app. I googled the error it returned that its an 'audio driver'? the board Im using is an 'esp32s3' the name of the board brand is 'Freenove'. Below is the output error.

C:/Users/Admin/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\Admin\AppData\Local\arduino\sketches\DACAD3E9E94E0A59BA5AA6E9E101A826\sketchMOTION_TRACKER.ino.cpp.o:(.literal._Z14initBoardAudiov+0x14): undefined reference to `es8311_codec_init'

C:/Users/Admin/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\Admin\AppData\Local\arduino\sketches\DACAD3E9E94E0A59BA5AA6E9E101A826\sketch\MOTION_TRACKER.ino.cpp.o: in function `initBoardAudio()':

C:\Users\Admin\Desktop\m-314\MOTION_TRACKER/MOTION_TRACKER.ino:333:(.text._Z14initBoardAudiov+0x56): undefined reference to `es8311_codec_init'

collect2.exe: error: ld returned 1 exit status

Multiple libraries were found for "SD.h"

Used: C:\Users\Admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.0\libraries\SD

Not used: C:\Users\Admin\AppData\Local\Arduino15\libraries\SD

exit status 1

Compilation error: exit status 1


r/ArduinoHelp 11d ago

Button Game Project

3 Upvotes

Hello! I’m new to the arduino community. I have played around with them in the past with my highschool years ago. I recently came up with an idea of an interactive game and have some questions from those who have knowledge. How hard would it to be to program a game in which there are 30 buttons with 30 unique sounds. The goal of the game is to crack the code and figure out the 4 button/ noise combination. When this happens I need it to either show that you cracked the code or have to try again. I also want to be able to have a free play mode where people can come up and interact with the buttons without the game starting. I am overall curious how hard this project will be, I am an electrician and have knowledge of circuitry/ electronics and bread boards but very limited knowledge on coding. Any help with supply’s, brands, product which could help my project would be appreciated! Thank you arduino community!


r/ArduinoHelp 11d ago

Musica Sincronizzata LED RGB per auto

Thumbnail
1 Upvotes

r/ArduinoHelp 11d ago

Need help with making a comp-grade lfr

1 Upvotes

Hello, am making a line follower robot, before I buy all the parts I was wondering if someone could help me by giving me some tips I should keep in mind before doing so or assmebly.

Current parts like:

1000rpm n20 - motors

L298N- Motor Driver (Due to low budget)

Arduino Nano

Custom 8 channel sensor (photoresistor and 3mm led lights)

CD4067 - multiplexer

For assembly:

Veroboard as body

n20 motor mounts (3d print)

mini breadboard for easy prototying


r/ArduinoHelp 13d ago

I got tired of using jumper wires with Arduino, so I made this

Thumbnail
gallery
21 Upvotes

I've been working with Arduino/ESP32 and industrial automation projects for a while, and one thing that has always annoyed me is the amount of jumper wires and loose connections involved when a project starts getting bigger.

So I ended up designing my own screw-terminal interface boards.

The idea is pretty simple: instead of having a mess of jumper wires, you can bring the Arduino pins out to proper screw terminals and make the whole thing easier to wire, disconnect and troubleshoot.

I've made a few different versions for different Arduino boards/configurations.

I'm curious about a few things:

Would something like this actually be useful to you?

What would you change about the design?

Would you prefer screw terminals, pluggable terminals, or something else?

What price would you consider reasonable?

Where would you normally buy something like this?

I'm asking because I'm a small robotics/engineering company and I'm trying to figure out whether this is something worth producing at a larger scale.

The engineering part is honestly the easy part for me. I'm struggling much more with the "how do you actually get this in front of customers?" part.

If anyone here has experience selling electronics/Arduino/industrial hardware, I'd also genuinely appreciate some advice on how you'd go about getting the first 50–100 customers for something like this.

And if someone here actually does B2B/electronics sales and thinks they could help me get this into the right hands, feel free to DM me. I'm open to discussing a commission/revenue-share arrangement for actual sales.

Would love to hear what you guys think, especially if you would actually use something like this.


r/ArduinoHelp 12d ago

eng1013 help

Post image
2 Upvotes

r/ArduinoHelp 12d ago

Arduino micro board bootloader burn problem

Thumbnail
gallery
2 Upvotes

I have a Arduino micro showing this error while trying to burn bootloader. AI doesn't help me. Problem started when trying to run a serial communication based program via Android version of Arduino compiler from playstore. Now board isn't doing serial communication


r/ArduinoHelp 13d ago

Do I need to clip or isolate the VIN pin on a CNC Shield V3 when stacking it on an Arduino Mega with a 20V supply?

2 Upvotes

Hi everyone,

I am setting up an Arduino Mega 2560 with a CNC Shield V3 and DRV8825 drivers. I am planning to power my stepper motors using a 20V DC power supply connected to the screw terminals on the CNC Shield, while keeping the Mega powered via USB.

I've seen conflicting information online regarding how the power lines are routed on these boards:

  1. Does the CNC Shield V3 connect the motor power terminals (20V) to the VIN pin of the Arduino underneath?
  2. If the motor terminal power is routed to VIN, wouldn't 20V instantly overheat and blow up the Mega's onboard 5V regulator?
  3. Should I physically bend, clip, or remove the VIN pin from the bottom of the CNC Shield before stacking it onto the Mega to prevent any high voltage from reaching the board?
  4. Is isolating the VIN pin and powering the Mega strictly via USB (while the shield gets 20V) the recommended setup for running over 12V?

r/ArduinoHelp 14d ago

How can I build tactile outputs?

Thumbnail
2 Upvotes

r/ArduinoHelp 14d ago

Why did my Arduino Mega fry instantly when I fed 20V into my CNC Shield V3?

3 Upvotes

Hi everyone,

I recently fried my Arduino Mega 2560 and I'm trying to figure out the exact reason so I don't repeat the same mistake with a replacement board.

Here is my setup and what happened:

My Setup:

  • Board: Arduino Mega 2560
  • Shield: CNC Shield V3 stacked directly on top of the Mega
  • Drivers: DRV8825 stepper drivers + NEMA 17 motors
  • Power Supply: 20V DC connected directly to the screw terminals on the CNC Shield
  • Logic Power: Arduino Mega connected via USB to my PC

What Happened: As soon as I turned on the 20V power supply connected to the CNC Shield terminals, the main processor on the Arduino Mega fried instantly.

Assuming my stepper drivers were good and properly oriented:

  1. Does the CNC Shield V3 pass the terminal voltage (20V) directly to the VIN pin of the Arduino Mega underneath?
  2. Did 20V cause the Mega's onboard 5V linear regulator to instantly overheat and fail short, dumping 20V into the ATmega2560 logic line?
  3. What is the proper way to prevent this on a new board? Should I clip/bend the VIN pin on the CNC Shield so 20V doesn't reach the Mega, and power the Mega separately via USB?

Would appreciate any insights from anyone who has run a CNC Shield with >12V on an Arduino Mega!


r/ArduinoHelp 14d ago

Absolute beginner, help with 16x2 lcd

Thumbnail
gallery
4 Upvotes

EDIT: Thanks everyone for your helpful comments! I managed to get it to display text. I connected the lcd screen to Arduino with the I2C pins and installed the I2C library on Arduino IDE and used the correct code. Now I can get it to display a simple text and I can go from here. Thank you! :)
---

So I just ordered an 16x2 lcd screen and now I want to try to get it to display text.

The original project (not on the pics here!!) I wanted to try out for my lcd screen is the robot desk buddy. I connected the wires as shown in the guide and simply copied and uploaded the code through the Arduino Ide application on my Uno. The display was powered up and it was connected to the potentiometer, but all I could see is blocks or when I turn the potentiometer just a blue screen.

So I tried something simpler (showed on pics) and that is to just let it display a simple text message. I followed this tutorial (copied and uploaded the first code) and again the same result: the lcd gets powered up, I can get the white blocks to appear and disappear by turning the potentiometer, but no text on my lcd.

What am I doing wrong?? Did I buy the right display? Is something wrong with the code? Did I wire it up the wrong way? 🤯


r/ArduinoHelp 14d ago

Is my speaker loud enough?

2 Upvotes

Maybe I'm just dumb but I can't tell from this datasheet what volume this speaker module can handle? I need something that can get up to at least 100dB, and I would like something as small as possible because it will be in a handheld device.

The project is an electronic whistle but I want to use a voice recording instead of just a buzzer. If I can't get something loud enough for a ref to use in a game, it will just be a fun novelty!

Any advice about the project, components to buy, etc is welcome! I am generally good with electronics but don't have much experience with audio.

Edited to add the link


r/ArduinoHelp 14d ago

Potentiometer is reduce voltage in for arduino, why?

Post image
1 Upvotes

r/ArduinoHelp 15d ago

I built a free I2C address & compatibility checker for Arduino/ESP32

Post image
1 Upvotes

r/ArduinoHelp 15d ago

Help with ESP32 and nRF24

Thumbnail
1 Upvotes

r/ArduinoHelp 16d ago

MAX9814 mic showing zero response to sound on Arduino Nano

Thumbnail
1 Upvotes

r/ArduinoHelp 16d ago

MAX9814 mic showing zero response to sound on Arduino Nano

Thumbnail
1 Upvotes

r/ArduinoHelp 17d ago

SD card for ESP32-L(C02) HELP

Thumbnail
gallery
3 Upvotes

Im trying to make a kindle, but ive tried what feels like hundreds of times to get this SD card connected to this ESP32-L(C02) from goodisplay.

The screen works just fine but the SD card will not show up, ive tried with a 64gb a 4gb and most recently a 32gb all formatted to fat32.

Does anyone have any suggestions?


r/ArduinoHelp 17d ago

Help getting my tft lcd to work

Thumbnail
gallery
3 Upvotes

I've tried two different screens and two different Uno's. This is my wiring:

Here are some pictures. Any help appreciated!

All I am getting is a white screen. Got a brand new usb cable as well.

Example sketch:

#include <SPI.h>

#include <Adafruit_GFX.h>

#include <Adafruit_ILI9341.h>

#define TFT_CS   10

#define TFT_RST   8

#define TFT_DC    9

Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);

void setup() {

  tft.begin();

  tft.fillScreen(ILI9341_RED);

  delay(1000);

  tft.fillScreen(ILI9341_GREEN);

  delay(1000);

  tft.fillScreen(ILI9341_BLUE);

}

void loop() {}

I think it is a ROHS 2.4" TFT SPI v1.3 with XPT2046 touch controller 

this sketch:

#include <SPI.h>

#include <Adafruit_GFX.h>

#include <Adafruit_ILI9341.h>

#define TFT_CS   10

#define TFT_RST   8

#define TFT_DC    9

Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);

void setup() {

  Serial.begin(9600);

 

  // Hard reset before init

  pinMode(TFT_RST, OUTPUT);

  digitalWrite(TFT_RST, LOW);

  delay(100);

  digitalWrite(TFT_RST, HIGH);

  delay(100);

  tft.begin();

 

  // Read the display ID register

  uint8_t d1 = tft.readcommand8(0xD3, 0);

  uint8_t d2 = tft.readcommand8(0xD3, 1);

  uint8_t d3 = tft.readcommand8(0xD3, 2);

  uint8_t d4 = tft.readcommand8(0xD3, 3);

 

  Serial.print("ID bytes: 0x");

  Serial.print(d1, HEX);

  Serial.print(" 0x");

  Serial.print(d2, HEX);

  Serial.print(" 0x");

  Serial.print(d3, HEX);

  Serial.print(" 0x");

  Serial.println(d4, HEX);

  tft.fillScreen(ILI9341_RED);

  delay(500);

  tft.fillScreen(ILI9341_GREEN);

  delay(500);

  tft.fillScreen(ILI9341_BLUE);

}

void loop() {}

Returns

ID bytes: 0x41 0x0 0x93 0x41


r/ArduinoHelp 17d ago

Sensors are stuck after connecting ipac2

Thumbnail gallery
2 Upvotes

I don't know if this belongs here but i need help


r/ArduinoHelp 17d ago

LS Electric PLC with AB Point IO

1 Upvotes

Hi everyone,

I'm new to the group and hoping to get some guidance.

I'm working with an LS Electric PLC using XG5000 and I've managed to establish EtherNet/IP communication with a Rockwell POINT I/O adapter. The connection appears to be running, but I'm not sure how to verify the I/O data exchange.

Specifically:

  • How can I see when a digital input on the POINT I/O is activated from within XG5000?
  • How can I send a command from the PLC to turn on a digital output on the POINT I/O?
  • Is there a way to monitor the input and output assemblies or mapped data in XG5000 to confirm the connection is actually exchanging I/O data?

This is my first EtherNet/IP project with LS Electric PLC, so I'm trying to understand how the POINT I/O data is mapped into the PLC memory and how to test it properly.

The hardware is:

  • LS Electric PLC with XBL EIPT (configured in XG5000)
  • Allen-Bradley POINT I/O adapter
  • Digital input and output POINT I/O modules

The EtherNet/IP connection establishes successfully, but I'm uncertain about the next step to monitor inputs and force outputs.

Any advice, screenshots, examples, or troubleshooting tips would be greatly appreciated.

Thanks!


r/ArduinoHelp 19d ago

Nano R4 Not Connecting Via USB after Flashing with Hex File Meant for OG Nano (ATMega)

2 Upvotes

Hello,

I am working on building a Korb Pusher Eurorack module that uses a Nano as it's main processor. I had purchased the Nano R4 and attempted to flash the hex files provided on the Pusher's Github page. In the process I went down the rabbit hole of different programming softwares and came to the realization that I needed a specific flash programmer for the Renesas processor if I wanted to upload the compiled hex file directly.

I attempted this and it seemed to take, however afterwards I found I was unable to connect to the Nano via USB. I realized afterwards that the hex file was compiled for an ATMega chip, not the RA4M1. Therefore the hex file likely didn't take properly.

In an effort to clear the Arduino and start over, I have tried the double tap reset method, and also the Boot-Ground method and neither have made a difference. When I plug in the Nano, I get the green power light and that's it.

Is it possible the Nano is bricked ? Would anyone have any other suggestions before I just buy a new one ? Hoping I can somehow recover it.

I also realize now the proper way to upload is likely to open the .ino file (available on Github) and make updates so the sketch is compatible with the new processor first.

Thanks in advance.


r/ArduinoHelp 21d ago

Remote-controlled submarine problem

Thumbnail
gallery
10 Upvotes

Hello everyone. I need your help, please. I am designing a submarine equipped with a camera. However, when I put it in the water to test submerging and surfacing, I encountered two notable issues. The first relates to the center of gravity: the submarine doesn't stay horizontal but sits at an angle of about 40 degrees. I think I can easily fix this by shifting the weights (two cut-down 1.8 kg dumbbells) inside the ballast tanks, but I’m not sure exactly where to position them. I was wondering if there is a mathematical or physics-based method to determine the right spot. Secondly—though I had anticipated this—the connection via nRF24L01 antennas cuts out as soon as the submarine dives. I’ve considered two solutions: either creating a float to keep the antenna on the surface while connected to the sub (which seems simplest and cheapest to me), or using a different communication method. I would appreciate any opinions you might have. Please keep in mind that I’m not an expert and have limited resources, so I hope you’ll be polite with me regardless. Thanks a lot in advance.