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
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
49 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
122 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
153 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
68 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
41 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
114 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
67 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
0answers
42 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
150 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
39 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
26 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
19 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
74 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
37 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
134 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
353 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
22 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
2answers
50 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
157 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
173 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
84 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
42 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 ...
0
votes
1answer
54 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
208 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 ...
3
votes
2answers
66 views

Am I able to increase the current without also increasing the voltage?

Right now I have a bunch of motors (in blue on the diagram) that I believe are connected all in parallel. I tried hooking them up to the Arduino (3.3V-red and GND-black), but can't seem to get the ...
0
votes
1answer
42 views

will dc converter discharge battary?

I am using a mini-360 dc-dc converter with arduino pro mini, so will mini-360 discharge battery without any load? Is it correct to use power switch as on image?
1
vote
1answer
85 views

Multiple power supply potentials

I am making a Project with an Arduino driving a stepper motor with a driver board. USB will still be connected to send commands over serial. EDIT: I am building an EggBot driver board for my Arduino ...
3
votes
1answer
123 views

As a computer science engineering graduate, do I need to learn Assembly language in today's day and age? [closed]

Given that there are simple and easy to learn/use MCU devices such as those offered by Arduino, Particle, TI (MSP430 series), Microchip (PIC16 series) does it make sense to teach ALP to computer ...
2
votes
1answer
70 views

Voltage shifter 0-30VDC

I am required to generate and measure squared signal (PWM like). I should cover a 0-30VDC amplitude. High level of the signal is 30 VDC, low level is 0VDC. The bandwith to be covered is 0-20kHz. I ...
0
votes
1answer
71 views

Stepper Motors (NEMA-17) Won't Run When Wheels Are Attached

My team and I are creating a robot using 4 stepper motors with mecanum wheels and an Arduino Uno. The code appears to be correct, and the motors seem to run just fine on their own, but once we screw ...
0
votes
1answer
69 views

How to select current for power supply? [duplicate]

I've two step motors with 12V-0.4A each, A4988 as stepper motor driver and CNC shield on Arduino. As I know I should use at least 2x voltage for stepper motors and I would like to know, if I use 24V-4....
0
votes
1answer
105 views

How to build a digital potentiometer with standard value resitors and MOSFETs?

I like to create a digital potentiometer with standard value resistors and MOSFETs. The principle is easy: I put a lot of resistors in series and parallel to each resistor I have a MOSFET which ...
1
vote
2answers
114 views

using pressure sensor with 0-10v output for 0-10bar using arduino but pressure value won't cross 4bar. so is a voltage divider required in this case?

I have a pressure sensor working at 24V dc whose output is analog 0-10V for 0-10bar pressure. I am using this sensor with Arduino Uno. I know that the pressure value will never go beyond 4bar. So do I ...
0
votes
1answer
44 views

External VCC for USB cable while keeping data connection

I want to connect my android phone and arduino to create a fast and reliable serial connection. I've read that it is possible with USB OTG but i will need to charge my phone eventually. So i was ...
0
votes
1answer
110 views

Not able to levitate magnet for magnetic levitation project

I am following a hackster project on magnetic levitation here - https://www.hackster.io/jsirgado/magnet-levitation-with-arduino-eeeee4 However, I have followed everything but still, it's not working. ...
0
votes
1answer
205 views

Uni-Directional Electret Microphones and an Arduino

I am currently trying to connect an electret microphone to an Arduino. I have found many circuits to do this but some don't work. I have tried one such circuit with a LM386 with no success. ...
-2
votes
2answers
76 views

electronic dc voltage regulator controlled by arduino

i am new to the electronic things so please help me figure out a solution. I am looking for a way to control voltage by Arduino of my 60volt 10 amp dc power supply i.e to get any voltage from 0 to 60 ...
1
vote
1answer
80 views

Serial Peripheral Interface (SPI) vs Two-Wire Interface (TWI, I²C) wire length

I'm using Arduino DUE to read data from an IMU(inertial measurement unit) sensor (MIKROE-1577, MPU-6000) This IMU sensor supports both Serial Peripheral Interface (SPI) and Two-Wire Interface (TWI, I²...
0
votes
1answer
39 views

Building a CNC with external drivers - RAMPS needed? [closed]

Well, I'm upgrading a closed-source CNC machine with Arduino (and GRBL), but I'm confused if I really need the RAMPS board. I want to drive the motors with external drivers. I have a RAMPS 1.4 board ...
0
votes
1answer
50 views

28V Stepdown with TracoPower TRN 1-2411 DC/DC converter for ESP8266?

Im new to electrical engineering. For a project I want to supply an ESP8266 with power by using a 28V Milwaukee Battery. My Question is: Can i supply the esp at the VIN PIN using the 2411?
2
votes
2answers
46 views

What happens if the load (connected to the output of the circuit) disconnects suddenly from Arduino/ESP32?

My circuit (that contains esp32 with few current and voltage sensor) is connected to 9Ah Battery (with BMS), where the load gets connected to see the discharge rate of the battery. There are times ...
0
votes
1answer
46 views

If I need to send GPRS commands is it better to use a “proper” modem, arduino or a mobile? [closed]

I need to send some commands from a computer via GPRS protocol to some devices. The options I have found so far are: Commercial GPRS modem Arduino GPRS shield an old phone as GPRS modem Is there ...
0
votes
1answer
80 views

CNC Shield V3 and step motor controls

I'm trying to build a laser engraver/cnc router with Arduino Uno, CNC Shield v3, A4988 step motor drivers. I'm newbie about electronics and Arduino so sorry if I'm asking non-sense things. I've ...
0
votes
1answer
85 views

Serial line switching through a transistor

I want to switch my RS-232 TX pin.For this I am using NPN transistor in between the TX line in such a way that the collector terminal is connected to controller side and Emitter to external side. ...
1
vote
1answer
130 views

Simplest way to switch inductive load with arduino?

I'm trying to switch (just on/off) a 3.7V motor (coil resistance 2.2 Ohm) and a 6V motor (coil resistance 8 Ohm) with an arduino mini. And I have trouble finding an universal way to do so. What I ...
2
votes
1answer
77 views

Interfacing 16-bit SRAM/MRAM with Arduino Mega

I a looking to interface a MR2A16A 4Mb 16-bit MRAM with an Arduino Mega. I am new to interfacing with memory chips and would like some advice from someone more experienced than myself. I am not ...