The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [robotics]

use this tag for questions about robotics.

Filter by
Sorted by
Tagged with
0
votes
0answers
35 views

How do I get my robot to remember addresses and then navigate to a given one? any ideas highly appreciated [on hold]

currently taking my first robotics course and I am stuck on the theoretical design of a robot Imagine the diagram below as a warehouse, the warehouse is divided into rows of booths, where each of ...
0
votes
2answers
29 views

Follow black and white line simultaneously

I have a line following bot which uses IR sensors (LSA08, more specifically) to detect the white line on black surface and stay on track. For the project however, there is a trick in the track. At a ...
0
votes
1answer
28 views

Arduino Video Feed (Building Zumo Robot)

I'm building a Zumo robot with my daughter, but I have very limited experience and knowledge with programming and electronics. Pictures of the equipment I have are in this link and the last picture ...
0
votes
0answers
18 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
1answer
45 views

Forward kinematics of a differential drive robot

I've been braking my head over this for the past few days and can't make it work.. So, I have a small robot with a rotary encoder on each wheel and i want to track its position (in x and y) on a flat ...
0
votes
1answer
21 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 ...
-2
votes
1answer
48 views

How do you determine Lead Screw position using Absolute Encoder?

I need to control the position of a lead Screw Stepper motor using EMS22A Absolute Encoder? I've seen James Bruton do this in his video. can anyone help me? James Bruton Video: https://www.youtube....
1
vote
1answer
88 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 ...
1
vote
2answers
39 views

Trying to individually control the servos in my robot using keyboard input

#include<Servo.h> Servo ser1; Servo ser2; Servo ser3; Servo ser4; Servo ser5; int poser = 0; int val; int mot; void setup() { Serial.begin(9600); ser1.attach(4); ser2.attach(5); ...
0
votes
1answer
40 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
1answer
67 views

Built-In Digital Map for Robot Driving

So, I'm creating this project for school. It's a simple robot with Arduino MEGA 2560 and basically, I create a digital map, feed it into the Arduino program and then the robot can drive. However, I've ...
0
votes
4answers
100 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 ...
0
votes
0answers
42 views

Arduino Bluetooth to Control Joystick Issue

I am trying to control a robot, where I have one HC05 module as a master connected to an Arduino Uno with an attached joystick. This Arduino sends data signals that will run blocks of code on the ...
0
votes
1answer
100 views

Digital map in A* search algorithm in Arduino [closed]

I am building an Automated Guided Vehicle as my graduation project. I'm new to path-finding algorithms and I've only worked with small projects based on Arduino as of now. I've chosen A* search after ...
0
votes
0answers
25 views

Can 2 H-Brides 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 ...
0
votes
1answer
28 views

Arduino acts odd when disconnected from computer

I'm building an self-navigating robot with an arduino, an ultrasonic sensor, and two DC motors. I'm currently within the process of coding the robot but I've discovered I have an unusual problem; ...
0
votes
1answer
155 views

How to properly run 4 DC motors with an Arduino?

I am working on a project where I have 4 DC motors that is controlled by 2 L293D motor drivers. 2 of the motors act as the wheels of the robot, and the other 2 act as a mop. The Arduino board is ...
-1
votes
3answers
82 views

Can I use Arduino for my purpose? [closed]

I am trying to make an agv (automated guided vehicle) that will be line following, will have obstacle detection along with dragging 200 kg of weight in drums with wheels. My project is for industrial ...
0
votes
1answer
46 views

Trying to Pulse an LED a number of times outside of the main loop

I'm trying to call a class function that pulses an LED "x" number of times. I dont want to use a delay, which is making it tough. If I use a while loop, the LED just stays on. I attach an interrupt in ...
-1
votes
2answers
33 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 ...
-1
votes
1answer
231 views

Connecting Winsen ZE11-C2H4 Sensor to Arduino

How should I connect the ZE11 Ethylene Sensor to an Arduino Uno? I want to know how to attach the pins of the sensor to the Arduino and which resistor I should use. I'm very unprofessional at working ...
0
votes
2answers
77 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
1answer
350 views

How to change speed of multiple servos acting at the same time with PCA9685 module?

I'm using the PCA9685 module with its Adafruit library. In my code I have one object of the servodriver class that has 14 channels (controlling 14 servos basically). void Positioning(){ ServoDriver....
0
votes
2answers
252 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 ...
-1
votes
1answer
299 views

Can I connect Multiple Devices to One 5V and one GND pin of my Arduino Uno R3

I have made a Bluetooth Controlled Robot Car. Using L298N Motor Driver, HC-05 Bluetooth Module and Arduino R3 I was able to run it by giving one "VIN" and one "GND" to L298N, one "5V" and one "GND" to ...
0
votes
2answers
94 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
1answer
79 views

Robot car speed issue

If I'm connecting it in this way I have no issue and I can control the speed. here is a video const int speedMotorA = 9; const int speedMotorB = 3; const int motorPin1 = 4; const int motorPin2 = ...
0
votes
1answer
113 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 ...
-1
votes
1answer
149 views

My “avoid car” can't move straight [closed]

I use 2 gearbox motors with 2 wheels .. but if I try to run it, he can not walk straight. he always moves slightly to the right or to the left. How i fix it ?
0
votes
0answers
173 views

Arduino Obstacle Avoidance (Problem)

