Questions tagged [arduino]

Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.

Filter by
Sorted by
Tagged with
-1
votes
1answer
54 views

servo control using a microcontroller and separate power supplies

I'm trying to get a very basic servo control circuit to work using an Arduino and can't figure out where I'm going wrong. I've got separate 5V power supplies for the microcontroller and the servo, ...
0
votes
1answer
55 views

Arduino RGB spectrum problem

Over the last few days I've been working on an anode RGB LED in Arduino, I've tried getting it to do an RGB spectrum but all I would get is just the colors from red to green, then it would get stuck ...
0
votes
1answer
35 views

Driver circuit calculations

I am attempting to built this circuit here: It is used by an LED manufacturer to provide pulses to a high-power LED. In my case, I'm using an ARDUINO to provide the TTL signal. I haven't sourced the ...
1
vote
0answers
42 views

How to reduce noise for arduino capacitive sensing

I have an artistically-painted 5mm-thick wood panel that I want to use as a light switch without alteration to the image. My solution was to (try to) make a specific region on the panel touch-...
0
votes
2answers
52 views

Simulation mismatch when shifting a +5v pulse to -12v

I am attempting to switch a N-channel mosfet (IRF740) running on a -12v rail using an arduino which outputs a 0v/+5v pulse. The end goal is to supply a -12v/-7v pulse to the MOSFET gate. After four ...
1
vote
1answer
72 views

Simulated 555 timer not working

https://www.tinkercad.com/things/2CN1eOTbmTe I am a beginner in electronics. I've been trying to make an astable 555 Timer in TinkerCAD as an oscillator for my own project of making a clock, without ...
0
votes
2answers
59 views

How to connect male wire to stiff piece of metal with holes

This is my second day playing around with Arduinos, so I don't particularly know hardware-related concepts and terminology. I'm trying to connect a simple male wire to a button (see image). The only ...
0
votes
1answer
70 views

My RT8272 buck dc converter fried in my test charging circuit for arduino

I'm building a circuit to power an arduino and later a stepper motor from a 3A 24V DC source. The DC power source is a switching power supply, much like those used in notebooks. I'll need after ...
0
votes
2answers
60 views

Arduino Mega (ATMega2560) UART does not send [closed]

I set up Atmel Studio on a Windows PC using this tutorial. Afterwards I proceeded to implement a UART. But it didn't work (no signal measurable with oscilloscope). So I just copied a simple UART ...
0
votes
1answer
171 views

How can I interface with arduino mega2560 to detect the presence of a 48 V without pulling down the voltage by more than 0.1 V

How can I interface with a microcontroller to detect presence of a 48 V supply with a source impedance of 10 kΩ without pulling down the voltage by more than 0.1 V? I need to step down the output ...
-1
votes
2answers
103 views

Does 1200mAh Lipo battery will kill my circuit? help me to read the data sheet please!

I've found old arduinio project from Gitlab which runs the circuit with Lithium Ion Polymer Battery - 400mAh Unfortunately i wont be able find any Lip 400mAh in my country.Lucky enough i found one ...
0
votes
1answer
73 views

Do standard NiMh AA or AAA battery's have any kind of BMS or protection circuit built-in?

Do standard rechargeable NiMh AA or AAA battery's have any kind of protection circuit like over discharge? Or are there any circuits out there that do that kind of stuff? I want to power my Arduino ...
0
votes
1answer
110 views

Does position of resistor matter in this schematic?

This is the schematic: Above picture is the crystal resonator part of Arduino ATMEGA328P micro-controller, in the green rectangle they placed the resistor in parallel before the crystal and in ...
0
votes
2answers
32 views

18m diffuse PNP photoelectric sensor and arduino

I need some confirmation on how to connect an 18m PNP diffuse photoelectric sensor to an Arduino. I am power the unit via an external 12 volt power supply. The ground between the power supply and ...
0
votes
1answer
51 views

Suggestions on wiring PCA9685 i2c + TB67H303 motor ic

I'm trying to design a circuit in order to use the TB67H303 motor driver with the ATMEGA328p and the i2c protocol by using the PCA9685 controller. I never used the TB67H303 and the PCA9685 chips ...
0
votes
1answer
32 views

how to use decoder and motor drivers to power individual motors at 12V? [closed]

