Arduino

A

Arduino

Official Arduino Discord - Discuss all things Arduino!

Join

hardware-help

coding-help

official-product-help

project-showcase

general-help

pcb-help

adafruit-help

official-product-help

robotics-help

sensors-help

coding-help

hardware-help

esp-help

pi-help

i2c-serial-help

PCA9685 16 Channel Servo Driver Power Supply

I'm planning on doing a project using 8 SG90 servos with the PCA9685. What li-po batteries (or any kind of external power supply) would you guys recommend?

Portenta USB-C cable compatibility?

I am trying to incorporate a Portenta H7 Lite Connected as the main processor in a sensor I am building. I was originally placing the H7 in an enclosure with the USB-C connector integrated so a USB-C cable can easily be inserted into it. The sensor would be used by customers, and what I am finding is that there is (well, WAS) only a single combination of cables that I could get to work. The cable that used to work was a USB-C to USB-A adapter connected to a USB-A to USB-C cable that I connect to my new MacBook Pro. Because the Portenta H7 has a USB-C connector on it, any customer that is using my sensor will assume that any USB-C cable can be connected. This is not the case. So, to fix this, I created a USB-C breakout board that fakes a USB-2.0 4-pin connection using VBUS, GND, D+, D− only to communicate with the Portenta H7. This worked, but only temporarily. Having taken a week-long break from this project, the SAME hardware which used to connect my H7 + USB-C-to-2.0 PCB adapter to my MacBook Pro now no longer works. ...

could anyone help me learn how to use a 8*8 Led matrix?

I looked online, asked chatgpt and other stuff for hours, and it doesn't want to work

Diy speaker

Hey, how can I make this work? I want to turn the earbuds into a speaker.
No description

Relay Pinout

I have this relay, and I can’t seem to figure out the Pinout. The pin header pins are +-/s
No description

Need someone with a ESP32-S3 based board to help me debug a bare metal issue

I am working on a project targetting the ESP32-S3 on bare metal, but im having weird issues on real hardware, that don't happen in wokwi. I only have a M5stick s3 on hand, but wokwi is emulating a esp32-s3 devkit-c1. I'd appreciate anyone testing it on any esp32-s3 based board, and I'd love to accept pull requests to add more board support, even though the ESP32-S3 port of my project is extremely early in development. Here is a link to the project (the ESP32-S3 related code is on the "dev" branc...

where to search for SMD part names

i got a broken UNO like d1 ESP8266 it just smoke off at a mesurment event the bropen part top right is a smd A6163k as coudt ident is this the DCDC converter 6-pins so23...
No description

MAX30100 OXIMETER SENSOR PROBLEM:

hi, someone knows about oximeter (30100)? i have a big problem, that sensor gives me problems like: -doesn't recognize it, doesn't show me anything in the serial monitor -recognize it when i disconnect the ground from the sensor, but this doesn't make sense so, is bad...

Need Help Powering a project

Hello. by no means am I an expert in electricity and for my safety I don't want to buy some sketchy Step down module i found on eBay. Im trying to build a robot and he has 4 MG995 servos and 4 TT motors to drive him around using a mecanum drive system. However I am having trouble in two things. Finding a Battery to supply 6 Volts and/or finding a battery with the right Amperage. Now the total collection of Amperage during use is around 8 Amps. But if evrey motor stalls it might be as high as 12...

problem with A4988 Driver

Hello, I just started playing with Arduino. I’m working on a simple project with a stepper motor. My setup is basically identical to this one: https://lastminuteengineers.com/a4988-stepper-motor-driver-arduino-tutorial/ The wiring is the same. The difference is that in the article they use an Uno, while I’m using a Nano and I am powering it by 12V and my code is simpler....
No description

ESP32-S3 Supermini Battery Power. TP4056 Alternatives?

