Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
1answer
58 views

Pulse width of a stepper driver

I have a stepper motor that has 1.3Nm holding torque. Im using TB6560 driver at 3A phase current and half step mode. And also Im using Arduino for generate step signal for the driver. If I generate a ...
-1
votes
1answer
143 views

Why doesn't Arduino Nano provide enough current to ESP8266?

I have an ESP8266-01 WiFi Module and I have some troubles in supplying power to it. I use an Arduino Nano powered by a 9V battery (actually 6x 1,5V AA) through the Vin pin and the GND pin. I power the ...
0
votes
1answer
56 views

LED strip driver using Standalone atmega823 and MOSFETs

I want to make a LED strip driver, using an atmega328 on a custom PCB. I was able to get it to work perfectly using an arduino UNO, with the mosfets connected on a breadboard. However, when I just ...
1
vote
0answers
56 views

Arduino Nano controlling led strip - cant power leds

I bought a arduino nano (ATmega328P Nano V3) and a led strip (sk6812 3535 4mm), to control the led strip with the arduino. Now i ran into problems with the power supply i guess. The idea came from ...
0
votes
2answers
78 views

Hardware implementations for a low-cost ADC array project

I wonder what would be the best hardware platform or architecture for implementing and building a lowish-cost system to sample audio capture over a large array of microphones or sensors? say, 300 or ...
0
votes
0answers
44 views

Measuring Battery voltage with arduinos

I'm trying to measure a voltage of 5V. ...
0
votes
1answer
56 views

Can an Arduino Pro Micro act as a USB hid and usb host device at the same time?

I know that the Pro Micro can act as a HID device. As far as I understand the Pro Micro can also act as a USB Host using a usb-host adapter (shield) - right? Now can the pro micro be both a device ...
2
votes
2answers
1k views

Arduino and USB, how it works?

After purchasing an Arduino board (UNO) I decided not to use Arduino IDE as it lacked some features and all libraries are written in C++. I am coding with C. One thing that I really do miss is a ...
-2
votes
2answers
92 views

Memory choices for lack of arduino speed [closed]

I'm designing a system which reads values from a microphone and feeds it to the Arduino to calculate a few sound parameters. The measuring happens during a couple of milliseconds. The problem is that ...
0
votes
0answers
14 views

Can't set fusebit on Arduino mega2560

The board came default with lfuse:0xFF hfuse:0xD0 efuse:0xFF I've been trying several of the programmers that come with Avrdude, but the only one showing some results is -c wiring, the others timeout....
1
vote
2answers
255 views

How can I use a transistor (2n2222) to act as a switch with this 12V momentary switch? [closed]

I have a garage door setup that is basically like the following: All I want to do is add a new remote switch into the system. I basically want to add a circuit into the previous schematic in the ...
0
votes
1answer
105 views

What is the physics behind width of the duty cycle in Arduino?

I was wondering if someone can tell me how Arduino changes the width of the duty cycle? How it produces an on-off pattern? I am looking for an explanation for modulation in this system.
0
votes
2answers
47 views

Selecting temperature probe for home use with long cable / low power [closed]

