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
votes
0answers
6 views

What's the most precise GPS module for an arduino project? [on hold]

I'm trying to measure a distance offset using a GPS module (NEO-6Mv), But the GLL value keeps changing to a +/- .030 decimal minutes when left on for over 10 minutes and when the module is stationary. ...
0
votes
1answer
7 views

Replace some LEDs with Diodes in relays circuit

I need to know if i can replace que the input LED's (IN1, IN2, IN3, IN4) by a diode or resistor and if this can help me to reduce the voltage consumption generated by this LED's. The circuit is a 4 ...
4
votes
1answer
509 views

Using a PNP transistor as a switch connected from a 74154 then out to stepper motors

I am currently working on a project that involves an arduino mega 2560, one 74154 demux and 16 stepper motors. I want to be able to control which stepper motor turns at a given time. For this, the ...
0
votes
1answer
310 views

How to increase (optical) power of arduino circuit with LED? Increasing current with fixed voltage

We have an LED that when connected to an Arduino board provides an optical power of 22.58 mW. The circuit is just the LED in the digital Pin with the Arduino powered by the computer using a USB cable. ...
-1
votes
0answers
36 views

Need help on a DIY project [on hold]

I have extracted the microphone circuit from my earphones. I want to be able read frequency values and all from the output of the microphone using an Arduino. How do I do that?
11
votes
1answer
41k views

How to control a 12V solenoid valve with a mosfet?

I'm trying to control a 12V DC solenoid valve through a MOSFET (BS170), which receives its control signal (5V) from an Arduino microcontroller. This is the basic schematic: When I test the MOSFET, ...
0
votes
0answers
22 views

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

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 ...
-3
votes
0answers
25 views

How to connect common anode 7 segment with max 7219 [on hold]

I want t make a digital clock with arduino and rtc 3231. I found some project over internet in which small seven segments are used. I want to use 2.7" large common anode. I dont know how to control ...
0
votes
3answers
49 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
0answers
41 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
1answer
20 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
20 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
327 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
2answers
784 views

200 LED through arduino via SN74HC595N shift register

I'm very new to any forms of multiplexing let alone electronics itself. From what I have researched, I can add more inputs/outputs to an Arduino via a shift register. I bought 10 SN74HC595N shift ...
0
votes
0answers
15 views

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

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
40 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 ...
-1
votes
1answer
68 views

Trying to understand given circuit [on hold]

For a school project, we have to control the speed of a DC motor with an Arduino. By using the PWM function, we have to control the DC voltage in order to obtain different speeds. We are given the ...
0
votes
0answers
36 views

RTC input to Arduino Mega in the form of G code [on hold]

I am working on a headless CNC machine. I am using two arduinos for it. The Arduino UNO has a CNC shield and GRBL interpreter code. The Arduino Mega has to be interfaced with an RTC, a keypad, an LCD ...
1
vote
1answer
4k views

Arduino and GSM Module running on Li-primary batteries for years

For one of our projects we need to run an Arduino board + GSM module (SIM800C for example) for many years on batteries without recharging. The Arduino should be in power down mode for 99,99% of the ...
2
votes
2answers
30 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
45 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
2answers
95 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
59 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-...
0
votes
1answer
107 views

How is interaction with CDC device with no interface endpoints working?

I'm working on uploading to Digispark board. It uses micronucleus bootloader and i can see uploader code. I've modified it a bit to see interfaces and endpoints count: ...
0
votes
1answer
28 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
653 views

Voltage divider to measure 12v battery with arduino low consumption

I want to measure 12v. Car battery with arduino. Three questions: Is the R1 and R2 the best values? The car battery can go from +10v. To +15v. How and what can I use to save power between the ...
0
votes
1answer
260 views

Running 18 servo motors on a Hexapod

I am working on a hexapod robot that has 18 servo motors(HS-475HB). My problem is that when I use one servo, the current is about 0.7A at 6V (when moving the servo from its position), when I add ...
0
votes
1answer
23 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
373 views

Arduino controlling an LED

The LilyPad MP3 from Sparkfun uses an ATmega328P microprocessor and a TPA2016D2 stereo amplifier. Pin 25 of the ATmega328P is tied to pin 18 of the TPA2016D2 without any other components on that net. ...
-1
votes
0answers
15 views

