Questions tagged [arduino]
Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.
9,008
questions
0
votes
0
answers
32
views
Impedance measurement using AD 5933
I hope this message finds you well.
I am using the AD 5933 evaluation board for impedance measurement, The data sheet says it can measure the impedance up to 10M ohm. I am currently measuring the ...
0
votes
0
answers
42
views
Connection of FS1000A with CC1101 on the ESP8266 board
I have a problem receiving data from the transmitter. Packets are sent and the receiver registers them. But the data is empty.
The transmitter and receiver are connected to ESP8266 + NodeMCU V3. Two ...
1
vote
3
answers
55
views
How do I generate a trigger signal from a periodic analog signal having varying amplitude [closed]
I have an analog signal detecting a periodic vibration of low frequency (<100Hz) and want to generate a pulse whenever the signal crosses a certain threshold. The challenge is that the amplitude of ...
0
votes
1
answer
55
views
Buffering Arduino SPI bus using 74AHCT125
My SPI bus has 2 slaves, one is 5V tolerant and is connected normally to the bus, however the second one is only 3V3 tolerant and so I have to level shift it. I have decided to use the 74AHCT125 ...
1
vote
1
answer
71
views
Can anone identify this IC marked `55JT`?
Please help me identify the IC pictured below:
1
vote
0
answers
70
views
Guidance on development of FM radio [closed]
I am in the process of learning all about FM/AM and already have managed to make my own working transmitter. All these are some starting steps in order to make my own FM radio. Regarding that, I would ...
1
vote
2
answers
142
views
Will such a scheme work correctly with ATmega328PB?
I am developing a small on-board computer for my rocket model and now I have designed the ATmega328PB connection to the CH340G and I want to ask if there are any errors in the connection and if there ...
0
votes
0
answers
63
views
Using piezo as range sensor
My objective is to use a single piezo as a transceiver and calculate the distance between the sensor and the object that sound echos from using time of fly. I use ...
0
votes
0
answers
18
views
Can I give different delays for different parameters while using BLE
I'm working with the BLE transmission. I have to transmit 4 to 5 parameters at the same time but with different delays. Can I do this?. Is anyone have any idea? Here is my part of code to transmit ...
0
votes
0
answers
94
views
Review a simple schematics
Hello everyone I hope you are well! I finished my schematics and need a quick review (I would be grateful for the insights). The board has the following:
ATTiny 1616 as the MCU (https://ww1.microchip....
0
votes
0
answers
29
views
Soft Latching Power Switch with extra input
I'm working on a project that will be battery and/or USB powered.
I would like to implement a soft power switch with the following functionality:
Pressing the power button for ~1s turns on the device ...
0
votes
1
answer
92
views
Why is the filter capacitor (used to filter pulsing DC) overheating MOSFETs in a buck converter?
I am trying to create a microcontroller (Arduino) based DC to DC buck converter with CC and CV features. For now, I am using a 20 V 5 A input source. Output voltage (target voltage) is settable by the ...
1
vote
1
answer
96
views
'Strange' behaviour due to DC motor
TLD: How do I minimise noise / electrical disruptions created by a DC motor?
Situation
I would like to control a DC motor through DMX512. Therefore I connected a Max485 chip to an Arduino to receive ...
0
votes
1
answer
69
views
P channel MOSFET for PWM Peltier control (Arduino)
I want to control the power of a Peltier device using a MOSFET PWM controlled by an Arduino.
In order to "smooth" the power going to the Peltier, I want to add a capacitor in parallel.
The &...
0
votes
0
answers
37
views
Arduino 3x4 matrix keypad stopped working
I think I might just need a new keypad. Earlier this morning I had my keypad working perfectly. I printed a new housing for it, transferred it, plugged it back in (I thought I did this all correctly). ...
0
votes
1
answer
38
views
Arduino and Pololu Motor Driver Shield Undervoltage Issue When Driving Relay and Motor Pump
Problem: Arduino Relay Shuts Off When Motor Driver Turns on to Actuate Motor/Pump.
Hello! This is my first post, so pardon if my question lacks structure or etiquette. I will try to provide as much ...
0
votes
4
answers
129
views
How to measure multiple resistances with Arduino Uno, without one measurement influencing the other?
I'm working on a project where I aim to measure resistances using an Arduino Uno. I started with two separate voltage dividers, each using a 1 MOhm reference resistor, connected to a common Arduino ...
0
votes
0
answers
55
views
Unable to interface 192x64 GLCD (SBN0064g Controller) with Arduino
I have a LCD panel 192x64 GLCD It consists of SBN0064 LCD driver here is the data sheet - 19264 datasheet (DATA SHEET).
I am unable to show any character on this display. The LCD is always blank no ...
1
vote
1
answer
84
views
Arduino can not drive a BJT connected to a relay
I'm trying to make a simple 24V relay driven by an Arduino Leonardo as per the following picture:
The Arduino code simply toggles the output every 2 seconds. When I measured the pin voltage alone, ...
0
votes
0
answers
53
views
Problem with the triggering the 555 monostable trigger
I am currently making a dual speed dc motor circuit that is controlled by 555 timers. My goal is to have DC motor full speed below 2V and between 2-3V, the DC motor spins half-speed using PWM from 555 ...
0
votes
0
answers
41
views
ESP8266 NodeMCU SD Card Not Initializing
I have tried numerous tutorials, Arduino examples and I cant get an SD to initialize. There is a card inserted that is formatted with exFAT and there is one file test.txt. Particularly https://www....
3
votes
2
answers
357
views
RF receiver frizzes when start brushless motor
I'm trying to build a quadcopter with and Arduino, and I'm facing a problem, that is the RF receiver of the quadcopter freezes (not the Arduino) when I turn on the brushless motor.
...
0
votes
0
answers
57
views
Help Needed: ADNS-9500 Optical Sensor Movement Detection with ESP32 Wroom
I'm currently working on a project with an ADNS-9500 optical mouse sensor and an ESP32 controller board. The aim of the project is to move the optical sensor and have the ESP32 recognise the movement. ...
0
votes
0
answers
51
views
Change analogWrite() frequency using the arduino framework for SAMD51
I am using Adafruit Feather M4 Express board which has Atmel SAMD51 controller on it. I am using platformio as IDE, which lets me use this controller using the Arduino framework.
I want to change the ...
0
votes
1
answer
51
views
Where can I get the virtual port name for a serial monitor in Simulide
I'm trying to set up a Serial Monitor in SimulIDE, so I can keep track of the variables in my Simulation:
However I apparently need a port to open the monitor:
I've seen Youtube videos where they ...
0
votes
4
answers
121
views
Weird I2C Problems
So, currently we are having problems with the I2C Communications on our cabinet Each row on the cabinet has 5 boards which have 2 16bit io expanders each board has 32 devices and there are 4 boards in ...
3
votes
5
answers
718
views
MOSFET driver: Totem Pole or NPN Self-Biasing Turn-Off Circuit
I am building a project, where I want to drive some MOSFETs to control for example a 50W 12V LED and it brightness with a PWM signal from an ESP8266 with a frequency in the range of 1-5 kHz.
I found ...
0
votes
2
answers
130
views
Can 3 power supplies safely share common ground?
I have a project with a DC motor @ 24V, an actuator @ 12V and an Arduino @ 5V. The motor and the actuator may draw several amps. The Arduino doesn't drive the motor nor the actuator, nor is it ...
0
votes
1
answer
157
views
PWM with PIC817 driving MOSFET seems to be too slow (LED dimming)
I want to drive a MOSFET (IRFZ44N) with an optocoupler (PC817) to control the brightness of an 50 W 12 V LED. The PWM is generated by an ESP8266, 1 kHz.
Following schematic is used:
In general it ...
0
votes
3
answers
78
views
Reduce power consumption on 8x8 WS2812B Matrix
I'm currently working on a project where I want to control an 8x8 WS2812B LEDs matrix.
My goal is to reduce the current consumption as I want to power it using USB port of my pc.
The datasheet of ...
0
votes
0
answers
50
views
Reading ECG wave data from .dat and .hea file from SD card with Arduino DUE to produce it on DAC pin
I am trying to produce an ECG wave on the DAC pin of the Arduino DUE.
Here are my setup details.
SD card is attached to Arduino DUE with SPI connections.
I have 2 files (.dat and .hea) of ECG data on ...
1
vote
1
answer
107
views
I2C communication between load cell and Arduino
I am using Load Cell (FX29 Data Sheet) and Arduino for measuring force. Every time I disconnect and reconnect Arduino from USB I get one of the following readings on serial monitor:
Correct expected ...
0
votes
2
answers
58
views
What is the difference between capacitive liquid level sensor and potentiometer liquid level sensor
I have a sensor I use to determine the level of water in my swimming pool. One person has told me it is a capacitive sensor and another said it works like a potentiometer.
I would like to know what ...
0
votes
1
answer
79
views
I want to combine four analog inputs into one output using two op amps. Is this feasible?
I'm doing my first project with electronics and I'm trying to figure out how to make an Arduino read input from four identical sensors using one analog pin. I'm using multiplexers on my other sensors, ...
0
votes
1
answer
35
views
18B20 Sensor EMI filtering when in parasitic mode
I've fitted an 18B20 sensor to monitor engine temperature in a 4x4 buggy I built. It's operating in parasitic power mode to make use of the single wire that was already in the wiring loom. Every few ...
1
vote
1
answer
90
views
Can I operate DVD Drive Tray Mechanism without PC? [closed]
I want to make a motorized drawer using a broken DVD drive. I'd like to use the tray mechanism as a whole if possible. I can drive the motor by directly applying power to it, but I don't want to add a ...
0
votes
1
answer
63
views
Issues with 2-Channel Relay Songle SLA-05VDC-SL-C Stuck in NC State
I am experiencing an issue with a 2-channel 30A relay (Songle SLA-05VDC-SL-C). The relay always remains in the NC (normally closed) state and does not switch to NO (normally open), even when I try to ...
3
votes
2
answers
298
views
UART between TMC2208 and Ardurino : unable to use read from TMC
LT, DR:
I can program the TMC via UART but can't read anything back, and I don't like it :'(
Description
I want to make my ardurino UNO communique with a TMC2208-V3.0 (manual). The use case is to ...
4
votes
3
answers
671
views
74LS161 miscounting
Following Ben Eater's 8-bit computer assembly, my program counter, which is built out of 74LS161s, does not count correctly. In trying to figure out the issue, I have completely isolated the circuit ...
1
vote
1
answer
50
views
Driving stepper motor with higher voltage
I have a DC Motor + Stepper FeatherWing and I am trying to drive a ST2018S0604-C stepper motor. The motor is rated at 3.9V and the specification of the motor driver TB6612 on the FeatherWing board ...
0
votes
1
answer
70
views
How do I increase I2C/Wire Timeout on Teensy41
I am working on an I2C system with a Teensy41 master and an Adruino NANO as a slave.
It currently takes the NANO about 700 microseconds to do a calculation and reply to the request for data from ...
1
vote
1
answer
178
views
How does this MAX7219 LED matrix driver IC circuit work? How should I use it?
I'm using a MAX7219 to drive an LED matrix, but the LEDs are too dim(For me! and in the daylight). I want the matrix to be brighter. Here is the MAX7219 IC:
I searched and found this page and they ...
1
vote
1
answer
72
views
Speed control fan with PWM and capacitor (no pwm fan)
For my project I want to control the speed of a regular non-PWM fan.
I was wondering if what I came out with is a good idea or not. I noticed that the capacitor I used (25V 47µF) gets a bit warm after ...
41
votes
4
answers
5k
views
What is "Arduino Optocoupler Disease"?
Another post on this site, when critiquing a pcb design, referred to "Arduino optocoupler disease" spreading across the internet. What type of design mistake does this refer to?
0
votes
1
answer
57
views
ST7735 1.44" SPI TFT GreenTab: white lines/ghosting (no hardware fault!)
I have been using SPI-TFTs for a while now, usually the 1.8 inch 160x128 also with ST7735 controller. No problems.
I bought multiple 1.44" ST7735 square 128x128 TFTs over the last year. Today I ...
0
votes
1
answer
94
views
The LED that is series with relay is destroyed after a couple of activations
I've tried to make a bidirectional relay circuit with a pair of relays that work with 24 volts.
I tested the circuit and it works fine and both LEDs turn on when the relay is activated.
After a ...
0
votes
0
answers
36
views
Running Teensy41 on battery
I'm trying to get my Teensy41 project to run on battery. The docs at the link below seem to indicate that connecting 5v across VIN and GND pins should be enough to run on battery. Initially I am just ...
0
votes
0
answers
41
views
MPU6050 z-axis motion detection independent of x-and-y-angle
I'm using an Arduino Nano and a MPU6050 break out Board. Initial z-position, when starting the MCU should be zero (0).
I just want to detect the z-axis displacement, when someone is pulling the device/...
0
votes
1
answer
75
views
MPU6050 - detect opposite of free fall - z-axis pull up detection
I'm struggling with getting a functionality similar to the free fall detection, but into the opposite direction - so to the top, f.e. if someone PULLING UP the sensor fastly.
I'm using an Arduino and ...
0
votes
2
answers
44
views
I2C Level Shifting (Adafruit breakouts)
I have programmed an I2C slave on an Arduino Nano and an I2C master was on an Arduino Mega. I'm now working on upgrading the master to a Teensy 4.1.
The new master is a 3.3v microcontroller, where as ...