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
15 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 ...
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
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 ...
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 ...
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 ...
-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
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
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 ...
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
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'...
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
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
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
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
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
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 ...
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
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 ...
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
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 ...
-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
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 (...
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 ...
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
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 ...
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? ...
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 ...
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. ...
-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?
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 ...
-1
votes
0answers
44 views

Arduino power up [closed]

I have build a home CNC, I use Arduino Uno and a CNC Shield. I have build all the electrical board, to power the PC, the Arduino, the spindle/laser, the switch have 3 states OFF, PC ON and Aux ON. ...
0
votes
0answers
24 views

problem connecting an Arduino Ethernet Shield to FPGA trough SPI

I have an Arduino Ethernet Shield and trying to connect it to my spartan 6 board. I used the ICSP header on the bottom of Arduino Ethernet Shield (MISO/SCK/RST/+5/MOSI/GND) and a wire for SS(pin 10 of ...
1
vote
2answers
66 views

compact fluorescent lamp noise on digital signals

The answers to this question about CFLs (compact fluorescent lights) in an electronics lab indicate there is some concern about the presence of electronic ballasts and CFLs in connection to radio and ...
0
votes
1answer
26 views

Building a water jet cutter using Arduino, CNC shield and GRBL firmware

I am building a water jet cutter using Arduino Uno and CNC shield for control. The CNC shield uses A4988 drivers to control the stepper motors. I uploaded the GRBL (for this shield) firmware to ...
-1
votes
1answer
32 views

Pressure sensor for a 3d object for an arduino prototype [closed]

I am not an electrical engineer but an industrial designer, and I work for a SexTech company that strives to create sophisticated sex toys for women. We are currently trying to prototype a vibrator ...
0
votes
1answer
46 views

What does “resistor as a reference” means?

I have a book with some projects examples that use Arduino, one of the projects use piezo to detect vibrations. The book says the following: When plugged into 5V, the sensor (piezo) can detect ...
0
votes
0answers
55 views

Why H-bridge isn't working properly?

I am making a circuit to control a motor using an Arduino UNO and an H-bridge IC, but it's not working, rather something strange is happening. Circuit's scheme: When the motor is connected to pins 3 ...
0
votes
0answers
36 views

AVR ATmega328 low fuse wrtiten and issue

I am using an Arduino Uno as the hardware programmer together with avrdude as the software programmer for flashing an Atmega328. I have noticed PB0 was set to ...
-1
votes
0answers
11 views

Xbee and Arduino

So, I am trying to communicate between 3 xbee S2C TH radios. I am setting one as coordinator while other two as routers. I have set the same PAN ID and JV as 1 AP value to API level 1. i'm using the ...
0
votes
0answers
25 views

Programming ATMEGA328P with FTDI232 with original 1.8.1 bootloader

trying to program a custom arduino board, effectively an uno w 328P chip that plays some audio, with a particular board/bootloader, but having some issues. The wiring is fine, as mentioned below it ...
0
votes
2answers
35 views

Can I in any way connect +ve side of my led to uln2083a output pin?If no can I do it with M54562 transistor array?

I had conneced my digital pin of arduino to the uln2803a to drive LED. I want to configure my uln2803a such that i can connect +ve side of the led to the output pin of uln2803a IC.
0
votes
0answers
72 views

What's the required voltage for ws2815? [migrated]

I am working on ws2815 led strip with the esp8266 on arduino 1.6.6 fast led library.Using CD40109B level shifter to convert 3.3V of esp output to 12V .It's working fine upto 31 leds according to the ...
0
votes
1answer
25 views

custom solenoid trigger circuit

I have a custom made solenoid that is required to work at 60V to actuate with enough force. I have tried two circuits shown in the figure below but both don't work. In the first circuit, the voltage ...