Questions tagged [arduino]
Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.
9,008
questions
1
vote
1
answer
186
views
Adding programmable amplitude control to an AD9833-based function generator
I'm working on making a function generator using the AD9833 DDS chip, but it doesn't have programmable amplitude control.
I want to use external hardware to achieve this. My amplitude has to be 1 V to ...
0
votes
1
answer
95
views
Problem with connecting an ESP32 with a DSLR camera [closed]
I have a problem connecting a microcontroller and DSLR.
First of all, the code and the hardware was tested on a Nikon D5600 and everything worked.
20 days later, it was tested on a Nikon D5500 and it ...
3
votes
0
answers
86
views
How does online code editing work in a PLC?
Some PLCs, such as Allen Bradley CompactLogix, allow "online" changes to be made to the running program on the PLC. These changes are (almost) instantly applied and don't require the PLC to ...
2
votes
1
answer
117
views
How to test for stack overflow on an ATtiny85 using an emulator?
I am developing a hobby project using the Arduino IDE and an USBasp programmer to upload my code to the ATtiny85. After programming, I remove the chip from the programmer socket and put it into the ...
1
vote
1
answer
159
views
Camera trigger driver circuit using Arduino to 2N7000 N-channel MOSFET - off behavior with 47 kΩ resistive load
I'm making a circuit to trigger several machine-vision cameras. Simply splitting the digital output pin of a microcontroller, e.g. an Arduino, works fine for a small number (<5) of the newer ...
0
votes
2
answers
129
views
Double pulse generation
I want to generate a double pulse with an initial delay of 50us (initial delay is power-up delay time for the gate driver IC.) The first pulse should be of 1.2 micro seconds and then off for 0.7 ...
4
votes
5
answers
238
views
BME280 temperature sensor gives wrong readings when RGB leds are on/off
I'm working on an ESPhome project of a night light lamp for my young kids, which automatically glows in different colors to let them know when they're supposed to be already sleeping at night \ ...
-1
votes
1
answer
101
views
Creating a circular laser beam projection [closed]
I’m looking to create a small device (<5 in.) that will project a circular beam around it, a certain distance away from the object. The goal is to have a laser/projector module/something at the top ...
0
votes
1
answer
473
views
ESP32-CAM flash via UART
I'm looking for help to upload from Arduino IDE into an ESP32-CAM module, without an FTDI programmer or shield.
Context
I've got a couple of ESP32-CAM modules with an associated ESP32-CAM-MB shield ...
0
votes
1
answer
46
views
Force-sensitive resistors to measure impact
I am trying to utilize three FSR's to make a target that measures the impact force of a gel blaster that shoots water-based beads. The FSR's are connected to a 4-channel opamp and an ESP32 board and ...
1
vote
0
answers
255
views
Switch 5VDC input on/off using an ESP32
I’ve been wracking my brains with this for several days now. I bought a cheap watch winder and I want to modify it so that I can control the maximum number of turns per day using an ESP32 module and ...
0
votes
1
answer
91
views
Fake content in serialized array
I have network structures and a container structure (nvs) that holds the number of networks and a pointer chain for each network. I would like to serialize this container and then store it in Non ...
0
votes
2
answers
51
views
KY038 sound sensor: Voltage to SPL
I'm writing code to measure frequencies with a KY038 microphone sound sensor. It uses an LM393 voltage comparator.
How do I convert voltage to sound pressure level (SPL)?
0
votes
0
answers
169
views
Measure capacitance with Arduino and AD7746
I want to measure capacitance with an Arduino and an AD7746 capacitive sensor.
I already used ChatGPT and some examples, but the sensor measures just 0 pF. When I measure with an LCR meter, the ...
1
vote
0
answers
60
views
Arduino Nano 33 IoT: PWM read jitter
I am trying to read two 2 kHz (500 μs period) PWM waves (from two Hall-effect sensors) at two digital pins of an Arduino Nano 33 IoT simultaneously with on-duty ranging from roughly 30 to 70%.
One ...
0
votes
0
answers
25
views
Can I use BP2857 constant current LED driver IC with a PWM-controlled MOSFET for dimming and turning the lights on or off with an ESP8266/Arduino?
I am trying to build a remotely controllable aquarium LED light. I live in a country where DigiKey and Mouser are not a thing. Electronic components are hard or impossible to find in this country. So ...
1
vote
1
answer
32
views
Problem with Arduino Uno sending data to MATLAB
I am sending data from an Arduino Uno to MATLAB. Below is my Arduino and MATLAB code:
Arduino Code:
...
1
vote
1
answer
57
views
Replace a magnetic Hall sensor with Arduino
I would like to use a motorcycle speedometer, tachometer for Sim Racing. The speedometer uses a 3-wire magnetic Hall sensor.
I am trying to use an Arduino to read game data and send it to the ...
1
vote
2
answers
458
views
Hacking a vacuum fluorescent display from an old DVD player
I have salvaged this front panel from an old DVD player. It has a VFD and an IR receiver. The board runs on a PT6315 chip.
I know the basics of electronics and Arduinos, but I am not an expert. I ...
1
vote
0
answers
42
views
Powering options for Arduino project
For my project, I have these components:
Arduino Mega 2560 Rev 3
HC-05 Bluetooth module
LCD display
Logic Level Shifter
Currently I am powering the Arduino Mega using the Vin and GND pins via 6 AA ...
1
vote
1
answer
91
views
HM-10 can't communicate with Nuvoton MCU
I use HM-10 module with NuTiny MS51 development board. This board has 8 bit MS51FB9AE microprocessor.
First I have tried the Bluetooth module with Arduino to see if it works. It worked in Arduino ...
1
vote
0
answers
69
views
esp32 s2 touch sensor read
I have a problem with capacitive sensor. I have created PCB with 2 capacitive sensors. Everything is working fine and ESP32 s2 mini reading values as I expect while I powering up esp32 with type-c 5v, ...
1
vote
1
answer
506
views
How to detect trajectory of an object using IMU sensor data?
I'm playing with an idea of putting Arduino microcontroller and IMU sensor inside of a ball in order to measure the trajectory and speed of the ball and also determine when it's not in motion.
Any ...
1
vote
1
answer
79
views
Is it possible to control speed of a 3 pin PC liquid cooling pump with one winding using PWM?
Back story:
I have liquid cooled PC where I can’t control fans and pump from motherboard headers (thanks HP). I decided to use DC/DC converters to power fans and pump. It is working, but since pump ...
0
votes
1
answer
123
views
Loop in Arduino LED circuit, with push-button for mode switching, stuck when moving to Mode 3
I have been working on an Arduino project: 4 LEDs connected on a breadboard, with series-parallel circuits, that are being controlled by push button. The desired behavior is to start in OFF mode, and ...
2
votes
1
answer
104
views
Can I power LEDs of different forward voltages connected in parallel with a single constant current source?
I am a complete beginner at designing circuits.
I was thinking of building an aquarium light. As plants need a full spectrum of light to grow properly, this is the selection of colours I came up with ...
0
votes
0
answers
68
views
Twitching brushless motor when RC (PWM) servo input given through microprocessor
I am a young hobbyist.
I am currently working on an RC project with fixed-wing aircraft. The goal of the project is to use an ESP32-based microprocessor (it is not ESP32, a card named Deneyap) to ...
0
votes
0
answers
50
views
LTC4332 communication issues
I have a slight issue with the communication between my Arduino Uno R3 board and an LTC4332 SPI extender chip. The Arduino is the master and the LTC4332 device is the slave.
The Arduino SPI channels (...
0
votes
0
answers
32
views
Detecting OLED display refresh frequency using phototransistor
I am trying to detect the refresh frequency of an OLED display driven by an SSD1309 display controller. During the refresh cycle, each row of a frame is charged and driven for 65 DCLKS in a sequential ...
0
votes
0
answers
52
views
Attenuate 750 mV differential speaker level out to 636 mV line level in
I am developing an Arduino project using an RN52 Bluetooth shield and an Si4713 FM transceiver.
The RN52 has differential (speaker L+ & L-, R+ & R-) speaker level output (750 mV Vpk) and the ...
0
votes
2
answers
113
views
Ultrasound Receiver
This is a receiving part of an ultrasound transducer using an NDT ultrasound probe.
The overall idea of the circuit is this: the ultrasound received from a patient is very low-voltage so the 3-stage ...
1
vote
4
answers
200
views
Understanding input pins [closed]
I am trying to gain a better understanding of input pins. As per my current understanding, they act as a voltmeter with super high resistance and are connected to the ground on one side. When ...
0
votes
1
answer
59
views
STM32 and Elegoo supply voltage
I wrote code using an STM32F407 to read the voltage of a potentiometer on the input pin of the ADC.
This is the circuit:
I tried taking the power directly from the STM32 and then, as in the photo ...
1
vote
1
answer
112
views
How to connect RS-422 to 2× RS-485?
I want to connect two Arduinos via RS-422. I have 1 converter RS-422 to TTL and two RS-485 to TTL. How I can connect outputs of my converters (Y,Z,B,A on MAX490 and A,B on MAX485)?
0
votes
2
answers
91
views
Arduino SPI and analog pin management
I am using Adafruit Feather M4 Express to read buttons, switches, encoders and potentiometers and control some LEDs of a control panel. I am running into issues with the pin management.
I have 5 ...
1
vote
1
answer
78
views
USB on ATmega32U4 powered at 3.3V
I have an already-designed board that uses an ATmega32U4 (a board of our own design). It is USB-powered at 5V and it has an external 16MHz crystal.
Below is a screencapture of the relevant portion of ...
0
votes
1
answer
87
views
Using Arduino to activate a switch on a separate device with a different voltage
Trying to figure out how to use an Arduino or ESP32F board (3.3V) to activate a button on a remote control fob.
The fob is powered by two coin-cell batteries (CR2016 3V) in series. It measures ~ 6.5V ...
-1
votes
1
answer
109
views
SX1276 Interrupt Flags never clear, and digital IO lines never rise/fall
I am using an SX1276 chip from Paradisetronic. I adapted the Arduino RadioLib library to my board (Beaglebone Black Rev C). I noticed that the IRQ flags will not be cleared. According to the manual (...
0
votes
1
answer
121
views
Two PCF8574 detected but not the third PCF8574
I'll be using an Arduino Nano 33 IoT together with three PCF8574 IO expander boards. I've managed to connect two PCF8574s together and communicate to each of them individually at different address ...
0
votes
1
answer
89
views
Voltage follower generates voltage by itself [closed]
I am currently working on a project that requires me to measure a capacitor voltage that can reach up to 250 V.
To measure such a high voltage I first created a voltage divider with very high resistor ...
0
votes
2
answers
216
views
How to write 16 bit hex codes into 93C46 EEPROM with Arduino
I am trying to write data to an EEPROM with some success but not quite. The chip is a 93C46 128 words at 8 bit or 64 words at 16 bit. The data to go in is in 64 word (16 bit) format as follows:
When ...
0
votes
4
answers
181
views
Trying to build a wattmeter and register it with Arduino. Will it work?
In the last three months, my electricity bill consumption increasead by 50% with no known reason. I got hyper focused on discovering how to prevent that and how to control my energy consumption better....
1
vote
0
answers
50
views
Meanwell charger won't respond to I2C from ESP32 board
I'm trying to communicate between an ESP32 based PCB and a Meanwell battery charger using I2C (technically PMBUS). I also have a programmer device sold by Meanwell specifically for communicating with ...
1
vote
1
answer
173
views
CAN bus with 3 nodes problem
I am testing a CAN bus network with 3 nodes. What I mean by node is a esp32 which has a CAN controller and a tja1051 transceiver module. There seems to be no problem when here are just two nodes but ...
0
votes
0
answers
58
views
Can I add WiFi to an Arduino Uno using an ATWINC microchip?
Can I use an ATWINC15x0 microchip to add WiFi functionality to the Arduino Uno by just connecting the relevant pins together directly?
UNRELATED BACKGROUND, I recently began my journey into printed ...
3
votes
1
answer
283
views
Arduino Nano in PCB for a controlled heating rig - Can't get it to work
Background
I'm making a heat sealing machine. The mechanical side is all OK but the electronics is challenging me. Here's the gist of the setup. I've put it all in the image below. Apologies for the ...
0
votes
0
answers
51
views
NodeMCU v0.9 - ESP8266-12 MicroPython Unable to access REPL (Python prompt)
I have a NodeMCU v0.9 which I have successfully flashed MicroPython on. I can't access the REPL using any of the methods listed on micropython docs - (picocom, thonny...)..
I'm able to access the ...
1
vote
1
answer
129
views
Does a ATTINY88 Micro Arduino clone have a quartz crystal? (LaserTag project)
Is the square thingy under the Reset switch (on the right side) a quartz crystal?
I have found this board crazy cheap (1 euro) compared with a real Arduino Nano.
I need to generate a 36kHz signal, so ...
1
vote
1
answer
54
views
What is the best way to implement an accelerometer with existing Modbus equipment and limited ADC resolution?
I need to find the easiest and cheapest way to add an accelerometer to my current set up.
I only need to detect local disturbences that will affect the weighing process that I am carrying out.
My ...
0
votes
1
answer
185
views
A mini mic speaker circuit
I'm making a mic speaker circuit using max9814 and pam8403.
I made the circuit like the picture, but the speaker just makes a long beep and the mic doesn't work.
And, i just tried putting the ...