Questions tagged [arduino]

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

582 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
2answers
555 views

Using a PNP transistor as a switch connected from a 74154 then out to stepper motors

I am currently working on a project that involves an arduino mega 2560, one 74154 demux and 16 stepper motors. I want to be able to control which stepper motor turns at a given time. For this, the ...
3
votes
0answers
64 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
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 ...
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 ...
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 ...
2
votes
0answers
40 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 ...
2
votes
1answer
130 views

Arduino emulating a keyboard that has a demultiplexer

I have a old typewriter which I want to automate with an Arduino. The way I am trying to do it is to replace its keyboard with the Arduino and make the Arduino emulate the keyboard i/o. The keyboard ...
2
votes
0answers
73 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 ...
2
votes
1answer
72 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 ...
2
votes
2answers
49 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 ...
2
votes
0answers
132 views

PWM to synth control voltage improvements

Just built this little circuit to control my Moog Werkstatt. The plan is to make a MIDI-to-CV converter and add more CV outputs and of course a GATE output later. But before going further, I thought I'...
2
votes
0answers
78 views

Simplifying this circuit using optotriacs?

I'm currently trying to create an interface between my Arduino-compatible (NodeMCU) and my OpenTherm boiler. OpenTherm is a protocol used by some boilers (mainly in Europe) which allows for the ...
2
votes
1answer
339 views

Is it okay to connect 2 lithium ion battery in parallel to a charger that can maintenance 4.2V? (more detail in post)

So I'm planning to make a charger that can charge multiple lithium batteries in parallel with hope to use recycled one. I fully understand that they are dangerous when you do it incorrectly, so I just ...
2
votes
0answers
259 views

BDM (Background Debug Mode) with Arduino

I'm trying to talk to a 68HC(9)12D60 (Motorola/Freescale/NXP) via BDM protocol. This chip is a 112-pin TQFP. On the PCB, there is a 6-pin header (which is not the standard BDM 2*3 pins header). The 6 ...
2
votes
2answers
236 views

Running 20 WS2812 LED strips (80 pixels each) from a single Arduino and 24V Power Supply with Buck Converters

I am building a matrix with 20 WS2812 LED Strips. Each strip is 80 pixels for a total of 1600 pixels. I want to drive them all from a single Arduino Mega board. To handle the power needs, I have a 24V ...
2
votes
0answers
45 views

Way of powering Arduino+GSM Modem+Cam off 5V powerbank

I'm trying to build a circuit, that would turn the Arduino on by a PIR sensor, take the picture by ArduCam, then transfer it onto a webserver. I got the SW site covered by now, so that is not a big ...
2
votes
0answers
384 views

A curious 433 MHz signal to decode

I bought a cheap set of remote controlled power sockets and I want to integrate them into my home automation system. So I got a 433 MHz receiver for 1€, connected it to my Arduino and tried to decode ...
2
votes
1answer
158 views

Can I connect a MEMS mic directly to this spectrum analizer chip?

I have a ICS-40181 MEMS mic and want to do basic spectral analysis using the popular MSGEQ7 chip for the purpose of a sound reactive project. Can I simply connect one into the other (with cap/res as ...
2
votes
1answer
381 views

UPS battery as auxiliary power supply for car - charging and detecting car on

I'm designing a arduino-based car system that I would like to have running even when the car is off and parked. Though the system is designed to be very energy efficient, I don't want it to run down ...
2
votes
2answers
122 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) ...
2
votes
2answers
475 views

Voltage drop @24V2A using a MOSFET with Arduino

I'm not really good with electronics but i'm really trying to learn as much as i can, so please have mercy on my question :) Hardware So, i have an Arduino Uno, a 24V 150W power supply, a 24V 48W LED ...
2
votes
0answers
381 views

Prototyping a smart boxing glove: Where to find a “wearable” force sensor that can detect up to 2000 psi

I am working on prototyping a "smart" boxing glove that can track the movement (jabs, uppercuts etc.) and punch force. I am having a bit of trouble sourcing a pressure (force) sensor that is small ...
2
votes
0answers
499 views

What's necessary to properly decouple/filter a PWM-controlled fan from an Arduino?

I've got a small problem I could use some help with. I am using an Arduino to control a cooling system I am building for a DSLR. Primary goals are to use PWM and some pots to control TEC power, as ...
2
votes
0answers
1k views

SPI SDHC Initialization Timing Problems

I Have a 16GB Wi-Fi SD HC Card from Transcend. I try to initialize the card via SPI using an Arduino Uno, sending CMD0, arg: 0 , CRC: 0x95 response:0xFF but the expected response is: ...
2
votes
0answers
381 views

Strange stepper motor behavior- moves too far

I have 3 CD drive stepper motors on a 9V 2A power supply, and they are being driven with EasyDrivers. I am using an Arduino with grbl to control the drivers. The current for the motors is at the ...
2
votes
2answers
308 views

Does it make sense to plot the angle in an signal spectrum analyzer?

I've built a toy oscilloscope with an Arduino, acquiring the samples with the ADC and plotting the spectrum on my computer. The spectrum is the output of the FFT algorithm. You can see a video here of ...
2
votes
1answer
237 views

How do you output whole number voltages (1-4V) from an Arduino/5V source using only digital pins and passive components?