I have a huge set of motors and they need to powered at specific times and at different voltage levels individually. Basic idea that I had, is to use a demux or a decoder to select the motors and then ...
0
votes
0answers
49 views

Touch-switch + bistable relay switches on after power loss

For on-off switching my workbench light I am using Arduino modules CJMCU-0101 Touch-switch and IO25A01 Bistable relay. They are connected directly (without Arduino board) and powered by this 220V to ...
0
votes
1answer
24 views

Noise problem with Arduino + relay + motor unit

I use an Arduino + relay + motor unit, got electronic interference and the unit lost control. I search out that I need separate power supply for Arduino and load. My question is if they still use ...
0
votes
2answers
77 views

Will this circuit work? Using USB extension on a potentiometer

I have the following circuit. It is a simple Arduino project to read analog data from a potentiometer 10K. Click here for video link if you're curious. The circuit shown above is tested and working ...
0
votes
2answers
86 views

In serial communication, is the RX pin pulled high by default?

I would like to establish one way uart serial communication between an Arduino 5V and an ESP32 3.3V module. The communication would be ESP32 TX pin ---> Arduino RX pin I wouldn't use the second serial ...
0
votes
0answers
22 views

AT328 + CP2102(firmware update) + control

we used the AT328 be a microcontroller to control relays. But we want to use CP2102 to update the firmware, before we used the NANO be a bootloader to update the firmware to AT328. Is it possible to ...
-2
votes
2answers
120 views

Can I control 6-7 devices of 12v max (each) with Arduino Uno?

