Questions tagged [arduino]
Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.
1,110
questions with no upvoted or accepted answers
4
votes
0
answers
194
views
Review of electric circuit with Arduino
I am currently working on a project for which I am in charge of the electronic circuit. Since I have never worked with electronics before, I am really desperate and unsure whether what I am doing is ...
3
votes
0
answers
85
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 ...
3
votes
0
answers
320
views
Nema 17 Stepper Motor Weak Torque (A4988, Arduino)
I'm attempting to run a Nema 17 stepper motor using the common A4988 stepper motor driver. I'm running the motor with a Teensy 4.0, an Arduino-based microcontroller.
The main issue I'm running into is ...
3
votes
0
answers
81
views
DAC not recognized by I2C and creates strange side-effect
Let me preface by saying that I am new here, and I can't seem to solve this problem for the life of me.
Problem: I am using the LTC2655BIGN-H16 DAC and attempting to interface with it via I2C with an ...
3
votes
0
answers
72
views
Minimum circuitry for robust operation of the "new" ATtinys (1614) with Optiboot
I have spent hours now trying to catch up on the replacements for the old ATtiny's, there does not seem to be a robust (meaning, with protections that we could find in an UNO or Mega for example) ...
3
votes
0
answers
136
views
Running a 12V motor on 9V battery and arduino and matlab implementation
I have a DC geared motor rated at 12V and 60 rpm . It has a quadrature encoder with 700 PPR. I connected it directly to a 9V battery (almost new) and wished to measure the rpm of that motor. To find ...
3
votes
0
answers
175
views
Nokia display stopped working
I had plenty of Nokia displays so I decided to use them with microcontrollers.
I found pinout instructions from here, connected one of the 3310 LCDs with my ESP32 because it runs on 3V3, and used ...
3
votes
0
answers
299
views
MCU, N-channel MOSFET, ~15m led strip, 24V power supply. Whats happening?
Disclaimer
Hi,
Firstly, I'd like to underline, that I do not have masters degree from electrical engineering and I didn't study electrical engineering on high school. I'm software engineer who likes ...
3
votes
0
answers
402
views
I2C connection randomly dies with error 4
I am trying to interface an ESP8266 microcontroller with an ICM-20948 IMU chip.
Using the reference code from Invensense, the internet and trial and error, I managed to configure the chip do do 9-axis ...
3
votes
0
answers
149
views
Arduino Every Nano with 3.7V Li-Po - Reading voltage
I have Arduino Every Nano and 3.7V Li-Po battery (Akyga LP903759). I want to read the current voltage of a battery using analog pin. If I use a 50 kOhm and 200 kOhm resistor (in voltage divider) I'll ...
3
votes
0
answers
230
views
Replacing an ammeter with voltmeter?
I have found this circuit of a millivoltmeter, and it seems like something which as a hobbyist I can do it, and the range of the measurement is very suiting one of my projects, but I would like to ...
3
votes
0
answers
441
views
Transimpedance AMP, Active HPF, phototransistor
So this is the part where I would like the phototransistor (TEMT6000X01) to be able to clearly capture an LED with a frequency flashing on and off at 1kHz. So what I have here is a transimpedance ...
3
votes
0
answers
95
views
one sided touch sensor?
I am trying to create a glove that translates sign language into text. To do this i need touch sensors placed on the glove, however the only sensors that i can find detect a change in electromagnetic ...
3
votes
0
answers
873
views
PWM to synth control voltage improvements
Just built this little circuit to control my Moog Werkstatt. The plan is to make a MIDI-to-CV converter and add more CV outputs and of course a GATE output later. But before going further, I thought I'...
3
votes
0
answers
947
views
A curious 433 MHz signal to decode
I bought a cheap set of remote controlled power sockets and I want to integrate them into my home automation system. So I got a 433 MHz receiver for 1€, connected it to my Arduino and tried to decode ...
3
votes
1
answer
512
views
Is it possible to power an Arduino Nano and a 6 Volt DC motor from the same power supply?
I am building a motorized, speed controlled turntable using an Arduino Nano and a 6V DC motor. I have read that the motor and the micro-controller should have separate power supplies because noise ...
2
votes
4
answers
216
views
Interfacing Delta PLC and Arduino (Logic Signals)
I am trying to connect a Delta PLC (DVP-10SX) to an Arduino UNO. What I'm trying to achieve here is to be able to exchange Logic signals between both the PLC which has a logic level of 0-24V and ...
2
votes
0
answers
117
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,...
2
votes
2
answers
426
views
Motor controller design for Ryobi 40 V 16" Lawmower
I'm attempting to build a soft-start motor controller for a Ryobi 40 V, 16 inch electric mower (to replace a broken factory unit; unit is potted so I can't see/access the guts). Only details I have ...
2
votes
0
answers
148
views
My Arduino project only works when the car is off. Why is this the case?
I have been all over the internet and have asked a few people why this is happening. Hopefully I'm at the right place.
My Arduino project consists of reading serial data from my car, which is OBDI-...
2
votes
0
answers
278
views
1400 Kv BLDC motor problem
I have a A2212/10T 1400 Kv (1400 RPM / volt) brushless DC motor and a SimonK 30 A electronic speed control (ESC.) I have connected it to an Arduino. It is not powering up when I use only battery ...
2
votes
0
answers
29
views
Power protoboarding for Uno R3, 3x Mosfet Drivers, 1x A4988 w/motor and a grove relay
I need some help on this Arduino project. The breadboard wiring I did isn’t working for power delivery and we haven’t connected everything up thus far. I’m getting a drop in voltage when I turn on two ...
2
votes
0
answers
87
views
Nucleo32 with STM32F303K8 crashes when setting PA2 as Interrupt and triggering it
I am using a nucleo 32 for my project. I am using arduino and creating a TCP modbus and RTU modbus server.
I have set the pins as folows:
Description
Type
Arduino
STM32
Pin Number
Pulse input 1
...
2
votes
0
answers
142
views
Do I properly use Toshiba H-bridge TB67H400ANG?
I am new in this forum, so I am sorry if I don't properly ask my "question".
I am a beginner in the making of circuits and Arduino programming. (first time using an H-bridge, first time ...
2
votes
0
answers
151
views
Making a low-cost in situ fluorometer with Arduino
I am making a low cost in situ fluorometer with Arduino based on this paper
The paper lists all the instruments required for the device, but since some of the products were outdated/hard to find, I ...
2
votes
0
answers
360
views
Circuit design for ESP8266 serial communication with a one wire UART garage door opener
Chamberlain/Liftmaster garage door openers have a button which is connected to the opener with two wires. One wire is ground, the other 9600 baud serial UART data with 12v logic. This line also powers ...
2
votes
0
answers
86
views
ESP-WROOM-02 is not responding to AT commands as expected
I using the ESP-WROOM-02 (esp8266 core) as WIFI module and the Arduino nano IOT 33 (samd21g18) as main processing unit. I flashed the ESP-WROOM-02 via the ESP flash download tool with the AT Firmware ...
2
votes
0
answers
360
views
ESP-WROOM-02 SPI config not working as Slave
I tried to config the ESP-wroom-02, which have an ESP8266 core, as a SPI slave. But didn´t found much information about SPI configuration besides the technical reference ESP8266. The project have the ...
2
votes
0
answers
164
views
PWM output for DAC and using DAC as reference voltage
I would like to use a DAC as a programmable reference voltage for a window comparator. The input of the DAC would be the Arduino's PWM output.
Can I connect the Arduino's PWM output directly to the ...
2
votes
2
answers
119
views
LED light and LCD not turning on at the same time
In my circuit if an object comes a certain distance, the LED light will turn on and the LCD display will show the distance.
The problem is if the LED light is turned on with 11.1V power, the LCD ...
2
votes
3
answers
9k
views
ESP32 classic Bluetooth set password
I am using the ESP32 classic Bluetooth feature for data transfer.
I am using the SerialToSerialBT example.
I am able to scan and discover the Bluetooth device from my smartphone, but the pairing is ...
2
votes
0
answers
300
views
ESP8266 deep sleep with external wakeup from 2 different GPIO
I'm trying to create a sensor that checks if the mailbox got new mail and when its emptied (it has 2 diffrent slots)
Is it possible to wake up an ESP8266 and checking which of the microswitches are ...
2
votes
2
answers
127
views
LED luminosity decreasing over time
I'm measuring an LED with a light sensor but I'm running into a problem where the LED's luminosity (lux) is decreasing over time. Confusing since this is a simple setup, I don't know if the LED's I'm ...
2
votes
0
answers
173
views
Why are my soil sensor outputs starting correct, but turning into nonsense?
I have two Adafruit STEMMA Soil Sensors STEMMA Soil Sensors that I've hooked up to an Arduino nano, telling a solenoid valve when to open. I also have a rain sensor and photoresistor to determine the ...
2
votes
0
answers
284
views
Null characters in output from USB
I'm getting null-bytes in the output from an Arduino Mega 2560, when delaying reading from the USB buffer for e.g. 5 seconds. Can anyone explain why this happens and what I can do to mitigate the ...
2
votes
0
answers
128
views
Auto Voltage Selection between 12V and 5V for Irrigation Controller
Background
I am working on a hobby project, it will be a general purpose open source irrigation controller.
I haven't built the PCB yet but I want to power the board either through the USB port for ...
2
votes
1
answer
72
views
200 Input Smart Multimeter Project
First off, thanks for taking the time to read this and help out.
Here's a quick overview of what I am trying to design. I have a break out box that has 200 female probe inputs. Each input is numbered, ...
2
votes
0
answers
187
views
ESP32 Arduino Bluetooth Serial does not reconnect after disconnecting
The basic ESP32 Arduino Bluetooth Serial example pairs and connects as expected, BUT once I disconnect the Bluetooth terminal it stops responding to new events at all. Once I reset the ESP32, it ...
2
votes
0
answers
86
views
Turning on MOSFET and sensing to microcontroller input pin
I've got a stereojack, and I'd like to turn on an LED and also make an input pin to a microcontroller HIGH (For interrupt sensing).
The Vs is 3.3v
The LED has a Vf of 2.9v
The MOSFET has a gate ...
2
votes
0
answers
55
views
add 2 buttons to this sketch
Can anyone tell me how to add 2 button switches to this sketch (one forward and one reverse) for a second motor?` This code works great and I would like to just add the some button switches to pins 4 ...
2
votes
0
answers
534
views
Battery power options for ESP-01 + Sensor (Arduino Project)
I am building out my first self-designed project and am a bit unsure how to proceed with the power setup. I'm making a sensor device that will send me a tweet whenever the relative moisture of my ...
2
votes
0
answers
209
views
Best way to manage multiple 12V inputs and outputs from Arduino?
For a bowling alley I am going to make a circuit using an Arduino Mega to turn on arrow lights(1-4 bulbs in each) given the bowling pin lights that are lit up at the moment on a masking unit. AMF no ...
2
votes
0
answers
1k
views
Reading multiple RFID tags at the same time
Hi I've been working on a personal project for which i need to read multiple RFID tags in close proximity, something like 10-20 tags at once, I know RIFD tags can't be actually be read at the same ...
2
votes
0
answers
299
views
Problem with switching solenoid valve by relay
I've been trying to drive a 12volt solenoidal valve with a 5volt relay .Relay is working perfectly for driving normal loads(light bulbs).But it is not driving my 12volt solenoidal valve.
I've already ...
2
votes
0
answers
98
views
Accurate localization through GPS, IMU and odometry
I am trying to localize a robot with an error <1m. I have XA1110 GPS but haven't tested it in an open area (due to the ongoing disaster) hence I am unaware of its practically achievable accuracy. I ...
2
votes
1
answer
77
views
High voltage circuit powering Arduino/ESP32 - requesting feedback?
I have been struggling with this for days...This is the first time using switched power supply units to power an Arduino.
Can you tell me if this is wired correctly? If not, what needs to be fixed?
2
votes
0
answers
631
views
Pulses counting problem from npn proximity with interrupts in arduino
I am interfacing an open output npn proximity sensor with Arduino nano. I have used very silly approach of voltage divider as I was not sure that in open output sensor you can get whatever voltage you ...
2
votes
1
answer
147
views
Voltage shifter 0-30VDC
I am required to generate and measure squared signal (PWM like). I should cover a 0-30VDC amplitude. High level of the signal is 30 VDC, low level is 0VDC. The bandwith to be covered is 0-20kHz. I ...
2
votes
0
answers
1k
views
BDM (Background Debug Mode) with Arduino
I'm trying to talk to a 68HC(9)12D60 (Motorola/Freescale/NXP) via BDM protocol.
This chip is a 112-pin TQFP. On the PCB, there is a 6-pin header (which is not the standard BDM 2*3 pins header). The 6 ...
2
votes
0
answers
126
views
Way of powering Arduino+GSM Modem+Cam off 5V powerbank
I'm trying to build a circuit, that would turn the Arduino on by a PIR sensor, take the picture by ArduCam, then transfer it onto a webserver.
I got the SW site covered by now, so that is not a big ...