Hi! I'm going to be using an ESP32-S3 Supermini for a Bluetooth game controller. I want to be able to charge the device and play at the same time, and also have the capability to work as a wired controller for devices without BT. Can someone recommend the proper charging circuitry for this? I've seen a few folks recommend TP4056-based units, but I want to avoid them as they can have problems with over-charging, over-discharging, and overheating (see: https://www.reddit.com/r/Gameboy/comments/ouq5by/psa_do_not_use_tp4056based_chargers_to_liion/). Space is limited, as I'm currently basing it around a SNES controller footprint; so I need something that isn't too big. For the battery, I'll most likely go with whatever pouch cell I can fit. I haven't decided on an exact one yet. A nice extra feature would be the ability to monitor the battery life in % on the device (It has a small screen). TLDR: I want to charge a LiPO and power my ESP32 with it, at the same time. How can I do this safely? ...

LM393 mic dev boards be used for Music Visualizer?

I have 2 LM393 mic 🎤 based dev boards, I want to make an 5 led visualizer, by taking the decibel the mic measures, and comparing it to a set threshold to turn on the LEDs. But when I tried the code, the mic was not picking up anything. I tried both modules, the codes de-bug points where not picking up anything displayed in the serial monitor, the connections where fairly secure. I need help determining if these modules can’t be used, or if there is something wrong with my code. Any help would...
No description

I just melted my ground wires and I don't know why :(

Pretty embaressed honestly. I just tried to create this simple circuit exactly... http://adam-meyer.com/arduino/N-Channel_MOSFET I'm hoping based off my pictures someone can spot what is wrong. I was running the board from usb, left that plugged in, turned on my benchtop power supply which as sending 12v to red, grounded is black rail on breadboard. I made one change in the photos...I disconnected one ground wire which was plugged in to the right side...other than that, everything is is exactly how it was setup when the error occured. Any ideas?...
No description

Using mosfet for the first time. Found two different approaches. Can someone explain differences?

Hello, I purchased P30N06LE (N-channel) to drive a 12v solenoid with my arduino. I found two circuits to wire it up and I'm not sure which is better/why they are different. Could someone explain so I can learn not just for this task but future projects? Thankyou.
No description

Troubleshooting Cosmicwatch's Muon Detector

So I recently finished building a muon detector created by Cosmic Watch (http://www.cosmicwatch.lns.mit.edu/), but it doesn't work. I am not getting any output on the OLED screen nor is the LED flashing. There are three main reasons why I think it wouldn't work: 1.) I used slightly different hardware on some occasions, because the original was unavailable (slightly different chip in terms of the name, but it apparently was just a newer version, still I will compare the datasheets to make sure the pin locations are the same); (slightly different resistors/capacitors, same resistance/capacitance, but different voltage or wattage values); ...

dfplayermini is not communicating with arduino uno r3?

connections are right, rx tx are connected correctly, vcc and gnd are connected correctly, speakers are also connected. sd card has files in fat32 format (0001.mp3). #include "SoftwareSerial.h" #include "DFRobotDFPlayerMini.h" ...
No description

Hey all,

I want to make a project that uses the Mouse Library. I have seen the following in the official documentation "These core libraries allow the 32u4 and SAMD based boards (Leonardo, Esplora, Zero, Due and MKR Family) to appear as a native Mouse and/or Keyboard to a connected computer". I also see that the arduino micro is based on some 32u4 board....

I have to bend the Arduino to get the ide to recognise it

The board is an Arduino nano every, I checked the cable and it works fine with any other device. Do I have to resolder the usb or do I send the Arduino back? Should I clean it maybe? Please help

mega heating up a bit

heya! my understanding is that arduino MEGAs can handle 9v power just fine, but im using 9v and mine's getting a bit warm in unusual places. nothing scorching but i'd just like to confirm that its not a big issue.

ESP32 Upload Code Error

Hi there, i'm a beginner with microcontrollers and recently got my hands on two ESP32 boards by Elegoo. I wanted to make a wireless controller by having one ESP32 read some values from joystick modules and buttons, and send them over to the slave ESP32 to help control some computer movements. As I was working with the Master ESP32 to try and send over ESPNOW protocol, suddenly no code would upload to the ESP32. I would get two errors, either: A fatal error occurred: Write failed, the written flash region is empty. or ...
Next