Unanswered Questions
345 questions with no upvoted or accepted answers
4
votes
0
answers
76
views
Can I use regular pins (Example: D2, A3, etc...) as serial (RX, TX)?
Python/Arduino Beginner here...
I have a DFplayer I am trying to hook to my Arduino and I want to hook it up through the regular pins instead of the RX and TX pins, but I've not been able to find ...
3
votes
0
answers
78
views
nano 33 BLE problems with reading RC signal
I'm using an Arduino Nano 33 BLE and a L293D motor driver to control a three-wheeled RC robot. The sketch I'm using worked fine with my Uno Rev3, but I've moved to the Nano for size/weight reasons, ...
3
votes
0
answers
608
views
PCA9685 - Hardware problem with diode?
I'm working on a project, where I need to run several high-torque servos. For that I bought come of these PCA9685 boards.
I hooked everything up with my arduino and connected an external 5V - max 3A ...
3
votes
0
answers
105
views
My port is grayed out?
Hello I have a question on why my port is grayed out when I go to upload?
I’ve watched so many YouTube videos on what’s the problem and have been trying to do everything but just nothing seems to work!...
3
votes
0
answers
713
views
Getting atsam3x8e (Arduino Due) to work
I decided to make a pcb based on the atsam3x8e (microcontroller used in Arduino Due). For the design I copied most of the layout that I found on this site and looked at the official Arduino Due ...
3
votes
0
answers
601
views
Do software SPI read from a register using shiftin()
How to read from a register using software SPI, presumably shiftin()?
It works using the builtin SPI library + hardware SPI.
I seem to be able to write but not read using manual shiftin()/shiftout()...
3
votes
0
answers
242
views
Why doesn't PWM work on arduino in this code?
I am trying to control a dc motor speed with PWM. When I test it with simple program like spin in one direction with set PWM value it works. If PWM>70 the motor will start spinning and max is 255.
...
3
votes
0
answers
397
views
How do I install a library in Arduino Yun cross compile environment?
A few days ago, I've asked this question.
Thanks to the replies I've received, I've set up a cross compile environment for Yun by following this guide.
I've created a virtual machine with virtualbox ...
3
votes
0
answers
331
views
Help to understand multiple PWM working together
I'm very new to arduino related stuff so this question might be really easy to answer.
I don't understand how multiple PWM outputs are supposed to work. Look at the pic.
In the first(1) case we are ...
3
votes
0
answers
767
views
tone() and PWM limits
I'm developing an active sonar using Costas arrays and Golomb rulers. I need the Arduino to switch between frequencies very quickly to shorten the length of the ping, both to improve processing and to ...
3
votes
1
answer
435
views
Multiple servos noise
I'm building an application that uses 20 servo motors, and i control then with an Arduino Mega. The servos are having some instability, to the point where they make small random swings. Im powering ...
2
votes
1
answer
83
views
Code for a load cycler seems to be stuck
I am trying to make a battery load cycler to charge and discharge a battery repeatedly for a certain amount of cycles and here is my code:
bool in_charge_mode;
int cycles = 0;
float cutoffvoltage = 2....
2
votes
0
answers
80
views
My code got my Nano ESP32 into a <500ms reboot loop
I have done a lot of reading and learning after previous help here and it has been great.
I have uploaded and tried many iterations of my code which all worked (Assuming my code was actually good) and ...
2
votes
0
answers
52
views
I am trying to control 4 servos with a joystick, but after a few seconds, they start spinning and don't stop until the power source is cut
Here's my code. I don't know if the issue is the power source though. I only have access to my computer for a power source.
#include <Servo.h>
Servo servo1;
Servo servo2;
Servo servo3;
Servo ...
2
votes
0
answers
284
views
Arduino NANO RF reciever and Digispark Attiny 85 transmitter issues
I am trying to send RF signal from Digispark Attiny 85 (this one) and receive the signal with Arduino NANO V3.0 ATmega328 (this one). Transmitter and receiver are STX882 and SRX882 (these). Library ...