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
0answers
19 views

Suppressing noise and ESD from relay into microcontroller

I'd like to read from a relay on a CNC machine with a microcontroller running at 3.3V, the wire will be 1-1.5m twisted pair from the micro to the relay and screwed in to a terminal. There's a lot of ...
0
votes
1answer
22 views

Measuring voltage with dynamic voltage divider and Arduino with ADS1115

Is a “dynamic voltage divider” even a thing? I am using an ADC ADS1115 to measure voltage on batteries. Now these batteries are sometimes 12 volts, 24 volts or a bank of 48 volts or even 72 volts. To ...
0
votes
1answer
50 views

Arduino compatible H bridge behaving unexpectedly

I have built an h bridge in a circuit simulator for controlling my brushed DC motor such that it can work with 5v supply from Arduino Uno here is its link to play around with the circuit Circuit ...
0
votes
1answer
31 views

Arduino UNO-CH341 keeps resetting randomly

A brief summary: I work at a small workshop/factory, and we've got a single three-phase compressor for the whole factory, a week ago the compressor controller flat-out died and that left the entire ...
0
votes
1answer
57 views

Portable battery charger: how can I recharge the batteries without direct connection to my home electricity?

I'm working on a smart watering system for few flowerpots I have in my balcony. My main problem is that I don't have electricity output there, so I'm trying to think of a way to power my Arduino with ...
2
votes
2answers
51 views

Why is Arduino Uno Rev3 input voltage specified up to 20V? OpAmp

The Arduino Uno Rev3 has an OpAmp (TI LMV358IDGKR datasheet) where the non-inverting input ("CMP") is connected via a voltage divider to Vin. The OpAmp's supply is connected to 5V. On the ...
0
votes
2answers
72 views

Arduino frequency meter

I'm new to Arduino and was making a frequency counter using the pulseIn function. The problem I'm facing is that the output values are very absurd, such as 66334, 883339,12, 34 etc. and not the actual ...
0
votes
1answer
30 views

How to get desired current on output of relay's module

I'm building automatic garden watering system using Arduino Uno 5V relay module - this one https://www.amazon.co.uk/2-channel-trigger-module-JQC-3FF-S-Z-RBTMKR/dp/B01NAJ67ML, here are technical ...
0
votes
1answer
12 views

Reading current with YDHC SCT013 split core transformer and RPi or Arduino

I've got a few split core current probes YDHC SCT013 that I used to use with an Open Energy Monitor module that has failed some time ago. Now I'm looking at building a replacement power monitor ...
1
vote
2answers
53 views

Problems connecting an Arduino Uno to a Commodore 64 Joystick port

I have made up a DB9 connector, which is the connector that fits the Commodore 64's joystick port. A small program on the Arduino sends HIGH signals to pins 1,2,3 and 4 of the connector. Another small ...
1
vote
1answer
84 views

Why does Arduino get damaged when used in this relay circuit?

