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

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 ...

motor/gear sizing/type questions

I feel like this should be simple for the qualified people here. I have a 2 inch (OD) aluminum tube with a projector screen and a tubular motor inside that works fine (for now). But the motor is old and can only be controlled via the manufacturer's RF remote. (I tried to decode the codes with an esp32 but could not get the motor to accept my codes)....
No description

Exit status 74

Hy !! When I upload my programm on my Arduino Giga R1 Wifi, the output tell me that is OK, but, then, it tell me an error, the error exit status 74. The message is : "Le sketch utilise 117792 octets (5%) de l'espace de stockage de programmes. Le maximum est de 1966080 octets. Les variables globales utilisent 47624 octets (9%) de mémoire dynamique, ce qui laisse 476000 octets pour les variables locales. Le maximum est de 523624 octets. dfu-util 0.10-dev...

Panel Solar

How can I use a solar panel as a sensor? I’m thinking of measuring the current it produces with a current sensor. Maybe it’s enough to just use analogRead to measure the voltage from the solar panel, but is there another way? My goal is to measure the intensity of solar radiation....

Elegoo R3 Bootloader Install

I'm attempting to turn a spare Elegoo R3 I have into a rudimentary ARGB controller using the Hoodloader2 Bootloader, allowing me to use the 16u2 mcu as its own HID. After a successful attempt getting hoodloader2 burned and uploading the necessary Corsair Lighting Protocol sketches to the two MCUs, the board correctly identified as a Corsair lighting device in my PCs hardware settings and on the RGB software. On attempting to modify the sketch to add some debugging (the board wasn't sending data to my LED Strips), I'm now getting the avrdude error stk500_recv(): programmer is not responding. I followed the Hoodloader2 guidance on using the reset pins to enter bootloader mode, but to no avail, the error persists. My understanding is that this error can occur if the incorrect board is selected, however I used the same settings as described in the CLP instructions that had worked to upload the sketches prior, leading me to believe that I had potentially corrupted something. ...

How to flash the code? Arduino IDE > ESP32 Cam

Can someone guide me on how to flash my code to esp32 cam. It doesn't have interface for me to upload my code. Im still learning about the arduino My hardware components are: ESP32 Dev Board - Node MCU ESP32 Shield Board...
No description

Issues with Relay and WaterPump Project.

Hello everyone, I’m currently working on a project using an Arduino Uno to control four water pumps via six push buttons. The goal is to build a simple automatic liquid dispensing machine with four separate tanks. Button functions:...

Battery issue

I’m building an obstacle-avoidance robot with Arduino. I’m using 4 Li-ion 18650 cells (3.7 V, labeled 8800 mAh) connected in a battery holder. When I connect this pack to my L298N motor driver, the two DC motors don’t run (but the L298N power LED turns on). Why might this be happening, and how can I fix it?...
No description