Skip to main content

Questions tagged [arduino]

Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Access control system to be checked

This is my first “serious” electronic project. I hope everything is ok, but an extra check by someone else is really appreciated. This is the circuit I made: Here are the specs of the wiegand readers ...
PaoloRos's user avatar
0 votes
0 answers
27 views

ATTiny85 has 8kB memory, Arduino compiler says sketch space is 2kB. Why? [migrated]

I am using an ATTiny85 with 8kB memory and trying to get my code onto the chip using the Arduino IDE with Arduino Uno. I am getting the following error: Sketch uses 2444 bytes (119%) of program ...
John Smithingstonford's user avatar
0 votes
1 answer
75 views

How do I produce an analog output from an Arduino Mega and connect it to a PLC's analog input card? PWM and LM6211 Op-amp or arduino module? [closed]

I want to produce a linear output from an Arduino Mega that will be read by a PLC. Here’s the setup: I use the Arduino to control a 24V sensor through the MAX31915 evaluation kit, which translates the ...
NewbieControl's user avatar
1 vote
1 answer
54 views

Getting 0 output at ADC: Arduino Nano with MPX pressure sensor circuit

I have made a circuit for a pressure sensor, wherein I have connected an MPX5700 pressure sensor output to the A0 pin of an ADS1115 ADC, which is connected through an I2C interface to an Arduino Nano. ...
K Raghuram Chakravorthy's user avatar
0 votes
2 answers
97 views

How do I make my circuit diagram look better? Or is it wrong?

This is my first time making a circuit diagram with this many components. Any advice on how I can make it more organized or look better? The wiring looks wire to me but I'm not sure if it looks wrong. ...
alxzhu's user avatar
  • 41
0 votes
1 answer
36 views

Which Arduino pin is giving gnd to the bus rail on a PCB?

I'm using a protoshield v2 for my Arduino Uno R3 project and I'm a little confused on how the bus rails works. So I understand that the 5V pin from the Arduino is giving 5V to the 5V bus rail on the ...
alxzhu's user avatar
  • 41
1 vote
3 answers
113 views

Necessary components for a basic I2C circuit

I am trying to build a simple circuit to read from a pressure sensor using an Arduino Micro. I looked at the datasheet and have a breadboard circuit which can be schematised as: I know this isn't the ...
R. Mitchell's user avatar
2 votes
2 answers
104 views

Simple UPS for Microcontroller

Without regard to protection from draining the battery, for example if power outages were only a few seconds, can anyone see any problems with this simple design for supplying a low demand ...
ndavison's user avatar
0 votes
1 answer
116 views

Why won’t this circuit work when powered via a DC adapter?

This circuit uses an Arduino Nano and a DFRobot DFPlayer Mini to read from two load cells and then play some audio and turn on some LEDs when the weights match a specific criteria. This works well ...
electrophile's user avatar
  • 1,350
0 votes
0 answers
34 views

Load cell And Pressure sensor relaxing issue

I have a question about load cell and pressure sensors. I have modified a brake pedal from AliExpress, the Sim Jack Pro pedals to be exact. The issue is when I press and hold the pedal the analog ...
T.Ro's user avatar
  • 1
1 vote
1 answer
45 views

Problem with an Arduino DC motor controllable circuit

I am a material science student currently working on a project to build a simple circuit for controlling the speed of a DC motor. My goal is to avoid using motor driver modules by utilizing a MOSFET, ...
Lopaton's user avatar
  • 11
2 votes
2 answers
94 views

Information needed about Atmega8 development board

This is the image of the dev board consisting of an Atmega8-16PI chip and an L293D motor driver chips .It was was given to me by a friend and I am really curious on how to use it but I didn't find any ...
gaurav's user avatar
  • 21
0 votes
0 answers
50 views

Load cell value becomes negative when above certain force

I have a 100 gram load cell with the hx711 amplifier board. I have it wired up to an arduino nano with an NRF24L01 module to send the raw value to another arduino nano. The problem is that when I aply ...
user21326959's user avatar
0 votes
0 answers
9 views

SD Card Writer Attached to ATmega328P Not Working Despite Success Using Arduino Uno [migrated]

I've designed a custom circuit board using an ATmega328P, which I intend to use for writing data to an SD card via a reader/writer module. When I initially tested the SD card reader/writer with an ...
Jack Newport's user avatar
9 votes
6 answers
2k views

One IO to control two LEDs. When one is lit, the other is not

I am currentlly running out of IO ports on my Arduino board. Yes, I also have several IO extendor boards. The constraint isn't the number of IO ports, it's the wiring to the remote 'Station' via ...
Dan's user avatar
  • 91
0 votes
1 answer
57 views

Understanding pinout of of motorised potentiometer (PRM 50KB-4)

