Stack Exchange Network

Stack Exchange network consists of 175 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
0answers
6 views

How to understand the Sbus rc protocol

I want to understand the workings of the Sbus communication protocol, how it works, the concepts behind it etc. My aim is to use my Sbus receiver to control an appliance through a Microcontroller (...
0
votes
2answers
31 views

Control 12V DC via MOSFET and normal transistor

I find this schema on the internet and I dont know, how transistor control MOSFET. What that s8050 transistor do with the IRFZ44N MOSFET. Please, help.
0
votes
0answers
30 views

Arduino UNO Sketch for generating sine wave with PWM [on hold]

I wanted to generate a sine wave by using Arduino PWM pins. I have an appropriate low pass filter for my pwm frequency, so I only have to write the sketch. I do not know how to start since I do not ...
0
votes
3answers
35 views

IP Camera and USB data transmission over Ethernet Cable

Currently I am working on a project that requires connection of the Arduino and IP Camera over single Ethernet cable to a laptop and additionally supply power to a robot. The goal is to stream Video ...
0
votes
0answers
25 views

adjustable voltage controlled current source with negative values

I have a MEMS mirror which can tilt based on the input current. The current can vary between -15mA to +15mA in order to change the angle of the mirror from -15 to +15 degree. Now, I need to have an ...
0
votes
1answer
29 views

Safe to drive 24V leds directly via 2SK2049 MOS-FET?

I have built a simple automatic switch that synchronizes IKEA LED strip with the main light in the room, eliminating the need to switch multiple switches in the evening. Currently it works like this: ...
0
votes
0answers
29 views

Adafruit BMP280 and SD Card reader not working consistently with SPI

I am working on a project that involves logging the altitude from the BMP280 breakout board from Adafruit on an SD card using an Arduino Uno and SPI. initially I got the whole thing working right and ...
0
votes
1answer
31 views

Read data from strain-gauge Labjack, Arduino

I am working on a project where we have to record breathing data. For that we ordered a LabJack U3-LV along a with an amplifier (datasheet) and a belt which is some kind of strain gauge I think. We ...
0
votes
1answer
56 views

What component should I use? H-bridge? Relay?

I am working on a senior design project that involves regulating the noise from headphones to make sure no damage to the ear is done. I have all parts working except the part necessary to switch the ...
1
vote
4answers
89 views

How to overcome over-current in a circuit?

I have a relay switch that operates at 10 A and 120 V connected to a DC motor that runs at 18 A and 36 V. Will the relay switch burn out? If so, how can I protect the relay switch?
0
votes
1answer
20 views

SIM800: AT-command to get connected sender ids

I want to roughly estimate where my Arduino currently is. For this, I want to fetch the identification numbers of the stations it is currently connected to, so I can put them into an API which then ...
0
votes
1answer
30 views

Cannot use GPIO of adafruit circuit playground express on my water pump? [on hold]

I have a peristaltic liquid pump 5V-6V, and adafruit circuit playground express. When i connect the pump to the 3.3 Volt output of the circuit it works, but when i try to connect it to on of the GPIO ...
-2
votes
0answers
41 views

What's the most precise GPS module for an arduino project? [on hold]

I'm trying to measure a distance offset using a GPS module (NEO-6Mv), But the GLL value keeps changing to a +/- .030 decimal minutes when left on for over 10 minutes and when the module is stationary. ...
0
votes
3answers
64 views

Replace some LEDs with diodes in relay circuit

I need to know if I can replace the input LEDs (IN1, IN2, IN3, IN4) by a diode or resistor and if this can help me to reduce the voltage consumption generated by these LEDs. The circuit is a 4 relay ...
-1
votes
0answers
39 views

Need help on a DIY project [on hold]

I have extracted the microphone circuit from my earphones. I want to be able read frequency values and all from the output of the microphone using an Arduino. How do I do that?
0
votes
0answers
29 views

Can I do on-chip debugging on atmega328p with gdb (command line)? [duplicate]

Is there a way of doing on-chip debugging of Arduino Uno (atmega328p) with gdb on the command line? I'm looking for something simplistic and excluding IDE solutions like Eclipse and Atmel Studio. I ...
-3
votes
0answers
27 views

How to connect common anode 7 segment with max 7219 [on hold]

I want t make a digital clock with arduino and rtc 3231. I found some project over internet in which small seven segments are used. I want to use 2.7" large common anode. I dont know how to control ...
0
votes
0answers
43 views

Is there a way to have the LED switch on after 10 readings or say a minute?

I am using Arduino for a RFID project where the LED must switch on after either 12 readings of the tag or 2 minute, the tag reading happen every 10 seconds. I can't seem to figure out a way to have ...
0
votes
3answers
55 views

How does PWM work in the Arduino?

The problem that I have is that I can't understand the working of PWM in Arduino, even though I totally understand what PWM is. Like the Arduino has a 980hz refresh rate (~1ms clock speed) on two of ...
0
votes
1answer
22 views

getting arduino PWM from 0-5V to 0-10V or 0-12V?

I have an IR2110 driver and a LOD voltage regulator 15V from a solar panel. now this will supply 15V to VCC as shown below. Since I have a LOD voltage regulator of 15V, I can't apply the same voltage ...
0
votes
0answers
21 views

Reading analog signal of metal detector using arduino

I would like to tap into analog signal of Garrett AT MAX metal detector (ínfo) and read the value using arduino analog in. Schematics for the metal detector can be found here It seems to me that the ...
3
votes
4answers
338 views

Question about debouncing - delay of state change

I have a very simple project where I needed to debounce a button (in software). Logically, my thought process is: If the state's been stable for a while, and it changes, then immediately signal an ...
0
votes
0answers
16 views

generate log .txt file on PC for arduino serial terminal log (send and receive commands)

I am trying to generate a .txt file on my Windows 10 PC of Arduino serial terminal data. I am not using SD card on Arduino Mega board just need to send commands to Arduino baord from serial terminal ...
1
vote
1answer
41 views

Implementing UART flow control in microcontroller

I'm communicating data from my microcontroller (Teensy) to my Bluetooth module (nRFx) which is also a microcontroller that I can program. I use UART to communicate the data I want to send over ...
-1
votes
1answer
72 views

Trying to understand given circuit [closed]

For a school project, we have to control the speed of a DC motor with an Arduino. By using the PWM function, we have to control the DC voltage in order to obtain different speeds. We are given the ...
0
votes
0answers
42 views

RTC input to Arduino Mega in the form of G code [closed]

I am working on a headless CNC machine. I am using two arduinos for it. The Arduino UNO has a CNC shield and GRBL interpreter code. The Arduino Mega has to be interfaced with an RTC, a keypad, an LCD ...
0
votes
1answer
45 views

RS422/RS485 data input series resistor

I am using an RS422/RS485 driver to send Arduino 5V logic data over longer distances. I use the SN75174 driver for this purpose. In order to avoid ringing, I am not sure if I have to connect a series ...
0
votes
1answer
61 views

I want to create a stable 0-10 V DC output from a 3.3V PWM signal (arduino/esp8266)

I want to control an EC motor, but I have some difficulties with the motor's control input. According to my measurements it has a ~50kOhm input impedance, and probably also has an (unknown) RC low-...
2
votes
2answers
31 views

Power 9 IR LEDs 850 nm with a forward voltage of 1.7 V and forward current of 100mA

I am looking to power 9 IR LEDs 850 nm with a forward voltage of 1.7 V and current of 100mA. i want to make a circuit where i can use a small power supply or could I use the raspberry pi to power it? ...
0
votes
1answer
28 views

Using IR2110 driver in synchronous buck converter?

in using MPPT charger for battery, can use a variable input- fixed output voltage regulator that will be connected to the solar panel input?, this way I can have 15V for VCC and 5V for VD. I really ...
0
votes
2answers
97 views

Measuring 0-240v 50-60hz Mains AC with Arduino/MCU

What is the proper way to measure 0-240v 50-60hz Mains AC with an arduino / 3.3v mcu? (Edited to include a diagram of a proof on concept, which is transformerless) Can anyone confirm that this is ...
0
votes
1answer
24 views

touch switch time problem

I was looking for a way to make a touch touch switch and i found this circuit on the internet but the problem is , it goes off automatically after few seconds is there any way that i can control it ...
-1
votes
0answers
15 views

PPM of Wasabi Eco [migrated]

I'm currently trying to control a brushless DC motor (EMAX 1806-2280Kv) with a ESC called Wasabi Eco 12A (http://files.hapo-trade.at/pdf/WASABI%20ECO(DE+EN).pdf , https://mih-toys.de/mediafiles/PDF/...
0
votes
1answer
54 views

Protecting RS-232 from overvoltages

I am using Some arduinos (5V Pro-Mini, but planing to move to actual ATMEGA chip) over a distance of few metres. These are connected using standard Alarm cable (I had problems with Ethernet cable and ...
0
votes
2answers
92 views

Drive 12V Automotive Relay from 3.3v ESP32

I am working on a project to start a vehicle using Automotive Relays. And I am following this circuit in the tutorial to do so. Everything works fine on Arduino UNO. But I want to use ESP32 of this ...
1
vote
1answer
53 views

Remote dissable a micro type B USB connection to device

I need to control the shutter and image download from a wired remote camera. The camera has 2 pinout ports. One to control the shutter and the second is the micro-type B USB post to download image ...
-1
votes
0answers
39 views

Please Help :(, half bridge mosfet driver and power mosfets in dc-dc converters?

IR2113 half bridge driver for both N-channel IRFZ44N mosfets for a buck converter. Now I just want to know how to power this driver from an Arduino and also what is sink/source current mean? ...
0
votes
2answers
65 views

Negative pluse generator does not reach 0V

I'm using an Arduino board to generate a 125KHz square wave signal to feed into this curcuit: simulate this circuit – Schematic created using CircuitLab So this is what I'm receiving from my ...
0
votes
0answers
40 views

Regulate ~350V spikes (duration nanoseconds) to logical level 5Volts

Use standard 5.1Volt zenerdiode? Can I trust that with zener diode it wont leak over 5 volts, concerning fast raising high voltage spikes. How about resistor sizing, the input goes to Arduino ...
0
votes
1answer
96 views

Why use UART to communicate between Arduino and ESP Wi-Fi module?

I have been learning about the different communication protocols used between Arduino and other components/sensors, namely, SPI, UART and I2C. I want to add Wi-Fi to my Arduino UNO project using ...
0
votes
1answer
37 views

driving high and low side mosfet for synchronous buck converter?

I am designing an MPPT charge controller. I have chosen my MOSFETs to be both NMOS https://www.sparkfun.com/products/10213 (FQP30N06L) 60V, 30A. Since the gate voltage is 3 to 5V. I can drive the low ...
-1
votes
0answers
41 views

solar cell with Arduino & another stuff! [closed]

I have project for reach certain objective consist Arduino works over solar cell only with GSM card. my question is: I can use my project under sun, but in night no light, so I need something storage ...
0
votes
0answers
32 views

Burning Arduino Bootloader [migrated]

I'm trying to use an atmega chip from an arduino on a breadboard, with minimal hardware (using the internal 8mhz clock). I am using the article in the link provided. When I reach the final step (...
0
votes
0answers
41 views

Arduino Smoothing does not work as expected [migrated]

I using the standard example of smoothing: ...
0
votes
0answers
37 views

Arduino receiving correct audio data from analog input?

I've connected my arduino's analog input to my phone's headphone jack and am trying to visualize the audio data in the serial monitor. I have read on Arduino's site that the Arduino UNO is able to <...
2
votes
2answers
87 views

Why use a series resistor between Arduino RX and ESP8266 TX?

I have seen this in several schematics which i assume are professional since they are for popular open-source products. But i can't figure out why there is a 470 Ohms resistor in series between the ...
0
votes
0answers
39 views

I have RGB LEDs but I need an external power source [duplicate]

I have WS2812b RGB LEDs for a project but I don't have an external power source. I heard that you can use a power bank for charging phones and things. I cut the end of a micro usb but wouldn't know ...
0
votes
1answer
25 views

Is 128KHz oscillator in ATmega same as Watch Dog Oscillator?

Where is the 128KHz oscillator located in ATmega328p? I am unable to find it on the ATmel data sheet ,Is it same as watch dog timer Oscillator? I am attaching the clock section from the ATmel ...
1
vote
0answers
14 views

Can I set one relative axis and one absolute axis in a mouse HID descriptor?

I'm building a custom Bluetooth mouse using an ESP32 with a proximity sensor for the Y coordinates and a gyroscope for the X coordinates and was wondering if setting the X axis as relative and Y axis ...
0
votes
1answer
65 views

Attiny85 crashes when I run a motor through an L293D

I'm trying to run a motor through an L293D turned on and off by an Attiny85. The Attiny85 has the micronucleus bootloader on it, which is why pin 3 is connected to a pull up resistor. On the Attiny ...