I am having a problem. I designed obstacle robot with ultrasonic sensor. But the problem i'm facing is one that no one discussed ever. I kept on searching it on internet and found no solution for it. ...
-3
votes
1answer
2k views

Line following robot problems

I am making line following robot using Arduino Uno but every time I connect everything together and upload the code and put the sensors on the line the motor does not work can anyone help me? I use ...
0
votes
0answers
166 views

Using 4 identical sensors on the I2C bus

I am using 4 Pololu VL6180X ToF sensors on the Arduino UNO for a school project but just can't seem to get it working correctly. I understand that I need to hold them in reset and change the I2C ...
0
votes
0answers
580 views

Compiling error: undefinded reference to pinMode and digitalWrite

I'm using some downloaded code to produce an obstacle-avoiding car: /* Author: Muhammed Azhar visit - robotechmaker.com */ #include <AFMotor.h> const int trigPin = 2; // define the pins of ...
0
votes
1answer
114 views

Charge 14500 LiFePO4 lithium batteries from an Arduino Nano

I've recently started tinkering with Arduino, and I'm attempting to build a little 2WD robot based on an Arduino Nano. I was thinking of powering the robot using two 14500 LiFePO4 batteries, which I ...
0
votes
3answers
127 views

Why Commenting Serial.print() gives me a different value?

I am working on with Cypress and Arduino.I am trying to transfer the data from cypress and printing it to the Serial Monitor or Arduino. but the thing is when I am using Serial.print(j) it is showing ...
1
vote
0answers
65 views

ALLBOT knee joints not moving

I am trying to write a simple script for an ALLBOT, but am encountering a very peculiar issue. With the following code, I can align all the servos: #include <Servo.h> #include "constants.h" // ...
1
vote
1answer
155 views

Arduino and MatLab with OWI Robotic Arm Edge — Issue with I2C

I'm working on a project where I want to be able to program a robotic arm in Arduino using MatLab. I've used the Arduino Uno with an Adafruit Motor Shield V2.3 and the OWI Robotic Arm Edge kit. The ...
0
votes
1answer
54 views

How to rotate 3 servo motors when 6 led lights are lit using EMG signals

I am completely new to arduino and trying to do a school project where i will be able to more 3 fingers with the help of a servo motor using EMG signals. Right now i am able to read the signals. I ...
0
votes
1answer
40 views

Using an IR sensor from another manufacturer

I am currently trying to create a line tracing robot with my Arduino Uno. I have an IR Sensor (http://support.robotis.com/en/product/auxdevice/sensor/irsensor_manual.htm) but I am not sure if I can ...
1
vote
1answer
19 views

Recording of sensor results but only retain the last 3 sets of data

I'm doing a radiation-seeking robot, which will find the source of the radiation autonomously. But in this case, my robot will spin 180 degrees to detect the nearest source of radiation and 1 set of ...
-1
votes
1answer
45 views

How can i build mouseless technology with arduino? [closed]

I want to build mouseless technology with arduino as shown in this link Can anyone tell me how to approach this with arduino? Or what can be the logic behind it?
0
votes
1answer
129 views

Master Slave Arduino-Side Multiprocessing

I have started an Arduino robotics project with an HC-05 Bluetooth sensor to send data to my PC for processing. In my design the Arduino is to serve as the slave which gathers data from sensors and ...
1
vote
1answer
624 views

Rotate Robot head according to Sound level

I'm currently working on a robot using an Arduino and I'd like to control robot's head like this: Imagine that it is on your desk and it can turn it's head through a range of 150 degrees like a human ...
2
votes
1answer
500 views

Inkjet Printer Robot Wheels [closed]

I'm newbie about Arduino. Can i build arduino robot wheels using Canon/Epson Cartridge inkjet printer? The idea is like Drawing Robot but i want to use cartridge printer instead of using a pen. ...
2
votes
0answers
145 views

Boat project - object detection [closed]

My project is to control a dual motor model boat via bluetooth hand-held device. I am using an Adafruit feather 32u4 bluefruit LE and Adafruit DC Motor + Stepper FeatherWing Add-on. I am using the ...
1
vote
1answer
2k views

Arduino digitalWrite not working

I am trying to control this OWI Robotic Arm using the Arduino's digital outputs (I am using pins 12 & 13). If I wire up the wires to ground and 5V it goes one way, if I switch the wires, it goes ...
2
votes
1answer
627 views

Powering Multiple Servos From One Battery- What is my circuit missing?

I'm working on a robotics project right now and my limited DIYer knowledge of electrical circuits is failing me. I need to power 7 Rage Standard Metal Gear Servos (RGRS104-16-6vm) and 4 RadioShack ...
3
votes
2answers
454 views

Interfacing Logitech Joystick to Arduino and interrupt a while loop

I am working on a project of a robot arm. The joints are made of servo motor. The basic function can be describe as: The robot arm (the servos) were moved manually by the Logitech joystick. The user ...
0
votes
2answers
248 views

Infinite “while” statement

I am building a robot that is both obstacle-avoiding and remote-controlled. The robot uses an infrared remote. When the front button is pressed the robot moves front, when the right button is pressed ...
2
votes
1answer
214 views

Can I run arduino on Windows Embedded Compact 2013?

I'm actually working on a robotic project for which I'm planning to use arduino to drive the wheels.For this, I want to send signals from my Onboard embedded computer (which has Windows Embedded ...