Questions tagged [arduino]

Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.

Filter by
Sorted by
Tagged with
1
vote
0answers
34 views

ESP8266 Button Latch - Always On

I'm trying to build the following: Press the button shortly, the ESP8285 should turn on. GPIO16 can then be used to turn off the circuit. The button press should latch the power on. The problem: When ...
1
vote
4answers
216 views

PCB Design Review(ATMEGA32U4)

I have been trying to make a Watch for the past few months, but with all my prototypes I have found no success. So to try ironing out some problems I made a practice PCB to try testing my base ...
0
votes
1answer
71 views

Strain gauges' readings at 1 kHz

I want to connect 8 strain gauges to an aluminum scooter frame and capture readings at 1 kHz. The strain gauges are Full bridge 350 ohms with a very small output voltage (in the range of mV). I have ...
0
votes
1answer
34 views

What is this connection on ttgo t7?

Bord Name: TTGO T7 I have searched both in the github page and in the lilygo site but I can't find what is the use of the connector highlighted in the picture: could someone with more experience help ...
0
votes
1answer
46 views

Unable to control motor voltage with MOSFET and PWM

In an attempt to control the speed of a DC motor with fairly large current draw (up to 1.8 amps) using PWM, I designed the circuit below: Unfortunately, I am unable to do more than simply turn the ...
0
votes
1answer
70 views

Why place large resistor from gate to ground of MOSFET?

As I was learning about MOSFETS today, I noticed that nearly every circuit diagram with a MOSFET features a large pulldown resistor placed in parallel to the transistor. For example, in this picture ...
1
vote
1answer
33 views

Step-down Lipo voltage to 1.9v

I'm trying to power a MMA9995l, NRF24l01, HDC2080 and ATMEGA328P from a Lipo battery. The perfect voltage for this is 1.9V. Since I'm quite new to component sourcing and step-down converters in ...
0
votes
0answers
225 views

WS2812B first LED flickering Wemos D1 mini

I'm running 110 WS2812B LEDs with an Wemos D1 mini clone (AZDelivery) and the first LED flickers and won't even turn off but rather show red or green. I changed the data line cable several times, ...
0
votes
1answer
50 views

AT commands ESP8266 gives Null Pointer error - Arduino IDE

EDIT: I have just tried a brand new esp8266 and the AT commands work. But on 3 others it did not. Would this be because I have uploaded code to them? I have an esp8266 ES01, the small basic one. I am ...
0
votes
1answer
76 views

Water level sensor giving erratic readings

I am designing a water level sensor using two 2mm graphite rods about 10cm long. I have attached the leads for my schematic to the graphite rods using silver epoxy. I am using an Arduino Pro Mini pin ...
0
votes
1answer
67 views

Very Noob Question: How to connect Seeeduino Xiao to CR2032 battery holder with switch?

I am planning on soldering together a seeeduino xiao along with an adafruit 20mm Coin Cell Breakout w/On-Off Switch for use in a portable trinket to inject code. Problem is, I've never really done ...
0
votes
2answers
75 views

Ultrasonic sensor ON/OFF switch with transistor

I have an ultrasonic sensor (JSN-SR04T) connected to an Arduino. In order to achieve low power consumption i decided that i want to switch the Ultrasonic sensor off for 8 seconds intervals in between ,...
0
votes
1answer
37 views

Can I power these components with Arduino?

I have 14 x TTP223 touch capacitors, 16 x 3mm transparent blue LEDs, and 2 x s90 servo motors. I want to power these all. LEDs will probably never be on at the same time but better safe than sorry. ...
1
vote
2answers
253 views

ADS1115 measuring body resistance has a noisy output, how to fix it?

I am trying to measure body resistance with an ESP8266 and ADS1115 without much success. At first the ADS1115 power supply was connected to 3.3V but there was a lot of noise. I then powered it from a ...
0
votes
0answers
29 views

Arduino Nano 33 BLE use KVstore

I would like to use an Arduino Nano 33 BLE, I need to use the embedded IMU and store some calibration values for it in the flash memory. From my research I'm supposed to use KVstore API from mbed OS ...
1
vote
3answers
183 views

What's happening to my stepper motor at high RPM?

I am trying to get high RPM output from my stepper motor, but no matter what I try I can't get it to spin more than 65,000 steps/sec. I have tried many combinations of settings, drivers, power supply, ...
0
votes
1answer
50 views

Arduino halting when working with servos

I am currently working with a servo and an external power source. I am using an Arduino Nano Every. The external power source is 7 volts so I used a buck converter to convert it to 5 volts before ...
0
votes
2answers
80 views

