Questions tagged [arduino]
Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.
9,123 questions
0
votes
0
answers
58
views
Open Energy Monitor, will my changes work to have it monitor 480V 3 phase?
So I'm working on making a variant of the 3 Phase Open Energy Monitor and a data logger based on the same.
I aim to use something based on these to watch 3 phase spindles and servos on CNC machines to ...
3
votes
3
answers
298
views
Will this this schematic modification work?
newbie here trying to learn and create an electronics project for my uni (Comp E)
My goal here is to create a DIY infrared sensor using photodiode and IR transmitter, and read the signal through a MCU ...
0
votes
0
answers
51
views
How to correctly drive SZ-08 buck-boost module CV feedback with RP2040 PWM?
I’m trying to digitally control the output voltage of an SZ-08 buck-boost converter by replacing its onboard W204 (3296) CV trimmer with an RP2040-generated PWM signal filtered through an RC network ...
-3
votes
0
answers
30
views
I get error when i try to switch from sim1 to sim2 via "AT+SWITCHSIM=1" command @ SIM7672SA [closed]
I get error when i try to switch from sim1 to sim2 via "AT+SWITCHSIM=1" command @ SIM7672SA
How can I fix this, or does the firmware not support dual SIM despite the hardware doing so?
0
votes
0
answers
27
views
Arduino UNO & 5 volt RC servo [duplicate]
With respect to an Arduino UNO. Can I operate a 5 volt RC servo that draws between 2.1 to 2.7 amps?
-1
votes
1
answer
36
views
Which amplifier to use for Arduino Talkie output [closed]
I am trying to use the talkie library on Arduino Uno to output to a speaker. The talkie output is by default a PWM signal. I tested it with a piezo speaker and it works but it is weak. How can I ...
0
votes
1
answer
116
views
How to properly read values from CCD linear sensor?
I have a PCB with UPD8872 CCD sensor that I took from an old scanner. I managed to solder the pins of the board to Arduino compatible wires and programmed the Arduino and, also, wrote desktop app that ...
1
vote
1
answer
103
views
Is it a correct design for an electronic switch, commanded by a microcontroller?
This is a question following this one: What is the best way to stack another switch?
I want to stack an electronic switch over a mechanical switch, and have it driven by a microcontroller (arduino ...
0
votes
0
answers
63
views
Two NEMA 17 stepper motors only move intermittently when controlled via Bluetooth (HM-10 + Arduino Uno)
I'm doing a senior design project for my Computer Engineering bachelor's degree and I'm running into issues getting consistant movement with my two NEMA 17 Stepper motors.
I'm in the process of making ...
2
votes
1
answer
101
views
What is the name of this linear CCD-sensor component?
I want to use a linear CCD-sensor for my project and I bought this old tablet scanner from 2004 - Genius ColorPage-HR7XE. I disassembled all the parts and took out the PCB with CCD-scanner. But I didn'...
0
votes
1
answer
80
views
ATtiny85 pin connection
I'm looking at a tutorial
( https://www.teamxnl.com/how-to-flash-an-attiny-25-45-or-85-with-arduino/ )
and I'm confused about one of the pin connections illustrated.
I've read that, for the 85, Pin1/...
0
votes
0
answers
50
views
Am I reading dummy CAN bus data? If so, what did I do wrong?
I am VERY new to electronics, but I love this world. My first project is to read CAN bus data from my 2008 Ford Taurus. I got a MCP2515 CAN Bus Module with a TJA1050 Receiver, and an Arduino.
I hooked ...
3
votes
2
answers
176
views
IRFZ44N , PWM signal from Atmega328P always conducting
I'm currently using a MOSFET IRFZ44N to feed a motor using a PWM signal that comes from my Arduino Uno board. These are the connections that i have made:
Being the 50 ohms resistance the equivalent of ...
0
votes
2
answers
91
views
Servo Stuttering Under Load with MOSFET Switch
I am having an issue with a servo motor controlled by a NodeMCU and switched via an N-MOSFET (IRLB8721) on a breadboard. The servo is powered by 8.4V (from 12V/5A PSU via step-down). MOSFET gate ...
1
vote
0
answers
69
views
PID temperature controller heat pad heating issues with a mosfet [closed]
I am currently doing a PID controller project to try and control a heating pad. I was following this tutorial and everything seems to work except for the heater control portion of the project. https://...
-1
votes
2
answers
87
views
Using MOSFET as a load switch to control multiple servos
So first of all, I don't have a background in electrical engineering, I got handed a project where having some automation would save so much of my time so now I am learning electronics from scratch.
I ...
0
votes
0
answers
39
views
Seeed nRF52840 LED won't turn off in deep sleep
I am using a nRF52840 along with a LTC3588-1 dev board. My goal is to activate BLE only when the PGOOD signal of the LTC is high, otherwise the nRF goes into deep sleep. However, when the nRF goes ...
3
votes
3
answers
168
views
Why does ESP32 smooth a 10us square wave?
I am generating a square wave using a CMOS chip running at 12 volts, the time period is 10us, I can see the square wave is perfect on the scope.
Now when the square wave is sent to ESP32 using a ...
1
vote
2
answers
124
views
Single button power on / off for an arduino at the center of a circuit controlling a motor. I can't figure out what's not working
For context; The goal of the circuit is running very high gear ratio (slow) motor between two limit switches. I will amend this post with code if relevant.
The primary feature adding complexity is the ...
0
votes
1
answer
103
views
3.3V circuit operation of Arduino UNO
This is the electrical schematic of the circuit that provides 3.3V on the Arduino UNO board:
My question is: What is the purpose of the circuit?
Here is what I understand:
RN1A and RN1B divide Vin by ...
-2
votes
4
answers
159
views
What’s the difference between using PWM and H-bridge circuits for controlling DC motors in robotics? [closed]
I’m working on a small robotics project and trying to control DC motors. I’ve come across terms like PWM motor control and H-bridge circuits, but I’m a bit confused. From what I understand, PWM is ...
-1
votes
1
answer
123
views
PIR Sensor Not working
I have a active buzzer and a PIR motion sensor and an Arduino board.
While I try to achieve, when there is motion then a buzzer to make the beep sound and between each motion to be a delay.
But the ...
3
votes
3
answers
514
views
Analog Current into Arduino Micro
I am using an Arduino Micro (ATMega32u4) to receive analog input value from a sensor. I know the analog pins read 0-5V, but my sensor outputs 4-20mA. The sensor is also a 12V sensor. Is it as simple ...
-1
votes
4
answers
143
views
Appropriate approach of wiring [closed]
I'm trying to reproduce the AMT72 of Humans Since 1982. I have 18 modules, each module has 1 Arduino Nano, 4 BKA30D-R5C Stepper Motor, 8 DRV5032 Hall Effect Sensor, 2 AX1201728SG Quad-Driver, each ...
-1
votes
1
answer
154
views
What is the best micro electronic to use to specifically measure the surface temperature of a carrot [closed]
I'm currently working on a Arduino controller that sends data to an API. One of the values I need is the surface temperature of a carrot, preferably a large distance away, approx. 2..3 metres.
EDIT:
...
1
vote
1
answer
106
views
DIY Fireworks Firing Controller - Issues Upgrading Design from RFM69 LoRa RFM95 Radio
I have an existing design for a wireless fireworks firing system (remote and field module) that use RFM69HCW packet radio(s) @ 915MHz to transmit wireless commands to each other. I recently upgraded ...
2
votes
2
answers
386
views
How does this (active low triggered) circuit work?
I suspect this question will be trivial for many of you, but I haven't been able to find any answer online that satisfies my curiosity.
I have an ACTIVE LOW relay module that connects to a GPIO [...
1
vote
4
answers
151
views
How to drive high current +-12 V RS232 from Arduino
I am trying to send data to a Colorado Time Systems scoreboard from an Arduino Uno r3. The scoreboard uses +-12v RS232, 9600 Baud, 8 data bits, 1 stop bit, even parity. The resistance of the ...
1
vote
1
answer
72
views
MeanWell DRC-40A "AC OK" pins to Arduino nano ESP32
I would like to detect if my DRC-40A is supplied by mains (220v AC) with an arduino nano esp32.
I thinked in this two options:
Is it better A o B?
I also want to keep safe the Arduino's 3.3V.
The ...
-1
votes
1
answer
99
views
What is the best way to generate -12V from 12V SMPS adapter?
I am trying to create electrical stimulator for myoblast cell culture in my lab. I am trying to do this with just 12V adapter (SMPS), Arduino, and some simple op-amp circuit. I thought I could simply ...
3
votes
1
answer
353
views
Why is Shunt Voltage Reference (LM4040DBZ-3) Not outputting a stable 3V supply
Below is my schematic I have for the LM4040DBZ-3. I wanted to use this voltage reference as a stable supply voltage for my ADC MCP3208, but I am not getting the expected 3.0V (I am getting about 2.984 ...
3
votes
2
answers
239
views
How to increase capacitance meter range with 555 timer, and what to do with Arduino
I am looking at this schematic from Nuts and Volts of a semi-auto ranging capacitance meter, which I will eventually hook up to an Arduino or some other microcontroller. Its range is 0.1F–0.01µF, but ...
0
votes
0
answers
72
views
esp32c3-supermini with latching relay in deepsleep
I wanted to build a small outdoor light for my home, that would use a latching relay controlled by microcontroller to power the external diode.
The idea was to have a schedule when this thing is ...
0
votes
0
answers
106
views
RFID RC522 module not working with M5 Stick Plus 2 - no response, need help with setup
I'm having trouble getting an RFID RC522 module to work with my M5 Stick Plus 2 (ESP32). The module shows no response at all - no tag detection, no errors.
My setup:
M5 Stick Plus 2 (ESP32)
RFID-...
0
votes
1
answer
102
views
ESP32 controlling a magnetic starter motor resets when switching off
I'm hoping someone could help me out with this one final issue with my project.
I have an ESP32 that controls a magnetic starter. The issue is when the magnetic starter hits the off switch, the esp32 ...
2
votes
2
answers
117
views
WS2812B glitches when data wire is connected or touched
I'm using an Arduino Uno and a WS2812B LED strip powered from separate USB ports on the same wall charger (shared ground).
The strip glitches (random colors, flickering) as soon as I connect the data ...
7
votes
4
answers
1k
views
How are recommended voltages determined for a PCB?
Say I buy an Arduino UNO R3. The specifications state that it is rated for a recommendation of 7-12V and that the limit is from 6-20V. What differentiates these two and how did they come up with those ...
1
vote
0
answers
60
views
Having trouble calibrating the AD5933 getting oversaturation?
I'm trying to get an AD5933 Impedance Converter module (connected via I2C) to work with a Raspberry Pi, but I'm consistently running into an issue where the chip reports an Over-range/Saturation error ...
0
votes
0
answers
99
views
I2C Max30102 sensors not working on raspberry pi 5
I am trying to set up my raspberry pi 5 with the max30102 sensor via the i2c interface. I bought two sensors, but neither seem to work. I'm trying to rule out faulty sensors and I don't have a ...
0
votes
1
answer
68
views
Modbus RTU signal diagnosis?
I am trying to use Modbus communication between a PC Client and an arduino UNO R4 Minima server (with a Zihatek modbus shield). The Tx/Rx LEDs on the UNO and RS485 converter flash in sync and I am ...
4
votes
3
answers
401
views
First Time Designing an ATmega328p Dev Board – Please Roast Before I Waste Money
This is my first attempt at designing a custom development board using the ATmega328p, and it’s for our final project, and will be used for our Microprocessors and Microcontroller Systems and Design ...
1
vote
1
answer
80
views
Slew Rate Control in Long OneWire Setups – Why Is My Signal Worse?
I'm currently working on a setup where I need to read 20 OneWire sensors (DS28E17) over a 200 m long cable. So far I've successfully managed to read 8 sensors over 80 m which is crazy.
In my test ...
0
votes
2
answers
107
views
How to determine comms port voltage?
I need to intercept a communication between a communications board and main control board of an air handling unit.
I can see in a block diagram that the wires are marked RX/TX:
I am looking for ...
6
votes
3
answers
2k
views
When zoomed in, why does a triangular wave form actually consist of up-down fluctuations?
I currently have an Arduino Nano Every connected to an Analog Discover 2 oscilloscope (1+ channel to pin 5 (one of the PWM pins) and 1- channel to GND). I'm trying to end up with a triangular wave ...
1
vote
1
answer
287
views
How to receive DMX data from a DMX controller using STM32G030K8T6TR in Arduino IDE?
I am currently working on a project where I need to receive DMX512 data from a standard DMX lighting controller using an STM32G030K8T6TR microcontroller. I am using the Arduino IDE with the STM32 ...
3
votes
0
answers
209
views
IDT7132 Dual Port SRAM PCB not working as expected
I have designed a RAM PCB for a very basic 8-bit CPU project that uses an IDT 7132 2k x 8 dual port SRAM.
The datasheet for the IDT7132 is here: https://www.renesas.com/en/document/dst/713242-...
0
votes
2
answers
104
views
Does using two microcontrollers need two USB to Serial conversion?
I want to make my own "Arduino" board. My requirements is that I can only use the ATMEGA328P microcontroller (found on the Uno R3 board, I know it is pretty lame, but that is what I can use, ...
2
votes
1
answer
101
views
ADXL375 reading being so high
Basically I have and ADXL375BCCZ-RL7 https://www.lcsc.com/product-detail/Accelerometers_Analog-Devices-ADXL375BCCZ-RL7_C481898.html
Connected to my RP204.
When I execute a very simple code the result ...
2
votes
1
answer
100
views
Attiny85 I2C connection issues and return code of endTransmission
I have a component made on top of IS31FL3731 which I try to use together with Attiny85 via I2C on Arduino.
It is working fine with Wire.h and for example Arduino Micro, but for some unknown reason it ...
3
votes
3
answers
222
views
failsafe for Arduino with crashed sketch
I've built a controller unit that uses an Arduino to control several 120vac outlets, using user-selected real-time off/on times. It controls the outlets via relays (driven by NPN transistors in the ...