I would like to output whole number voltages 0V,1V,2V,3V and 4V from two digital pins on an arduino/5V source. A simple r2r ladder doesn't seem like it would work because it would split its definition ...
2
votes
1answer
2k views

Esp8266 nodemcu v3 connection to usb fingerprint scanner

My project is about making an ioT biometric attendance management using Esp8266 nodemcu and a Morpho usb biometric scanner. So my question is whether is it possible to connect a usb fingerprint ...
2
votes
1answer
616 views

Arduino code compiles both on Eclipse and on AVR Studio 5, but only Eclipse version is functional

I'm trying to choose an IDE for arduino development. I installed both Eclipse and AVR Studio 5. And configured them using the instruction on the Arduino site (for Eclipse) and those two tutorials (AVR ...
1
vote
1answer
26 views

acs71020 Connecting and reading voltage properly

I am using an ACS71020 3.3V I2C version hooked up to ESP32. I have connected the IC as proposed in the datasheet. Rsense used is 1.8k ohm as proposed in the evaluation board user manual for 230-240 ...
1
vote
0answers
26 views

Using force and buttons

So I am currently trying to make an interactive mobile phone cover that communicates with a game on your phone. The inputs to the game will be push buttons on either side of the cover. What I am ...
1
vote
2answers
72 views

How to get audio data in Arduino using p2 audio cable?

I have this project where I need to get audio from my PC or smartphone through a p2 cable like this: I want to send it to my Arduino through an analog input. How can I do it? I stripped the cable and ...
1
vote
0answers
44 views

Why are my motors stuttering?

Using my Arduino Uno, I have managed to arm my drone motors and keep them running continuously and stutter free. I have an esc between the motors and the arduino so I am using the Servo library. <...
1
vote
0answers
46 views

Did I do something here that could have damaged my Arduino Mega2560?

I built a simple project here with a Mega2560. I wired up a TEA5767 FM tuner module via I2C. I tapped into it's line out pins, did some DC biasing and connected it to analog inputs of the Arduino, ...
1
vote
0answers
52 views

Ultra low power but also wake on event?

I have a nodemcu that needs to turn on periodically (every 2 hours) to take measurements, send them to me and then go back to sleep. I need this to be able to last for at least a year on batteries, ...
1
vote
0answers
51 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 ...
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
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 ...
1
vote
1answer
37 views

Simple 24VAC solenoid controller for Arduino

I am a bit new in making circuits, but I am truly stuck. I need to control a 24VAC irrigation valve from an Arduino type environment. I have seen several post but I just don't get it. The only power ...
1
vote
0answers
83 views

Nema17/A4988 + LED display pump, 5v circuit not complete?

I'm trying to build a pump from Instructables, with no experience at all. I appear to be pretty close but the 5V line from the Arduino does not power the driver or LCD screen via my perfboard, it ...
1
vote
0answers
73 views

12 V PWM fan and Wemos D1 Mini - ground loop?

Newbie here. I'm trying to power a 12 V 4-wire fan and a Wemos D1 Mini from the same power source. The aim is to use a Dallas DS18B20 temp sensor and increase/decrease the fan speed as per the temp ...
1
vote
0answers
179 views

Please check my board design before I waste money

TL;DR: Please make sure my schematic and board design won't blow up on me. GitHub Repo if you're feeling extra thorough. Project overview I am trying to create an Arduino based Bluetooth RGB led ...
1
vote
3answers
69 views

Arduino nano resetting after solenoid valve fires

I'm trying to control small, plastic 12V solenoid valves with an Arduino nano. I have an Arduino nano hooked up to a Sainsmart 4-Channel 5V Relay Module, and finally connected to the solenoid valves, ...
1
vote
0answers
45 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-...
1
vote
1answer
52 views

Reading a low voltage signal from a battery connected to a transformer

So currently I am trying to read the current draw from a battery that is being run through a transformer to generate an arc to light a gas burner. I have a roughly 1 ohm piece of wire that I am ...
1
vote
1answer
51 views

NTAG213 Not being picked up by the RC522 Module

I have been using the RC522 module to read and write things to the tags it came with. But when I tried to use an NTAG213 I bought for a recent project it will act as if it isn't there. I've tried a ...
1
vote
0answers
31 views

How do you get the call ringing response after sending ATD from gsm module?

I have a gsm module. I want to know which AT command can tell me if the target phone is ringing or not. I want to count time between start of ringing and user response Example: atd12345 ...
1
vote
0answers
81 views

i2c 16 channels relay board works wrongly

I have 6 16 Channel realy boards. I use them with Arduino mega. Some of works fine, some of not! My code is same. for example ...
1
vote
0answers
32 views

How does the timing of the MPU9250 works?

I am using an MPU9250 in my project and I am struggling with the timing domains of the various sensors. Let's say I have the magnetometer ticking at 100Hz, the Gyroscope at 32kHz and the accelerometer ...
1
vote
2answers
67 views

Stepper motor controlled by turning only in one direction and stalling in opposite direction

I am controlling a high-torque stepper motor (23Y204S from Anaheim Automation with 8 lead-wire) using a microstepping driver (MBC15081) and Arduino. The winding wiring is connected as bipolar series ...