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
1answer
45 views

Power Regulation from Arduino Micro

I am using the Arduino Micro as the microcontroller for an optical detection circuit that consists of a photodiode, trans impedance op amp, and ADC. Using the +5V power pin from the Arduino Micro to ...
1
vote
0answers
61 views

Decoding a 433 MHz energy monitor

I am attempting to capture transmissions from my own energy monitor, a Watts Clever EW4009 for use with Home Assistant. I believe it is an FSK signal, with 250 um packets. I have captured several ...
1
vote
0answers
48 views

HX711 loadcell amplifier with builtin mcu communication problem

I bought the following version of HX711 module. Connection to Arduino VCC -> 5V GND -> GND SCK/TX -> GPIO 6 DT/RX -> GPIO 7 However, it doesn't work. I have tried different libraries and ...
2
votes
3answers
181 views

I2C pull-up resistors and voltage

I have a sensor that I'm trying to read via I2C, but I have some issues with the pull-up resistors and what voltage they would be set to. My host computer is the Arduino Nano Every while my sensor is ...
0
votes
2answers
89 views

How can I get as output an input Arduino NRZ signal (that comes from Raspberry PI)?

I'm trying to replicate a communication signal from a Raspberry to Arduino Uno. The signal is an output that comes from Adafruit Neopixel library to take the control over WS2812 LED. I want to put ...
0
votes
0answers
41 views

Multi-SIM card slot adapter

I want to make a multiple SIM card adapter for 10 SIM cards like in the images below: Only one SIM card is active at a time. SIM cards can be switched using a DPDT switch. SIM cards have six pins: ...
3
votes
1answer
127 views

Can two electromagnetic coils repel and attract with both like poles?

I was playing around with two EM coils where they have a steady flow of DC current through them. Theoretically, both of them should be magnetised to have a stable north and south pole, a typical ...
0
votes
0answers
51 views

Circuit to drive 8 IGBT gate drivers using 2 PWM pins on Arduino

I am using digital pins 9 and 10 to generate a 10kHz PWM on Arduino Uno. So, I got 2 PWMs. But I need to drive 8 IGBT gate drivers using these 2 PWMs (4 IGBTs using PWM1 and other 4 IGBTs using PWM2). ...
-3
votes
0answers
64 views

How to detect if a light bulb is burned out or blown or failed in Arduino [closed]

I have got an assignment to do by my interviewer in Tinkercad where on click of button bulb has to glow if the bulb is failed/blown/burnt then a mini led near button must blink else if bulb is working ...
0
votes
2answers
55 views

APA102 LED strips behaving weirdly and flickering towards the end

I am trying to make a 29 x 29 LED matrix to display animations using the APA102 (Dotstar) LEDs with an Arduino MKR Vidor 4000 as a microcontroller. I have connected the data and clock signals of the ...
1
vote
1answer
39 views

IssuesFlashing AT Firmware to ESP8266 chip built onto Arduino Mega board

I am attempting to flash an ESP8266EX that is built into an Arduino Mega board. I have 2 boards, both from factory I connect with a serial terminal (at 74880 baud chip default rate) and get the error ...
0
votes
1answer
34 views

Interfacing MCP3302 ADC with Arduino Micro SPI Help

I am very new to hardware design and am making an optical detection circuit using a photodiode. I simply need to interface with the photodiode and save the output voltage values on Arduino IDE ...
1
vote
2answers
94 views

How long does it take to charge up a capacitor

I am using Esp32 to control a NRF24L01 with antenna To power the solution I am using a HLK-PM03 which provides a 3.3V Output. I was thinking of using 470uF capacitor (other suggestions are appreciated)...
0
votes
2answers
35 views

SIM800L V2 not responding to AT Commands from Putty over USB-To-TTL PL2303

My SIM800L V2 RoHS (the blue one) although it connects to the network and registers just fine, it's not responding to AT commands sent over the PL2303 (USB-STC-ISP) USB-To-TTL Adapter through which it'...
2
votes
1answer
64 views

555 Timer Switch Circuit Operating at 12V Problem

I have designed a prototype PCB for a product we are working on. It works, but with minor problem the PCB should be able to be supplied from anything from 5V - 12V. The problem is the 555 timer ...
2
votes
2answers
98 views

LED luminosity decreasing over time

I'm measuring an LED with a light sensor but I'm running into a problem where the LED's luminosity (lux) is decreasing over time. Confusing since this is a simple setup, I don't know if the LED's I'm ...
0
votes
0answers
44 views

