Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arduino]

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

0
votes
1answer
16 views

I have a 24vac input, and want to use a NO relay so an arduino knows when the relay is closed

I had thought I could just connect the 24vac input to a relay input, and then setup a pin as an input on the arduino and be able to know that the relay had closed. But now I'm reading that relays ...
1
vote
1answer
60 views

Advice for this P-Channel MOSFET Power Source Selector

I know there are already questions and answers about P-Channel MOSFETs and power source selection, but I still find myself pretty confused, as many of those are more complex than my circuit or simply ...
0
votes
0answers
26 views

Getting out of a pattern in Arduino IDE - Ultrasonic + Motors Using Arduino

I am doing my final-year project of an autonomous river cleaning robot. I seem to have a problem with my code.. For now, i want to read my Ultrasonic Sensors (HCSR-04) while getting my DC motors to ...
-2
votes
1answer
33 views

Search very small ultrasound emitter\receiver [on hold]

I am looking for a very small emitter/receiver ultrasound. Not to be confused with the distance meter. The device must be 2 in 1. Switch mode. Or should register a signal if it does not send. Only ...
-6
votes
1answer
44 views

how to control and/hotwire a Byrd scooter? [on hold]

Just need a few answers how does it work im sure it's not difficult. I just wanted to know out of curiosity. thanks 😊
0
votes
1answer
25 views

Controlling output voltage using Arduino

I want to control the temperature of a heat pad, which heats up using a power and ground pin, and is controlled by a pressure sensor. The micro controller I am using runs onl 3.3V but the desired ...
0
votes
1answer
8 views

how to avoid harmonic on intrrupt for proximity sensor in NodeMcu

i have 5v IR proximity sensor for measuring pulse output attached in NodeMCu using intrrupt pin but it gets a random counter on the harmonic environment. it is working fine in Normal situation what ...
1
vote
1answer
17 views

Battery charger/discharger using N mosfet only

I want to make a battery charger discharger with an arduino, to be able to plot graphs. And afaik N mosfets are better in terms of Ron and cheaper and easier to ...
3
votes
4answers
7k views

Hacking a treadmill with Arduino?

I'd like to write a desktop app that would be able to automatically read all measurements off my treadmill, and to fully control the treadmill instead of the native dashboard. Unfortunately I know ...
-2
votes
0answers
20 views

Connecting an Arduino Uno to an Me3 C2H4 sensor? [on hold]

I need help connecting the ME3 Ethylene Sensor to an Arduino Uno. I'm building a project that requires me to know how to attach the pins of the sensor to the Arduino. I'm very unprofessional at ...
1
vote
2answers
1k views

Power arduino nano 3 externally

I want to buy an arduino nano 3 but it seems that it can be powered only by usb. I want to use it in some places where I don't have a computer so I can't power the arduino. Can I use the VIN pin to ...
1
vote
1answer
66 views

Detecting Open Circuit, Short Circuit and Battery Reversal

I am facing various design challenges with a project that I am currently working on. I've been trying to figure out a way to build a circuit that detects open circuit, short circuit, and battery ...
0
votes
0answers
33 views

Custom board five arduinos on one usb

I have recently developed a way to program 5 breadboard-style arduinos using a multiplexed programmer. I would now like to do the same with the serial communications. How could I go about this? I ...
1
vote
1answer
64 views

Solid state relay (SSR40) behaves weird

I'm trying to connect a Solid state relay using Arduino Nano. I have a push button on the circuit when press, turn on a water pump (1.5hp). I was able to make the circuit and code for the push button ...
0
votes
1answer
74 views

CAN module (MCP2515) interface with Arduino [on hold]

I connected the Arduino with an electrical meter using MCP2515. But every time I am getting the same result: . The value in the meter is 12.0. Even I tried different data register which has value 0....
1
vote
1answer
56 views

SD card initialisation problem with Atmega32u4

I have had this issue for the last couple of days and I cannot solve it. There are many similar issues I've read through online but they have not really worked for me. This project involves a PCB and ...
0
votes
1answer
29 views

How to interface a passive inductance sensor output (audio-level signal) with Arduino?

Would like to interface two passive magnetic-inductance sensors output (audio-level signal) with Arduino. The sensor circuit comprises of two wire-wound sensors and has no power. It generates it's ...
-2
votes
1answer
43 views

Calculating Max deviation in C [on hold]

