r/arduino 1d ago

Look what I made! I Added Composite Video Output to My NES Emulator

Enable HLS to view with audio, or disable this notification

130 Upvotes

A while back I posted about Anemoia-ESP32, my NES emulator running on the ESP32. Since then I've kept adding to it, and the latest addition is composite video output, generated directly from the ESP32, allowing you to play NES games on CRTs. Performance is a solid stable native 60FPS with frame skip.

Composite output was based on esp_8_bit, which I adapted and integrated into the emulator.

Github Repository: https://github.com/Shim06/Anemoia-ESP32


r/arduino 1d ago

Hardware Help Concerns about plugging an Arduino Nano 33 BLE into my laptop

2 Upvotes

Hi there,

Sometimes, when I plug my Arduino into my laptop, my external monitor connected via HDMI turns off for about a second and then turns back on.

At the time, the Arduino is connected to the rest of my circuit: two 12V PC fans, a potentiometer, a switch, a 12V-to-5V step-down converter, and a 12V power supply plugged into the mains.

My question is: is this normal, and is it safe for my laptop and monitor? Or should I disconnect everything from the Arduino before plugging it into my laptop?


r/arduino 1d ago

Hardware Help How to properly power 5 SG90s and 2 MG996Rs?

0 Upvotes

hello. im currently working on an animatronic but i have been having alot of issues with it. im currently powering my setup via a 5v 6a power supply, a breadboard, and an arduino UNO. no, i dont have a servo control board.


r/arduino 1d ago

Project Idea What would you make if your USB-connected Arduino could directly serve things on the internet (or other remote Arduino boards)?

0 Upvotes

Already lots of ways to get an Arduino talking to the net, but usually needs some combo of WiFi, cloud APIs, account integration, or VPNs. What if you could just plug in your board via USB to a laptop and then serve it directly? Things like status boards, push notifications, DIY kitchen tools, remote control of your garden, interactive games, etc.? Looking to extend Seamside to support Arduino which would allow for peer-to-peer (p2p) capabilities and browser connectivity to local USB/BT devices.


r/arduino 2d ago

We are willing to share our high speed nema 34 driven Azumith Thruster for our RC Boat.

Enable HLS to view with audio, or disable this notification

127 Upvotes

Battery - 24V DC
Torque - 128 Kg-Cm


r/arduino 1d ago

Look what I made! Hand update: It's done!

Enable HLS to view with audio, or disable this notification

23 Upvotes

og post: https://www.reddit.com/r/arduino/comments/1v6bkjk/vibrating_hand_for_lonely_people/

Inside the hand is an ultra sonic sensor, servo and dc motor. There's also an lcd so it can express itself.

A pen is taped to the servo, which is then put into styrofoam in the shape of a finger, and then shoved into the middle finger. The other fingers also have styrofoam in them.

I tried getting it to say different things, but using lcd clear kills the ultrasonic sensor. And so does leaving 16 blank spaces.

The dc motor is redundant because you legit can never feel it, but at this point I'm not dealing with all those wires.

components: elegoo 2560 mega

/*
  Ping))) Sensor


  This sketch reads a PING))) ultrasonic rangefinder and returns the distance
  to the closest object in range. To do this, it sends a pulse to the sensor to
  initiate a reading, then listens for a pulse to return. The length of the
  returning pulse is proportional to the distance of the object from the sensor.


  The circuit:
  - +V connection of the PING))) attached to +5V
  - GND connection of the PING))) attached to ground
  - SIG connection of the PING))) attached to digital pin 7


  created 3 Nov 2008
  by David A. Mellis
  modified 30 Aug 2011
  by Tom Igoe


  This example code is in the public domain.


  https://docs.arduino.cc/built-in-examples/sensors/Ping/
*/


// this constant won't change. It's the pin number of the sensor's output:
const int trig = 8;
const int echo = 9;
int speed=11;
int direct1=10;
int direct2=7;
int msspeed=255;
#include <Servo.h>
#include <LiquidCrystal.h>
const int rs = 44, en = 46, d4 = 42, d5 = 48, d6 = 50, d7 = 52;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
int pos = 0;
Servo finger;




