Questions tagged [arduino]
Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.
8,699
questions
0
votes
0
answers
54
views
Any cheap way to capture the timestamp when a electric device is turned on? [closed]
I want to capture the timestamp when a electric device is turned on and off. What's the cheapest way to do it? From my own knowledge, I think a cheap smart plug off Amazon would do the job but is ...
0
votes
1
answer
76
views
Possible serial noise or corruption error when trying to upload code to ESP32 wroom32U custom board
When I try to upload any simple code, I get this corruption error, I have removed the IO12 as recommended, changed the baud rate, added 1 uF between enable pin and GND, tried both manual and auto ...
0
votes
0
answers
58
views
CH340X issues with programming
I have found a simplified version of popular usb to uart schematic and decided to test it out
Unfortunately, it doesn't work at least for ESP32, while there is some activity on BOOT (IO0) pin, there ...
1
vote
2
answers
109
views
Bad reception of RS485 on Arduino Uno
I'm using a sensor that sends ASCII data frames over RS485 every second. I use an RS485 to TTL converter to read them in series on an Arduino Uno.
The problem is that I'm not getting the right values. ...
0
votes
0
answers
24
views
How to burn bootloader for 3D Printer Mainboard with GD32F103 without ICSP connector
The bootloader of a Sovol SV06 mainboard, equipped with a GD32F103 processor seems to be corrupt (the board is not detected when connected to a pc and updating via SD card does not work). There is no ...
0
votes
3
answers
93
views
Am I configuring the IR2104 incorrectly?
I'm trying to make a buck converter using IR2104 and IRFZ44N. The buck converter is controlled using Arduino's PWM. I'll post my schematic below.
Based on the datasheet, the HO signal will be the same ...
1
vote
1
answer
46
views
TDA7297 muting via microcontroller
I've followed the low-cost circuit design for the TDA7297 found on the electro-dan website to make a simple amp.
Low cost schematic:
I now want to control the muting using an arduino.
I'm not overly ...
0
votes
2
answers
55
views
RS485 Communication Issue: Garbage Values on OLED Display
Hello Stack Exchange community,
I am currently working on a project involving two Arduino Nano boards connected via RS485 communication using MAX485 chips. I have set up the connections between the ...
0
votes
0
answers
28
views
2
votes
1
answer
151
views
Basic questions about circuit diagram [closed]
I'm new to this field, and I found the below circuit online.
My intention is to use it to connect an Arduino to an 8-PIN Yaesu Rotator controller.
My questions are:
What are the parts that I've ...
1
vote
1
answer
72
views
Custom i2c with Arduino UNO
For educational purposes, I would like to write my own i2c protocol. Is it possible to write a custom i2c library to communicate using regular ports, or should I use the SCL and SDA ports? Can I mimic ...
0
votes
0
answers
23
views
ESP8266 Sleep & Wake from a single button
Separately putting to sleep & waking the device up is simple.
If I wish to put the device to sleep, do a pull-up to a switch that goes to GND. Attach an interrupt and you're golden.
Waking is the ...
0
votes
0
answers
42
views
How to eliminate the VFD noise affecting digital sensor reading?
I have a problem getting correct readings from a 5v digital sensor connected to an Arduino Uno board. I get correct reading until I start the VFD that drives a 3-phase motor.
The sensor reading then ...
0
votes
0
answers
34
views
problem with switching from arduino mega to ESP32
I bought an ESP32 to try instead of an Arduino Mega. But I ran into a problem with my program. The program has the function of controlling the stepper motor through the LCD display and it runs without ...
1
vote
1
answer
56
views
Can a transistor replace a switch that closes ground to an input?
I've been browsing on Google for quite a bit now but couldn't find an answer.
I have a remote that triggers the shutter of a digital camera.
According to the schematics that I've found, the ...
0
votes
2
answers
34
views
Is it possible to connect ATMEGA328 to type-C and read data without a USB-TTL converter?
there was a task to create the most compact device with atmega328 on board, but the question arose whether it could read data from type-c without a ttl converter ...
0
votes
1
answer
26
views
How to connect BMP390 to arduino? [duplicate]
I have a bmp390 sensor and an official circuit from the manufacturer for connecting it to i2c, but there is a problem, the ...
0
votes
0
answers
42
views
LF Very Tiny Heating solution [closed]
Long story short, I have exotic pets (insects) that require a small amount of heat to thrive.
I’m looking for the smallest heating element going, that never really needs to heat above 30°C. Ideally ...
0
votes
1
answer
46
views
How to write a lookup-table into an 28C64 parallel EEPROM?
Based on the program from this post 28C64 EEPROM Programming Using Arduino, I would like to write, using Arduino Mega, a lookup-table that contains one sinewave cycle, created in Excel. I would like ...
0
votes
2
answers
49
views
wrong voltage reading with DMM after a voltage divider
SN04N is a proximity sensor. It is powered with 12V from a bench PSU. That 12V also goes through a buck that produces a 5V rail to feed an Arduino Mega and many other modules. Grounds are common. ...
0
votes
1
answer
24
views
Sparkfun Artemis Nano keeps dropping BLE connection and doesn't notice it isn't connected anymore
I'm working on a device that uses the Sparkfun Artemis (specifically the Nano at the moment) to count the number of times a wheel spins, using a UART based proximity sensor. The device is meant to ...
0
votes
1
answer
29
views
Relay Switching Causing Arduino to Crash when Load Attached to Relay
The title pretty much says it all
When we don't have devices attached to the relay (standard 4 relay module board) this doesn't happen. But when there are devices attached this does cause the problem ...
0
votes
1
answer
79
views
DIY Quadrature Encoder? [closed]
Really struggling with making encoders work in my leonardo board, i could probably go the 20 ppr encoder way but i need it to be optical and not electrical/mechanical.
I was thinking about using 2 IR ...
1
vote
2
answers
167
views
NPN (2N2222) transistor as a switch replacement for a RF garage control
I'm looking to "replace" a physical keypress on a garage door remote control (RF) with a pulse (HIGH state) from a Wemos D1 mini 3.3V pin.
The remote control is this one
I measured the ...
2
votes
1
answer
37
views
Designing around multiple voltage sources for a device powered by an external supply and connected to a PC via USB (Arduino Nano)
I'm working on a device that used an Arduino Nano to operate multiple motors with a cumulative current draw of over 1A. Commands are sent from a computer via USB to operate the motors. The device is ...
0
votes
0
answers
25
views
How to connect output of the optocoupler with two different circuits with different voltage levels
I am working the two different devices which has to connected and disconnected for my work. I am trying to use optocoupler for this switching purpose. The input of the optocoupler is connected to a ...
0
votes
1
answer
44
views
Encoder signal reading Arduino
I have a quadrature encoder both connected to the Interrupt pins on my arduino. I want to read the encoder values in the range of 0-255 with increment in the clockwise direction and decrement in the ...
3
votes
3
answers
153
views
How should I decide between using relays or transistors for a switch board?
I'm currently working on automating a watering system for a population of about 40 lab mice. I'm looking at using an Arduino Mega to control small pumps that correspond to a water line for each mouse ...
0
votes
0
answers
26
views
LCD Display with FPC to Arduino
I’m very new. My game is push button, but it’s important that the display is transparent.
I have this LCD screen. (data sheet) I was going to connect it to my uno using this PCB. But it didn’t fit ...
0
votes
0
answers
34
views
S11108 CMOS linear image sensor not working
I'm looking for help/advise working with a S11108 is a CMOS linear image sensor. My son is studying computer science at university who has been helping. We are using the S11108 to scan a moving ...
0
votes
0
answers
53
views
Seeking Validation for Stepper Motor Control PCB Design
I'm currently in the process of developing a PCB intended as a base board for the precise control of a stepper motor. The system involves an LCD display and various sensors for control. Before ...
0
votes
1
answer
35
views
Cannot make ESP32 communicate with ThinkerAI A9G board via UART
I want to use ThinkerAI A9G module via it AT commands, but i cannot make my ESP32 communicate with it. I have connected them but all i get is some strange random symbols. As i understand i could be ...
1
vote
1
answer
79
views
Trying to make 24 V switch using IRFZ44N MOSFET and an Arduino [closed]
I’m trying to make a 6 channel circuit using MOSFETs and an Arduino. What I’m trying to control is the musical horn which has 6 switchable air horns. I am trying to control each switch air horn on and ...
0
votes
1
answer
31
views
Bipolar stepper motor spins one direction but buzzes the other direction just buzzes. The Arduino is giving Dir und Pul signals to CL57T driver [closed]
The driver recommends a 50% duty cycle for the Pul signal, and a HIGH/LOW signal to determine direction. The motor spins fine one direction, but with the same code for the other direction, only ...
0
votes
0
answers
23
views
ESP32-C3 wakes from deep sleep on GPIO. Can't determine GPIO Pin pressed
I'm using an ESP32-C3. Here's the button part of my circuit:
I want it to wake from deep sleep on a GPIO button press.
It does wake successfully, but when I ask for the reason for waking, I get ...
0
votes
3
answers
61
views
Minimum hfe requirements
Is this the minimum voltage and current value for the said dc current gain.
Thanks
https://alltransistors.com/adv/pdfdatasheet_motorola/bc546_bc547_bc548.pdf
0
votes
2
answers
54
views
Stability factor in BJT
I was wondering if the stability factor is a feature for all BJTs and does one need two resistors in a voltage divider emitter bias or a single resistor is enough?
1
vote
2
answers
57
views
Problems trying to monitor two 3S Li-ion batteries from an Arduino, while powering that Arduino
So what I'm doing might be actually a little haywire, but here goes:
I'm using an Arduino to power a series of relays that control some 24 volt valves. The power source is two Milwaukee M12 batteries ...
0
votes
0
answers
16
views
LSM6DS3 gyro raw to degrees per second conversion error
I am using LSM6DS3 for one of my projects with Nordic nrf52840 along with Nordic SDK. I am trying to read the gyroscope and according to my understanding the gyroscope value should not exceed the full ...
0
votes
0
answers
32
views
Open-Source Temperature Logger (HELP)
I am almost finished with the development of an open-source temperature logger (USB + battery powered). I have built the PCB using ATMEL ATMEGA32u4 with feather 32u4 bootloader (3.3V 8MHz). Its an ...
0
votes
0
answers
141
views
Constructing a Redox Probe using an arduino
I'm trying to design an ORP that can be used to measure the total voltage of a solution. This solution would be a NaCl solution that's mixed with water that can be anywhere from 0 to 5000 ppm of NaCl.
...
2
votes
1
answer
108
views
Connecting multiple same chips with the same address and function on single I2C bus
I'm designing a backlight board with two Texas Instruments TPS61177A. Both chips will work in tandem.
Two TPS61177A are connected to single I2C master.
About TPS61177A: The device has only six I2C ...
2
votes
0
answers
69
views
S11108 Circuit Design Logic
This is my first post and also my first dip into electrical engineering, and I wanted to ask if you have any suggestions on the circuit I have designed. As a background, I'm a Computer Science student,...
0
votes
0
answers
23
views
Board Voice Recognition Module V3.1 with Arduino Uno [migrated]
I have two speech recognition modules and I am using vr_example_train from the voicerecognitionmodulev3.1 library. One of the VRM works perfectly, the other one train the voice command too, but when I ...
3
votes
1
answer
173
views
Need help to understand an Arduino Capacitance-Meter program
There is a program for Arduino that without using any external component, measures value of an unknown capacitor in the range of 470pF to 18pF:
https://www.circuitbasics.com/how-to-make-an-arduino-...
0
votes
1
answer
37
views
Using MAX7301 GPIO Expander for Raspberry Pi Switching and Chip Selecting
I'm designing a PCB that uses Analog Devices' MAX7301AAX GPIO Expander IC to expand the Raspberry PI's GPIOs.
Digikey MAX7301
The reason I'm using this IC is that my application requires a lot of ...
1
vote
1
answer
43
views
How to determine orientation for MPU9250 accelerometer?
I am having some trouble to understand the axis orientation of my MPU9250 chip. So this is my chip:
My understanding is that the positive x and y axis are as per what has been marked in the chip and ...
0
votes
0
answers
55
views
ADC count not stable when tapping into a commercial weight scale SPI
I am in the process of designing a weight scale.
To test whether I could achieve the same results in the software I decided to disconnect the MISO, MOSI, SCK and CS from a commercial weight scale MCU ...
0
votes
1
answer
35
views
BTS7960 current limit [closed]
I want to ask about current limit at BTS7960. I'm not clearly understand when read the bts7960 datasheet. I have using 24 V 20A power supply connect to BTS7960 then connect to 24 V 14 A DC motor. When ...
2
votes
3
answers
96
views
Sending a float type values over CANBUS
I need help in sending float-type values over CANBUS.
I'm working on data acquisition of an fsae car. I'm using Teensy 4.1 and Teensy 3.5 using MCP2562 and MCP2551 CAN transceivers (respectively) to ...