Coulomb counting

I have been trying to coulomb count to identify how much charge is stored in a battery. They way I do this is as follows: Every second, I measure how much current is fed to the battery. Charge would ...
0
votes
1answer
82 views

Why are my motors not getting enough power?

I am a newbie electrical engineering hobbyist who is trying to get four 28BYJ-48 stepper motors to turn for a split flap display project. I managed to get each motor working perfectly well ...
1
vote
1answer
149 views

SOC (state of charge of batteries) for LiFePO4

I am trying to find the state of charge (SOC) of some batteries I have 3 LiFePO4 batteries, these are the ones I have purchased: https://www.ampsplus.co.uk/ampsplus-14500-3-2v-500mah-battery-button ...
1
vote
0answers
16 views

Have to download Energia code multiple times for the code to update using MSP430F5529 Launchpad

I'm a beginner in robotics, so I just started playing around with my MSP430F5529 Launchpad. Ever since the first time I started using my launchpad, it seems like I have to click on the 'Download' ...
1
vote
2answers
226 views

Arduino PORT manipulation analogRead()

I am trying to figure out on my Arduino UNO how to read analog input using port manipulation. I have found a lot of tutorials on how to do that for digitalRead / digitalWrite, but nothing with ...
0
votes
0answers
35 views

Capacitive touch sensor senses every materials touch

I have a ttp223 capacitive touch sensor. It has three pins, VCC GND and I/O. I left I/O open for test purposes. I connected the VCC to 5V and GND to ground. When I touch the sensor, its led indicator ...
0
votes
1answer
60 views

How to control 12 V with Arduino's 5 V pins?

I'm trying to program a parallel EEPROM which requires Vpp high voltage cycle to write a byte. I want to control Vpp with an Arduino pin so I can write a byte onto an address in EEPROM. But I couldn't ...
0
votes
1answer
124 views

How do I correct this SystemVerilog syntax error?

I am working to reuse some Arduino code on my Cyclone V GX FPGA using a compiler I have found on GitHub. https://github.com/dimag0g/nios_duino I was also able to generate the HDL code for both the ...
0
votes
1answer
52 views

Missing 1 bit shift Bitbang I2C Atmega328p

I implement bit-banging I2C on Atmega328P and met the problem when the Master receives data from the slave. I'm in depression in debugging this code since I found no problem. Master Write work ...
0
votes
1answer
74 views

Measuring positive and negative voltages using ADC

