Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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

Modulate/demodulate 125khz signal to 433Mhz transmitter module (2.5Ghz carrier)

I am trying to implement a project which consists of two circuits. Circuit A receives a 125khz AM signal and modulates it to 433Mhz CC1101 which then uses 2.4Ghz carrier to send at longer distance. ...
7
votes
4answers
3k views

What is the lowest voltage that a microcontroller can successfully read on the analog pin?

I'm testing the Seeeduino v4.2 board with the ADCInOutSerial code in the Arduino IDE and the lowest voltage the board can read is 18 mV, showing an equivalent ADC of 4 on the serial monitor. The ...
0
votes
0answers
61 views

Working MOSFET and arduino wont work together

EDIT: When the FET's drain is connected the same behavior occurs as to when the drain is an open circuit. When driving and LED instead of a MOSFET the on board LED does not light at all during any ...
0
votes
0answers
27 views

How can we actually use PPM output from a RC receiver

I'm using FS-CT6B transmitter with R6B receiver. I have seen many code examples and tutorials for reading PPM output from R6B using Arduino Uno. In some of them, only one pin is used (external ...
1
vote
1answer
83 views

A/D conversion improvement through Arduino

I have a certain analog signal v(t) which varies from 0 to 2V, which I want to be read by Arduino. I know that Arduino can read it through the function AnalogRead, ...
0
votes
2answers
42 views

Designing a AC Snubber circuit for 2 hp using AC snubber

I am trying to control my 2 hp 240AC single phase motor with help of an arduino. Right now it is controlled via a contactor with 220-240 AC coil input voltage with help of NO and NC switches. ...
0
votes
0answers
47 views

How to select a MOSFET when using 3.3v / 5v Logic level [duplicate]

I want to control/dim a 12V LED strip. When using an Arduino, I used a MOSFET IRLZ44N, and a 12V DC adapter - it works as needed. I wish to use same hardware to control it remotely; a Wemos Mini is ...
0
votes
2answers
79 views

Clarification on adding capacitors in parallel

I have a 5 metre strand of WS2812B LEDs, at 18W per metre. I also have a 120V to 5V-30A power supply I plan to connect them to. The data pin will be connected to (for now), a PWM pin on an Arduino ...
2
votes
2answers
44 views

Avoid voltage peak / static discharge freezing arduino

I am building a speed-testing stand for electric wheelchairs with an arduino nano + rotary encoder. The wheelchair is put on cable caddies, which turn the rotary encoders via a belt. The setup itself ...
0
votes
1answer
46 views

PWM frequency and sine waveform generation

I am trying to follow some guides (for instance this) to generate some analog signals (for instance a sine wave of 50 Hz) with Arduino (but my questions are general). But I have two basic questions: ...
-3
votes
1answer
63 views

How to make arduino with OV2640 2MP Camera Module

How does the OV2640 Camera Module communicate with arduino and through what pins? My goal is to add one to an arduino esp 32.
-1
votes
1answer
103 views

What is the use of a capacitor in a DC motor circuit?

I'm trying to understand all the components I need in order to drive a DC motor through an Arduino. I saw this circuit below, which has a capacitor (other sources show same circuit but without the ...
2
votes
1answer
106 views

NMOS bootstrapping without an IC

Like the title says, I was trying to bootstrap a high-side NMOS. After some googling I found this video https://youtu.be/zcQV_ZpK1W8 which helped me a lot except for one thing which I cannot ...
1
vote
0answers
52 views

How to set registers of accelerometer BMA220?

