Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
1answer
49 views

LDR breaks over time what to do?

http://cactus.io/hookups/sensors/light/ldr/hookup-arduino-to-ldr-sensor I have the following circuit which was running for a long time but at one point something broke and it started producing high ...
0
votes
0answers
14 views

Logic leves and protocol, interfacing HP39GS to arduino Wemos D1

Im trying to connect HP39GS scientific calculator to Wemos D1 arduino. It has TTL RS-232 serial port. Pinout is somewhat: Vcc, TX, RX, GND. Looks like HP39GS protocol for serial port is not pure RS-...
0
votes
2answers
60 views

How can I get a loud noise out of a 15mm piezo disc?

I need to get an as loud as possible noise out of a 15mm piezo disc, using only the 3V from Arduino. I know I will have to make some sort of amplifier circuit, and I have attempted to make a basic ...
0
votes
1answer
65 views

Trouble using a generic 4-20mA to 0-5V board to connect transmitter to Arduino

I'm doing a big project, where I will connect a lot of sensors to my Arduino Mega 2560. Eagerly, I bought boards of this type, but I can't get them to give me any voltage output! I've connected them ...
0
votes
1answer
66 views

Will this circuit be able to power a 12V DC motor

The circuit below is designed to power a 12V DC motor, which has to operate in both directions with variable speeds, using the Arduino as control unit. The center components (resistor, coil and ...
0
votes
1answer
28 views

Connecting multiple HC-06 bluetooth modules to multiple smartphones at the same time

So I'm having a "robotics" workshop for kids and we are going to control 6 robots with bluetooth modules. They run on Arduino. I tested the code before class and it worked as expected. I also changed ...
0
votes
1answer
44 views

Insert Arduino into Thermostat circuit, but no common

I thought I was all ready to replace a thermostat with an Arduino. I used a multi-meter and bridged some connections to discover the following: 1. bridging 230V (live) with Cool turns on the Aircon ...
0
votes
1answer
80 views

Why use a transistor to drive an LED?

Why I should us a transistor to drive an IR LED? I see many schematics which use the following circuitry: If I connect the IR LED directly to an Arduino digital pin, it works. But with the ...
0
votes
2answers
98 views

Reading a high rate (400 kHz) analog input with an ESP32 (or Arduino)

Tried Googling this but I'm not really sure what vocabulary to use. I have a series of light sensors that will be detecting changes at the speed of 400 kHz (or 2.5 µs). I would like to use an ESP32 ...
3
votes
1answer
961 views

Do I really need diodes to receive MIDI?

All the schematics above use a diode before the receiving pin on the optocouplers. The problem was, I never able to find the exact same diode as the schematics. Before, I'm using H11L1, but it never ...
0
votes
2answers
50 views

Preventing overvoltage on serial pin

I am trying to send data through serial from a 3.3v Arduino to a 5v Arduino. I assume I can't just connect the 3.3v tx to the 5v rx because, when I program the 5v one I am assuming it will send 5v ...
1
vote
1answer
96 views

12v DC brushless PWM fan burnt out via Arduino Uno

I’m working on a project where I want to control the speed of a fan using a microprocessor. I read several posts about using an Arduino Uno to control the PWM function on a 4 pin fan you find in PCs, ...
0
votes
2answers
42 views

Measuring variable resistance as voltage value

I would like to replace the microcontroller of an old gamepad with a Arduino/Teensy board. To do this, I need to connect all buttons and the output of the 4 potentiometers of the gamepad's joysticks ...
1
vote
1answer
64 views

MAX485 controlling output voltage

I'm trying to use a MAX485 module to interface a RS-485 domotic bus, when I use the oscilloscope I see that the original bus signals (A and B) are between 1.9 V high and -2.250 V low (4.15 V amplitude,...
0
votes
1answer
34 views

Using arduino and transistor for motor control

I am currently a computer engineering student trying to build a simple circuit to vary voltage by using a transistor and a arudino uno. The motor draws between 12v and 28v with a current of about ...
0
votes
2answers
116 views

What are some “professional” arduino alternatives? [closed]

I've been working with arduinos for quite some time now and finished some cool projects. The problem I have with arduino boards is that programming them is extremely simple and I have virtually no ...
0
votes
1answer
54 views

Measuring current from solar panel using an arduino?

I am designing a MPPT buck converter and bought ACS712 30A arduino current sensor and it is awful. Not accurate at all. so I find two configurations circuits that might help find an alternative to ...
0
votes
1answer
60 views

RTC DS3231 get reset

The RTC module ZS-042 get suddenly reset and show default values (2000/0/0) with no possibility to change it no matter what. The reset can occur after uploading a new sketch (I'm using ESP32) or while ...
1
vote
2answers
51 views

Stepper motor controlled by turning only in one direction and stalling in opposite direction

I am controlling a high-torque stepper motor (23Y204S from Anaheim Automation with 8 lead-wire) using a microstepping driver (MBC15081) and Arduino. The winding wiring is connected as bipolar series ...
0
votes
2answers
64 views

Real-time measurement of motors' current draw for a mobile robot

Found an Arduino-compatible Voltage-Current Sensor; it could remove the need for a separate voltage sensor. Is there a more recommended method to continuously and simultaneously measure the current-...
0
votes
0answers
23 views

PPM input with a resistor in series

I came across an Arduino RC circuit, Arduino Radio Control - Hardware, and the schematic provided is as follows: It should be noted that the 5 V output from the Arduino (...
0
votes
2answers
102 views

Control 12V DC via MOSFET and normal transistor

I made this schema and I want to ask, how transistor control MOSFET. What that s8050 transistor do with the IRFZ44N MOSFET. Please, help.
0
votes
3answers
61 views

IP Camera and USB data transmission over Ethernet Cable

Currently I am working on a project that requires connection of the Arduino and IP Camera over single Ethernet cable to a laptop and additionally supply power to a robot. The goal is to stream Video ...
0
votes
0answers
32 views

adjustable voltage controlled current source with negative values

I have a MEMS mirror which can tilt based on the input current. The current can vary between -15mA to +15mA in order to change the angle of the mirror from -15 to +15 degree. Now, I need to have an ...
0
votes
1answer
47 views

Safe to drive 24V leds directly via 2SK2049 MOS-FET?

I have built a simple automatic switch that synchronizes IKEA LED strip with the main light in the room, eliminating the need to switch multiple switches in the evening. Currently it works like this: ...
0
votes
0answers
37 views

Adafruit BMP280 and SD Card reader not working consistently with SPI

I am working on a project that involves logging the altitude from the BMP280 breakout board from Adafruit on an SD card using an Arduino Uno and SPI. initially I got the whole thing working right and ...
0
votes
1answer
67 views

Read data from strain-gauge Labjack, Arduino

I am working on a project where we have to record breathing data. For that we ordered a LabJack U3-LV along a with an amplifier (datasheet) and a belt which is some kind of strain gauge I think. We ...
0
votes
1answer
61 views

What component should I use? H-bridge? Relay?

I am working on a senior design project that involves regulating the noise from headphones to make sure no damage to the ear is done. I have all parts working except the part necessary to switch the ...
0
votes
1answer
24 views

SIM800: AT-command to get connected sender ids

I want to roughly estimate where my Arduino currently is. For this, I want to fetch the identification numbers of the stations it is currently connected to, so I can put them into an API which then ...
0
votes
3answers
76 views

Replace some LEDs with diodes in relay circuit

I need to know if I can replace the input LEDs (IN1, IN2, IN3, IN4) by a diode or resistor and if this can help me to reduce the voltage consumption generated by these LEDs. The circuit is a 4 relay ...
0
votes
0answers
30 views

Can I do on-chip debugging on atmega328p with gdb (command line)? [duplicate]

Is there a way of doing on-chip debugging of Arduino Uno (atmega328p) with gdb on the command line? I'm looking for something simplistic and excluding IDE solutions like Eclipse and Atmel Studio. I ...
0
votes
0answers
43 views

Is there a way to have the LED switch on after 10 readings or say a minute?

I am using Arduino for a RFID project where the LED must switch on after either 12 readings of the tag or 2 minute, the tag reading happen every 10 seconds. I can't seem to figure out a way to have ...
0
votes
3answers
65 views

How does PWM work in the Arduino?

The problem that I have is that I can't understand the working of PWM in Arduino, even though I totally understand what PWM is. Like the Arduino has a 980hz refresh rate (~1ms clock speed) on two of ...
0
votes
1answer
40 views

getting arduino PWM from 0-5V to 0-10V or 0-12V?

I have an IR2110 driver and a LOD voltage regulator 15V from a solar panel. now this will supply 15V to VCC as shown below. Since I have a LOD voltage regulator of 15V, I can't apply the same voltage ...
0
votes
0answers
26 views

Reading analog signal of metal detector using arduino

I would like to tap into analog signal of Garrett AT MAX metal detector (ínfo) and read the value using arduino analog in. Schematics for the metal detector can be found here It seems to me that the ...
3
votes
4answers
355 views

Question about debouncing - delay of state change

I have a very simple project where I needed to debounce a button (in software). Logically, my thought process is: If the state's been stable for a while, and it changes, then immediately signal an ...
0
votes
0answers
27 views

generate log .txt file on PC for arduino serial terminal log (send and receive commands) [duplicate]

I am trying to generate a .txt file on my Windows 10 PC of Arduino serial terminal data. I am not using SD card on Arduino Mega board just need to send commands to Arduino baord from serial terminal ...
1
vote
1answer
55 views

Implementing UART flow control in microcontroller

I'm communicating data from my microcontroller (Teensy) to my Bluetooth module (nRFx) which is also a microcontroller that I can program. I use UART to communicate the data I want to send over ...
0
votes
1answer
56 views

RS422/RS485 data input series resistor

I am using an RS422/RS485 driver to send Arduino 5V logic data over longer distances. I use the SN75174 driver for this purpose. In order to avoid ringing, I am not sure if I have to connect a series ...
0
votes
1answer
84 views

I want to create a stable 0-10 V DC output from a 3.3V PWM signal (arduino/esp8266)

I want to control an EC motor, but I have some difficulties with the motor's control input. According to my measurements it has a ~50kOhm input impedance, and probably also has an (unknown) RC low-...
2
votes
2answers
35 views

Power 9 IR LEDs 850 nm with a forward voltage of 1.7 V and forward current of 100mA

I am looking to power 9 IR LEDs 850 nm with a forward voltage of 1.7 V and current of 100mA. i want to make a circuit where i can use a small power supply or could I use the raspberry pi to power it? ...
0
votes
1answer
47 views

Using IR2110 driver in synchronous buck converter?

in using MPPT charger for battery, can use a variable input- fixed output voltage regulator that will be connected to the solar panel input?, this way I can have 15V for VCC and 5V for VD. I really ...
0
votes
2answers
121 views

Measuring 0-240v 50-60hz Mains AC with Arduino/MCU

What is the proper way to measure 0-240v 50-60hz Mains AC with an arduino / 3.3v mcu? (Edited to include a diagram of a proof on concept, which is transformerless) Can anyone confirm that this is ...
0
votes
1answer
26 views

touch switch time problem

I was looking for a way to make a touch touch switch and i found this circuit on the internet but the problem is , it goes off automatically after few seconds is there any way that i can control it ...
0
votes
1answer
55 views

Protecting RS-232 from overvoltages

I am using Some arduinos (5V Pro-Mini, but planing to move to actual ATMEGA chip) over a distance of few metres. These are connected using standard Alarm cable (I had problems with Ethernet cable and ...
0
votes
2answers
148 views

Drive 12V Automotive Relay from 3.3v ESP32

I am working on a project to start a vehicle using Automotive Relays. And I am following this circuit in the tutorial to do so. Everything works fine on Arduino UNO. But I want to use ESP32 of this ...
1
vote
1answer
59 views

Remote dissable a micro type B USB connection to device

I need to control the shutter and image download from a wired remote camera. The camera has 2 pinout ports. One to control the shutter and the second is the micro-type B USB post to download image ...
0
votes
2answers
67 views

Negative pluse generator does not reach 0V

I'm using an Arduino board to generate a 125KHz square wave signal to feed into this curcuit: simulate this circuit – Schematic created using CircuitLab So this is what I'm receiving from my ...
0
votes
0answers
40 views

Regulate ~350V spikes (duration nanoseconds) to logical level 5Volts

Use standard 5.1Volt zenerdiode? Can I trust that with zener diode it wont leak over 5 volts, concerning fast raising high voltage spikes. How about resistor sizing, the input goes to Arduino ...
0
votes
1answer
113 views

Why use UART to communicate between Arduino and ESP Wi-Fi module?

I have been learning about the different communication protocols used between Arduino and other components/sensors, namely, SPI, UART and I2C. I want to add Wi-Fi to my Arduino UNO project using ...