How can I monitor my battery voltage with an Arduino while charging? [closed]

I am designing a powerbank that has inbuilt charger with a relay connecting to the battery and an Arduino for control. How can I connect and monitor my battery voltage with an Arduino while charging ...
1
vote
0answers
39 views

Using STM32 with ESP8266 to get radio stream and play it

I am using STM32F407 board to communicate with ESP8266 using AT commands. Goal is to have STM32 tell ESP8266 to go to a live radio link then get the stream and put it through a VS1053 and out to a ...
1
vote
2answers
73 views

MOSFET-circuit is not behaving as it should

I'm currently working on a circuit that later should control a pump. For the debugging I replaced the pump with a LED and ramp up the signal every second (0>25>75>100%). In the end the PWM ...
0
votes
1answer
35 views

Serial DTR reset on custom Arduino-based board not working properly

I have a custom atMega328 board that's essentially an Arduino Nano with a few circuits doing some custom interfacing. Nothing super crazy. However I'm running into an issue with the RESET line, which ...
0
votes
1answer
42 views

MCP2525 not initialized for CAN bus implementation

https://github.com/coryjfowler/MCP_CAN_lib/blob/master/examples/CAN_loopback/CAN_loopback.ino I'm using this library to implement CAN bus and I am using the loopback mode example using a single ...
0
votes
1answer
64 views

Getting 5 V efficiently from 6 V lead acid batteries connected in series

I studied electronics but became a programmer instead, and have forgotten a lot. Now I need to run Arduinos and other 5 V boards in 12, 24 and sometimes 48 V marine and off grid environments, where ...
0
votes
1answer
19 views

L293D Logic Current leak

I connected my arduino to L293d and then to a small water pump. I noticed that even when motor power suppply was off, the motor was running at low speed possibly drawing current from Arduino pins. ...
0
votes
1answer
46 views

Photogate is unresponsive - no output signal

I am trying to use this photogate with my Arduino Pro Mini (5V.) I am having no luck getting any readings from it. I measured the voltage across the emitter and got 4.5V, which should be enough to ...
1
vote
0answers
32 views

Driving MOSFET with ESP-01 Module

I am trying to drive a MOSFET using ESP-01 to control 12V supply. I am programming the ESP-01 using the nodeMCU and then using the ESP-01 module connected to a 5V power supply (no arduino is connected)...
0
votes
0answers
21 views

GRBL issue with PWM on Arduino CNC Shield

PWM with laser plugged in PWM with laser unplugged I'm having some issues with my PWM laser control. When I connect the laser, the voltage on the Z+ pin goes up to around 1V which is undefined in ...
0
votes
0answers
41 views

Proper FET specifications for a breadboard use 24V switching circuit called directly by an Arduino?

I am a bit confused as to how to find the proper part to buy when spec-ing out a project I have. The project uses an Arduino sending five digital on/off signals to allow five separate channels to ...
0
votes
2answers
75 views

Powering Ardunio Nano with external 5V Schematic

This is the continuation of my (previous question). In that, it is suggested that powering a Nano with an external 5V is not a good method. My team told me to put an option in any way. I found this ...
-2
votes
1answer
33 views

Can I use DC-DC step down converter on infrared illuminator LED 5 mm, 940 nm [duplicate]

I was thinking if i use dc-dc step down converter on infrared LED 5 mm, 940 nm and The supply voltage for the DC to DC step down is 5 V from a smart phone charger then I will set it on 1.4 V exactly ...
0
votes
1answer
44 views

Charging single cell battery while on light load

I'm building a portable Bluetooth speaker that uses Arduino Pro Mini as switch controller, so the Arduino will always turned on, it consumes a little current, about 5 mA or even less. I'm using TP4056 ...
0
votes
2answers
159 views

How to add many I/O lines to a microcontroller for my custom computer keyboard?

I think that this is a design question because I need to know what type of chip to use first, and then I'll go shopping on my own for which one to use. I need to understand how to add at least 90 ...
-1
votes
2answers
42 views

Soil Moisture Sensor Power Issues

