Questions tagged [arduino]
Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.
8,756
questions
0
votes
0
answers
14
views
Arduino power using USB [duplicate]
I don't have a DC adapter and I want to power Arduino externally. Can I power it using USB port through my phone charger? Its rating is 5 V 2 amps.
2
votes
3
answers
87
views
Using alkaline C cells to drive a pair of solenoids
I am working on a walking robot for my class in mechanical engineering. I have two 12 VDC solenoids that need to be actuated. Their resistance is 4 ohm so basically will require 6 amps @ 12V for the ...
0
votes
4
answers
115
views
How can I remove DC from an audio signal?
I am trying to "isolate" an audio signal that is transmitted on top of a 24V (DC) power supply voltage.
This construct is used in door intercom systems from TCS.
The audio signal is the ...
0
votes
0
answers
39
views
Unable to drive 7 segment 6 digits multiplexed display using 74HC595 and arduino
I have reverse engineered some existing circuit that was given to me which consists of a multiplexed 6 digits 7 segments displays driven by 2 darligton arrays and BD227 transistors.
The original ...
0
votes
0
answers
29
views
How would one display raw input to TX pin on a HM-10 BLE module as a graph on a web app?
Basically I'm trying to feed in High low signals into the TX pin of a HM-10 BLE module and display it as a graph, similar to how an oscilloscope would, or possibly just have a threshold where it would ...
0
votes
0
answers
31
views
Capture audio from TCS Intercom BUS
I try to monitor and capture audio on a TCS Intercom.
There a several projects out there who have revers engineered the bus protocol.
I got it working to see activity on the bus when someone rings the ...
0
votes
1
answer
70
views
Problem with the output of a synchronous non-inverting buck-boost converter
I found this electronic circuit in an old research, along with the code necessary to operate it. When I applied it in the laboratory, the results were not the same as in the original research, not ...
0
votes
1
answer
74
views
Reverse engineering an printer rotary encoder [closed]
I'm trying to make an diy steering wheel and I have an encoder (I know the pinout). Will it be ok for this?
https://es.aliexpress.com/item/1005002435277981.html
0
votes
3
answers
93
views
Reading 4-20 mA industrial pressure sensor
I am trying to read an industrial pressure sensor (datasheet) with range 0-10 bar and output 4-20 mA, with an Arduino Opta RS485, powered from an external 12 VDC source.
Leaving the sensor in the air,...
0
votes
2
answers
77
views
Why do these MCU voltage dividers have +, -, and S on the output?
I'm looking at voltage divider modules like these to eventually measure a DC battery voltage with the range of ~10-15V:
https://www.amazon.com/dp/B07L81QJ75/
https://www.amazon.com/dp/B01HTC4XKY
I see ...
1
vote
1
answer
100
views
Arduino's impedance in breadboard circuit
(Warning, as this is a long question, asked by students that don't know what they're doing. Perhaps our questions are too general and can't be answered but at this point we'll take all the help we can ...
-2
votes
1
answer
81
views
Microcontroller I2C and SPI protocol
I have STM32F401RCT6, ATmega328p, and ESP32 microcontrollers in my circuit. Will I have any problems if I connect the processor directly to an I2C line, otherwise what should I do?
0
votes
1
answer
28
views
Building light-following robot with one Arduino and one I2C; Motor.begin command just stops the code from working
This is my code for a light-following robot with an Arduino UNO and an I2C. I'm trying to get it all to work but whenever my Motor.begin command is in the code, ...
0
votes
1
answer
43
views
How to program a new STM32F103C8T6 on custom PCB via USB to serial converter?
I puchased some STM32F103C8T6 from AliExpress which I soldered to my homemade PCB via a reflow oven. But, the problem is my program uploaded, but it did not run.
To confirm that it's not the pcbs, I ...
-1
votes
1
answer
100
views
Low-Voltage Differential Signalling (LVDS) not working
I have updated the schematic and hopefully included all the suggestions.
The problem of the LED strip flickering is still there, however, I have noticed a slight improvement after altering the circuit ...
-1
votes
0
answers
14
views
ESP 32 cam not working [closed]
i was working on esp32 cam and programmed it through arduino uno. i ran the code and it gave me an IP which and i started streaming but it showing me like this, no streaming video. i tried changing my ...
0
votes
1
answer
70
views
Arduino 0-10V input
I have read Arduino Mega 0 - 10V analog input? for Arduino analog inputs, but I want to make the circuit for industrial use. I have read that an analog opto isolator should be good.
Can I get any ...
0
votes
2
answers
113
views
Analogue Read in ESP8266 WEMOS D1 MINI is fluctuating
I am trying to read the current consumption of a light bulb (160 W) using a current transformer (5A/5mA) connected to the ESP8266 WEMOS D1 MINI analog pin.
I have put a 240 ohms burden resistor in ...
0
votes
1
answer
97
views
Was my Arduino Uno killed by ground loops?
Important context:
A couple weeks ago, I ported a C based nqueens program I found online to the Arduino Uno.
Today, and I'm all like "LETS OVERCLOCK THE NQUEENS ARDUINO!!!" Ugh.
I swapped ...
1
vote
1
answer
60
views
Connecting another Arduino to RX pin, bypasses first Arduino.,
I've got two Arduinos. One connected via USB to a PC, then another with its RX connected to the RX of the first Arduino. Both have a common ground through through the USB and another wire connecting ...
2
votes
1
answer
83
views
Can I use the NRF24L01 in a vacuum?
Can I use the NRF24L01 module in a vacuum chamber?
I want to put sensors in the chamber, connect them to an Arduino with an NRF24L01 module, and transmit data. Will the module work in metal and glass ...
-1
votes
0
answers
56
views
How do I add a secondary power source only if there is a primary one active?
Sorry, this question might seem super basic to some people, but I'm new to circuits. (I am learning on Tinkercad). What I'm doing is I have a power supply from an Arduino. When a button is pressed, it ...
1
vote
0
answers
40
views
Custom 240V Infrared Heater Controller
I'm DIY'ing a controller for a few heaters I'm placing on my covered deck, components listed below. I'm using an Arduino Uno Wifi Rev2 to control on/off and a dimmer to adjust the heater output.
A ...
0
votes
1
answer
50
views
Watchdog Timer doesn't play with input via Serial Monitor
I uploaded this very simple sketch to my Arduino Nano Every to isolate a problem I have.
...
3
votes
2
answers
178
views
How to design an I/V Converter for Arduino
I'm new to the world of electronics and could really use your expertise. I'm attempting to create an I/V converter for a NOSHOK series 653 pressure sensor, and you can find the datasheet at this link: ...
0
votes
0
answers
37
views
How to make a hight power strobe light (ACL) with arduino and high power LED
I'd like to make a high power strobe anti collision light (ACL) for aviation.
The available power source is 12 - 13 V DC.
The strobe pattern should be programmable / adjustable, therefore an arduino ...
0
votes
2
answers
63
views
What is this comparator in the Arduino Uno Revision 3 doing?
I was looking into the schematic of the Arduino Uno Rev3 particularly the built-in on board LED (connected to pin 13) and was curious about what was happening.
Here you can see pin 5 of port B being ...
0
votes
1
answer
57
views
Charging LiPo Battery with Solar Panel and Water Turbine Generator
I'm looking for a way to be able to connect a Solar Panel (5.5 V / 540 mA) and a Water turbine generator (3.3 V / 120 mA) together to charge a LiPo Battery of 4,000 mAh.
While using the solar panel ...
0
votes
1
answer
77
views
MOSFET trouble with Arduino
I am new to electronics. I have a MOSFET that I'm gonna use to activate a solenoid, but for now I wanted to test it with a resistor. This is my design.
simulate this circuit – Schematic created ...
0
votes
0
answers
63
views
i2c boards distance
I would like to use an I2C bus between 7 boards. first board used as main with the mcu controller, Rest of the 6 with io expanders (16ch each), the distance between the main board to each board is 15c&...
0
votes
0
answers
54
views
How to use SCD30 with ESP8266?
I'd like to use a SCD30 sensor connected to ESP8266. I know it's possible to use for example Adafruit library to connect SCD's to Arduino:
...
-1
votes
0
answers
62
views
Electromagnetic interference in a microcontroller
I am trying to control two cartridge heaters with my microcontroller. My microcontroller works fine, but when we change the place where the microcontroller should run, in some places it works in other ...
1
vote
1
answer
134
views
Understanding ADC digital isolation to avoid ground loops
I have designed a circuit to measure the voltage of a battery. This battery is being cycled all the time by a potentiostat (charging-discharging) which injects positive current to charge the battery ...
0
votes
2
answers
122
views
Making a device that can detect the salinity of water
This is my second year trying to attempt to make a device for Science Olympiad and I am confused on how to even start. I understand an Arduino is necessary but for the rest I'm lost.
How do I detect ...
0
votes
0
answers
38
views
ESP32-WROOM-32E Custom PCB Failure to send LoRa Packet
I am having troubles trying to send a LoRa packet to a receiver. In the serial monitor I am stuck in the while loop and it keeps printing dots. Below is my code and I will attach a photo of the eagle ...
1
vote
0
answers
39
views
Controlling Brushless Motor ESC Remotely
I currently have this https://a.co/d/hen7RIb brushless motor ESC from Amazon. I need this to accept a different input than the potentiometer. Right now for remote control we have this ESC connected to ...
0
votes
1
answer
69
views
Peltier Module Heating Problem
I am employing a small Peltier module with Arduino as its power source. In order to achieve a temperature of 80°C, I require 4.4V. Despite supplying 5V through Arduino, the module is not generating ...
0
votes
1
answer
59
views
I want to control the voltage and current of a LTC3780 module using an Arduino
Is it possible to adjust the voltage of LTC3780 through this circuit?
I don't know much about circuits, but I designed it based on what I studied.
Please understand even if I’m not good at English.
...
0
votes
2
answers
33
views
Debugging I2C Read
I'm running code from [Adafruit_BuxIO] (https://github.com/adafruit/Adafruit_BusIO) which defines the function `write_then_read' as
...
0
votes
1
answer
46
views
Issue with LED Strip Brightness using Arduino Mega and N-Channel MOSFETs
I'm working on a project to control a white LED strip (SMD5630) with an Arduino Mega (ATmega2560) using N-Channel MOSFETs (IRL530). The goal is to dim the lights using PWM signals through the digital ...
0
votes
0
answers
53
views
Sim800L can't send SMS
I know it is somehow weird problem, but I don't know what to do.
I am using SIM800L GSM module with ESP8266 nodemsu v3 and they are connected via UART serial communication.
I am using this code to ...
0
votes
1
answer
68
views
I had a custom Arduino Board fabricated, and I can't load it with a bootloader
I've made a custom circuit board from Arduino UNO as a base, had the board fabricated, and now I'm trying to burn a bootloader.
I have ICSP headers for both the ATmega32p and the 16U2
Here is my ...
0
votes
0
answers
55
views
Arduino mini 3.3v mosfet driver for a pid heater
I'm in the process of making an "all in one board" Arduino PID heater.
So far I've come up with this really simple design:
But im quite new to electonics in general as you can see, and i'm ...
0
votes
0
answers
36
views
How can I read a high frequency PWM falling edge with Arduino interrupts?
My project is about a Magnetic Levitator. I control the electromagnet with a high frequency PWM signal which I use on the MOSFET gate to give to it enough current.
The thing is that I use a linear ...
0
votes
1
answer
25
views
Guide in designing circuit with Solenoid Valve 12VDC interfaced with Arduino Nano
I am not of an expert and just beginning in electronics, I have tried to design this circuit. The schematic is for the 12VDC-4.5W solenoid valve to act like a gate valve to pass and stop the flow of ...
0
votes
0
answers
125
views
First time using breadboard, diagram circuit and arduino
I'm relatively new to Arduinos, schematic circuits, and breadboards. My goal is to recreate this project that emulates an antenna rotator controller.
To clarify, I don't want to use the LCD and button ...
0
votes
2
answers
79
views
Unable to resolve TRISBbits even with xc.h included
I am new to PIC programming, and I am trying to blink an LED using the PIC32CM MC00. I understand I must declare them as inputs or outputs, but the IDE I am using (MPLAB) keeps giving me an error when ...
3
votes
1
answer
78
views
Fluctuating brightness in RGB-LED strand controlled by Arduino
I am controlling the three colors of an RGB strand using PWM output from an Arduino UNO (via IRF520N MOSFETs). When the signal to the LEDs is in midrange, the strand starts to visibly pulsate at a ...
1
vote
1
answer
56
views
Programming ATmega using Arduino as ISP
For my systemprogramming class I have to program an ATmega48a µController.
At university we're using an avrmkII to program the chips, but as i don't have such a device at home so I figured I could use ...
0
votes
1
answer
95
views
Standalone ATmega328p not working
I designed a standalone ATmega328p board (like an Arduino Nano).
I use an Arduino Nano as an ISP Programmer, I can set the fuse bits and flash the program to it.
But the ATmega shows absolutely no ...