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

LED help

I made my first circut and it won't work without the resistor or with a different LED

DRV8834 stepper motor driver alternative?

I'm looking to power a tiny 8x9mm 2-phase 4-wire stepper motor in a system which is powered by a 3.7V LiPo. I have a max of 2 outputs from an ATtiny85 to drive it with, but I only need to spin the motor in one direction. I'd like to use something like an A4988 driver board where I can step the motor with only a single output from the microcontroller, but it requires a minimum of 8V on the motor side of things - I only have 3.7. I found the Pololu DRV8834 board which looks like it will do what I want, but it's pretty hard to find, and 10x as expensive as the 4988. Are there any similar low-voltage stepper motor driver boards that are more common / less expensive?...

Barometer won’t work

I have tried an Ada fruit barometer and one other with Ada fruit code but they never work any suggestions or things to check ?

QR code scanner with Arduino Nano ESP32 and OV7670.

Hello guys, I need some help with a work project. I'm new into electronics and I technically never studied it because it wasn't meant to be part of my studies' path, but here I am. What I need to do is to create a QR code scanner that can check if the QR code is considered valid or not (it checks both the QR code and its expiration date, but it's not relevant for the issues I'm having right now). I bought an arduino nano and an OV7670 because I was thinking to store the information about the QR code in an SD, but considering I've never even touched a resistor in my entire life, I wanted to try something else. I bought an arduino nano ESP32 and I've tried looking around the internet about some tutorials and I was so desperate I even asked to AI, but nothing. ...

Help for sounds using TTS

Hello I need help because the speaker is only crackling and won't produce the sound
No description

Q: Does USB Power Delivery usually offer 12VDC @2A / Limiting 15VDC to 12VDC via DC-DC converter

Hey all, electronics newbie here. I have a 12V 720mA led light strip that I want to power via a USB C and I'm running into two problems/questions: Some USB C chargers can give 12V directly, but some can't. 15V is more common. Does anyone know how common it is for USB C chargers to not offer 12V? If I wire it so it gets 15V from the charger, could I also get a DC-DC dimmable step-down converter and cap it so it never gives more than 12V? I'm not sure what the circuit or math would look like, but I imagine that would be possible with a LDD-1000L and a potentiometer and resistor of some sort:

https://cdn-reichelt.de/documents/datenblatt/D400/LDD_L_XX.pdf...

Digispark ATtiny85 Inputs doesn't want to work

Hello, i am getting crazy with my ATtiny85 with Micronucleus Bootloader (digispark clone). I want to read one analog input. Here is my actual sketch:...
No description

Arduino UNO on COM3 [Not Connected]

Hi guys, I can't connect my Arduino to my computer. The ON light is on, so it has power. The device just doesn't connect. I have a newer Alienware laptop. The device doesn't even show up in the device manager.

MOSI not doing anything on pi pico on bare metal (no sdk)

I am trying to set up SPI to use a SD card module with my pi pico, but no matter what i do it seems like the mosi pin does nothing, the internal loopback works fine but not if i physically bridge the pins.

Playing .wav Files through Teensly

Hello guys, I recently bought a Teensly 4.1, Hailege PAM8403 (amplifier) and corresponding speakers, I wired the speakers to the amplifier, and the amplifier to the teensly, and I was able to play some simple beep sounds, but for more complex sounds, like complete songs or even .wav files, I would probably need a DAC module, since the amplifier I bought doesnt have one, do you guys have any recommendations on what to do now? I am not an expert when it comes to amplifiers / DAC modules

What is the best pack to start robotics with arduino ?

hello i wanted to start the robotics with a 50€ I would like a pack with a programmable card, motors, detectors of different types (and a camera if is possible) but i don't know where order or if the product are good or not. If you have pack(even if is bigger to 50€),tips ,recommended product, or anything can help me, i take, thanks in advance...

Help with a build

So I just recently got an Arduino and have been playing around with the builds included in the kit, one of them has a water pump but no matter what I try to do it just won’t work, I attached a pic of my build and the build on the website.
No description

Regarding microcontrollers

Heya! Hopefully this is the right form for my question. I've been pretty interested in learning about less beginner-friendly microcontrollers lately on a lower level and have come across "serial registers" for the first time. My understanding is that these are components which essentially allow you to funnel multiple data streams into one digital port. If these components exist, then why are available data ports seen as a limitation or factor in choosing a microcontroller?

Stepper Motor Randomly Changing Directions

I am using an ESP32, ULN2003, and a 28BYJ-48 Stepper Motor. I have it set up so if the left button is pressed then it will go reverse, if the right one pressed it will go forward (also if any of the two previous cases, the blue led turns on) and if neither are/aren't pressed it stays still. For some reason it just changes directions whenever it likes. This is my code: ```#include <Stepper.h> const int STEPS = 2048; ...

Soldering method

What’s the best way to solder this kind of pin?
No description

Adruino / Teensy 4.1 - normalize voltage

I'm very new to the hardware world — I'm much more comfortable with pure software development. For this project, I need your help to guide me in the right direction. I need to use four vibration or impact sensors connected to a Teensy 4.0 board provided by my school (I can change the microcontroller if needed, but based on my research, the Teensy 4.0 seems to be the best fit for my use case). My goal is to use simple piezoelectric sensors to detect strong vibration peaks. When a peak is detected, I want the sensor to send a simple pulse to the Teensy. The Teensy will then timestamp the event and record the origin (i.e., which sensor triggered it). ...

How to connect 5v digital signal to ESP32 GPIO (3.3v) pin

Complete beginner here. I have an ESP32 dev board, powered by a MicroUSB cable, connected to a breadboard. I also have a YF-S201 Hall Effect Flow sensor, powered by 5v and outputs digital pulses that correspond to flow, also at 5v. I understand that the ESP32 needs 3.3v inputs. How do I go about doing this? I am currently powering the sensor using the VIN/GND pins off the ESP32 board. Google badly wants me to use a logic-level shifter, which I purchased. However, when I wired it up as Google suggests, it clearly messes something up with the board. I am feeling overwhelmed and frustrated and just need someone to point me in the right direction! Thank you! It is possible I fried either the logic level shifter or the YF-S201. When I started, I could get variable voltage off the signal wire by blowing through the valve. Not so much anymore... Or was I seeing ghost voltage? Can I read digital pulses with a multimeter? I have so many questions 😭...
No description

SH1122 SPI display wont go over 180khz spi frequency aswell as updating "line by line"

hi, im working on a dashboard display, but im not sure why the spi frequency for updating the display is so low ive set it to 800khz, in the u8g2 library itself, aswell as configuring the display to acommodate for that frequency, but the transmit speed just doesnt want to go over 180khz im also seeing this update effect, where it looks like the display is updating from top to bottom line by line, ive tried getting rid of that by changing the oscillator/clock divider but i just cant get rid of them, you can kind of see these lines in the video does anyone here know how one might get rid of these "limitations"?...

Where should i put the capacitor ?

I wanna make a nrf24 wireless communication but idk where to put the capacitor. I have nrf24 adapter.
No description

Cant Upload anything to my Pro trinket 5V/16Mhz

Hi All, can someone help me get my pro trinket to work? In my eyes i do everything correct but it looks like arduino is not uploading anything to it. 1. Trinket is listet in system manager, 2. Driver is installed on it. 3. Pro trinket 5V/16Mhz is selected in arduino 4.USBtinyISP is used as programmer....
No description