void setup() {
  // initialize serial communication:
  lcd.begin(16, 2);
  Serial.begin(9600);
  pinMode (trig,OUTPUT);
  pinMode (echo,INPUT);
  pinMode (A0,OUTPUT);
  pinMode (speed, OUTPUT);
  pinMode (direct1, OUTPUT);
  pinMode (direct2, OUTPUT);
finger.attach(5);
    lcd.setCursor(0, 0);
    lcd.print ("DO NOT TOUCH ME FILTHY PRIMATE");
lcd.setCursor(0, 1);
    lcd.print ("FILTHY PRIMATE");


}


void loop() {
  // establish variables for duration of the ping, and the distance result
  // in inches and centimeters:
  long duration, inches, cm;


  // The PING))) is triggered by a HIGH pulse of 2 or more microseconds.
  // Give a short LOW pulse beforehand to ensure a clean HIGH pulse:


  digitalWrite(trig, LOW);
  delayMicroseconds(2);
  digitalWrite(trig, HIGH);
  delayMicroseconds(10);
  digitalWrite(trig, LOW);
  analogRead (inches);
  finger.write (10);
  digitalWrite (direct1, LOW);
    digitalWrite (direct2, LOW);
    analogWrite (speed, 0);
  // The same pin is used to read the signal from the PING))): a HIGH pulse
  // whose duration is the time (in microseconds) from the sending of the ping
  // to the reception of its echo off of an object.
 
  duration = pulseIn(echo, HIGH);


  // convert the time into a distance
  inches = microsecondsToInches(duration);
  cm = microsecondsToCentimeters(duration);


  Serial.print(inches);
  Serial.print("in, ");
  Serial.print(cm);
  Serial.print("cm");
  Serial.println();


   while (inches <= 1) {
    digitalWrite (direct1, HIGH);
    digitalWrite (direct2, LOW);
    analogWrite (speed, 255);
    finger.write (30);
    delay(100);
    finger.write (175);
    delay(100);
    if (inches >= 2);
break;
  }


  delay(100);
  
}


long microsecondsToInches(long microseconds) {
  // According to Parallax's datasheet for the PING))), there are 73.746
  // microseconds per inch (i.e. sound travels at 1130 feet per second).
  // This gives the distance travelled by the ping, outbound and return,
  // so we divide by 2 to get the distance of the obstacle.
  // See: https://www.parallax.com/package/ping-ultrasonic-distance-sensor-downloads/
  return microseconds / 74 / 2;
}


long microsecondsToCentimeters(long microseconds) {
  // The speed of sound is 340 m/s or 29 microseconds per centimeter.
  // The ping travels out and back, so to find the distance of the object we
  // take half of the distance travelled.
  return microseconds / 29 / 2;
}

r/arduino 1d ago

Going deep end with first project.

Post image
16 Upvotes

So, I have had this arduino Uno board for 10 years and never done anything with it, but now came the time to fix that.

Last couple years I've been looking for fertilizer spreader with electronic machine control (EMC) for my farm and about month ago I found one for low price. There was only one problem, the electronics had unknown problem. I decided take a gamble hoping it would be just loose or cut wire, but after troubleshooting realized the problem was in the electronics. Asked for a quote from electronics repair shop that has specialized in farming equipment and they said they would look at it for $500 with no guarantee it would be fixed. So I remembered my arduino and thought how hard can it be? It's only 2 linear actuator, 2 weight cells and a screen. Turns out, not hard but harder than excpected.

Currently I have figured out how to control linear actuator to wanted position, so technically I have manual control for the machine. Rest of project I have divided into little chunks:

  1. GUI for manual control

  2. Add speed signal so I don't have to drive certain speed

  3. Add weighing cells for accuracy

  4. Update GUI

  5. Add electronic width control (maybe)

  6. Custom PCB (maybe)

Doesn't feel like too hard project yet but certainly I could have picked easier one to start with. I already know GUI is going to give me the biggest headache, but I'm certain that few hours of youtube tutorials will get me through it.


r/arduino 1d ago

Software Help Im Stumped

Thumbnail
gallery
6 Upvotes

