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
59 views

replace ceramic capcacitor with electrolytic one

I need help, that i have a lack of ceramic capacitor value variety in my country. I need 47μF (microfarad) and 2.2μF (microfarad) ceramic capacitor and i can't get these values. So the question is,...
0
votes
1answer
29 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
68 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
42 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
29 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
72 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
28 views

Baud rate of Arduinos bootloader [migrated]

I am learning UART and the problem that i have is understanding what happens when i send serial data to my PC via USB which is built in to the Arduino uno board. For incoming serial data i am using ...
0
votes
0answers
44 views

Measuring Battery voltage with arduinos

I'm trying to measure a voltage of 5V. ...
0
votes
1answer
41 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
89 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
12 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
148 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
99 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
46 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
52 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
64 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 ...
0
votes
0answers
14 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
18 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
29 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 ...
0
votes
0answers
16 views

How to get the RSSI value from an Xbee?

How do you make XBee send its RSSI value to another XBee? My goal is distance measurement and position estimation in an outdoor environment. The distance is calculated from the RSSI values.
3
votes
2answers
99 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
58 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
122 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
0answers
32 views

How can i read the serial output of STM32F103C8T6 from USB to Serial TTL [migrated]

I recently bought a STM32F103C8T6 board (blue pill) I programming to it using the USB to Serial TTL I bought (CP2102). I'm still taking very first steps and trying to figure out how to operate the ...
0
votes
1answer
42 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
30 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
120 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
59 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
61 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 ...
-2
votes
0answers
50 views

How to read data directly from lcd display [migrated]

Referring to post: LCD data read and show on computer It was not clear what the final code is. Could you post the code and schema again, and if possible, an explanation of how it works? My problem: ...
-1
votes
4answers
172 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
134 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 ...
-1
votes
0answers
31 views

Controller Hang(Unresponsive behaviour) Issue [duplicate]

I am using avr atmel 1284p and sim808 for sending data to remote server via HTTP. I am using watchdog library "avr\wdt.h". ...
0
votes
2answers
75 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
68 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
26 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
80 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 ...
-1
votes
0answers
15 views

Setting wifi password and username from Mqtt dashboard

I am looking for sample code .Where i could take wifi SSID and password from Mqtt dashboard. I am using nodemcu with DHT11. I could able to communicate with DHT11 using client code. Its easy to do ...
2
votes
3answers
197 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
0answers
19 views

rfduino i2c no activity on bus

I've been working on RFD22102 RFduino with the USB shield. Using the board manager in Arduino IDE to retrieve RFduino package under the URL "http://www.rfduino.com/package_rfduino166_index.json" ...
0
votes
4answers
56 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
60 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
50 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
46 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
81 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
97 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
82 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
37 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
88 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 ...