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

Analog pins always shows 0

Hello, I am learning with arduino and wanted to try analog pins. First i tried using my potenciometr and output showed only 0 so i thought i got faulty potenciometr, today i tried fotoresistor that i tested to be 100% sure that it works, and it works just fine but still output is always 0. I meassured voltage directly on arduino pins and it showed voltage that there should be. Did anyone have similar problem?
No description

LED Display (Custom PCB)

Hi guys, I found this custom PCB in a food scale and want to add it to my project, normaly 4 weight sensors (with 3 wires each) would connect to these (upper connections). But I want to see if using the other pins there so way I can send numbers there. If you guys have any experience in that let me know please 🙂
No description

Xmotion V3 – Motor Outputs Not Balanced, Causing Robot to Drift

Hi everyone, A few weeks ago, I bought a Black Magic Mini Sumo kit, and I’ve been running into an issue I can’t seem to solve. After assembling the robot and programming it to move in a straight line, I noticed that it consistently drifts to the right. After some testing, I found that the two motors were spinning at different speeds, and there was a voltage difference of about 0.9–1V between the motor outputs....

Help with motor selection

Hello. I am looking for parts for an RC boat project I'm working on. I don't really know what to look for in the way of bidirectional brushless motors and controllers for them. What type of driver board do I need and what do I need to look for on the motor for it to be reversible?

Weird behaviour on SHT41

I'm making a weather station using ESP32 SHT41 BMP280 GUVA-S12SD ...
No description

Anyone can help with PIR motion sensors?

I've tried many ways to set up a pir sensor but it doesnt seem to work, the serial monitor's output kept showing like constant values like for 2 secs it shows motion detected, n then no motion detected for the next 5 secs, like cosntantly repeating no matter what i did, or it would keep showing no motion or always got motion, i tried turning off the fans, lights, changing codes, adjusting the timer n sensitivity. Please help

FY -1604b(4) infrared emitter not working