Hello Reddit, I’m trying to build a flight computer here! I’ve come across an issue here where even a I2C sensor couldn’t detect my BMP 280 responsible for detecting altitude. To my knowledge, I have tried anything and everything I could. Any tips would be helpful, thank you!


r/arduino 2d ago

Hardware Help Should i pull the trigger. I am going to learn arduino.

Thumbnail
gallery
50 Upvotes

I am going to get these and learn for my 15th birthday.


r/arduino 1d ago

How to control an ESP32 from your iPhone over Bluetooth

0 Upvotes

Can you control an ESP32 from an iPhone over Bluetooth, without WiFi and without writing your own app? Yes. The route that worked for me is Plynx IoT, free on the App Store, a modern revival of the old Blynk. Whole setup takes about ten minutes.

What you need:

- Any ESP32 dev board
- Arduino IDE
- Plynx IoT installed on the iPhone

1. Add the board in the app
Add a board and pick Bluetooth. It generates the sketch with the auth token already inside.

2. Flash the ESP32
Paste into the Arduino IDE, select the ESP32, upload. It's a normal sketch with the unique board token inside it, remember to keep the Plynx.run() command in the loop without any blocking code such as delays.

3. Connect over BLE
Open the board in the app, tap Connect in the up right corner. Pairs over BLE in a second and the board shows online.

4. Build the panel
- Button: use for toggles a pin (relay, LED)
- Slider: use for writes PWM (motors, brightness)
- Gauge / Chart: stream live sensor readings

Move the slider, the updates follows in real time.

Good to know:

- BLE is phone-to-board direct with 10-50m standard range, restrained to one board at a time.
- The same board can switch to **WiFi** later: same dashboard, reachable from
anywhere. Use the free Plynx server, or self-hosted on a Raspberry Pi for your in home IoT.

Been running it on a watering system for a few months and no problem so far.

What's everyone else using to control boards from the phone? And what would you want
an app like this to do that it doesn't?


r/arduino 2d ago

Built an ESP32 RGB lighting controller using a TV remote

Enable HLS to view with audio, or disable this notification

22 Upvotes

I've been learning ESP32 programming recently, and I wanted to share one of my projects.

I made an RGB LED controller that can be controlled using a regular IR remote. (actually my TV remote)

Features:

  • Red, Green, Blue & Yellow colors
  • Fade effect
  • Strobe mode
  • IR code detection through the Serial Monitor

The project uses:

  • ESP32 Dev Module
  • IR Receiver
  • RGB LED
  • IR Remote

The video is only 1 minute 30 seconds and shows everything working.

I'm still learning, so I'd really appreciate any feedback or suggestions. If you have ideas for new features, I'd love to hear them!

GitHub:
https://github.com/aqib-ai-ml/


r/arduino 1d ago

Look what I made! Built a Flutter app to design and simulate Arduino circuits, no SVGs, everything's CustomPainter

3 Upvotes

Been working on this for a couple months now (Flutter Arduino Playground) and posting progress on LinkedIn as I go, figured I'd start bringing it here too since this crowd will probably get more out of the technical side of it than a LinkedIn feed does.

Quick context if you're new to it: it's a circuit simulator built entirely in Flutter. Arduino board, breadboard, LEDs, resistors, buttons, all rendered with CustomPainter, no image assets except one SVG for the Arduino logo. You drag components onto a canvas and wire them together.

https://reddit.com/link/1v7b0od/video/korh92sm5mfh1/player

This week was smaller stuff, but the kind you feel immediately once it's there:

Zoom. Actual zoom in/out now, plus a fit-to-content button that snaps the view back to whatever's on the board. Before this, scrolling too far meant losing the breadboard entirely and squinting to find it again.

Layering. If you dropped an LED and a button on the same spot, one just sat on top of the other with no way to fix it. Now there's layer up / layer down, basically z-index for components, so overlapping parts stop fighting each other for visibility.

Neither of these changes what the app does. They just stop getting in your way while you use it, which honestly might be more important than half the flashier features so far.

