Questions tagged [arduino]

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

0
votes
0answers
10 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 ...
-2
votes
0answers
43 views

Is it problem to feed the Arduino with high current batteries? [duplicate]

I have 2 batteries (12V 7Ah). How should I feed the Arduino(DUE)?
0
votes
2answers
23 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
43 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 ...
1
vote
0answers
57 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
1answer
398 views

Multiple devices to single power source

I have a power distribution board for my Quadcopter. It is powered by a 3s Lipo and the following are connected: 12 Volt outlet for ESCs: 4 ESCs 12 Amp 5V Outlet: Connected my 5V Gyroscope and ...
0
votes
0answers
45 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
1answer
20 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
29 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
3answers
118 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 ...
8
votes
3answers
6k views

How can I safely connect both Arduino and a 120V 10A circuit?

I'm building a thermostat, and the idea is to have it fire one of two 120V 10A circuits (one to heat, one to cool). I have two of these modules for the relay and I ...
0
votes
1answer
86 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
2answers
126 views

Deal with DC offset

I have STM32 BluePill and Teensy 3.2 , they both read analog 0 < x < 3.3V. I want to read earphone microphone sound but the mic produce +-2.5V (with ~200mA, but this is a different problem). ...
2
votes
1answer
82 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
0answers
27 views

Conveyor motor switching causes arduino freeze and display out fromLCD [on hold]

My arduino Mega hang and 16x4 LCD display just vanishes almost every time I turn on conveyor motor (Sometime weird characters start coming on display). I have to reset my arduino . There are total of ...
3
votes
0answers
49 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 ...
2
votes
2answers
108 views

2EDN mosfet driver burns out when connected to PWM signal

Good day everyone, I am building a motor controller for a 250W DC motor. Today I was testing a part of my design, but somehow the MOSFET driver did not work. The Arduino send a 50% square wave (4kHz) ...
1
vote
3answers
131 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
2answers
53 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 ...
0
votes
2answers
114 views

Lighted button that also lights when another button is pressed

I've got a project, started 12 lighted and latching buttons in a circle, like a clock. Press a button, the button lights until it is pressed again. I need a second "clock" and if say the 2 o'clock ...
0
votes
3answers
62 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
1answer
77 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 ...
-1
votes
1answer
57 views

What kind of force sensor mechanism I can use in measuring movement? [closed]

I will be making a device which will be able to detect minimum movement to imply an intent of the patient moving. I was thinking, since the patient will be strapped, the strap will be connected to a ...
0
votes
2answers
122 views

How to detect feedback on motor

In my Arduino project, a 3v 50RPM DC Motor starts to rotate an independent mechanical knob. When the mechanical knob reaches its zero point, it gets locked. How can I get this lock feedback so I can ...
0
votes
1answer
144 views

Clarifications about charging a 9V battery?

I have a project in mind with Arduino but I wanted to use a battery to power all of it. I have to power a Wi-Fi module and a small servo/stepper for a short period of time, maybe a RTC circuit and a ...
0
votes
1answer
3k views

variable or field ' …' declared void

I'm working on an ADC ATSAM3x8e arduino due board. I'm trying to write new .h and .cpp files. How do I create a datatype like ...
1
vote
1answer
167 views

How to connect LED driver to arduino

How do I connect 2 of these LED drivers to Arduino? http://www.starchips.com.tw/pdf/datasheet/SCT2024V01_03.pdf This is what I have so far, im connecting each output to a N-channel mosfet. Im not ...
-4
votes
1answer
104 views

Which arduino is inside the device

I've got a few devices made using the arduino board. I was asked to update the program. However I've different version which must be used for different arduino boards. Is there a way to get to know ...
1
vote
1answer
137 views

How to design for electrical connection for a food dryer

I am on this project in building food dryer to dry 2 kg fish cracker maximum per use. Based on the calculation, I only need to use power of approximately 60 watt for the heating to achieve the energy ...
0
votes
2answers
127 views

HC-SR04 Distance Sensor Trigger Signal on 2.5V Voltage level gives no reading