I would like to monitor the temperature outside my home. The sensor has to be located at least 20m cable length from the display unit. Whole system should be powered by a battery (doesn't matter which)...
0
votes
1answer
65 views

hard drive BLDC motor

I can't work out what the issue with my setup to control a 2.5" hard drive BLDC motor is. I have a 3 pole 2.5" hard drive connected to the following drive circuit, but the motor isn't spinning. ...
0
votes
1answer
78 views

How to operate a BLDC motor?

I am using an Arduino Uno to operate a BLDC motor using IR2110 MOSFET driver and IRFZ44N MOSFET. But every time, all the low side MOSFETs and phase 3 driver(IR2110) are burning. In this position my ...
-1
votes
0answers
19 views

L9935 stepper motor driver handles only the first command

I'm interfacing the L9935 two-phase stepper motor driver with Arduino. For this purpose, I've followed js_online's guide here. The only difference is that I use the original connector on the board. ...
1
vote
0answers
22 views

Mosfet Based impulse voltage generator

enter image description here **Details- Mosfet_1 will turn on for 20ms and charge the capacitor C2 and after that, it will turn off. Then the Mosfet_2 will turn on for 3ms with 40kHz frequency and ...
0
votes
1answer
31 views

Can you bridge off of a 240 V Breaker Box that connects to an Intermatic Timer?

I have an Intermatic T104 Timer drawing power from a Homeline Breaker Box for a home swimming pool. I'm wondering whether it would be considered safe to use the knockout in the timer enclosure to ...
3
votes
2answers
130 views

TLC5940 - with 200LEDs from car battery

I'm working on project that involves 100 white and 100 RGB leds, controlled with 25 TLC5940. I've managed to connect three TLCs to Arduino MEGAv3 and so far so good. I've found out that I have to ...
1
vote
2answers
60 views

How to differentiate between multiple different connections connecting to a common socket?

I'm working on a project that involves 9 female connections on the top of a box, and 4 male connections coming from the front of the box. The requirements of the project involves connecting these male ...
0
votes
4answers
127 views

Arduino: read different voltage values in a range from -12 to +12V

I would like to trigger different functions in Arduino related to the following voltage values: -12V, 0V, 6V, 9V, 12V (the range is from -12V to +12V). According to the value of the voltage read (-...
0
votes
1answer
48 views

Arduino RS485 Communication

Working on a RS485 IC circuit. It is a point to point communication between two devices connected to each other via MAX485 IC and CAT6 Cable. At 1 or 2 m length of cable, the data transfer seems ...
1
vote
1answer
33 views

How do I run two Arduino sketches at once? [closed]

I have got two stepper motors that I want to drive at the same time using an Arduino. They both work with 2 separate DRV8825 stepper drivers that are connected to the Arduino. I can get them both to ...
2
votes
2answers
150 views

Controlling LP Gas burner with microcontroller: flame sensor ideas needed

I'm building a system using a microcontroller (like an Arduino maybe) to automatically control the temperature of a kettle of liquid being heated by an LP gas burner with a PID algorithm to turn the ...
0
votes
1answer
68 views

ILI9341 Library for arduino

I'm writing an arduino library for ILI9341 tft display. I tried to write on the display but nothing appears. Why? How can I solve the problem ? My source code: ...
0
votes
1answer
70 views

“Creating” a ground pin for my laptop

I am building a sensor using an Arduino connected to a laptop; I noticed that the readout is much more noisy when I use a non-grounded laptop (either running on battery or connected to a power socket ...
-1
votes
4answers
175 views

Ohm's Law and Death [duplicate]

So I bought an Arduino today, my high school grades were terrible but I decided to dive into electronic engineering anyway. I am a total noob so please forgive me. So Ohm's law states v = R * I, ...
1
vote
2answers
142 views

How is it possible to ever have frequency on a DC circuit?

Preface Please read this carefully. I put a lot of time into it and am genuinely attempting to understand. I've read numerous articles about DC and AC circuits and searched numerous places to get ...
0
votes
2answers
92 views

How to determine the physical location on a RS-485 daisy chain / bus topology?

I am trying to build a "daisy chain" using several Arduinos and MAX485 transceivers. All boards have a temperature sensor attached to it. A 9V battery supply all boards in the chain. I am trying to ...
-2
votes
1answer
75 views

DC signal output 0-5V with constant 10mA

I am designing a Digital Logic Board and need to add a DC signal output from 0 to 5V (with potentiometer) with a constant 10mA. I have checked designs with LM317 and LM334 for adjustable current upto ...
0
votes
1answer
32 views

Running Relay in parallel to switched neutral rocker switch

Complete beginner here, so apologize if this is obvious - but I'm trying to hook up a fog machine to a relay module for my Arduino. The Fog machine has a plug for the wall, then a second drop cord ...
1
vote
3answers
97 views

How to improve an elegant design for an LED dimmer, low-powered with LDO

I am building a sunrise alarm clock. The LED is supposed to get brighter over the course of 30 minutes, then remain fully lit for another 30 minutes, then switch off. I am using a digital pin on an ...
2
votes
3answers
225 views

Controlling Solenoid Valves with ULN2003A, Inrush Current, Arduino

I want to control a total of five solenoid valves with my Arduino. The solenoid walves operate at 12 volts and have a power consumption of 5 watts per solenoid valve, which equals a current of roughly ...
0
votes
4answers
65 views

How to power an Atmega328P and Pi from 12V?

I have a bare-bones Arduino (basically an Atmega328P) and a Raspberry Pi 2. I have them communicating with each other over I2C and a 5v/3.3v logic level converter. Right now I power the Pi (micro-usb)...
0
votes
2answers
69 views

LM324 with arduino as a differentiator for phototransistor signal

I want to measure the rate of change of voltage with respect to time coming out of a phototransistor, and preferably amplify it at same time, as the change is not so significant. But lets just not ...
0
votes
1answer
51 views

How would I go about measuring an analog signal that has both positive and negative voltages on an arduino analog pin at a high sampling rate?

I have a signal that fluctuates between -70mV and 50mV. How would I get the arduino mega to read this on an analog pin at a high sampling rate? Ultimately I am trying to graph the data in real time so ...
0
votes
1answer
52 views

Protect signal from noise in Arduino

I am trying to send a signal from the Arduino to a relay to open a switch. My problem is that my Arduino will be near the AC power lines. I searched for how to prevent the noise to ruin the signal ...
0
votes
2answers
87 views

Why are my op-amp (LMC6484) output signals not independent of each other?

I am using a quad op-amp (LMC6484) in a non-inverting circuit. Using only one of the 4 op-amps I was able to amplify Vin = 80.3 mV to Vout =1470 mV. Rin=2.66k Rf=10k. V+= 9V… V- = -9V My problem is ...
0
votes
2answers
103 views

Recording of sensory nerve evoked potential generated through skin-receptors [closed]

If we touch / give pressure to a skin, there are many mechano-receptors like meissner/pacinian corpuscles that produce action potential in neurons. I am in a need to detect those action potentials ...
0
votes
2answers
120 views

How to drive a 1MHz Ultrasound-TD1000KA

I want to measure the Sediment of water. So I chose a 1MHz Ultrasonic Transducer sensor with the ability to work underwater and also can recognize the sediment under water. The output of the sensor ...
1
vote
0answers
50 views

Can the idle state of MOSI cause issues?

I have an issue when communicating with an ADC over SPI. If I imitate the SPI protocol via bitbanging then I have no issues with communication; however, if I use the SPI hardware (I've tried Arduino ...
0
votes
2answers
125 views

RS485 transceiver design

I'm working on a TTL to RS485 transceiver which is part of a bigger project (arduino based) and I came up with the following design: I have a few questions: 1) I have seen very different values for ...
0
votes
1answer
52 views

How to tell a battery's ideal charging voltage with a circuit?

simulate this circuit – Schematic created using CircuitLab I've been looking to build a universal charger for my laptop and phone, and I'm wondering; is there a viable way to adjust the input ...
1
vote
0answers
70 views

(Arduino) When turning TIP120 on again, sometimes the slave flashes trigger without being told to. Why?

I have two mini slave flashes, that have no stand-by modes by themselves. So, even when charged and ready to flash, current keep flowing from the two AAA batteries each, and, if I forget to turn them ...
0
votes
4answers
85 views

Why some Arduino LEDs are not grounded

Looking at the schematics of the Pro Micro, the LED in PD5 (bottom-right) is connected to VCC instead of GND, same for PB0. Why? ...
1
vote
1answer
42 views

Change operational mode of CAN transceiver

I have two MCP2515 stand-alone CAN controllers with an SPI interface, two TJA1042 CAN transceivers, and two Arduino Uno boards. As you may know, TJA1042 has two operational modes: sleep mode normal ...
4
votes
1answer
112 views

Problem with SPI Communication between Arduino/Atmega328P and Raspberry Pi

I have an Atmega328P chip (being used as an Arduino) that I would like to connect to a Raspberry Pi via SPI. I originally had an Atmega328P running on 3.3V using its own internal 8MHz crystal ...
4
votes
2answers
753 views

Multimeter true RMS [closed]

I'm just getting started with electronics (arduinos and friends) and I would like to get a multimeter. As far as I can tell arduinos and any other logic chips and circuits I'm gonna be using are using ...
0
votes
1answer
119 views

Servo wire connection layout [closed]

I'm trying to figure out with E-flite 7.6g Sub-Micro Digital Tail Servo JST my particular one has 1.0mm to male JR connector, so need to be connected with some switch, I have 2 other servos here, ...
0
votes
2answers
58 views

Simulate Arduino keypad with Arduino

I came up with idea to create a simple keypad lock using this ( Keypad Matrix 3x4 https://grobotronics.com/keypad-12-button.html?sl=en https://learning.grobotronics.com/el/2013/07/using-a-3x4-keypad/ ...