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
34 views

Any thoughts on a supercapacitor battery project?

Just some insight: I am fifteen and have been researching capacitors for a while now. I have come up with the idea of building a supercapacitor power supply unit solely to power some small electronics ...
1 vote
3 answers
28 views

Connecting 2 DC PSU -V terminals together for LEDs

I have a circuit which uses two 5 VDC PSUs to power a few addressable LED strips each and one is connected to an Arduino controlling them. Both PSUs are connected via the same 120 VAC input. I've ...
  • 111
0 votes
0 answers
27 views

Keeping logic out of Microcontrollers/SBC

I have an ESP32 and one of the problems I'm having is keeping code up to date. OTA is a good solution; however, I keep running into problems with deep sleep and auto update. I wanted to know if there'...
  • 1
2 votes
0 answers
40 views

Safely measuring high-side current using Adafruit INA219

I've been thinking about monitoring the power draw within my solar-based chicken coop setup to get a better understanding of the true power consumption for estimating battery life. I have a 12 V deep ...
  • 127
0 votes
1 answer
33 views

LED matrix 7x10

I am trying to assemble a 7 x 10 LED single-color matrix using 2 74HC595's for the 10 columns and a CD4017 for the 7 rows. Now obviously I am only going to use a total of 10 pins of the 74HC595 ...
2 votes
1 answer
33 views

Why is ESP32 GPIO pin 14 HIGH at start up?

I am trying design a PCB with an ESP32 (ESP-WROOM-32) and I want to add an SMD LED to GPIO14. When I check the prototype I see that GPIO14 is HIGH on startup and the LED starts to turn on, but very ...
  • 925
0 votes
0 answers
21 views

Assistance differentiating between RS485 transceivers (for use with Arduino slaves and master Pi)

I'm trying to spec out a project and get a shopping list together and am hoping to get some advice which parts to buy. The Pi will serve as the master and connect to a few arduino's at first, but I'd ...
0 votes
0 answers
36 views

Unable to transfer complete data stream from Arduino Uno at high baudrate [closed]

I am trying to transfer some data at 115200 Bd to a C# form RichTextBox. Below is my Arduino code: ...
1 vote
0 answers
121 views

What happens if you try to run code faster than your Arduino can handle?

I've been trying to program my Arduino to spin a BLDC motor. When I have this code running the BLDC motor runs perfectly every time. It also makes the motor rotate pretty fast: ...
  • 578
0 votes
1 answer
39 views

HEF4094B shift registers - unexpected outputs

I've recently started working on a custom spa pool controller, to allow WiFi control of temperatures, blowers, and automatic heating/filtration cycles using an Arduino. The bulk of the project is done ...
1 vote
1 answer
44 views

SHT31 temperature and humidity sensor stops responding without error

I will first tell you how I tried two different SHT31 sensors with the following configuration and then I will tell you my experiences. My Setup: Arduino Pro Mini with SH1106 OLED display + SGP30 TVOC ...
-1 votes
2 answers
75 views

Pull up resistor why is it low when switch is pressed

When the switch in a pull up resistor is pressed why would the voltage in the pin be read as low? wouldn't closing the switch also connect VCC to the ground? wouldn't that mean that the voltage at the ...
  • 17
0 votes
0 answers
32 views

Multiple I2C devices and SD card [closed]

I am using Arduino which is interfaced with: 1 MAX17048 fuel gauge 1302 RTC (Software SPI) 4 INA219 current sensor Software Serial with ESP8266 SD card When I disable initialization of 2 of the ...
  • 55
0 votes
0 answers
24 views

Cannot simulate code in Tinkercad

Too much load for Arduino to handle? I was hoping I could reduce the number of slots being used by running two motors for the same side wheels of a robot. I am mainly referring to the right and bottom ...
0 votes
0 answers
55 views

Serial Write in Arduino IDE has a limit? [closed]

I'm trying to send data through serial UART from ESP32 to this nRF52832 module. I have connected RX0, TX0 and GND of ESP32 to TX, RX, GND pins of nRF52 module respectively. And using this below code ...
0 votes
0 answers
34 views

Potentiostat calibration and measurement

Maybe this question is obvious, but I'll try. I am trying replicate this potentiostat without R5: In the interests of calibrating it I've joined the reference and the counter electrode to resistor of ...
0 votes
1 answer
50 views

Problem with Arduino LED scroller

This is my Arduino code: ...
  • 1
1 vote
3 answers
57 views