I came across the simple solution for the said problem posted by Transistor (Transistor (https://electronics.stackexchange.com/users/73158/transistor), circuit for measure positive & negative ...
1
vote
1answer
125 views

Camera external trigger; What is the shutter signal?

There is a Sony RX10 III camera which also has a external trigger for it. The goal is to send a signal from a micro-controller (Arduino & optocoupler in between) to release the shutter. I thought ...
0
votes
1answer
112 views

High speed microcontroller choice

I am trying to design a device that captures DV (digital video) from camcorder and stores it on sd card. The camcorder produces ~4MB/s of data which the device needs to capture and save to SD card. ...
0
votes
1answer
46 views

Arming A Brushless Motor Controller Connected to ESP8266

I am trying to control a brushless motor with WeMOS D1 ESP8266 The motor controller and motor specs are below: https://www.ebay.com/itm/114619313561 A 11.1v LiPo battery powers both the controller and ...
0
votes
3answers
80 views

Soft latch switch circuit with buck converter load does not work

I have been experimenting with soft latch switches. There is one that EEV Blog has developed that only uses 2 NPN transistors and a P-Channel MOSFET. The circuit is seen at 14:44 in this video. I have ...
0
votes
0answers
45 views

Routing multiple power supplies on the same PCB

I am designing a simple battery monitoring board with Arduino nano BLE to send data to an android phone. For this board, I need a +15V,-15V,+5V supply for the sensors and Arduino respectively. Do I ...
4
votes
2answers
988 views

Using LED's to track the sun with ESP32 analog inputs

I am trying to automate single-axis tracking of the sun for solar panels on my RV. I have a 10mm LED mounted on each side such that if the panel is aimed directly at the sun, both LED's get full ...
1
vote
1answer
66 views

Is this HD-44780 compatible display damaged?

I am developing an assembly application that includes a HD-44780 compatible 20x4 display over the I2C bus. After several attempts, I have finally managed to initialize the display in 4-bit mode and ...
1
vote
0answers
52 views

Linear actuator is not working with BTS7960

I am trying to run a linear actuator with a BTS7960 motor driver and an Arduino UNO. The code seems fine, wiring seems fine but after uploading the code, the linear actuator does not start. I am using ...
0
votes
1answer
83 views

Can a Triac be driven using only positive voltage due to the laws of Q1 and Q4 quadrants?

I have a BTA12-600B Triac and an Arduino. Is it possible I can trigger both positive and negative amplitudes of an AC cycle by suppling only a positive voltage from the Arduino digital pin to the ...
0
votes
1answer
48 views

Ultrasonic sensor not detecting any values when using Arduino and LabVIEW

I have connected the circuit as shown. The circuit works perfectly when I Use the Arduino ide. When I use LabVIEW, the distance from the ultrasonic sensor is always zero. The LabVIEW circuit diagram ...
1
vote
0answers
86 views

How to program STM32 via alternative UART pins?

I'm able to program a Black Pill (STM32F401) with Arduino IDE and an FTDI programmer, by connecting FTDI UART pins to Black Pill's A9 and A10 pins and using STM32 Add-on to Arduino IDE Is it possible ...
1
vote
1answer
88 views

How to use a transistor to externally trigger a Canon EOS camera?

I need to trigger a Cannon EOS 650D camera externally, this is done by shorting 2 wires, leading out from a standard 2.5mm jack: The camera provides 3.3V. I want to complete the circuit and ...
0
votes
1answer
115 views

Replacing analog potentiometer with digipot for DC motor speed control

I have a device with a beefcake DC motor controller like this one: https://www.bodine-electric.com/products/dc-controls/filtered-pwm-dc-basic-speed-control-open-chassis/0780/ The speed is controlled ...
0
votes
0answers
86 views

Monitoring a LiPo battery while powering the Arduino

Well I am tring to make a circuit to charging lipo battery then use lipo. while arduino nano using lipo battery, nano measuring the voltage level of lipo. I am planning to make deep sleep if voltage ...
0
votes
0answers
41 views

Arduino with Motor Shield VNH5019 and mpu6050 (gyrosccope) problems

I'm working on a project that involves a brushed dc motor RS550. I'm using the vnh5019 motor shield to command my motor with a gearbox that reduces the rpm to 4/5 rpm. I've attached an mpu6050 to the ...
0
votes
1answer
42 views

GPIO signals from Raspberry, read by Arduino

I'm working on a program on Arduino to control the Raspberry. My plan is using a button to make Raspberry Pi 4 switch on by pressed button (if i pressed a button for 3 seconds, raspberry will switch ...
0
votes
1answer
50 views

Code misbehaviour when linear actuator to the circuit

I have a circuit meant to operate an actuator in function of the temperature. The code has been tested and, as long as the actuator is not connected, it does what it is meant to do (tried simulating ...
0
votes
2answers
111 views

Driving a raw LCD

I was hoping I could drive the raw lcd by somehow using one of my Arduinos. I am using a lcd on a rangefinder and have figured out the following. The raw lcd is 24 pins, 8 of which are com pins and 16 ...
1
vote
1answer
90 views

Map a Voltage range into another range

I'm making a battery voltage meter with a Wemos D1 Mini. The Analog input has a Vref of 3.2v. The battery that i will measure is a Lithio one of 72v, minimal 68V to max 84V, the Analog Input of the ...
1
vote
0answers
74 views

Is there a fake way to drive a matrix keyboard (to use a typewriter as line-printer)

I recently found a Brother AX-425 typewriter, I want to be able to control it via a computer. Its internal electronic seems pretty simple, it's a 8*8 matrix ...
1
vote
2answers
178 views

X9C103 10k digital potentiometer with LM317 0 - 20 V DC voltage source

I need some help about my current project. I am trying to do a voltage source which can be controlled remotely (0 - 20 V). I am using LM317T for this project. I examined the LM317T datasheet and ...
0
votes
1answer
80 views

I2C: Do I still need pull-up resistors if I use a logic level converter? I

Electronics newbie here. I have the following setup - three Arduino Nanos, a BME280 sensor, an MPU6050 gyroscope, a GPS GT-U7 (Goovvv Tech) module and an 128x64 (1.3in) OLED display. All except the ...
2
votes
1answer
68 views

DIY electromagnetic shielding (CNC mill)

I'm building a DIY CNC router. I'm running at a low RPM and only planning on cutting soft materials (wood and under, maybe a PCB). I'm currently having problems with magnetic interference. When ...

1
3 4
5
6 7
157