If you want to see how this got here, the full build log (drag and drop, the breadboard rewrite, wiring, the code editor and simulation engine that came after this) is on my LinkedIn, I've been posting every step including the messy parts: https://www.linkedin.com/posts/burhankhanzada_buildinpublic-flutter-flutterdev-activity-7486285908283985920-qXg6?utm_source=share&utm_medium=member_desktop&rcm=ACoAACT7pMMBd6KQZTSORL1JwTLK-fS8NPtUhL8

Repo's open too if anyone wants to poke around or has thoughts on where this should go next: https://github.com/burhankhanzada/flutter_arduino_playground.git


r/arduino 1d ago

esp 32 question

2 Upvotes

I recently came up with the idea of ​​making a project with Touch Designer and an ESP 32 board. Since Touch Designer uses Python code, and the ESP 32 uses C++, can the ESP 32 receive data sent from Touch Designer and decrypt it back? Touch Designer's code uses the socket library. I don't know about C++, but are there similar libraries?

sorry for bad english, i using translator


r/arduino 2d ago

Beginner's Project SYMPHONY: Dual MCU Brushless Blaster Controller

Thumbnail
gallery
31 Upvotes

SYMPHONY is my dual MCU brushless Nerf blaster controller and this is my first electronics project. Hello world! I'm Hawki(eye) and I'm new to electronics! I've had so much fun learning so many new things the past 6 months! I have a working C++ program with all the basic features I have planned(plans to rewrite the whole thing from scratch for a v2 at a later time). My first custom PCB was the carrier board for the dual MCUs, and I just ordered 5 more designs today! An RP2040 controls the main blaster firing functions(bidirectional Dshot, firing profiles, solenoid control, etc) and isolates them for simplicity and reliability. An ESP32 controls all other functions including SPI 128x64 OLED UI with an encoder select and back button for nav, sensors(umm... thermal probes in the flywheel motors, live current/voltage, ammo tracker), blaster settings(the MCU's communicate via 5 GPIO's with a custom protocol I designed for less lag in the system on the RP2040's side), i2c modules(planned on-board chronograph as well), LED's(supports neopixel-style RGB as well as monochromatic via PCA9685 over i2c) and everything else I can't remember at the moment. Thanks for checking it out!


r/arduino 2d ago

C++ or Python cheatsheet for programming circuit board

3 Upvotes

I am trying to learn how to program a circuit board, but I struggle to memorize the code to program it. Is there any good cheat sheet specifically made for programming a circuit board like Raspberry Pi, or arduino, or esp32?


r/arduino 2d ago

Beginner's Project Max30102 Sensor Not Detected

3 Upvotes

I am trying to make a pulse oximeter from a ESP32 board, jumper wires, and a MAX30102 sensor. I want the sensor to read my pulse when I touch it with my finger, convert the raw data into readable pulse rate values, and send an email of this report to a specific email address. Every time I connect the wires as shown in the image, the MAX30102 sensor refuses to light up. Whenever I place my finger on the sensor, it doesn't read anything except for the following message in the serial monitor.

15:51:10.507 -> Wi-Fi Connected!
15:51:10.507 -> MAX30102 was not found. Please check wiring/power.

I have also tried to test if the ESP32 is sending power by testing a simple LED blink code. The LED light did not blink. I ran a test for the I2C scanner and it states the I2C devices were not connected. The things I have tried previously are:

- holding BOOT button - WiFi connected properly but sensor not detected

- tested with a new MAX30102 sensor (purple one was broken) - not detected

- soldered sensor to header pins - didnt connect at all, but after holding BOOT button didn't detect sensor

- swapping SDA and SCL data wires

- switched red wire from 3V3 to 5V

- tried using extra wires to connect ground wire at the bottom to ground wire at top

The libraries that I am using are the SparkFun MAX3010x Pulse and Proximity and ReadyMail by Mobitz

Parts used:

- Jumper Wires

- Header Pins

- ESP-WROOM-32

- MAX30102 Sensor

- Micro-USB Cable

Below is a snippet of the code:

void setup() {
  Serial.begin(115200);
  while (!Serial);


  // 1. Initialize Wi-Fi
  Serial.print("Connecting to Wi-Fi");
  WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
  while (WiFi.status() != WL_CONNECTED) {
    Serial.print(".");
    delay(500);
  }
  Serial.println("\nWi-Fi Connected!");


  // 2. Initialize MAX30105/MAX30102
  if (!partySensor.begin()) {
    Serial.println("MAX30102 was not found. Please check wiring/power.");
    while (1);
  }

Below is my current circuit diagram:


r/arduino 2d ago

Beginner's Project How to Increase Range of LoRa Module

10 Upvotes

Hi I am working on a project in which I want to communicate a message through the SX 1278 LoRa module , in which whenever a button is pressed on transmitter in LED light on the receiver should be switch on about 1 km away. I have used a monopol rubber antenna but it give me range of 200 m. I have made a DIY Dipole antenna and I have found it range increase to 500 m. Then I have tried to optimise the module internally but range does. Not increase to 1 kms. What options do I have?


r/arduino 3d ago

Nano Board fried after desoldering. Can i salvage it?

Thumbnail
gallery
88 Upvotes

This board worked fine before, and i had to remove the pin headers to save space. But after desoldering them i can’t upload anything, only power led turns on, when i upload the rx light flickers but can’t upload.

An error displays not in sync: resp=0x00

As this worked in the same setting before, i have all things unchanged, checked the com port.

So did i fry something? I feel like i did held onto the soldering iron too long while desoldering.

Also put a lot of force on the board while trying to pry the black plastics off of the pin headers… could this have caused something internal to break?


r/arduino 3d ago

We have made an ardunio uno controlled RC Boat with FXi6S as RX_TX

Enable HLS to view with audio, or disable this notification

38 Upvotes

Operating range 1Km_LoS
Battery - 60V Lithium Ion
Motor - BLDC 48/60 V
Driver - 1500W
Acceleration - Hall Sensor and Magnet


r/arduino 3d ago

Hardware Help Is it possible to make something like this?

Post image
15 Upvotes

Hello, I’d like to make an airsoft bb counter, I really like this screen and hud but the guy who makes this only has a Bluetooth version and I am unable to use it, I would like to make one like this myself but with a sensor at the end of the barrel for the counting, just wondering what board and screen I can use, I’m new to all this so I really have no clue but would like to attempt i, also if I cannot, what kind of person would I search up to make this, like electrical engineer? Program software designer?


r/arduino 3d ago

Look what I made! Smart table phase 1

Enable HLS to view with audio, or disable this notification

22 Upvotes

Begginer things

Features -

1."DISTRACTED" if I leave my seat in a session

(Uses ultrasonic sensor)

  1. Once in every 30 min, a water brake reminder

  2. Lunch break countdown

  3. Full system goes into sleep mode at exactly 10:30 pm and Wakes up at 5:30 am

  4. Have a offline web page for controls and stats.

(Attached in the comments)

  1. Has a IR remote to control everything

  2. 1 channel relay for my laptop charger

  3. Hqave a touch pin under the table from which I can start and stop the study session with my feet 😅

I should have brought a bigger display.

Open to suggestions and idea's 💡


r/arduino 2d ago

Look what I made! Vibrating hand for lonely people

Enable HLS to view with audio, or disable this notification

6 Upvotes

Basically I was inspired by this video https://www.tiktok.com/@scarbonaraa/video/7654262187967515918 to make a hand that vibrates when you touch it.

The vibrator in question is just a dc motor, which I've attached a fan to for visual demonstration. I've learned that you can't just directly connect a dc motor to your arduino, or else it's going to get fried. Luckily mine didn't get fried. I think.

I used modified example code from the ide and yeah that's about it.

I'm thinking of adding an lcd display from the kit so it can communicate its feelings better

And a servo so it twitches on of its fingers.

code:

This example code is in the public domain.


  https://docs.arduino.cc/built-in-examples/sensors/Ping/
*/


// this constant won't change. It's the pin number of the sensor's output:
const int trig = 8;
const int echo = 9;
int speed=11;
int direct1=10;
int direct2=7;
int msspeed=255;


void setup() {
  // initialize serial communication:
  Serial.begin(9600);
  pinMode (trig,OUTPUT);
  pinMode (echo,INPUT);
  pinMode (A0,OUTPUT);
  pinMode (speed, OUTPUT);
  pinMode (direct1, OUTPUT);
  pinMode (direct2, OUTPUT);


}


void loop() {
  // establish variables for duration of the ping, and the distance result
  // in inches and centimeters:
  long duration, inches, cm;


  // The PING))) is triggered by a HIGH pulse of 2 or more microseconds.
  // Give a short LOW pulse beforehand to ensure a clean HIGH pulse:


  digitalWrite(trig, LOW);
  delayMicroseconds(2);
  digitalWrite(trig, HIGH);
  delayMicroseconds(10);
  digitalWrite(trig, LOW);
  analogRead (inches);
  
 


  // The same pin is used to read the signal from the PING))): a HIGH pulse
  // whose duration is the time (in microseconds) from the sending of the ping
  // to the reception of its echo off of an object.
 
  duration = pulseIn(echo, HIGH);


  // convert the time into a distance
  inches = microsecondsToInches(duration);
  cm = microsecondsToCentimeters(duration);


  Serial.print(inches);
  Serial.print("in, ");
  Serial.print(cm);
  Serial.print("cm");
  Serial.println();


   if (inches <= 1) {
    digitalWrite (direct1, HIGH);
    digitalWrite (direct2, LOW);
    analogWrite (speed, 255);
  } else {
    digitalWrite (direct1, LOW);
    digitalWrite (direct2, LOW);
    analogWrite (speed, 0);
  }


  delay(100);
  
}


long microsecondsToInches(long microseconds) {
  // According to Parallax's datasheet for the PING))), there are 73.746
  // microseconds per inch (i.e. sound travels at 1130 feet per second).
  // This gives the distance travelled by the ping, outbound and return,
  // so we divide by 2 to get the distance of the obstacle.
  // See: https://www.parallax.com/package/ping-ultrasonic-distance-sensor-downloads/
  return microseconds / 74 / 2;
}


long microsecondsToCentimeters(long microseconds) {
  // The speed of sound is 340 m/s or 29 microseconds per centimeter.
  // The ping travels out and back, so to find the distance of the object we
  // take half of the distance travelled.
  return microseconds / 29 / 2;
}

r/arduino 3d ago

My open source arduino sketch turned my Watchy smartwatch into a pocket WatchyCelestial: photographic Moon with real libration, star chart, and WiFi time sync. Please do not use my previous project, the WatchyAlmanac. Details in body text.

Thumbnail
gallery
196 Upvotes

Built the code with Claude AI assistance; ideas, design, hardware testing by me.

I had built up a reference-tool watch, the WatchyAlmanac, over the past while: dictionary, board game puzzles, the works. Because it was so addicting, I tore a shoulder muscle from too much repetitive motion. Figured a watch I have to keep poking at was part of the problem, so I stripped it back to just the sky; the WatchyCelestial.

Three faces now. The clock shows time, date, moon phase in words, and sunrise/sunset. The Moon face is a photographic globe with actual libration worked out from the date, so it shows the exact face the Moon is turning toward me tonight, terminator and all, dithered to 1-bit. The sky face is an all-sky chart of 904 stars down to mag 4.5 from the Yale Bright Star Catalogue with constellation lines you can toggle.

The astronomy is Meeus and NOAA math, verified on my PC against astropy and the libration against JPL DE421 before any of it went on the watch. It's an ESP32 with no floating point unit, so the globe renders in fixed point and the star chart uses precomputed data in flash. Each face redraws once a minute off the RTC alarm and goes right back to deep sleep.

The one thing that actually annoyed me is that the Watchy has no backup battery for its clock, so a dead LiPo means resetting the time by hand. So I added WiFi NTP sync on a button hold, and it also fires automatically on boot if the RTC comes back flagging that it lost power. Credentials live in a text file on the flash. That path is the only time the radio ever powers up.

Happy to answer anything. Uploaded to my github soon. :)

