Unanswered Questions
148 questions with no upvoted or accepted answers
3
votes
0
answers
490
views
Integration of MAX30100 and DS18B20 Thermal Probe Integration
This is for my final year project that I have been tasked with designing a patient monitoring system. However, during the last stretch of model prototyping, I am experiencing issues with my MAX30100 ...
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
3k
views
Encoder + Bounce2 Library
I am working towards debouncing my keyes rotary encoder using the Bounce2 library found here ( https://github.com/thomasfredericks/Bounce2 ).
I believe the problem lies in my code as there isn't much ...
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
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
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
207
views
ESP & Servo not communicating well
I have a mystery I was unable to solve and would greatly appreciate it if anyone could shed some light on this.
I have a servo DSS-M15S 270 which I managed to run perfectly fine with Arduino Uno (code ...
2
votes
0
answers
179
views
Simulink resets arduino
I am working on servo motors control through serial communication protocol, I am sending data from Simulink to arduino and vice versa, The problem I am getting is that once I open Simulink Servo ...
2
votes
0
answers
87
views
Servo wont work with LED code!
I'm basically trying to combine my servo code and my LED code but whenever I add my servo code the LED refuses to turn on at all.
I am super new to arduino sorry if this doesn't make any sense!
Servo ...
2
votes
1
answer
167
views
Servo starts spinning 360 degrees after a few minutes
I'm using my ESP8266 as a web server to tilt a camera with the servo Tower Pro Micro Servo 9G.
#include <Servo.h>
#include <ESP8266WiFi.h>
const char* ssid = "SSID";
const ...
2
votes
0
answers
71
views
Am I maximising my A0 readout rate with this peak-detection code?
I have a pulse going into A0 on a Nano, and want to detect the peak voltage. With low-pass filtering to slow down the input pulse I'm still reading marginally too slow.
The code overall inhibits a ...
2
votes
0
answers
658
views
servo acting weirdly
I have bought two original TowerPro MG966R 360 degree continuos rotation Hi-torq digital servos.
Expected results :
90 deg -- no rotation
90 - 0 deg -- speeding up to one side
90 - 180 deg -- ...
2
votes
0
answers
176
views
Please help with my tinkercad code. Debouncing stopwatch with lcd
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
int ssPin = 8;
int resetPin = 9;
bool cntrRunning = false;
int sec = 0;
int min = 0;
double currentMillis;
void setup()
{
...
2
votes
0
answers
438
views
SG 90 servos randomly spinning
I started one project where i need 4 servos to control 4 grabbers jaws. i use STM32F103C8T6 with arduino IDE for programming it. The motor TZT Micro Servo 9g SG 90. First, I was playing with stepper ...