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.

0
votes
1answer
60 views

How to improve flash time on lights controlled by solid-state relay via Arduino?

My goal is to flash lights around the house on and off to the beat of a song. When doing this with a mini LED and an arduino, it works perfectly with a "flash_time" of ~.1 seconds. This means ...
-2
votes
0answers
58 views

Why my servo motor is always on? [migrated]

Why my servo motor is always on? ...
0
votes
0answers
30 views

Custom Arduino Due Random Lock up [migrated]

I have built my own Arduino Due Circuit board. I am having issues with it randomly locking up. I have researched the libraries and have ruled out any issues with them such as the Wire library. I am ...
-1
votes
2answers
69 views

In Circuit Tester design

I wanted to create an ICT to check for shorts and validate some of the voltage levels on a PCB that I created, using a jig. I have placed probe points on the desired nets and will be using pogo pins ...
0
votes
1answer
45 views

Configuring ADC on Nucleo-F401RE in Arduino IDE gives erratic values for input freq greater than 100Hz

I want to configure ADC on STM32(Nucleo-F401RE) using Arduino IDE and transmit the values through SPI to Basys 3 FPGA(End Goal). The ADC works for input signal frequency only below 100Hz. How do I ...
1
vote
1answer
48 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
58 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 ...
3
votes
0answers
128 views

Can I program a factory fresh Atmega328P through ICSP pins without burning a bootloader? [migrated]

Can I program a factory fresh ATMega328P using the ICSP pins without burning a bootloader? These pins are TX, RX, VCC, GND, and DTR pins in the schematic below. They are not the ISP/SPI pins 10-13. ...
0
votes
1answer
60 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
23 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
43 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
74 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
94 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
953 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
48 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
86 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
41 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
62 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
33 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
111 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
47 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
58 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
0answers
5 views

Unable to upload code to my STM32 blue pill with FTDI tool [migrated]

I am unable to upload code to my STM32 blue pill. I am using a Mac and it was running very well, all of a sudden, after doing something in terminal, I am unable to use it since then. I tried uploading ...
0
votes
2answers
63 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
19 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
94 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
58 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
43 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
35 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
62 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
68 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
62 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
33 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
24 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
26 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
51 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
54 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
77 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
33 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
40 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
112 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 ...