I am using an Arduino on a breadboard setup with an ATMEGA328p MCU. The whole circuit is designed to work in a low-power state and is powered using a 3V (Nominal) voltage Coin Cell. The HC-SR04 is ...
0
votes
1answer
4k views

Arduino 4N35 input

I trying to interface the arduino digital pins through an optoconnector attached to an LED of a consumer electronic device. I have bought the recommended component for this. Before I would even get ...
0
votes
1answer
134 views

Inductive sensor signal voltage too low, how to boost it for Arduino?

I have an Inductive proximity sensor that is listed as working with 5v. M8 2mm sensing DC 5v Inductive Proximity Sensor NPN NO LJ8A3-2-Z/BX-5V It was the model recommended. When using 5 V, I get 0 ...
0
votes
1answer
47 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,
-2
votes
0answers
39 views

connecting power resistor to arduino as a heater? [closed]

how do I connect power resistor to a Arduino. it take 15V to reach the temperature I want and I have to maintain the temperature.
-2
votes
1answer
57 views

STM32 Usart Forwarding [closed]

Please I cant figure it out this whole week about How to program a usart forwarding function in Atolic for Stm32. The function is like Aduino IDE's "uart2.write(uart1.read());" for Stm32 with Atolic ...
0
votes
0answers
26 views

HDLC with Microcontroller [closed]

I want to communicate a Microcontroller with a third party embedded card communicating over HDLC. Preferably I want to achieve this using AVR or Arduino. The HDLC channel consists of a data and clock ...
0
votes
0answers
32 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 ...
0
votes
2answers
154 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
0answers
16 views

Arduino nano and Lora SX1278 receiver hangs/stuck after some time [closed]

I am using arduino nano with Lora 2 (sx1278), I need to run continuously. therefore I have set up a power backup as well. in the circuit, I am using LM1117 3v3 800mA power to the module and Arduino, ...
0
votes
1answer
39 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
0answers
16 views

Using use the STM32F103C8T6 board with the Arduino [migrated]

last two days I am trying to programm my blue pill with arduino ide, helplessly... Actually, I managed to install simple blink program, but after that, all other attempts ended up with: ...
1
vote
1answer
135 views

Battery life calculation using Nano, NRF24L01+ and window magnetic reed switch

I'm trying to make my own home wireless security system. I will be using probably 3 AA batteries to power these devices. My problem is that I need to know if the batteries will be enough to power ...
4
votes
3answers
14k views

Best way to get +5V or +12V or 0V from arduino pin

I am working on an eeprom programmer as an Arduino shield. There are two pins on my eeprom that require a 12V signal as part of the programming process. One of them is an address pin that I am also ...
20
votes
2answers
38k views

Active vs Passive Buzzer

I recently borrowed an Arduino Inland Basic Starter Kit. It includes an active and passive buzzer. What is the difference? I can hear a difference in sound when I use the ...
0
votes
1answer
37 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
1answer
143 views

RC car problem using bluetooth module

I m making a small RC car and to control it, I m using a HC05 Bluetooth module. My car is rear wheel drive using two dc motors and the front wheels will just turn left or right for navigation. Can the ...
2
votes
6answers
38k views

How do I burn an ATmega328 chip via Arduino UNO as ISP?

I've an ATmega328 chip (without a bootloader), and I want to burn it with my Arduino Uno as ISP, so I can have a spare ATmega328 with an Uno bootloader. I'm trying to follow the instruction in Using ...
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
2k views

SainSmart 5V 4 Channel Relay momentary switch [closed]

I am wanting to hook this relay up here: (source: sainsonic.com) What I am wanting it to be hooked to (output) is the PWR and reset switch on a PC motherboard to act as a momentary switch: (...
0
votes
2answers
202 views

fluctuating ADC Reading for 4-20mA Pressure transducer input

I am working on one project of water pressure measurement, in which i used pressure transducer which gives me output between 4-20mA Current form. I am using one 250 ohm resistance to convert current ...