I first wrote my problem in Arduino Stack exchange (https://arduino.stackexchange.com/questions/68438/how-to-manage-interrupt-from-accelerometer-bma220) but I was told that I might get a better help ...
2
votes
1answer
82 views

Line following help with acute and right angles

I am trying to figure out the logic for a line follower with the path shown in the attached image. I am having trouble with <= 90 degree angle turns. So far, I have been using the logic where if ...
1
vote
2answers
115 views

Is it safe to directly connect an infrared led to an Arduino?

I have a KY-005 infrared transmitter connected to my Arduino Uno. But currently I can't get it to work. On this website it says that you must connect the led directly to a digital pin on the Arduino, ...
1
vote
3answers
104 views

Help with I2C Communication

I'm trying to learn how to program a battery charging IC (BQ24193) via the I2C communication protocol. My goal is to write the correct values to it in order to gain the proper charging input and ...
2
votes
3answers
192 views

Can I strobe a power led with an audio power amplifier?

I'm trying to make a fast LED strobe for visual periodic measurements of mechanisms, rotating objects to be specific. I "designed" an opto-coupler/MOSFET circuit and a transistor/MOSFET circuit. I ...
1
vote
1answer
60 views

How do I know to choose a first order filter vs a second order filter?

I have a DC signal coming off of a battery. The Arduino is reading the voltage. The issue is that the voltage signal contains a lot of noise (120hz frequency). I am planning on building a first order ...
1
vote
0answers
32 views

Arduino - Connecting to a remote Bluetooth device asking for a passcode

I have worked on many Arduino projects but this time I am facing some hurdle that is too strong for me. I want to use a Bluetooth module as a MASTER. Purpose: Connecting to a camera and sending ...
1
vote
2answers
148 views

How to trigger a latch solenoid valve from an Arduino?

I received a sample latching solenoid valve: https://www.alibaba.com/product-detail/Top-Quality-Dc-5V-Latching-Solenoid_60415603817.html I want to control it using an Arduino Pro Mini, running a 5V. ...
0
votes
0answers
44 views

Serial communication for Arduino Mega with RS485 and FTDI using the same TX data line

I need help with the following problem. I have an Arduino Mega in which I connect several devices that occupy the 4 TX and RX ports that this Arduino has. I need to connect an RS485 to the Arduino and ...
0
votes
0answers
27 views

What is the simplest way to attach an external USART to SAM3x8e (Arduino Due)?

I need an extra USART on Arduino Due having ability to operate with 9 bits data characters. I have poor knowledge in schematics. I've been searching web for hours but still have no conclusion for the ...
0
votes
1answer
72 views

Strange capacitive soil moisture sensor readings

I am in the process of building an automated irrigation system using capacitive soil moisture sensors and Arduinos. My challenge comes in with the soil moisture sensors bought from Banggood.com. I ...
1
vote
1answer
58 views

Modification to Arduino 12V Detection Circuit

I'm upgrading the interior lights on an older model vehicle. The plan is to tap into the very simple lighting circuit (always hot with a switch for on-off-door) to detect each scenario. Light switch ...
2
votes
1answer
39 views

How can I make an object with curved surface touch sensitive with Arduino?

Is there a way to make a "ball" (or an object with curved surface) touch sensitive? I want the ball to do something when someone touches it with their hand. So, currently I got an object out of ...
1
vote
2answers
73 views

Best way to connect 5V to GND from ESP (3.3V) - transistor or optocoupler?

First of all: I read through some of the suggested topics (i.e. connecting a 5V relay to an ESP), but to my (limited) understanding, this seems not to be the problem I'm trying to solve. If it is, ...
0
votes
1answer
69 views

Arduino to Attiny841 with ATTinyCore — pins not working

I have code that works using Arduino. Because I wanted to size down the project, I replaced it with an Attiny841. Process: I soldered the 841 on an adapter and checked all pins using a multimeter ...
3
votes
2answers
126 views

Potential hardware solutions to detecting which string/fret is being played on a guitar? [closed]

I'm aiming to translate sounds played from the guitar to guitar tabs (accurately). I've had a look at solutions for detecting which string is being plucked: Detect string plucking in electric bass ...
1
vote
1answer
62 views

Fluctuations in 7805 Regulator IC Output

I built an Arduino using ATmega328 on perfboard. To power it, I used an 8V adopter with a 7805 IC. But the ATmega328 IC started to reset randomly. After some efforts I figured out that the problem was ...
1
vote
1answer
33 views

An On/Off switch that can be controlled by an Arduino

I am a complete newb in electronic, so excuse me if I'm asking something completely basic, but here's the problem - I have an Arduino UNO board, a battery and a motor. The arduino itself can't power ...
2
votes
0answers
42 views

Transimpedance AMP, Active HPF, phototransistor

So this is the part where I would like the phototransistor (TEMT6000X01) to be able to clearly capture an LED with a frequency flashing on and off at 1kHz. So what I have here is a transimpedance ...
0
votes
3answers
107 views

I'm working with 12V 6.5A power supply, should I be worried? [duplicate]

I'm an electronics novice and I'm working with 12V at 6.5A. (I'm activating the power supply with a series of electro-mechanical relay switches controlled by an Arduino. The power supply lights up a ...
1
vote
1answer
89 views

Determine Correct Capacitor Value

I am just a hobbyist attempting to place some remote battery-powered Arduino sensors around my home and needed a way to save power when the sensor is not taking a reading. Initially I was using the ...
2
votes
1answer
72 views

ATM90E32 total energy reading

I'm developing a simple power meter using the ATM90E32 from Microchip. For now, I can read all values: frequency, power factor, voltages, apparent power, etc. Now the issue is with the energy, I need ...
0
votes
2answers
109 views

How to control 12 DC motors simultaneously with Arduino Uno?

I am using Arduino Uno. I need to control 12 dc motors rated voltage 9V and current 150mA. definitely, I will use MOSFETs and back emf diode for each PWM output. I need to know whether I can use a ...
0
votes
1answer
17 views

send data to server using GET method and sim900a

I am trying to send my data to HTTP server using GET method. When i am sending some hardcoded data manually it is getting stored in database successfully. ...
3
votes
3answers
185 views

Arduino oscilloscope voltage divider design

I'm building an oscilloscope with arduino, but I have some questions about how to design the input voltage dividers without ground. The problem is the oscilloscope only needs one input to measure ...
-1
votes
1answer
88 views

arduino resets when switching on relay

Good day everyone I have the Atmega328P-AU on a PCB (Controller IC used in arduino nano). I have made the connections as shown in the arduino website for bootloading and uploading the code. This part ...
0
votes
1answer
71 views

Would this MOSFET be suitable for use with an Arduino?

I'm looking for a MOSFET which can be controlled by an Arduino at 5V, and which can switch power on/off to a Raspberry Pi and peripherals (also 5V) that will peak around 3A of current. It's a battery-...
1
vote
0answers
51 views

Serial.println using Registers in ATMEGA328P

I have worked with ATMEGA328P using Arduino libraries, but new to actual register level coding. To start with that, I have written code for basic Serial.print in ...
0
votes
0answers
39 views

How to ontrol a 12v dc water valve with battery powered Arduino?

I just want to open/close a valve when the soil moisture sensor reports a pre-determined moisture level, using an Arduino. The main issue I'm facing is that most valves operate at 12/24 VDC and I'm ...
0
votes
1answer
45 views

Switch that change its state with a signal of some seconds

I'm making an IoT project for a friend, but I need some tips: I want to use an old mouse sensor and convert it to a movement sensor (just for a door) and if it's activated, a second device (an esp8266)...
0
votes
1answer
82 views

Switching 400V motor with 5V

I'am trying to make an automatic irrigation system using an Arduino, a moisture meter and a water pump. The issue is that I can't figure out whether there is some relay/contactor type component that ...
0
votes
1answer
124 views

Interface NodeMCU with RCWL-0516 Microwave Radar Sensor and power via battery [closed]

I am trying to interface NodeMCU with RCWL-0516 Microwave Radar Sensor and power it via battery. Below is the circuit diagram Below is the Arduino Code I am using : ...
0
votes
1answer
54 views

Writing extra data causing Arduino Mega 2560 to miss sensor data

I am working on a project that requires data from 3 different sensors and syncing is necessary. The first sensor(HX711) is relatively slow proving 80 samples per second. The second sensor(MAX30101) ...
0
votes
2answers
105 views

Controlling DC fan with Mosfet PWM

I am trying to control a 12V DC fan with PWM using an IRFZ44N MOSFET. However somehow the fan is not turning on and off when the gate is pulled to either 0V or 5V (on the power supply). And it is ...
3
votes
1answer
159 views

Arduino- Duty Cycle Changing When Frequency Is Increasing

I’m currently trying to increase the frequency from a pin from an Arduino using PWM. I’m using the Timer1 library as it has functions to output signals. I connected a push button to my Arduino and ...
0
votes
1answer
98 views

ESP8266 ESP-01 internal pull-up at pin GPIO0? +GPIO2 doubt

I have a PCB prototype which uses an ESP8266 module, ESP-01, the first ESP model with a 4x2 male pin header, and I will interface the ESP with a microcontroller. My main doubt is about GPIO0 pin of ...
0
votes
1answer
252 views

Allegro ACS71020 problem interpreting I2C data

I've added an Allegro ACS71020 to my Arduino project to measure power usage (circuit shown below). I can connect to I2C on 0x63 and I get response (check the image below) - but the values do not ...