I am trying to implement Max deviation equation CEquation mentioned here Can someone guide me how it can be implemented in C code. or please let me know exact equation for implantation Based on the ...
0
votes
0answers
16 views

Optocoupler or transistor.. which is good for high load relays using Arduino

I'm a newbie or a beginner with electronic stuffs. I'm trying to switch on/off a 1.5hp water pump using Arduino. I've got a 40 amps solid state relay in which the coil voltage is 12-36v. So for that I'...
24
votes
7answers
58k views

Arduino Uno R3: Directly supply regulated 5V to 5V pin?

I'd like to use an Arduino Uno R3 battery powered a datalogger. I want do supply it directly with a Step-Up regulated 5V rechargable battery powersource at power ...
0
votes
2answers
146 views

Correct size resistor to light a 17v LED with a capacitor?

I'm very much a beginner at creating my own circuits and using an Arduino so please excuse any stupid mistakes and oversights. First of all here are the components I want to use in the circuit: ...
0
votes
3answers
67 views

Interpreting rating label of DC power supply - supposed to be a constant voltage source or a constant current source?

Link to product store page Hi all, bit of a beginner question here. According to the output section of the label, this is a 12V, 1000mA power supply. This is confusing me a bit. Is this device meant ...
0
votes
1answer
67 views

Power consumption NeoPixels vs. direct control?

At Maker Faire Berlin 2018, an electrical engineer looked at my project which was shown with NeoPixel LEDs (WS2811). He mentioned that the NeoPixels waste a lot of energy. It would be better to build ...
0
votes
1answer
151 views

Controlling a 24VAC solenoid with arduino

I'm trying to come up with a design for controlling a 24VAC water valve with an arduino. My current design : I want to use a BT1308W TRIAC controlled by an arduino pin to activate the vale, I'm also ...
5
votes
7answers
13k views

How do I get proportional 240V AC output from an Arduino-based PID controller to “dim” a rice cooker for a Sous-Vide project?

I'm making a PID controller for Sous-Vide, using an Arduino. I'm trying to decide how to control the output. Using an SSR as an on-off switch on 240V AC will probably give me the result I'm looking ...
0
votes
0answers
27 views

SPI problem with STM32F103

I am trying to connect blue pill board(master) to arduino nano(slave) over SPI and read what I have sent on serial monitor. However I haven't been able to get SPI working. I run a timer to generate an ...
0
votes
1answer
150 views

Automotive Arduino

I was designing a circuit to manipulate in's and out's in a car. I use a step down converter to power up the Arduino. The inputs, in the left of the Arduino are: GIN : General grounded Input. ...
0
votes
0answers
28 views

Op Amp Unity gain gives an unexpected constant saturated output

I have this following circuit; I use an Arduino DUE to send a 12-bit DAC output and I want to feed this in an Op Amp. Every ground is tied to the same ground. The Op Amp is ADA4000-2 from Analog ...
1
vote
2answers
39 views

How to disable arduino Hardware Serial Rx Interrupt Properly

Intro: I have an Arduino mega doing multiple tasks , from which A function Reads data from a sensor using SPI . Every like 10,000 read or something , i get 1 error bit in the SPI data . and I have ...
1
vote
1answer
32 views

Consistent Current Output From Batteries To DC Motors

I'm new to ECE and as a beginner project I've taken apart an RC car and attached an Arduino to the DC motors with an L298N module for control. The goal is for the car to drive a certain path with pre-...
1
vote
2answers
493 views

Help choosing a relay for pump control

I'm building my first arduino project, and I could use some help building up the relay portion. My goal is to control a water pump that's running at 110V, 3/4hp, rated at 9A, and measured to run at ...
0
votes
2answers
182 views

Protect first LED (W2812b) in line from voltage spikes?

I am currently working on a Arduino / Raspberry Pi project, where I am trying to drive a line of 64 PL9823 LEDs which are said to be equivalent to the popular WS2812 LEDs. Datasheet: http://www....
1
vote
3answers
160 views

Output voltage of USB FAN

In my recent project, I'm working on 5V DC USB fan's speed controlling. My fan motor looks like below: Here fan controlling is done by PWM which is coming from Arduino NANO controller. For ...
-1
votes
1answer
58 views

Blink 3 LEDs at 1 Hz with a Power up ON Time Delay