How would you interface a 24 volt rotary encoder to GPIO?

This Siko IG07 incremental rotary encoder spits out 24 volts. Here are the specs As we know, the Raspberry Pi and Arduino are expecting 3.3 and 5 volts respectively. This RPi level shifter Hat looks ...
1 vote
1 answer
107 views

Multimeter doesn't measure 0V

I am working with an Arduino Nano multimeter. The multimeter has an internal resistance of approximately 14 MΩ. When the probes aren't connected to anything I don't get 0 V. When they are connected to ...
  • 33
-1 votes
2 answers
87 views

Blinking 3 W, 12 V LED not bright [closed]

I am attempting to control the blink of an automotive brake light LED (3 W, 0.22 A @ 12 V found here- https://www.amazon.com/gp/product/B01MY4T4BU) for maximum brightness. I am using an Arduino Nano ...
0 votes
1 answer
30 views

Sensing a USB charger state via an Arduino powered via a separate USB charger

I want to sense the state of a 240 outlet. I have an adapter plug that I believe will allow me to use a standard USB charger (rated 120/240 V) to provide 5 V when the outlet is powered. I also plan on ...
  • 103
0 votes
0 answers
28 views

Building my own direction controller for 3-Phase sensored BLDC motor

I am new to this domain so I have researched and found a prototype circuit. I am working on two motors: 60 V, 800 W sensor BLDC motor 36 V, 300 W sensor BLDC motor I am looking for the right type of ...
  • 1
3 votes
5 answers
1k views

Is there any straightforward I2C device tester?

I work with a few I2C sensors such the MAX30102. At this point, the only way to test my sensors is building a minimum Arduino setup and get the I2C sensor's reading. I am using a low-cost device like ...
  • 259
1 vote
2 answers
39 views

Arduino to intelligent servo communication over UART not working properly

I am building a robot using LX-225 intelligent servos. These servos communicate using a half-duplex UART. Using a controller, it is possible to control the servos with an Arduino (among other MCUs.) ...
6 votes
3 answers
495 views

Which would be better to control a 1 hp, 6 A water pump motor? Time relay or magnetic contactor?

Usually to control our water pump motor, we have to turn the switch on, wait for 15-20 minutes and then turn the switch off. Often times someone forgets to turn the motor off. I want the motor to turn ...
1 vote
1 answer
79 views

Isolated power supplies for high-voltage DC

I am currently designing a high-voltage system for electrospinning. I am looking for some advice to address arcing and how to isolate the high-voltage DC from the low-voltage DC. In my current setup I ...
0 votes
1 answer
56 views

Battery level indicator doesn't work, what did I do wrong?

I am building a battery level indicator. I am using a Arduino Uno and a voltage sensor. I am currently trying to write the code for this project, but I always get 103.5%, regardless of what the ...
user avatar
-1 votes
1 answer
38 views

AC signal switch with MCU [closed]

I need to switch an AC signal (0.3 to 1 V) with a 3.3 V MCU and I have no idea on how to proceed. Could someone point me in the right direction or propose a circuit? My last idea is to use a relay, ...
0 votes
1 answer
56 views

23LC1024 manual programming

I recently bought a 23LC1024 which is a SRAM chip. I followed a tutorial in which the testing program had only #include <SPI.h> in it, and it worked without ...
0 votes
2 answers
78 views

Voltage regulation on a relay module

I have an Arduino project which involves turning on a couple of devices which require an input voltage in excess of 5 V. I have successfully prototyped it using three Grove-Relay modules. I now want ...
  • 1
0 votes
1 answer
70 views

Calibration of MQ sensors and programming logarithmic function in MCU [closed]

I'm developing a microcontroller-based project for a gas sensor. I want to use MQ2 or MQ6, so I looked at the following sites: https://circuitdigest.com/microcontroller-projects/gas-detection-and-ppm-...
0 votes
1 answer
44 views

Arduino battery efficiency with DC motor or solenoid

In the past, I've had problems powering an Arduino with a DC motor or servo directly with a 9V battery (batteries dying quickly, brownouts, multiple components don't have enough current to work ...
3 votes
1 answer
127 views

Awesome magnetic levitation using Arduino

I followed a Youtube video here and it has instructions at here. The concept is easy which is try to levitate a magnet and balance it using Hall-sensor by changing the PWM of the electromagnet to ...
0 votes
3 answers
112 views

Why can't you use any clock speed with an Arduino?

So if every IC is made of transistors what stops me from putting a ATmega328 on a breadboard with a 20 MHz clock so it will run faster? This is a rhetorical question. I don't need to know how I could ...
-1 votes
1 answer
40 views

Maximum weight for robot arm - MG996R [closed]

I want to build a robot arm (see here) to move a dumbbell of 2 kg (roughly 2.2 lbs). However, since I have no background in engineering, I have no idea how to calculate / find out if the servos used (...
0 votes
1 answer
43 views

Monitoring 24V LED stack tower lights status

I am working on a project based on Arduino, but currently stuck. I have three 24V lights to monitor, sent by a tower wired to a machine. My idea is to use a relay to convert first 24 voltage to 5V, so ...
user avatar
0 votes
1 answer
39 views

Powering ESP32S Node MCU through Vin vs USB

I am having a situation with my ESP32S Node MCU that I can't figure out. I uploaded a sketch to my MCU that will blink the blue LED connected to GPIO 2 every x number of seconds. Here is the sketch <...
-4 votes
2 answers
96 views

Will I feel a shock using this circuit?

I'm a programmer and new to electronics. I am trying to achieve at least slightly shocking my finger using this circuit and want to make sure it works before buying the stuff. It will be a punishment ...
2 votes
1 answer
116 views

Drive a coil with an Arduino

I want to drive a coil with a PID controller on an Arduino. I already made it on my computer, so the PID itself is not a problem. The coil has a resistance of a little less than 1 Ω, an inductance of ...
  • 149
0 votes
1 answer
67 views

Reading 2.5 VAC with Arduino analog pin - circuit review

I am trying to read AC voltage with an Arduino to be able to detect parameters such as phase angle, peak voltage on load and source sides for comparision. For this, I have a 230VAC to 15VAC ...
0 votes
0 answers
24 views

After 503/504 error W5500 can't connect to client

I am using a Raspberry Pi Pico and a W5500 with the Arduino IDE. Everything works fine, I can use POST and GET requests easily, but when the server is down or something happens, HTTP GET and POST ...
2 votes
2 answers
108 views

AC-DC power supply burning relays

I use an Arduino to control a relay. This relay is on an 8-relay board. The relays are rated at 120 VAC, 10 A. This relay powers on and off an AC-DC power supply. It has 110 V AC input and is rated at ...
0 votes
1 answer
45 views

Arduino EMG with 5000 Hz Nyquist sampling

I need to build an EMG using Arduino that can detect up to 2000 Hz (instead of just up to 250 Hz) so the sampling needs to be at least 5000 Hz (to satisfy Nyquist theorem). I want to focus on the ...
  • 465
0 votes
0 answers
73 views

Samsung C404 toner chip reset using Arduino I2C

I've got a Samsung c480 laser printer with C404 series toners. They have a 3 pin chip: DATA, CLK, GND. Which makes me think of I2C, I connected it to the arduino uno A4/A5 pins but by using the I2C ...
0 votes
1 answer
25 views

USB Shield for Arduino UNO not registering a device

I have several USB host shields which I intend on connecting to an Arduino UNO so I can connect a PS3 controller which will be used to control some electric motors controlled by an L298 H Bridge. The ...
1 vote
3 answers
198 views

Best way to interact with MPU

For the simplicity of the problem let's assume I'm using an Arduino. If, for example, I have this code: ...
  • 129
1 vote
1 answer
58 views

Electric guitar output not working

So I (foolishly) decided to try and build an effects pedal of sorts for an electric guitar. I'm running it through an Arduino, and the signal is received by the Arduino just fine, although I had to ...
  • 11
1 vote
0 answers
38 views

Attiny88 with Micronucleus: Flash write error -1 most of time

I have this board with an Attiny88, a pin compatible Nano 'equivalent': I want to build a simple motor controller however most of the time when I upload a program I get this error: ...
  • 1,183
0 votes
1 answer
73 views

INA219 load voltage stuck at 1 V

I’m using an INA219 and I’m trying to take a reading of voltage and current. When I’m looking at the current reading, it looks perfectly fine, however, the load voltage remains the same and it is ...
  • 281
0 votes
2 answers
70 views

Can you use a non-logic-level enhancement MOSFET for switching with an Arduino?

I’m trying to control/test a load (multimeter for testing, but solenoid can try as well) using an Arduino and an IRFP260N MOSFET. The ground of the Arduino is connected to the source of the MOSFET. ...
  • 11

1
2 3 4 5
165