I'm working with some capacitive soil moisture sensors (https://www.amazon.com/gp/product/B07SYBSHGX) for a project and I'm having difficulty powering them off my power supply (https://www.amazon.com/...
1
vote
3answers
105 views

What happens if a 26 AWG wire is connected to a 20A switching power supply that is connected to a stepper motor only using 1.5A?

Basically the title but if a a 26 AWG wire is connected to a 20 amp power supply but a stepper motor is only pulling 1.5 A will the wire burn or not.
0
votes
0answers
62 views

CAN BUS circuit using arduino and STM32 not receiving data

I tried to connect arduino uno R3 to STM32 using MCP2515 CAN bus transceiver. This was the transmitter code: ...
4
votes
3answers
498 views

Why does my Arduino 0-10V controller 2N2222 circuit go to maximum speed at a small PWM signal?

I have built the following circuit from trial and error: The circuit is to change the 5V PWM signal from an Arduino digital pin to a 0-10V circuit to control industrial equipment. In this case a CNC ...
3
votes
1answer
72 views

Oxygen sensor voltage changes when machine is powered on. Interference?

I built an Arduino Uno based control panel for an altitude training machine, which connects to an oxygen sensor. The value is amplified by an instrumentation amp (INA122P) and read into the analog ...
0
votes
1answer
33 views

Arduino Lipo Battery Voltage Reading

I would like to read the voltage of a Lipo 4s battery with an arduino. The arduino can only support 5V in input, so I made a shematic of my voltage divide. Can you tell me if it is correct ? ...
0
votes
1answer
62 views

Arduino not picking up analog reading 20 meter away from my pressure sensor

I’m new here. I just hooked up my 3-pin (5V, GND, Analog Out) XGZP6847020KPG pressure sensor right on my Arduino pro mini (at first it was not working, then I added a 10 kOhm resistor in parallel with ...
0
votes
1answer
48 views

Issues with getting TDA7265 sound amplifier to work with two sound sources

I am trying to make a design that makes use of the TDA7265 to amplify sound. I have already had several iterations where I redesigned and ordered a PCB to test out the design, but each seemed to have ...
1
vote
0answers
28 views

Help in adding camera into Proteus 8

I wish to make an Arduino model in Proteus 8 for simulating it before purchasing the components. I wish to include an OV7670 camera. But I can't find any library for it anywhere. So, my questions are: ...
0
votes
1answer
31 views

Control of External Power Source with Arduino

Please pardon my ignorance, I'm still trying to wrap my head around this problem. I have built a circuit that will allow me to control distribution of voltage from a single external power supply to ...
1
vote
2answers
96 views

Powering Arduino Nano with 5V

I am new to Arduino. I need to use Arduino Nano in one application in which we will be supplying the 5V regulated power from the external world. At the same time, we need USB communication also. The ...
1
vote
1answer
90 views

"Hardware shut off" pumps when water leak is detected

I did a lot of research but cannot find a clear solution to my problem - maybe that's also because of a lack of understanding proposed solutions, of course. After all I read, I feel confident enough ...
1
vote
1answer
79 views

Converting 5V Square-Wave to +-5V Square-Wave

I am a student electronic engineer and was hoping to get some guidance on a project that I am working on. I am using the AD9850 module to output a 5V square-wave at 1.1MHz as can be seen in the figure ...
0
votes
1answer
57 views

Enhanced precision in the middle of a potentiometer

I am building a flight simulator rig that uses potentiometers to measure the position of various controls. I'm using a 10 bit ADC to read the value of the potentiometer as a fairly basic voltage ...
3
votes
1answer
78 views

Smart BMS UART problems [closed]

I recently bought a Daly Smart BMS from China for an EV project. It works well but we can’t communicate with its UART port. I got the pinouts and protocol from manufacturer and connected it to an ...
0
votes
1answer
40 views

SAMD21E with Arduino : SPI

I created a custom board with a SAMD21E chip (thanks to this). I2C protocol works very well. Nevertheless, the SPI line from the Arduino Zero use PB pins which are not present on SAMD21E chip, so I ...
1
vote
1answer
46 views

Using an NPN Transistor as a High Side Switch

I want to use the thermistor inside of a battery pack on the BQ25887 and on a GPIO pin on a microcontroller so that both the microcontroller and the charging IC can monitor the battery voltage. For ...
1
vote
1answer
66 views

How to use file.read() in Arduino?

I am trying to use file.read() in Arduino. I have a txt file with 100 rows and 2 columns. I want to access the data (19,1). How can this data be accessed? I'm using an ESP32 whit the Arduino program. ...
5
votes
8answers
2k views

Long-distance Arduino buttons crosstalk over Cat5e cable

I am developing a hardware system where an Arduino sits in the server room and communicates with the main computer via USB/serial. Users can push buttons at remote panels to trigger different ...

1
2 3 4 5
156