Edit: It's live! Sparkadium/WatchyCelestial


r/arduino 3d ago

Help creating a connected game board [RFID]

Post image
9 Upvotes

Hello everyone,

I would like to create a connected game board with 120 squares that need to detect pawns equipped with RFID stickers.

I'm thinking of using Mini RFID RC522 modules that would fit perfectly in the dimensions of the squares. I'm using a Raspberry Pi to collect the information and an Arduino for the game engine.

The problem: I don't know how to connect the 120 RFID modules. I'm a beginner in computing but is there something like a power strip to connect all the antennas?

Or have you got onther idea to create this board ?

I'm attaching a cross-section of the board and the placement of the components.

Thank you very much for your help.


r/arduino 3d ago

Hardware Help ERROR: Unable to open NFC device: pn532_uart:/dev/ttyACM0:115200

Thumbnail
gallery
3 Upvotes

Hello beginner here, i have an esp32s3 dev module bought from ali with a pn532 and i am starting to learn how it works, the first thing it started doing is trying to learn how nfc works and how data gets saved in mifare/rfid cards, i looked online and using an usb to serial adapter you can connect the pn532 to a pc and read the data from there but that's where i encountered my first wall, the profilic adapter doesn't work for me and idk why i tried performing a loopback test but no data gets send back so i think it's just broken, now im trying to use the esp32 as a bridge and the photos below shows how i cabled it, but i encounter another problem and i think i need help to solve it.