PPM of Wasabi Eco [migrated]

I'm currently trying to control a brushless DC motor (EMAX 1806-2280Kv) with a ESC called Wasabi Eco 12A (http://files.hapo-trade.at/pdf/WASABI%20ECO(DE+EN).pdf , https://mih-toys.de/mediafiles/PDF/...
0
votes
2answers
92 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 ...
0
votes
1answer
288 views

A4963 3 Phase Brushless Sensorless

I have to develop a driver for a 3 phase brushless DC motor @ 24V with max current per phase of 5A. I want to use an Arduino Zero for testing. My idea is to use the Allegro A4963 IC. This is my first ...
1
vote
1answer
48 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 ...
1
vote
1answer
75 views

Please check my DC / DC schematic. ST1S40

I want to make a voltage down converter to power my controller (Atmega328P). Input = 12V / Output = 5V (3A). As a converter, I use ST1S40. My connection diagram I took the circuit from datasheet, ...
1
vote
1answer
405 views

How to reliably update duty cycle to PWM on arduino due with SAM3XE

I have arduino due, which has Atmel SAM3XE MCU. I want to generate PWM signal and I want to change duty cycle every cycle of PWM reliably so i can generate output signal such as sine on output pin. ...
-1
votes
0answers
37 views

Please Help :(, half bridge mosfet driver and power mosfets in dc-dc converters?

IR2113 half bridge driver for both N-channel IRFZ44N mosfets for a buck converter. Now I just want to know how to power this driver from an Arduino and also what is sink/source current mean? ...
0
votes
1answer
127 views

LDO, linear regulator or DCDC buck converter

I would like to power an ESP32 in my car, so the input voltage is between 11 and 15v, and the output voltage should be 3.3v to power the Arduino board. I thought that LDO were only for low dropout ...
0
votes
1answer
95 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 ...
0
votes
1answer
54 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
65 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
37 views

driving high and low side mosfet for synchronous buck converter?

I am designing an MPPT charge controller. I have chosen my MOSFETs to be both NMOS https://www.sparkfun.com/products/10213 (FQP30N06L) 60V, 30A. Since the gate voltage is 3 to 5V. I can drive the low ...
0
votes
1answer
268 views

atmega32u4 reset, bootloader and fuses

I have a atmega32u4 from factory with dfu inside. The HWB is pull down, and RESET pin is pull up. The first USB plug, dfu programmer appears on my Linux box. I upload the firmware without problem. ...
-1
votes
0answers
41 views

solar cell with Arduino & another stuff! [on hold]

I have project for reach certain objective consist Arduino works over solar cell only with GSM card. my question is: I can use my project under sun, but in night no light, so I need something storage ...
2
votes
2answers
86 views

Why use a series resistor between Arduino RX and ESP8266 TX?

I have seen this in several schematics which i assume are professional since they are for popular open-source products. But i can't figure out why there is a 470 Ohms resistor in series between the ...
0
votes
1answer
92 views

“Creating” a ground pin for my laptop

I am building a sensor using an Arduino connected to a laptop; I noticed that the readout is much more noisy when I use a non-grounded laptop (either running on battery or connected to a power socket ...
0
votes
0answers
32 views

Burning Arduino Bootloader [migrated]

I'm trying to use an atmega chip from an arduino on a breadboard, with minimal hardware (using the internal 8mhz clock). I am using the article in the link provided. When I reach the final step (...
0
votes
0answers
41 views

Arduino Smoothing does not work as expected [migrated]

I using the standard example of smoothing: ...
0
votes
0answers
37 views

Arduino receiving correct audio data from analog input?

I've connected my arduino's analog input to my phone's headphone jack and am trying to visualize the audio data in the serial monitor. I have read on Arduino's site that the Arduino UNO is able to <...
4
votes
5answers
15k views

Three UART connections to an ATMega328?

I'm looking at the ATMega328p data sheet, and an Arduino Pin diagram, trying to determine if the chip can support three UART connections. I see that PD0 and PD1 are "USART" In and Out. So does that ...