I have to control following devices: 2 × Gear motors (each 12V, 200mA, speed & direction) 1 × Motor (12V , 1.2 A, on / off) 1 × Motor (3V, 110mA, on / off) 1 × dc pump (...
0
votes
0answers
19 views

Interface broadcast phone-in console with GSM telephone

I have a broadcast phone-in console with RJ-11 telephone inputs. Since landline telephone line is more noisy and prone to failure, I want to interface a GSM based landline ( with no RJ 11 loop-through ...
0
votes
1answer
78 views

DS3231 stops working on VBAT

So I had a problem with DS3231 not counting time when on VBAT. Also, I had a problem with alarm not resetting after it is triggered. I saw many people on the net having these problems, so below is the ...
0
votes
2answers
59 views

Pulsed DC current measurement using arduino and shunt resistor

I am currently working on a project ( to develop a constant current pulsed DC supply) in which current has to be measured using Arduino's analog input (Upto 20A) passing through a variable resistance ...
0
votes
1answer
50 views

Arduino mega 2560 Analog max reference voltage

Each time I power up the Arduino, the max reference voltage which is represented by 1023 changes. I observed this by measuring the voltage from the Aref pin each time. Is there any internal function ...
0
votes
0answers
59 views

How to find the right (external) ADC for an Arduino project?

there is a specific project I am trying to tackle using an Arduino, but I'm fairly new to this topic, which is why I would appreciate your help on choosing the right components and overall circuit. I ...
0
votes
0answers
35 views

Learning designing a Arduino pcb, doubt about USB traces

what consideration should I have for the USB section. How do correctly the usb traces? What means this curves? This is my reference schematic and due board. Thanks
0
votes
1answer
80 views

Resistance issue in a triac-optocoupler switch

I have made the following circuit to control my water pump with Arduino(UNO R3). I have tried many resistors (calculated myself) to limit current in the optocoupler and triac, but failed to carry the ...
2
votes
0answers
72 views

Pulses counting problem from npn proximity with interrupts in arduino

I am interfacing an open output npn proximity sensor with Arduino nano. I have used very silly approach of voltage divider as I was not sure that in open output sensor you can get whatever voltage you ...
0
votes
3answers
154 views

1000 W Arduino dimmer

[![enter image description here][2]][2]everybody, I have a project which is to dim 1000 W halogen light connected to Arduino. I used this circuit which is working fine with 100 W halogen light but ...
3
votes
0answers
63 views

one sided touch sensor?

I am trying to create a glove that translates sign language into text. To do this i need touch sensors placed on the glove, however the only sensors that i can find detect a change in electromagnetic ...
0
votes
1answer
174 views

Brushless motor back and high current and IC

I'm trying to replace the brain of my neato vacuum which is broken. I've already repair a cleaning MOP but with this one I have a problem with the brushless motor which is throwing some party fun in ...
0
votes
1answer
122 views

How to lock an ATMega328P from cloning?

I was working with the Arduino IDE. I tried to find out from where a MCU can be locked so that nobody can make a clone from it. I found many answers describing something about lock bit. I realized ...
0
votes
2answers
68 views

5v relay module not working with dc adapter [closed]

I have a setup with a relay that disconnects mains voltage for a project.the problem i have is that the relay works fine when i connect it to the arduino and power it from a laptop but i changed the ...
1
vote
3answers
148 views

Arduino frequency measurement

I am using an ATMEGA328p to measure the frequency of a 50% duty cycle square wave in the range 2khz to 15khz. The square wave is being generated by a good quality Function Generator and I can see on ...
0
votes
1answer
153 views

MKR Vidor 4000 Verilog tutorial

I can't find any tutorial on how to write verilog on MKR Vidor 4000. If you have done it what software do you use to synthesize, simulate and create a bit stream to the board ? Thanks,
0
votes
0answers
62 views

ESP8266 Webserver not reachable after 2 minutes from reset

I have a Keyes Espressif ESP8266 NodeMCU, I have two LEDs that I want to control which are connected to the ESP. When I open the webpage http://10.0.0.5/5 after ...
2
votes
1answer
175 views

Controlling Mosfet with ATTiny85 and IR Reflective Sensor

My plan is to start a motor, then stop the motor when the gear teeth gets to 15 (out of 16) I will be able to tell at what position the gear is by placing an IR reflective sensor under the teeth. The ...
0
votes
1answer
42 views

Capacitor DUE board 10uf polarized?

I found in the schematics of Arduino DUE some polarized capacitor but in the board I can see NO polarized capacitor. Somebody to know why ? I guess the capacitor on board is like a capacitor 50v ...
0
votes
3answers
164 views

Level shifter for WS2811 led strip

I'm trying to control a WS2811 Led strip with an ESP32. I'm using a logic level shifter to convert the 3.3V output of the ESP32 to 5V. I bought this level shifter (txs0108e) https://fr.aliexpress.com/...
0
votes
2answers
175 views

Why 2 electrolytic capacitors and Schottky rectifier at power supply?

I am trying to design and improve the power input part of my circuit to supply power to a motor driver that controls 2 DC motors. I did some research and i found this circuit but i cannot fully ...
0
votes
1answer
52 views

which is faster GPRS vs 4G on arduino?

I am using Sim800 GPRS to send data to MySQL server online. I use Arduino mega 2560 for one update in MySQL, it takes 1-2 seconds to run required AT commands If I use a 4G module like SIM7000E will ...
2
votes
4answers
2k views

Build a scale without computer

I need to build a scale that is not attached to any computer. The goal is to weigh a dustbin and show the weight value on a small LCD screen. The weight I want to measure is approximately 10 kg, but I ...
0
votes
1answer
46 views

Advice on getting a stable analog reading of capacitance

I would like to detect the presence of a person's hand in a project. I am aware that one can use a capacitive touch system to do this. I have used a TTP223 module in the past and this works great ...
0
votes
1answer
49 views

Atmega32u4 USB and USART

I have an ATMega32u4. My question is about the bootloader section. How does this device pretend to be a com port while connected to USB? What makes the computer think it is a com port and how can I ...
0
votes
1answer
38 views

Looking to find out how to power 2x 12v, 0.2amp, 3pin computer fans through an arduino uno

I'm fairly new to using Arduino boards. I'm trying to make a fan controller for two 3-pin fans that run on 12V at 0.2 amp. I read that all I need is a power supply that will run at 12V and #of_fans * ...
0
votes
3answers
61 views

How to monitor the voltage of a bunch of batteries using Arduino?

Ive got about 36 batteries that all stay between 2.8v and 3.6v, and I want to be able to accurately monitor the voltage(and therefor the state of charge) of all of them using an Arduino Nano, the two ...
0
votes
2answers
69 views

Can we prepare any ICs similar to decoder or demux , but for selecting multiple pins simultaneously?

It is possible to select the output pins sequentially using decoder or demux. But for selecting more than 2 output pins at same time, they don't work as the decoder /demux are single output selector ...
1
vote
1answer
63 views

36:6 analog multiplexor?

I'm trying to connect 36 analog voltage sensors to the 6 analog pins of an Arduino Uno and cannot figure out the simplest way to go about it, given that I need to be able to accurately read a voltage ...