I am very new to Arduino! I am struggling to create an Arduino program that would blink 3 LEDs with 1 Hz rate with an initial ON time delay for the 2nd and the 3rd LED. When the Arduino is switched ...
0
votes
2answers
46 views

How to send a digital signal when analog sensor (QRE1113) reaches a threshold value without resorting to wasting analog input pin?

I'm building a miniature pinball machine and I am attempting to use an infrared reflector sensor (QRE1113) to detect when the ball rolls over it (I got the original idea from Ben Heck's videos). In ...
-1
votes
0answers
40 views

Isolated voltage sensing [on hold]

I'm in the process of building a battery powered, uC controlled power supply. I'm using a bluepill basically and an xl4016 buck converter module. To my assumption I can just tap in his regulation pot ...
0
votes
2answers
111 views

Hardware For Emitting Specific Sound Frequency [on hold]

I need a battery-powered hardware setup for emitting a specific frequency or a range of frequencies, in the range of 17kHz-20kHz. It should be picked up by microphones from at least 8 meters away (...
2
votes
2answers
162 views

Running 20 WS2812 LED strips (80 pixels each) from a single Arduino and 24V Power Supply with Buck Converters

I am building a matrix with 20 WS2812 LED Strips. Each strip is 80 pixels for a total of 1600 pixels. I want to drive them all from a single Arduino Mega board. To handle the power needs, I have a 24V ...
0
votes
1answer
24 views

Control relay (active low) without an transistor

I am using the Sain Smart 16-channel relay module. A relay is energized when the corresponding input pin is connected to the ground. I am using an Arduino to control the relay module using the GPIO ...
0
votes
1answer
63 views

AD7849 is it burned?

I made a terrible mistake connecting -15VDC to the pin 18 of AD7849 instead of pin 17 and powered it up for a minute until i understood the problem.It was without the protection diode for power supply ...
0
votes
0answers
28 views

Electric connections for Arduino connected to an underwater linear actuator or servo?

I am trying to set up an underwater system (depth <= 5 meters, can be dry cause of tide) which is made of: A linear actuator or linear servo An Arduino A sonar ranger. Basically, I need to ...
1
vote
0answers
25 views

Arduino Nano - Multiple 5v Power Sources

I am planning on building a small device that sits inline for a SNES controller to allow remapping the buttons. My initial idea is to use an Arduino Nano, but I'm a bit unsure about how best to do it. ...
0
votes
0answers
20 views

how to implement Pic18f97j60 with PoE Ethernet

I am a beginner when it comes to mcu and electronics design, I did some projects on Arduino and other ready made microchip boards. However this is my first time building something from scratch. I ...
0
votes
0answers
65 views

Power switch - IN and OUT connected all the time

A while ago, I asked about detecting whether a power jack is connected or not, in order to select power source from USB or DC jack. You can see the question here: Power selection circuit for USB or ...
2
votes
1answer
121 views

Why is my led not on?

Hello I’m just a beginner and I made a simple circuit with a resistor and a capacitor with a led in between. As I understand the capacitor just accumulates the energy but why is my led not going on? ...
0
votes
3answers
52 views

Time Difference between 120 degrees phase shift signal or a 3 phase signsl

I am trying to create an Arduino 3 phase square wave code, and I wanted to know the time difference between each 120 degree phase shifts. With some effort I could calculate it to be 6.66 millisecond. ...
1
vote
1answer
49 views

How to contol the height of blade in a vinyl cutter machine? [on hold]

I have a machine that has 3 axis x,y,z. The machine is a vinyl cutter. The x and y axis are stepper controlled, but the z axis is a coil so my question is how does the manufacture control the z ...
2
votes
0answers
58 views

Arduino-like microcontroller with more ram for image processing [closed]

I want to build a device to perform image acquisition and processing, but I don't know which kind of board/microcontroller to use. My idea is to use a low-res camera, take a shot, analyze it and ...
-2
votes
1answer
32 views

Arduino STM32 bluepill generate PPM

does anyone knows is there a way to generate PPM (CPPM/PPMSUM) on STM32 Bluepill Arduino? Tnx in advance?
1
vote
1answer
169 views

Arduino + PWM + LED Buck Regulator / Flashing not smooth

I am trying to use an Arduino + PWM to control a 100w LED using a Sure Electronics 300-3000ma buck regular - Product Here The chip being used is LM3409 The buck regulator is powwered by an external ...