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.

-2
votes
0answers
30 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
2answers
42 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 ...
-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?
0
votes
0answers
24 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
26 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
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
3answers
50 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
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
328 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
16 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
41 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 ...
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
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-...
2
votes
2answers
31 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
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
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
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 ...
-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
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
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 ...
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
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
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
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
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 ...
-1
votes
0answers
41 views

solar cell with Arduino & another stuff! [closed]

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 ...
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 <...
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
0answers
38 views

I have RGB LEDs but I need an external power source [duplicate]

I have WS2812b RGB LEDs for a project but I don't have an external power source. I heard that you can use a power bank for charging phones and things. I cut the end of a micro usb but wouldn't know ...
0
votes
1answer
25 views

Is 128KHz oscillator in ATmega same as Watch Dog Oscillator?

Where is the 128KHz oscillator located in ATmega328p? I am unable to find it on the ATmel data sheet ,Is it same as watch dog timer Oscillator? I am attaching the clock section from the ATmel ...
1
vote
0answers
14 views

Can I set one relative axis and one absolute axis in a mouse HID descriptor?

I'm building a custom Bluetooth mouse using an ESP32 with a proximity sensor for the Y coordinates and a gyroscope for the X coordinates and was wondering if setting the X axis as relative and Y axis ...
0
votes
1answer
63 views

Attiny85 crashes when I run a motor through an L293D

I'm trying to run a motor through an L293D turned on and off by an Attiny85. The Attiny85 has the micronucleus bootloader on it, which is why pin 3 is connected to a pull up resistor. On the Attiny ...
0
votes
0answers
31 views

Max7219 segment drivers output voltage is lower than expected

I'm using a max 7219 to control 7 highside drivers (which provides power to two higher voltage common cathode displays). The components on my breadboard are connected according to this schematic: The ...
0
votes
2answers
129 views

Are there darlingtons more powerful than the ULN2803A?

I made a card controlling 24 electromagnets with an Arduino board via 3 darlington ULN2803A My power supply for the electromagnets was 20 V and 300 mA for each electromagnet. Due to the physical ...
6
votes
2answers
329 views

Motorized valve interfering with button?

I have the following circuit: The relay will basically be controlled by the Arduino (using pin 3), based on a value it's getting (from a NRF24L01 module). However, I also want the relay to be ...
0
votes
0answers
19 views

battery charge controller with small panel

i am designing a battery charge controller with a small panel of 4.5V and 250mA in Arduino UNO. I want that the panel charges the battery(1.2V 3000mAh AA NiMH). i wonder where i place the panel in ...
0
votes
1answer
25 views

Constant flickering of TFT Display

We have an issue with our TFT display. The display constantly flickers while displaying. What are common causes for flickering in this type of display? How can we resolve this issue? It's a 3.5 inch ...
1
vote
1answer
45 views

How can I use an Arduino to simulate button presses on this PCB

I'm trying to simulate a button press on a PCB - potentially with Arduino and some additional components. I think I'll need to solder wires on either side of the button, connect those to an Arduino ...
1
vote
3answers
141 views

Why doesn't this battery voltage measurement circuit work? [closed]

So, I built this simple circuit for measuring voltage from a battery pack to an Arduino. The thing is, I want to measure the first cell and then the voltage from the whole battery pack: using two ...
0
votes
1answer
55 views

How can I use PWM to power a 1.5v dc motor with an 5v board Arduino UNO?

I tried to calculate the value for analogwrite which is 77 but that doesn't work. I also tried a bunch of other value but none of them spin the motor. Is this possible and am I missing something? the ...
0
votes
0answers
35 views

Which pins need to be free to flash NodeMCU via USB

It is not completely clear to me, which pins need to be free (disconnected from other components) in order to flash the NodeMCU via USB with a firmware. Of course, this depends on the connected ...
1
vote
0answers
32 views

Push and hold on/off switch for arduino [migrated]

Many electronic devices turn on/off, or more correctly on/sleep, by pressing a button and holding it for two or three seconds. I would like to put this ability into a project using an Adafruit Feather ...
0
votes
1answer
49 views

Digipot for 0-9v control

I'm working on a project to control a TIG welder digitally. The dial that changes the main for the welder starts at basically 0v and at the top end gets to 8.52v. I'm currently using an Arduino that ...
6
votes
2answers
162 views

ATmega328p sine wave generator, frequency capping at 1200Hz

I'm currently implementing sinewave generator on ATmega328p (16MHz). My project is mostly based on this article https://makezine.com/projects/make-35/advanced-arduino-sound-synthesis/. In brief, I ...