I have a motorized potentiometer, labeled Z PRM 50KB-4 I believe I have found a datasheet for the component which contains the following diagram: If I want to use the component as a voltage divider (...
Dore mee's user avatar
0 votes
1 answer
67 views

Music player via ESP32

I have a music player via an ESP32 and an SD card module Structure: SD card module (with the .wav files) -> ESP32 ESP32 pin 26 to Audio amplifier module LM386 IN (with 10µF capacitor between IN and ...
Fischer Fritz's user avatar
0 votes
1 answer
73 views

Why does TCS3200 lose accuracy when the light source is too bright?

I have a custom proof-of-concept project to detect fluid color within a PVC tube coming out of a patient's brain and turbidity (a reduction in light passing through) using an Arduino micro, a TCS3200 ...
Bilal Bahadır Akbulut's user avatar
1 vote
1 answer
38 views

Can the CANRX and CANTX pins be used as ADCs?

Can the CANRX and CANTX bus be used as ADCs on the Arduino Giga R1? We have tried a few things with it but always returns either an error or a failure. For instance, we called analogRead on the pins ...
reppp's user avatar
  • 11
1 vote
0 answers
56 views

MOSFET Power Control Problem: DFPlayer Circuit Not Working on PCB

I built a circuit that plays MP3 files and is controlled by an Arduino. I assembled the circuit on a breadboard, and it worked, but when I fabricated a PCB, the circuit failed. The problem is that the ...
Arad's user avatar
  • 113
0 votes
0 answers
32 views

Can the lens from an MLX90614-DCI sensor be transferred to other MLX90614 models to limit the FOV?

After discovering my misconception about the temperature range of the MLX90614-DCI version—which is actually -70°C to 270°C rather than the -70°C to 380°C I initially believed—I decided to switch to ...
Masoud's user avatar
  • 407
4 votes
2 answers
494 views

Arduino Board Getting Too Hot: Need Help Diagnosing Issue (Schematic Provided)

I’m encountering an issue where one of my Arduino boards, specifically “Arduino 1” in the schematic attached below, is getting very hot shortly after powering up. I’m concerned that something in my ...
Stevan's user avatar
  • 61
0 votes
0 answers
91 views

Why my MLX90614ESF-DCI sensor saturates at 300°C?

I have an MLX90614ESF-DCI FIR sensor to measure a metal rod temperature. Everything is fine below 300°C. But exactly at 300°, the measured temperature is saturated and doesn't show higher values. I ...
Masoud's user avatar
  • 407
0 votes
2 answers
73 views

How to choose a BMS for a 280 Ah LiFePO4 Battery?

I’m using a 12 V 280 Ah LiFePO4 battery pack https://www.eco-worthy.com/products/lifepo4-12v-280ah-lithium-iron-phosphate-battery and I need to select a suitable Battery Management System (BMS). The ...
prestonferry's user avatar
2 votes
3 answers
86 views

Switching regulator output voltage dropping when load connected?

I need a 2 V source capable of providing up to 5 A to supply current to a heating element; I am trying to use a Texas Instruments PTR08060WVD (datasheet) to achieve this, and with an open circuit I do ...
Dip's user avatar
  • 91
1 vote
2 answers
95 views

I need advice for designing an interactive art installation. Regarding communication protocol

I'm a mechanical engineer with minimal electronics experience (yeah dangerous). I'd like to create an interactive art installation for my local community. I need help to find what direction I should ...
B_Seibel's user avatar
0 votes
0 answers
39 views

Hall effect sensor RPM detection via breadboard circuit

I have been using the AH1815 Hall effect sensor with an Arduino and a breadboard circuit to determine RPM value of a magnetic tribune. The RPM value was detected by reading unit steps on an ...
BERKAY FURKAN ÇAKMAK's user avatar
0 votes
1 answer
65 views

HCSR04 Ultrasonice sensor in ESP32 - giving wrong values

I am trying to test the ultrasonic sensor (HC-SR04) using a ESP32 development board. The code I used is this: ...
Akhilesh B Chandran's user avatar
3 votes
3 answers
492 views

Help using DAC to control DC-DC Buck converter

I'm grateful for some advice. I'm deep down the rabbit hole and getting out of my depth. I realise this has come up several times previously and have read and tried to understand these previous posts: ...
jh112323's user avatar
1 vote
2 answers
116 views

Why are my relays heating? [closed]

I am using an ESP32 development kit with a 5V eight relay block. Following this answer, I removed jumper JD-VCC and powered the relay block at the JD-VCC pins from an external 5V 2A adaptor. The ...
mehmet's user avatar
  • 1,161
1 vote
3 answers
78 views

Buck Converters? [closed]

All I need to do is step-down my 12V power supply to 8V to power an Arduino, and I've been told a buck converter is the easiest way to do this; I see some buck converters online that look like this: ...
Dip's user avatar
  • 91
0 votes
1 answer
43 views

LIS3MDL Magnetometer heading calculation not working on xy plane

I have an Adafruit feather sense that I'm trying to code to get direction from according to the LIS3MDL magnetometer inside of it however rotating around the up-down axis it refuses to give an ...
SuitYourself's user avatar
1 vote
1 answer
66 views

Why does my stepper motor shaking back and forth instead of turning and have no torque?

I've been scratching my head on this one for several days now. Stepper motor is shaking and has no torque. A light squeeze on the shaft will prevent the motor from turning. Motor does this: https://...
Chasenuva1's user avatar
1 vote
3 answers
117 views

Interfacing Sensors to an Arduino Mega 2560

I'm designing a circuit involving 2 digital sensors and 2 analog sensors on an Arduino Mega 2560. Sensor aspect interface DHT22 temperature and humidity digital MQ-135 air quality analog DFRobot ...
David Apiribo's user avatar
0 votes
1 answer
62 views

What gauge wire would I need for 12V LED?

Hi I am trying to create addressable LED strip. My plan is a 17m long strip, running along the edge of the ceiling of my room. The led I chose is a ws2811 to which I connect an esp32 that will be ...
Papec_12's user avatar
0 votes
2 answers
82 views

MOSFET controlling a relay

I'm hoping someone could tell me where I messed up in my circuit. I am controlling the direction of a motor using a relay. The relay is 5 V, and I'm using a ESP32 which is 3.3 V, so I'm turning on ...
Neel's user avatar
  • 23
0 votes
3 answers
190 views

Issues with MOSFET module

This first MOSFET switch burn out if I run the pump more than 10 seconds. The output of MOSFET connected to 1100gph bilge pump. The power source of MOSFET connected to battery 7 Ah. Anyone who has ...
Hari .S's user avatar
  • 11
-2 votes
1 answer
88 views

SPI Data Transfer to 74HC595 [closed]

I want to send data to my 74HC595 via SPI (in Arduino). But I could not manage to blink my LEDs. My code is in below. ...
TechnoLover's user avatar
0 votes
2 answers
56 views

Replace the Atmega16U2 on the ArduinoMega2560 with Arduino ISP programmer?

I'm working on a custom ArduinoMega2560 and I was wondering if I could replace the 16U2 with the Arduino ISP https://docs.arduino.cc/retired/boards/arduino-isp/ (it's cheaper and simpler). Does this ...
Tristan's user avatar
0 votes
1 answer
66 views

KiCad - error while building a circuit with Arduino controlling a stepper motors using XT60 connector

I am learning KiCad, and I am getting this error while building a circuit with Arduino, which control stepper motors using XT60 connector, buck converter:
Tilak Kuntalkumar Kamani's user avatar
4 votes
3 answers
289 views

Optoisolated and level-shifted Esp32 Input

I'm trying to read a NFC reader's output with an Arduino Nano ESP32 through Wiegand protocol. Basically, the Wiegand protocol transmit the binary code with two pins: D0 (for the zeroes digits) and D1 (...
PaoloRos's user avatar
1 vote
3 answers
74 views

Help with circuit analysis - Transistor, dc-motor, arduino, resistors

currently I am trying to improve my skills in electric circuits by small hobby project. I want to spin one mini dc motor, which is just spinning if the Arduino activates the flow of current with a NPN ...
lmixa's user avatar
  • 13
0 votes
1 answer
42 views

Using a Relay to control an irrigation valve solenoid

I'm using a JQC-FC3VDC relay. I control it from a microscontroller using a 3.3V signal through an opto-link. And the business end of the relay controls a 24VAC output which then activates the ...
Jim M's user avatar
  • 131
1 vote
1 answer
63 views

Help identifying I2C sensor from Propel Star Wars Drone

I have a sensor from a Propel Star Wars drone that I can't identify. The metal part of the sensor is marked with "A6103 040". I have tried various libraries and sensors, including BME280, ...
Halit Efk's user avatar
1 vote
0 answers
46 views

Cannot decode IR signals using IRRemote Library

I'm using RC5 encoding for my project. I'm sending signals using RC5 Protocol. The transmitter is sending the signals correctly. But on the receiver node, when I decode the signals, Library is unable ...
Tauseef_Ahmed's user avatar
0 votes
0 answers
93 views

Nanogrid management PCB review

I have made some progress on the PCB for a nanogrid consisting of solar panel, wind turbine, batteries, load (not yet connected) this board monitors the current/voltage of each components and sends ...
Knowledge Seeker's user avatar
0 votes
2 answers
75 views

Help understanding simple Arduino circuit from a datasheet example

I'm trying to use a water sensor in a new design, and I don't understand the example circuit that is given in the datasheet, even though it looks very very simple. I must be missing something. Any ...
Open_Hamster3337's user avatar
0 votes
2 answers
88 views

12 V relay buzzing/fast clicking sound when getting signal from Arduino UNO

I'm new to electronics but I decided I want to try and build a simple circuit to control with my Adruino UNO R3. I want to make a relay switch on and off programmatically with my UNO. Here is my ...
Think_Twice's user avatar
3 votes
1 answer
93 views

DC motor stalling resets Arduino - A good thing? [closed]

I have a small DC motor that used to draw from a 3.7 V lithium battery in a small Chinese made device. I did away with the PCB to use an Arduino UNO with my own programs. I tried using motor shields, ...
Danny Akuma's user avatar
0 votes
3 answers
88 views

Esp32 controls a 12v coil relay through PC817 and 2N7000

I need to control a 12v relay with an Arduino nano ESP32. Can somebody check if the circuit I designed is good? Components list: MOSFET: 2N7000 (N-channel); Optocoupler: PC817; Diode: 1N4007; Relay: ...
PaoloRos's user avatar

1
2 3 4 5
181