Questions tagged [arduino]
Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.
8,051
questions
3
votes
4
answers
609
views
AC volt meter using an Arduino not giving steady reading
I am trying to make an AC voltage reading system according to the circuit below which I found online.
My voltage is coming out cyclical - why is that? Is the capacitor perhaps to blame for not ...
0
votes
0
answers
5
views
Camera sensor OV5642
I'm currently looking to replace an OV5642 camera sensor with an alternative where I could use the same private software that belongs to a different owner. I came across the OV5640 sensor, but the ...
0
votes
2
answers
64
views
LCD 16x2 is showing only black boxes despite correct wiring
I copied this tutorial from the linkalarm clock arduino but my LCD is only showing black boxes despite the correct wiring and code. I copied literally everything on the video. I also tried it with ...
0
votes
1
answer
38
views
XGZP6847A Pressure Sensor Modul
hey guys I'm trying to measure the pressure of a vacuum pump using the XGZP6847A pressure sensor I need the pressure to be around -95kpa 1: https://www.micros.com.pl/mediaserver/...
0
votes
0
answers
56
views
Level shift input -1V/+1V to 0V/+3V [closed]
I need to level shift an Arduino input from -1V/+1V to 0V/+3V.
Can anybody please help?
0
votes
0
answers
37
views
Problem with TTP229-BSF using Arduino Uno
I'm trying to use a 16-channel capacitive touch sensor named TTP229-BSF with an Arduino Uno. I use the following code it works correctly when i touch directly but when i place two 4 mm plexiglass pads ...
2
votes
2
answers
428
views
How to Solder RN-42 to a Breakout Board
I have an RN-42 Bluetooth module (without any of the breakout boards), and I would like to use the RN-42 for data logging (e.g. temperature, humidity etc) via Bluetooth.
What components do I need and ...
0
votes
0
answers
61
views
Arduino powered C-2000 vs USB powered C-2000 [closed]
I am trying to generate PWM pulses with a variable duty cycles from a C-2000 TI Launchpad. When I power it from USB I vary the pulse duty cycle. When I power the Launchpad with an Arduino I cannot ...
0
votes
1
answer
15
views
HC 06, arduino mega 2560, not responding to AT commands [closed]
This is the circuit i built, following a guide on youtube.
2
votes
1
answer
36
views
MCP23017 open drain interrupts not working as expected
I have multiple MCP23017 ICs with their interrupts all connected in serial. The interrupt pins are configured to be open-drain.
All the A port interrupt pins are connected together and all the B port ...
-1
votes
0
answers
24
views
Looking for a circuit board simulator with Arduino support [closed]
I am using Tinkercad circuits to hook up Arduinos with simple circuits and run the simulation.
I like it very much, but the library of Tinkercad components very soon became too small and was the ...
1
vote
1
answer
21
views
How to translate a connection (Step Motor Driver)?
I am following this connection to get a driver to an Arduino and a step motor. The original connection is this:
Green wire --> Step
Blue wire --> DIR
Red wire --> +5V
My driver, However, has ...
0
votes
2
answers
54
views
PWM Controlled Current Source to drive 24V Proportional Solenoid Valve using Arduino
I would like to implement a PWM controlled current source to drive 24V proportional solenoid valve using Arduino. What I need are the following:
Input will be 5V PWM with 5000Hz frequency, duty cycle ...
0
votes
2
answers
62
views
Control 12V relay by using Arduino [closed]
I have an Arduino Mega, 12V relay module, and 12V external power supply.
I want to control relay state (on/off) by using Arduino I/O pins (5V).
Is it good idea to use following simple diagram?
There ...
1
vote
1
answer
51
views
MOSFET Power Switching Circuit
I'm trying to implement the circuit below from here: http://www.mosaic-industries.com/embedded-systems/microcontroller-projects/electronic-circuits/push-button-switch-turn-on/switching-battery-power.
...
0
votes
3
answers
111
views
Generate a signal with 8 fixed-width pulse with varying interval
I am working on an ultrasound device. We want to generate a particular signal to drive the 1 MHz piezoelectric transducer at various resonance frequencies point.
The goal is to write a code using ...
0
votes
0
answers
63
views
Activate arc lighter with Arduino
I have a SaberLight plasma arc lighter, and I have taken it apart for a flamethrower project. I would like to use an Arduino Uno to programmatically activate the arc lighter. Using the Arduino Uno, ...
0
votes
2
answers
40
views
Interfacing PIC18F4550 with Arduino Nano
For a project, I want to communicate with Arduino Nano using PIC: PIC18F4550. PIC is collecting data from MPU6050 and DHT11; I want to send this data to Nano, which is a separate circuit for handling ...
0
votes
0
answers
34
views
SPICE model for the Arduino Nano
I have designed a PCB in Eagle which I want to test. For that I would need a basic Arduino model which simulates what would happen if all the pins would have a high output. Would be better if I could ...
5
votes
1
answer
207
views
Read in Arduino negative and positive voltages in a wider range
I need to read DC voltages on Arduino that can vary between -15V and 15V. As far as I know, Arduino can only read positive voltage values between 0-5V.
I thought of using a voltage divider with a ...
0
votes
1
answer
38
views
Closed loop control of a stepper motor (i.e. servo system)
Crucial to the performance of a CNC is its ability to precisely, accurately and quickly move
to the directed position. Stepper motors are perhaps the most popular (and therefore
cheapest) motors ...
0
votes
1
answer
74
views
Communicate with 256 nodes over over about 40 meters [closed]
I'm looking for a way to build an 8x8 RGB LED dance floor, each tile about 45x45cm.
I was thinking of having each tile of the floor run its own small Arduino board to manage the LEDs and the input ...
0
votes
1
answer
74
views
How to calculate frequency of an AC source with variable frequency using Arduino
I have an AC current source. Its properties are
Maximum Vrms=15v
Maximum Frequency 125 Hz
Minimum Frequency 5 Hz
The current source is pickup coil of a motorcycle... Vrms range is approximately 0.7v-...
4
votes
1
answer
80
views
Incorrect results without printing message
I am trying to make a custom tv remote using an ATmeta328p microcontroller. It contains 28 buttons which are wired in a matrix configuration, resulting in 5 outputs (columns) and 6 inputs (rows). ...
0
votes
1
answer
34
views
Connecting two motors to one Arduino board
I am making a project where I will be using two different motors.
One is a 6V DC pump motor and the other is a servo motor. The two motors are not supposed to operate at the same time. The user will ...
0
votes
0
answers
17
views
ATA6570 does not wake up properly
I want to use the wake-up frame function of ATA6570 (only use ID to wake up), after entering sleep mode, sending the correct wake-up frame directly can wake up normally, but in sleep mode, the wake-up ...
1
vote
0
answers
31
views
Ardunio Errors with ATmega644A Fastled (MCUDude Mightycore)
Good Morning,
I am trying to compile a ardunio project with ATmega664A using the MCUDude MightyCore plug in while using the Fastled library.
I have used this before with ATtiny167 with Spence Konde ...
0
votes
1
answer
83
views
The source part of an IRF540N transistor
So, I have built a DC-DC booster using an IRF540N as my transistor, according to the following schematic diagram.
It did work and I had a 18V output from a 1.5V battery.
The transistor is connected ...
1
vote
0
answers
121
views
Problem with Arduino exercise
I have to do the following exercise:
An 8-bit binary number is input to Port D of the ATMEGA328.
Show on two 7-segment displays the independent value of bits 4,3,2,1 on the display.
Note: Set keys ...
2
votes
2
answers
271
views
Why does the Arduino give me a value of 1023?
I'm using an EMG sensor V3 from Advancer Technologies connected to the A0 pin of an Arduino Uno 3. When I read data from the sensor it always shows 1023 values. What is the reason for this?
I used a ...
0
votes
1
answer
52
views
LED Current Draw Questions
I need a little help with understanding the current I'm working with.
I have these LEDs, and trying to power them with an Arduino type board, a Wemos/Lolin D1 R1, based on an ESP8266.
I measured the (...
0
votes
0
answers
27
views
Power issue with NRF24LO1 and ATtiny44
I am super frustrated with my NRF24LO1 module and ATtiny44. The thing is when it is connected to an Arduino board it works perfectly, but when I try powering up using battery the entire system halts.
...
0
votes
0
answers
60
views
16x2 LCD copper foil around the pin holes was accidentally removed
I tried to remove the I2C attached to the LCD. Is it okay if that copper foil around the 16x2 LCD pin holes got removed? I didn't do it intentionally, it just happened when I solder pumped the ...
0
votes
0
answers
62
views
433.2Mhz receiver for Arduino
First of all I'm quite new to the subject of electrical engineering (I'm a software engineer) especially to RF! so forgive me if I forgot something to add to this question. I've done the research but ...
2
votes
0
answers
55
views
Different capacitors between VCC and ground required for different sensors and components [duplicate]
I am designing a custom board with a ATmega16u2. In the specifications of the linear voltage regulator, a 10uF capacitor is required between the regulated voltage and ground. A 1uF is required between ...
0
votes
1
answer
53
views
OLED screen not working when I change code on Arduino from 128x32 to 128x64
I am having an issue with my new OLED screen (128x64).
I was using the SSD1306 driver to run an OLED screen 128x32 screen without any issues with the Arduino. Then I swapped out the screen with a ...
0
votes
3
answers
80
views
Is it possible to increase the current of an Arduino Nano 3V3 pin without altering the voltage?
I am trying to use an ESP8266 with an Arduino Nano but I see that the NANO can not enough current for supplying ESP8266 from 3V3 pin. I think it is limited from the faactory. If I use the 3V3 pin RX ...
2
votes
4
answers
141
views
How can I best reduce the current drawn by a PCB heatbed?
I have a noob question about fairly basic circuit design (I think). I am building an incubator for making Tempeh at home, and want to use an old PCB heatbed I have lying around as the heating element. ...
2
votes
0
answers
82
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 ...
0
votes
0
answers
41
views
Can high amperes damage servo motor? [duplicate]
I have 5 servo motor Futaba s3003 and DC Adapter 6V - 2A, I'm asking if I used this adapter on these servos will be okay or not?
single servo stall current around 250mA not sure and 8mA/idle
1
vote
0
answers
40
views
Problem with updating ESP32 firmware through external web server
I tried to implement OTA programming by making a web server and connecting to it and loading the bin file using my phone. It worked, so now I'm trying to do the OTA programming for my ESP32 using an ...
0
votes
0
answers
29
views
NRF51822 UART with ArduinoIDE
When using UART in ArduinoIDE, ArduinoIDE uses a preset pin number for RX and TX for UART, and when using a board like ESP32 which has RX/TX pins preset it's fine.
What do you do when a board does not ...
0
votes
0
answers
47
views
mfrc522 Arduino library -> RFID ERROR: PCD_Authenticate() failed: Timeout in communication
I'm trying to do a project using RFID tags to store information to be retrieved later with another device. Kind of a storage memory.
I've bougth several tags which I can write and read with several ...
0
votes
2
answers
77
views
How can I control firework igniters (e-matches) with an Arduino?
I'm looking to do an arduino based firework show and am wondering how I can find out the specifications of e-matches, and what i'd need to use to control them?
Thanks
0
votes
0
answers
7
views
How to use two timers 1 and 4 simultaneously in arduino mega 2560 [migrated]
I activated timer 1 and its interrupt on the 2560 board and it works properly.Now I want to run Timer 4 as well. I installed the Timer 4 library, but when I compile the program, I get the following ...
-1
votes
1
answer
43
views
What is the suitable battery to power 5 servos?
I have 5 servo motor types of Futaba s3003, I want to run them simultaneously so I'm asking what is the right battery should i use?
according to the datasheet: https://www.es.co.th/schemetic/pdf/et-...
-2
votes
1
answer
53
views
Using an air pump for an pneumatic forearm trainer [closed]
I am attempting to create a forearm training device which looks like this (I don't know what it's called). Can I use this air pump motor with an arduino? It can provide pressure up to 100 kpa, but I ...
1
vote
1
answer
59
views
Unreliable wireless comunication between 2 arduino boards
I am facing a strange and very frustrating issue while realizing a basic radio comunication between 2 arduino boards, one Arduino Nano and one Arduino Uno. For such a purpose, I am using the NRF24L01 ...
0
votes
2
answers
47
views
LCD scrambled by interference from RF plasma
My lab uses a custom-built setup to generate reactive plasma; basically metal plates in a vacuum desiccator energized by a BD-10A. I've built an arduino-based control box for it to allow more precise ...
1
vote
2
answers
64
views
strange behavior of 3x4 keypad [closed]
hi i tried to use the keypad.h library for sending a pressed key to serial port of esp32 by Arduino platform but it didn't work and it only detected rows. so i tried to write a function for running ...