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
0
votes
1answer
55 views

Connecting toggle switch to Arduino Uno

I am struggling to make a cockpit for my home-made flight simulation. How can I connect this toggle switch to an Arduino Uno: Tries: I connected one end to "Ground" another to "VCC" and middle one ...
1
vote
1answer
49 views

MOSFET for PWM control on a solenoid

I’m currently working on a project where I am utilizing PWM on an Arduino to control a solenoid proportionally. I am designing a device that will play the piano. I would like it to mimic hand ...
0
votes
1answer
24 views

Power supply options for circuit

So, I have the above circuit and I have to somehow integrate this into a mobile phone cover. So to power it, I was thinking of using a 3.7v 600mAH Li-Po battery. I want to integrate the battery into ...
0
votes
2answers
63 views

Roboclaw 2 x60A - Logic Battery Low

I have a problem each time when I start my Roboclaw 2 x 60A motor controller. When I power it I always see a blinking red light and attaching the USB I see, in the Basicmicro Motion Studio, that I ...
1
vote
1answer
44 views

Reduce power consumption and schedule power on and off with RTC module?

I work on an Arduino based beehive scale project. My circuit is wired and it works perfectly (measure temperature, humidity, weight every day at 6 AM, 2 PM and 10 PM and sends it to the server by ...
0
votes
0answers
48 views

I am not able to get any response from ST25RU3993 via arduino SPI

I ran out of clues of what could be stopping me from driving the ST25RU3993, hopefully I can get some useful directions from here... I am trying to drive the ST25RU3993 Eval board using SPI, with my ...
0
votes
0answers
75 views

RS-485 Master -> Slave Arduino *not sending or receiving* **SOLVED - BROKEN HARDWARE**

I am using an arduino mega as a slave and arduino uno as a master in hopes to eventually make an ROV. But as of right now im having issues with getting the serial communication between the arduinos to ...
0
votes
1answer
50 views

Stepper Motor wiring confusion

I have got a 6 wire stepper motor. It's a chinese one (OKI KFL42LL) with Black, Brown, Orange, Yellow, White and Grey wire on it. Its specs are 8.7ohm and 7.5 degrees/step. I went through a lot of ...
0
votes
1answer
41 views

Arduino DC Motors Not Working Correctly With The Servo

I m building a simple obstacle avoidance robot. Here I Typed the code. But there is a bug I cannot find . The Motors are not working properly when they intergrated as whole. when I check the codes and ...
0
votes
1answer
57 views

What is the maximum resistance that is allowed when connecting two grounds in a 5V unit?

Say I have a 5V Arduino and I want to connect two grounds (I don't have another idea of anything else I would like to short). How good should the conductive between them be? For example if I want to ...
0
votes
1answer
19 views

Diode and MOSFET SMT replacement

I am working on an Arduino project where am controlling a motor through one of the Arduino I/O pins. The motor has nothing special just a regular 3-5V motor. In my circuit am using a diode and a N-...
0
votes
0answers
17 views

Timer vs PWM channel in variant.cpp (SAMD)

Looking at an example variant file such as this one for an ItsyBitsy M4, what is the difference between the PWM channel and the timer channel? My understanding was that they correspond to the same ...
0
votes
1answer
100 views

Toggle 555 timer IC both with switch and arduino

I want to use 555 timer IC (NE55P) as a latching toggle switch. I successfully did it using a switch as described in this toggle 555 schematics except, I am using 5V power with led as output ...
0
votes
2answers
49 views

Inverting OpAmp circuit doesn't work (MCP6004)

I am trying to get -5V from 5V to use it on another opamp for my flexiforce pressure sensor. Following circuit outputs something around 0V instead of -2.5V either on a real thing or in simulator, so ...
0
votes
0answers
97 views

Alternative for THT component with SMT

Am working on an arduino project where am controlling a motor through a I/O pin turning it ON and OFF, circuit below: Now am trying to make a PCB out of this circuit, to do so i wanted to switch ...
0
votes
1answer
53 views

Opamp Burn up in constant current circuit

I designed a programmable constant current power supply to control two solenoids(electromagnetic).For the solenoid to open and close proportionally(it can move between fully open to fully closed and ...
0
votes
0answers
75 views

Precise sampling rate for data acquisition with Arduino and Python

I built a simple data logger with Arduino and Python (Accelerometer --SPI--> ESP32 --USBSerial--> RPi). I used the timer interrupt to control the output data rate, which is set to 300Hz. But I noticed ...
0
votes
2answers
59 views

DS1307 RTC module using without arduino?

Is it possible to use RTC module DS1307 to schedule swtiching lights on and off? I am not supposed to use arduino but all tutorials on internet are with arduino. The main problem for me is power ...
1
vote
2answers
96 views

Programming my ATmega8 board using Arduino IDE

I made a board with an ATmega8A (SMD-TQFP package). I installed the minicore library in the Arduino IDE. Now I'm able to flash the hex file using Atmel Studio 7 and able to read serial well. But my ...
0
votes
2answers
51 views

Voltage spikes on Arduino Input affecting digital and analog readings

I am working on an Arduino project where I have a few inputs both analog and digital into the Arduino from remote buttons and sensors. I have installed a prototype in our building, but when other ...
1
vote
1answer
87 views

Is this an SPI protocol?

I'm trying to control a 2.4GHz remote for LED panels. Inside there is a keyboard decoder chip and an RF chip, the markings don't return any immediate results. I've decoded the data with a logic ...
2
votes
2answers
92 views

Generating 40 kHz square wave using ATtiny13

I'm using an ATtiny13 running at 1.2 MHz and would like to generate a 40 kHz square wave on PB3 and PB4. The signal on PB4 should be 180 degrees offset (inverted) from PB3. I know that I need to set ...
0
votes
1answer
61 views

Electromagnetic waves antenna via microcontrollers (Transceiver and receiver)

I have two Arduinos: Mega and Nano, and 2 steel pieces of wire as an antennas which i sticked directly in the pins slots. I've setup my Mega2560 to generate an alternating current on one of its pin (...
0
votes
2answers
78 views

How to measure high current (20A DC) using arduino

I would like to be able to measure the power of a load connected to a 12V battery - this load takes around 20A and I would like to be able to store this using an arduino. My first attempt was using a ...
0
votes
2answers
41 views

Controlling NEMA 23 speed with Arduino

I have an Arduino controlling a NEMA 23 motor using a digital stepping driver (DM542T). I am trying to have it go a a given speed in RPM (60), but when I try it results in a very jerky movement of ...
0
votes
3answers
88 views

Interfacing LM19 temperature sensor with Arduino

community! I have a problem as follows. I've been trying to interface the LM19 temperature sensor using Arduino. I made a function to read and compute the temperature from the sensor according to a ...
0
votes
0answers
41 views

LIN bus sniffing with Arduino

I'm trying to do a simple LIN bus sniffing in my car with an Arduino. This should be possible with a simple voltage divider if I'm not wrong. Would this schematic work? ...
0
votes
3answers
76 views

Binary Manipulation in arduino with 74HC595

I'm doing practice of bit manipulation in arduino with a 74HC595 shift register. I would like to create an algorithm that allows the binary digit to perform this way: 1 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 ...
0
votes
1answer
30 views

Esp8266-01 module attached to Arduino resets when DC motor runs

Machifit JT80SL DC 3-6V Water Pump: 3-6v Servo sg90: 3-7.2v Esp 8266 01: 3.3v I have 2 Arduino Uno both has their own ac-dc power adapter. Lets say, 1st Arduino ...
1
vote
1answer
79 views

Controlling multiple stepper motors using a single driver

I want to control ~50 stepper motors using a single driver, and use only one Arduino pin to control each motor. Currently I'm using a single A4988 driver and a couple of 12v 1amp stepper motors to ...
0
votes
1answer
31 views

How would my circuit vary if my DS18B20 comes on a 'Keyes' module?

I am looking at the following tutorial on how to link the DS18B20 to an esp32 module: https://randomnerdtutorials.com/esp32-ds18b20-temperature-arduino-ide/ For the parasite mode, I have the ...
1
vote
1answer
51 views

Wireless RGB led controller circuit with motion sensing - design feedback

Beginner hobbyist here. I would appreciate some design feedback. Purpose of this circuit: It controls an RGB LED strip (5 Meters, SMD 5050) via an IR remote and also automatically powers on/off the ...
0
votes
2answers
64 views

Why one stepper motor is twice faster?

I am using some stepper motors and I realized they are much slower than the stepper motors of OpenBuilds (http://youtu.be/GrjqW2MDCvM?t=3744). They're using less teeth on pulley too. Power supply ...
0
votes
0answers
55 views

Why stepper motor is slow with A4988 driver?

I'm using NEMA17 17HS13-0404S1 stepper motors with Arduino CNC Shield & A4988 drivers but I think they're much slower than they should be. Hard to explain how slow they are but compared to Ender 3 ...
0
votes
1answer
63 views

Powering an L298N's IC and an Arduino Uno R3 using an LM7805

Before i start i would just like to say that i am an absolute beginner at this, and this question might be a little silly. I'm trying to make a shield that'll go on top of an arduino uno. The shield ...
0
votes
1answer
56 views

Optocoupler conducts without LED supply

I'm a beginner in electronics. I am trying to use an optocupler (p621) to switch 12v supply to 5v for digital input. Here is the fritzing diagram So from the 12v supply I am using 1 1k resistor into ...
0
votes
1answer
47 views

What happens: n Hall effect sensors wired in parallel, < n of them is triggered?

This is almost certainly a noob-level question. I only have one Hall effect sensor to play around with so I can't test this out for myself. Say I have multiple Hall effect sensors wired like this, ...
0
votes
1answer
37 views

Is it possible to use two HM-10 on two Arduinos for bidirectional Bluetooth communication?

I am thinking about using the HM-10, or some other bluetooth module on two Arduino boards for Bluetooth communication. What I want is to be able to send and recieve data from a single Arduino board. ...
0
votes
1answer
58 views

Arduino RFID Multiplexer Antennas

I want to make a electronic chessboard that detects the position of every piece on the chessboard. Every chess piece will have RFID tag. My idea will be to have 2 multiplexers(1*8) one for the rows ...
0
votes
0answers
28 views

Wire.endTransmission(); have trouble ending

I am trying to read data from an INA219. To save some memory, I looked at the .cpp file from Adafruit_INA219 library: (Adafruit basically used their function wireWriteRegister(0x05,cal);) ...
1
vote
1answer
116 views

Not debouncing on a MIDI keyboard

I am modifying an old 90s keyboard (CTK-450 by CASIO) to make it a MIDI controller. I'm going for an Arduino that goes over the matrix layout of the keyboard. The issue I have is with debouncing. ...
1
vote
2answers
89 views

How to drive an AD9850 at 100 kHz/s sweep using arduino or rasberry pi?

The basic problem I am interested in doing is using an ADXXX chip to make a linear frequency sweep through the HF bands, from 1-20 MHz. The sweep rate I would like to achieve is 100 kHz/s, which ...
0
votes
2answers
63 views

Optocoupler with Arduino

I'm trying to input 12v into Ardunio Digital inputs. But since Arduino digital input max voltage is 5v, I would like to use an optocoupler as a switch for 12v input into 5v from Arduino itself. So I ...
0
votes
2answers
63 views

How to wire 0.91/0.86 inch display to i2c?

I have a 0.91 inch display with a 4 pin I2C connection. I then realised that I needed to use a 0.86 inch display with the connector in the above image. I have searched on google on this but nothing ...
0
votes
2answers
66 views

Working principle of a MOSFET Transistor

I was just reading a blog entry regarding the power conflict of the Arduino and trying to understand everything, when I came to a point where I could not understand the working principle of the ...
0
votes
0answers
79 views

How to properly connect IR photodiode

I encountered some problems with the signal from photodiode and don't know how to connect it effectively. Datasheet can be found here: https://www.marktechopto.com/pdf/products/datasheet/MTPD1346D-...
0
votes
1answer
56 views

Is this a valid matrix circuit, I've drawn it based on guides and examples online

I'm trying to build a matrix of 6 toggle switches 6 momentary buttons 4 rotary encoders I'm going to use a Pro Micro board and I'm wondering if my wiring looks okay, this is my first real ...
0
votes
0answers
159 views

Failed to connect to ESP8266: Timed out waiting for packet header

I'm trying to program ESP8266 Node MCU v0.9 using Arduino IDE. I'm trying to upload the most common sketch i.e. blink which is available in the examples of ESP8266. Even then I'm getting this error - ...
0
votes
1answer
56 views

Chaining 25 74HC595 shift registers together

Situation: I am doing a project which requires me to chain 25 74HC595 shift registers together. They ate controlled by an Arduino microcontroller. Question: Will it work when chaining that number ...
0
votes
2answers
68 views

Finding value of resistor between two diodes [closed]

I'm using an Arduino and I have the following circuit: I couldn't find the symbol for analog signal, so the voltmeter represents a connection to the Arduino's analog input pin. How can I work out ...