Questions tagged [arduino]
Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.
8,748
questions
0
votes
0
answers
13
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
1
answer
13
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
0
answers
59
views
Need Help Printing Sine Wave on Fujitsu Thermal Printer [closed]
Arduino Board: Arduino Uno
Thermal Printer: FTP-68EMCL162 Interface
Board: FTP-62EDSL101#01
I mentioned "raw wave data," I was referring to the binary or numerical representation of the sine ...
0
votes
1
answer
90
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
56
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 ...
1
vote
0
answers
30
views
sr-t500 walkie-talkie module [closed]
I have the sr-t500 walkie-talkie module.
Everything works fine, but the sound is not sent through the microphone!
I tried replacing the microphone, but there was no change.
Does anyone have ideas ...
2
votes
1
answer
63
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 ...
0
votes
0
answers
50
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
36
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
47
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
165
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
29
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
61
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
76
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
61
views
Failed to configure Ethernet using DHCP [closed]
I'm trying to develop an application that captures data. The project consists of collecting temperature and humidity using a sensor connected to an arduino uno mini. It then saves it in the database (...
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
46
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
58
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
133
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
116
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
36
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
56
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
43
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
42
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
64
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 ...
-1
votes
0
answers
28
views
Coefficient voltage signal sensor DHT22 [duplicate]
I'm currently looking for the analog voltage value from the DHT22 sensor, which already provides a digital output signal. What is the coefficient value of voltage for each temperature change per ...
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 ...
-1
votes
0
answers
54
views
Code works fine when USB ports serial monitor is open
I am using an Arduino Uno board to control a LED using GSM module.
The code works fine when USB port serial monitor is open but it does not work when connected with 12 VDC power supply (means USB ...
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
22
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
120
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
73
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
53
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
91
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 ...
0
votes
1
answer
39
views
Pin 4 and 5 are the actual SDA/ SCL on Seeeduino XIAO. Is it possible to use other pins as an SDA and SCL to connect with an LCD display?
I'm doing a similar project as the link below that uses the Seeeduino XIAO, LCD display and the maxim blood oxygen sensor. I'm a little confused with the circuit connection this guy made.
Link to his ...
0
votes
0
answers
43
views
Issues with Nodemcu, LoRa Module (Lora-02), and Bluetooth Module (Hc-05) for SMS Communication
I am currently working on a project that involves using an node mcu, a LoRa module (Lora-02), and a Bluetooth module (HC-05) to enable the transmission of free SMS between two mobile devices when ...
0
votes
0
answers
57
views
Not able to run motors using l298n motor driver
I try to make a gesture controlled robot using L298n, Arduino Uno and bluetooth module HC-05. I send gesture data from a mobile. I have checked there's no problem in the data communication from mobile....
0
votes
1
answer
67
views
PWM from the Robodyn AC light dimmer
I am currently conducting a test on a Robodyn AC light dimmer product, and I want to check the PWM trigger output from the controller. Due to equipment limitations, I am only checking the trigger from ...
1
vote
2
answers
215
views
Undesired oscillation in an electromagnet control system causes the levitating object to fall
I have been struggling with a college project, being so close but yet so far from making it work succesfully.
I have designed an electromagnet control system that has to control the position of an ...
3
votes
1
answer
70
views
MCU working with external crystal oscillator removed [closed]
I programmed my atmega1284p using Arduino as ISP.
I set oscillator to 16mhz external crystal.
Everything is working fine but when I upload the blink sketch (where I have set led to blink after 1 sec) ...
0
votes
0
answers
68
views
Problem with Max 485 RS485 to TTL chip (Not Receiving Data)
I am working on a project connecting Arduino UNO r3 and an RS485 modbus master with MAX485. The connections are shown below.
...
5
votes
9
answers
4k
views
Can I drive a 5 V relay that requires 22 mA with an Arduino’s 20 mA continuous output?
I need to control a solenoid that requires 120 VAC to actuate. I’m powering an Arduino with a 5V power supply (directly into the 5V pin), and I want to use the Arduino to control a relay that will ...
0
votes
0
answers
73
views
Different result displaying LM35's temperature on a 4-digit 7-segment using PIC16F877A versus Arduino
I'm working on a project using a display LM35 using PIC16F877A but the room temp was measured around 70°C. I tried using this LM35 with Arduino and it showed result around 40°C. I used a multimeter to ...
0
votes
0
answers
19
views
How to connect a solenoid to the Adafruit Feather M0 Bluefruit LE
How would I connect the to the Adafruit Feather M0 Bluefruit LE to this Mini Push-Pull Solenoid - 5V so that I can via bluetooth send over instructions to the microcontroller to control the solenoid?
1
vote
1
answer
33
views
Cannot upload to Atmega328p twice in a row
I've successfully burned a bootloader to my Atmega328p via the SPI interface, and then used this CH340 and a level converter to successfully upload code to the chip.
However, every time I upload code, ...