I am controlling a heating element using microcontroller development board (https://store.arduino.cc/arduino-nano?queryID=a777b4d5d5a1040ab95d2450172b4ef2) using the following circuit. It worked fine ...
2
votes
1answer
58 views

Read 12V input with Arduino/Teensy via PC817 (Optocoupler)

I have a SPST rocker switch with 3 terminals (Datasheet), which contains a dependent LED which is illuminated via 12V if the switch is on. I want to read the switch with an Teensy/Arduino. After some ...
0
votes
1answer
61 views

Arduino Detect something is connected to relay

I have a diesel generator controlled using arduino, 8-ch relay board and it works great but sometimes during monthly maintenance workers unplug start/stop contactor coil wires from the arduino relay ...
0
votes
0answers
53 views

Will connecting two devices, one via an IC and the other directly, cause any revese flow in current causing malfunction in the working of the device

Sorry for the long and confusing question. I just genuinely do not know how to describe this issue. But I will try my best to explain below with a basic diagram Basically, I have two microcontrollers, ...
0
votes
0answers
24 views

Can I connect the ground pin of multiple switches in serial and then to the arduino ground

I've got multiple switches (buttons/toggles etc) and have connected the ground pin of each in serial# and then the last one to the arduino ground. Seems to work - but sometimes get unreliable ...
1
vote
0answers
30 views

add 2 buttons to this sketch

Can anyone tell me how to add 2 button switches to this sketch (one forward and one reverse) for a second motor?` This code works great and I would like to just add the some button switches to pins 4 ...
1
vote
2answers
94 views

How do I get the voltage to stay at 5V when using air pumps?

I have a design where I am using 2 mini air motors pumps of (3 V each, rated current< 150mA each,) 2 release valves (5V each and 263mA each.) The Arduino microcontroller sends 5V to the motors and ...
0
votes
0answers
32 views

MPPT Three-Phase Rectifier - BLDC Generator Project

I'm building a MCU controlled 3phase rectifier that allow voltage and current control. The generator is a BLDC motor (Kv=100, Imax=30A, Poles arrangement=36N42P). It will produce from 16v to 50v ...
0
votes
0answers
33 views

Arduino/RPI module to control LED fairy lights with reverse polarity

I cant find any module to control my garland of lights by any embedded device. This module should be powered by DC12V input (but also possible to use Step Up/Step Down DC-DC voltage converter). The ...
1
vote
1answer
42 views

Can I measure free chlorine content in treated water using ORP sensor? [closed]

In my project, I need to measure pH, turbidity, and free chlorine content in treated water from wastewater. I found sensors for pH and turbidity but when I search for chlorine sensor, I found it but ...
0
votes
2answers
30 views

What would be the correct amount of voltage to power an Arduino UNO, XBEE shield (with XBEE module), and five Tower Pro SG90 Servo motors?

I am designing a glove-controlled robotic hand using Arduino UNO and XBEE. For the hand itself I am using the adafruit 16 channel PWM Servo Shield and using 5 SG90 servos for each finger. My problem ...
0
votes
0answers
28 views

If I drove pin DP8 high, would the MOSFET Q1 let current pass?

I have this circuit in my hand. If I drove pin DP8 high, would the MOSFET Q1 let current pass or would it not let it? I also have the same question for DP9. What would happen if I drove the pin DP9 ...
0
votes
1answer
115 views

Beginner question - could this cause a short circuit? (picture)

Hello! I'm very new to electrical engineering and I wanted to ask a question before I attempted something potentially dumb. One word answers are acceptable here! :) I'm eager to learn so any longer ...
0
votes
2answers
55 views

Can I run an Arduino Nano with 12V for this VU meter project?

Here is my project diagram: Here they use a 5 volt LED but I have a 12V LED. That's why I want to use a 12V power supply. Can I use it?
0
votes
1answer
57 views

Power servo with lipo battery with XL6009

I'm trying to make a uselessbox, so I have: An Arduino Nano (Chinese model with CH340 driver) 2 SG90 9g servos 1 switch Everything works fine when the Arduino is plugged in to USB, but when I'm ...
1
vote
1answer
37 views

Flip Flop Switch for a Rocket

I am looking for the best (closest) way to create a solid state version of a dual coil latching relay. Essentially, a circuit that has two inputs (on & off) that when pulsed will flip flop the ...
0
votes
0answers
59 views

Arduino i2c communication hangs while running motor

I'm have a Arduino mega 2560 board connected with PCA9698(I/O expander) through i2c communication. Controlling if input and output were working correctly. The data pins from the PCA9698 is connected ...
0
votes
0answers
52 views

Open circuit fault detection using an Arduino

I was able to implement short circuit fault detection of under ground cables and I was also able to add a GSM module(SIM900D) with it. I'm trying to further enhance my project by detecting open ...
1
vote
4answers
105 views

Can I use a Zener diode in place of a 3.3V voltage regulator to power an nRF24L01?

The nRF24L01 operates at a voltage range of 1.9 – 3.6V. I have a power supply of 6V. I need to regulate to 3.3V. I used an LD33V (3.3V regulator), but I need other solution, so I decided to use a 3.3V ...
-4
votes
2answers
94 views

Arduino power input [closed]

Arduino power input, what pin can you use for 12V DC to supply my Arduino? What's voltage limit can the Arduino can handle?
0
votes
1answer
81 views

New motor only rotates clockwise

I stared out with the 28byj-48 motor and got it to rotate one direction with one button and the other direction with the other button using Arduino pins 2 and 4, respectfully. When the new motor, ...
1
vote
1answer
74 views

Which of these is the correct wiring of an RGB light strip with n-channel MOSFET for Arduino

In these 2 examples, they connect the source to the gate with a 10K resistor, and both source and gate are connected to ground (edit clarification: gate connects to ground via 10K resistor - source ...
-5
votes
1answer
52 views

Potentiometer vs Arduino, How to replace? [closed]

I have a bldc motor control board(ESC) with potentiometer, the pot is used for controlling speed but I want to use arduino's pwm, so how to remove the pot and replace it with arduino connections? The ...
0
votes
1answer
47 views

Can I measure analog voltages for a circuit with multiple power supplies?

I have two components in a circuit: An Arduino Uno R3 and a Wind Sensor Rev. P. See diagram below. The wind sensor requires 12V to operate, so I powered it with an external power supply (provides 12V ...
0
votes
1answer
33 views

Arduino : send data via satellite (or other solutions) without GSM [closed]

I'm a researcher. I'm looking to build a very tiny embedded system with low power consumption. I must send data from the desert and above the ocean. To do that I think that my single option is to use ...
-1
votes
1answer
54 views

Switching high side of a circuit with an arduino and two n-channel mosfets

hello i have a sevenpointfive to 9 volt power supply and want to power a circuit which needs 5 volts. I have an arduino pro mini(3.3v version) and two n channel mosfets(irlz34n and irlz44n) i came up ...
1
vote
3answers
111 views

Connecting both ends of battery with a resistor is fine?

I recently just started learning about electronics and electricity. After a lot of reading this is my current understanding about a battery. If you buy a battery it is labeled + or - on each end. The +...
0
votes
1answer
48 views

Torque Control of DC fan using Arduino

I am trying to control the torque of a 24V-DC fan (datasheet) using an arduino. A control system with feedback must be setup to continuously check the torque of the motor and correct it, if the value ...
0
votes
3answers
37 views

Stepper Driver pulses control (with Arduino)

I intend to control the speed of a stepper motor thanks to a driver connected to Arduino (Mega). Basically the driver has, among others, 2 pins, PUL+ (Vcc) and PUL- (GND, common cathode), and each ...
0
votes
1answer
46 views

IGBT vs MOSFET inverter (which is better)?

I am developing a full-bridge inverter with a working frequency of 100 kHz. I am confused about whether to use IGBTs or MOSFETs. The inverter is to output a 40V square wave signal. I have previously ...
1
vote
2answers
62 views

Switching 12V with Arduino Nano

I am trying to design a circuit to switch 12V 90mA on/off using an Arduino Nano as the trigger. Is there an optocouple/transistor/MOSFET that can tolerate 12V at 100mA on the load side while still ...
0
votes
1answer
58 views

555 timer to measure variable capacitance

I've no experience with complicated circuits. Currently thinking about a simple circuit for detecting a variable capacitance, e.g for liquid level or moisture sensing. I came across the 555 timer ...
1
vote
0answers
35 views

Is it possible to drive an arduino nano and a 5v solenoid via usb?

So basically i want to make a clicker with a solenoid like an old school IBM keyboard. What i'm thinking is to put and arduino nano and the smallest 5v solenid i can find inside my keyboard and ...
0
votes
1answer
41 views

ESP8266-12E unstable WiFi connection (Need feedback)

i have made a small circuit using ESP-12E here is how my circuit looks like: Here i have kept in mind that wifi connection should be stable, still i am not able to get the stable WiFi connection. ...
0
votes
0answers
34 views

Rf/voltage powermeter

I want to start a project and i'm clueless even after reading a lot. I have an rf route with some rf components/equipments connected, analog signals going through (wired). My goal is to check the dB ...
0
votes
0answers
35 views

Running a solenoid pump with N-channel MOSFET

simulate this circuit – Schematic created using CircuitLab I'm trying to run a solenoid pump(L2 in the diagram) using a pulse generated by an Arduino. The pump is designed to run on rectified ...
0
votes
1answer
25 views

SPI communication with DRV8908-Q1 motor driver

I have designed a board to drive 4 BDC-motors using a DRV8908-Q1 motor driver (datasheet). Here is the schematic of chip with all connections and here is the microcontroller (Teensy4.0) The ...
0
votes
1answer
48 views

Custom Ultrasonic Sensor Schematic

I am trying to recreate this project. I have the circuit constructed on a breadboard. I am using an SP232 instead of a MAX232, a TIP42CG PNP instead of a BC557 PNP, and an Arduino Uno instead of an ...
0
votes
0answers
33 views

24lc256 EEPROM page writing problem

I have a question about my EEPROM Project recently started. why there is a maximum of 16-byte is Writing into EEPROM in below code. when we able to writing 64byte into the single page using page write ...
0
votes
1answer
23 views

ESP32 - Guru Meditation Error when External load is plugged in

I would like to power following ultrasonic sensor using the ESP32: https://www.maxbotix.com/documents/HRXL-MaxSonar-WRS_Datasheet.pdf Using this Heltec ESP32 board: https://heltec.org/project/wireless-...

1
2 3 4 5
152