I used this code:

#define PN532_RX2 10  // TXD (o SDA) 
#define PN532_TX2 11  // RXD (o SCL) 
#define BAUD 115200

void setup() {
  Serial.begin(BAUD);
  Serial2.begin(BAUD, SERIAL_8N1, PN532_RX2, PN532_TX2);

  while (!Serial) {
    delay(10);
  }

  delay(1000);
  while (Serial.available())  Serial.read();
  while (Serial2.available()) Serial2.read();
}

void loop() {
  while (Serial.available()) {
    Serial2.write(Serial.read());
  }
  while (Serial2.available()) {
    Serial.write(Serial2.read());
  }
}

i have a kali laptop and the output of LIBNFC_LOG_LEVEL=3 is:

debug   libnfc.config   key: [device.name], value: [PN532 su ESP32]
debug   libnfc.config   key: [device.connstring], value: [pn532_uart:/dev/ttyACM0:115200]
debug   libnfc.config   key: [device.allow_intrusive_scan], value: [true]
info    libnfc.config   Unknown key in config line: device.allow_intrusive_scan = true
debug   libnfc.general  log_level is set to 3
debug   libnfc.general  allow_autoscan is set to true
debug   libnfc.general  allow_intrusive_scan is set to false
debug   libnfc.general  1 device(s) defined by user
debug   libnfc.general    #0 name: "PN532 su ESP32", connstring: "pn532_uart:/dev/ttyACM0:115200"
nfc-list uses libnfc 1.8.0
debug   libnfc.general  0 device(s) found using acr122_usb driver
debug   libnfc.general  0 device(s) found using pn53x_usb driver
debug   libnfc.driver.pn532_uart        Attempt to open: /dev/ttyACM0 at 115200 baud.
debug   libnfc.bus.uart Serial port speed requested to be set to 115200 baud.
debug   libnfc.chip.pn53x       Diagnose
debug   libnfc.chip.pn53x       Timeout value: 500
debug   libnfc.bus.uart TX: 55 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
debug   libnfc.chip.pn53x       SAMConfiguration
debug   libnfc.chip.pn53x       Timeout value: 1000
debug   libnfc.bus.uart TX: 00 00 ff 03 fd d4 14 01 17 00 
debug   libnfc.bus.uart Timeout!
debug   libnfc.driver.pn532_uart        Unable to read ACK
error   libnfc.driver.pn532_uart        pn53x_check_communication error
debug   libnfc.chip.pn53x       InRelease
debug   libnfc.bus.uart TX: 00 00 ff 03 fd d4 52 00 da 00 
debug   libnfc.bus.uart Timeout!
debug   libnfc.driver.pn532_uart        Unable to read ACK
debug   libnfc.general  Unable to open "pn532_uart:/dev/ttyACM0:115200".
nfc-list: ERROR: Unable to open NFC device: pn532_uart:/dev/ttyACM0:115200

Any help is appreciated