Hey everyone ! I recently bought an infrared emitter (the FY -1604b(4)) and a JST-PH 2mm cable to use in my project, but when I inserted the female JST-PH cable in the male port of the infrared emitter board I realized the cable's black cable was next to the 12v label on the board and the red one was next to ground label, I figured this was probably some sort of coloring issue from the manufacturer and tried the product with my 12.6v battery, I hid the light level sensor and pointed it at a camera I have without an infrared filter (that is sensible up to 840nm) and saw that it didn't work, I tried uncovering it and it still didn't work, I even tried with my tv remote which actually showed up on my camera's display. I tried swapping the cable and still nothing and even tried looking with my multimeter in resistance & continuous mode to see if it was properly wired and the multimeter displayed "0l" meaning there was an issue. I honestly feel like there is probably an issue with the alimentation port or the light level sensor but I'm not sure and I hope not honestly, but I was wondering if anybody knew if I was missing something or something was wrong and I just didn't realize? (here is a video of someone utilizing the product and showing how it works : https://youtu.be/HbjDPwX839M) (the picture is the infrared emitter & the cable)...
No description

Cleaning Magnetic USB Contacts

Hey there! I’m looking to clean what looks like some mild corrosion or oxidation (can’t tell which) on the magnetic side of a magnetic USB Micro B tip, the type shown in the image below. What do you recommend for cleaning the metal rings? Would isopropyl alcohol be a safe cleaning agent? Thank you for any help!...
No description

TB6600 + NEMA 17 issues

Hello everyone! I’m currently having issues with my Nema 17. It isn’t responding to any of the code I sent it properly. It sounds like it’s fizzing, or has some TV static noise and then hums at a low volume. It’s powered by an 11.1V lipo and shares a common GND with the arduino via breadboard. I think the issue could be a wiring issue (20 AWG wires) but I’m not sure. Could anyone help out?

Arduino Leonardo as ISP ( programming for ATMega328P )

I am trying to program a script to an atmega328P but keep failing, because of that: "Device signature = 0x000000" Connections: ATMega --- Arduino Leonardo ...

Arduino and oled screen i2c problem

Hi guys I have an i2c oled screen with Arduino one but I can't make it work with the adafruit_SSD1306 library but with the u8g library it works how can I do them or try them all but nothing can anyone help me?

GPS6MV2 problems

I am trying to get some input from my gps and I have a problem. It is that I don't get any input from the gps. I am a noob. Here is my code: ```#include <SoftwareSerial.h> int RXPin = 3; int TXPin = 2; ...
No description

Trying to add cellular to ESP32C3 (Seeed Studio) with BK-SIM7080G

Hi, I’m trying to add cellular to my project but I am not sure if I am powering the BK board correctly. I need small smd components because space is very tight. I also don’t know what ESR/ESD to choose. Is this diagram correct or are there improvements that should be made? The battery is also connected to something else, which will be our main method to monitor battery life. Thanks. SIM7080G module datasheet: https://www.texim-europe.com/Cmsfile/SMM-SIM7080G-Hardware-Design-V1.04-DS-200525-TE.pdf BK-SIM7080G datasheet: https://img.yfisher.com/m0/1692268963889-bk-sim7080g-board-user-manual-v10.pdf ESP32-C3 XIAO datasheet: https://files.seeedstudio.com/wiki/XIAO_WiFi/Resources/esp32-c3_datasheet.pdf...
No description

Battery powered project

Hi Everyone! So I'm making this portable projects with consists of ESP32s and brushed DC motors. I want this project to be battrey powered via a 3.7v Li-ion battery. But the issue is for the circuit, I need a stable 5v supply. I tried using a DC-DC boost converter clocked at 5.3v, but the ESP32 doesn't seem to happy with that voltage. So I finally concluded that I'll use a 3.7v and 1.5v cell in series to get 5.2v. Can anyone help me in whether this will work or not

ATS2855

Hey Does anyone know anything about the ATS2855? I got a chinese gaming controller and need to dump the firmware from the chip (the controller has 4 buttons on the back, 2 back buttons and 2 to programm them with other controller buttons. and i wanna try to make them work as normal buttons instead, via firmware if possible) All i can find online is: ...
No description

Can't show anything on a WS2812B 8x8 matrix (arduino nano)

Hi, so... I recieved 4 RGB WS2812B 8x8 matrix purchased off of aliexpress over here, and since then I've never been able to show anything with them. On the picture I have the purple wire (DIN) connected to the D12 pin on my arduino nano, and the two other +5V and GND pins are connected to the 5V and GND pins on the arduino. I've tried everything in the FastLED library, lots of pins (4, 5, 6, 12, 11, 10, 9, all digital), every WS2812Controller type when declaring FastLED.addLeds<TYPE, DATA_PIN, RGB>(leds, NUM_LEDS);, and a bunch of FastLED examples. I also tried the NeoPixel libraries, but with no result. Nothing works. All I have is the following information: - When declaring only 1 led (instead of the 64) nothing happens. Every led is off. - When declaring 64 leds (or more) the first blue led seems to blink with very low intensity an very very shortly (the LOW time seems to be much longer than the HIGH time)....
No description

Will the hc-sr04 be able to give inputs and outputs if i connect the wires in this way?

Sorry, I'm terribly new to this stuff and our teacher told us to create a product. No tutorial given. He just told us to do it on our own.
No description

NFC/RFID reader with two transponders

I misplaced the data sheet for the module in the picture. I am finding out that I really needed that to understand what I have. Can anyone point me to where I need to look to find the information I need to understand what I have.
No description

thermal camera programing

so I'm trying to set up a thermal camera (amg8833) and hook it up to a NTSC/PAL (Television) TFT Display - 2.0" Diagonal, anyone know how to go about wiring and coding, I've never coded a camera or any type of recording device. i know it is possible to code the camera on Arduino seen here: https://www.electroniclinic.com/amg8833-thermal-camera-using-esp32-tft-display-thermal-imaging-camera/, but i need it done on this specific display to fit inside some home made NVGs, anything helps. (I haven'...