Questions tagged [robotics]
use this tag for questions about robotics.
140 questions
2
votes
1
answer
533
views
communicating esp 32 with arduino uno
I made a spider robot using arduino and from esp. I made an audio output device which is linked to python program which writes a particular data (when we speak a command) to esp board and accordingly ...
1
vote
0
answers
27
views
IoT Explorer Kit registration process
how do I reinitialize an Arduino kit registration number for a new student using a kit previously registered? We recently ordered 50 of the IoT Explorer Kits and they will be used in a robotics class ...
0
votes
1
answer
842
views
How often does a mpu6050 gyro sonsor need calibration?
I want to use it in my real car for daily use to measure yaw angle when needed.
Is is ok to only calibrate it once at first then use it every day when driving without any problem? if not, how often ...
7
votes
5
answers
5k
views
What is the best technique to design a 20 push button circuit
I will be controlling a robot with more than 10 motors which means I'll need 2 buttons each to control moving forward and backward. My controller is an Arduino mega. Is 1 pin = 1 button the best ...
0
votes
3
answers
3k
views
Smooth Servo movement for robotic arm: An ongoing answer and soluton
This is not and will not be a duplicate.
This is a thread meant to share a solid soliton I figured out with the rest of the community and update it as I optimize it, ad-hoc.
So I had visited ...
1
vote
0
answers
558
views
Line Following Robot using PID control not working
I'm currently making a line following robot using PID control. My robot uses an Arduino Uno board, a L298N motor, 1 9V battery, 2 motors, 5 TCRT 5000 infrared light sensors to detect a black line on a ...
2
votes
2
answers
2k
views
Most precise way to measure linear distance travelled by a wheel
Suppose a bot with wheels is traveling in a a straight line, and we want to measure this linear distance traversed by it as accurately as possible.
One of the ways is to use an optical encoder to ...
-1
votes
1
answer
374
views
Problem with L293D controlled motors using IR pilot remote
I have a problem with my line follower:
My robot has 4 wheels with DC motors connected to L293D shield (Arduino Uno).
The robot is a line follower controlled by IR pilot with an IR receiver, it has 4 ...
0
votes
1
answer
533
views
Deriving the exact relationship between PWM and steering
I am using a L298n driver to make a basic RC car. I realise that PWM is used to control the speed of the motors and that the car would turn when the wheels on one side of the car have a rpm different ...
1
vote
3
answers
341
views
L239D motor driver not able to drive motors
I am making a line follower robot. The issue is trying to make the motors run.
The L239D module has 4 input pins (to control two motors), 4 output pins (to drive motors), and 6 power pins (5V, 5V, GND,...
1
vote
1
answer
435
views
4WD Robot keeps freezing
I have been working on a 4WD robot for a while now. The parts I'm using are Arduino v4 shield, l298N driver motor, Hc 05 ultrasonic sensor, DHT 11, mq2, Bluetooth module, servo motor, ir transmitter ...
1
vote
0
answers
448
views
Help Needed! How do I attach a color sensor to a 2WD robot and use it to control its movement?
I'm relatively new to the world of Arduino, so don't be frustrated if I ask questions that could be silly. This project has a deadline, so any input is appreciated.
THE PROJECT:
I am planning to ...
1
vote
1
answer
333
views
How do I code delay inside a ISR?
I have built a basic obstacle avoidance robot. When the sensor senses an obstacle it gives a RISING interrupt to pin 2. At this moment I want the robot to come back for 2 seconds and turn right for 2 ...
0
votes
0
answers
72
views
A small problem that I cannot detect, My steppers are not moving for some reason ...?
I'm working on a similar project that can be found in this link
https://howtomechatronics.com/projects/arduino-mecanum-wheels-robot/
It's the same build.
To control the 4 steppers (via the NRF24L01), ...
0
votes
1
answer
324
views
Remote Controlled Self-Balancing Robot - how to mix control input with IMU input?
I'm building a two-wheeled, self-balancing, remote-controlled robot. I'm familiar enough with the IMU and PID to get it working to just stand up but I need to drive it via remote control.
I've got no ...
1
vote
1
answer
1k
views
Arduino communication protocol with python - beyond pyserial and Arduino example
TL;DR does someone know of a advance and reliable/redudent USB protocol for communicating between a raspberry pi and Arduino due (native port)
I am trying to learn how to build a little robot which I ...
0
votes
1
answer
507
views
Python Arduino Serial Communication Speed
Background : Im controlling serial manipulator using Arduino Uno with Servo Shield. Servo work at 20 ms, so i would like to send command atleast every 2.5ms. Command sent from PC.
I send 8 bytes of ...
0
votes
4
answers
1k
views
How can I hook up multiple MMA8451 accelerometers, (I2C protocol) using one Arduino Mega?
How can I hook up four (adafruit) MMA8451 accelerometers (using I2C protocol) using one Arduino Mega? What I'm confused about is I only have one SDA and SCL on the Arduino Mega obviously. So how can I ...
2
votes
1
answer
121
views
Can 2 H-Bridges be controlled by one Arduino?
The three motors are from windshield wipers, with one of the brushes disconnected in each. The controllers are BTS7960 43A modules
One bridge for two drive motors (speed and direction), and the second ...
-1
votes
1
answer
1k
views
How to properly run four DC motors with an Arduino?
I am working on a project where I have four DC motors that are controlled by two L293D motor drivers. Two of the motors act as the wheels of the robot, and the other two act as a mop.
The Arduino ...
-1
votes
2
answers
160
views
Error compiling a sketch to class/library conversion
I'm trying to take a sketch and turn it into a class for a library I'm making, but I'm getting compile issues.
This is not a duplicate as suggested. as i explain in the comment and my answer. Thank ...
0
votes
2
answers
187
views
Out of two logically similar sketches, one works while the other does not
I am currently making a project involving a self balancing bot & found this code online:
#include "PID_v1.h"
#include "LMotorController.h"
#include "I2Cdev.h"
#include "...
0
votes
3
answers
1k
views
Determining direction from IMU accelerometer data
I am learning how to integrate sensors on arduinos and read their data.
My ultimate purpose is to place the IMU on a robot and use it in determining the robots location in an environment.
Using the ...
0
votes
2
answers
222
views
Trying to connect FT sensor to Arduino Mega using RX TX
I am trying to interface this sensor, https://www.robotous.com/forcetorquesensor (RTF60-HA01-C), with the Arduino Mega. The sensor has an input voltage of 5Vs and communicates using CAN/RS232/RS422. I ...
0
votes
1
answer
298
views
Arduino or Raspberry? Self Balancing robot
Here's another one, as you probably have seen before.
I'm finishing college, and I'd like, base of my subscription to be a self balancing robot that can send data to a screen. What kind of data? I am ...