Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [robotics]

use this tag for questions about robotics.

0
votes
1answer
16 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
81 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
38 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
28 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
1answer
61 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
45 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
96 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
1answer
94 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
1answer
72 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
71 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
56 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
82 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
83 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
97 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
793 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
113 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
330 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
79 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
78 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
54 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
124 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
47 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
38 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
41 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
94 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
398 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
352 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
121 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
1k 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 ...
3
votes
1answer
438 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
305 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
204 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 ...
0
votes
0answers
38 views

Larger Photocell?

I am working with a laser tripwire for a small conveyor project. I am currently using https://www.adafruit.com/product/161 as my photoresistor. I was wondering if anyone has found or used something ...
3
votes
1answer
162 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 ...
0
votes
2answers
449 views

Make a Robotic Arm move straight not curved

I am planning on a project that includes a robotic arm controlled by Arduino. A simplified program of this would be: A robotic arm picks up an object The robotic arm then moves the object in a ...
0
votes
1answer
130 views

P I D AND GY80 10 DOF

I am running the program for GY80 10 DOF , and runs fine . Date is printed on the serial monitor How ever I have failed to use this program for my WalkerBot (walker bot is a Robotic suit that I want ...
1
vote
0answers
3k views

Run Servo when detect object on OpenCV Python

I want to connect OpenCV (Python) with arduino Uno when it detects a tennis ball. OpenCV code: import numpy as np import cv2 import serial face_cascade = cv2.CascadeClassifier('tennisballdetect.xml')...
0
votes
1answer
467 views

How to connect receiver in an Arduino with a motor shield?

I have an Adafruit motor shield v1 stacked on an Arduino Uno. I want to add a 433Mhz receiver to the Uno so I can control it wirelessly. However as you know the motor shield completely covers the ...
1
vote
0answers
96 views

What kind of control method in my code will allow me to control multiple servos with phase shifts

I am building a quadruped robot, and I need to keep all four legs moving continuously and out of phase with respect to each other to produce a smooth gait and to prevent falling over. I wish to ...
-2
votes
1answer
1k views

L298n - both outputs to one motor [closed]

how do I wire and drive 1 motor with the 2 outputs of the L298n motor driver module? (parallel the outputs)
0
votes
2answers
87 views

What is this green board?

Hi I'm new to arduino and robotics itself. I have no idea what this giant green board is in the middle of the robot. I really need help!
0
votes
0answers
49 views

Robot car follow line and measuring capacitor

Hi, how are you guys my project is robot car follow the line to a center station to measure capacitor then will put its value in the variable. after that, we have 3 End station one of them will ...
0
votes
2answers
350 views

Arduino Uno-Spider Robot Plan

I have been doing a lot of researching ever since Christmas when I got the Arduino Uno. Anyways, I want to build a 4 leg spider robot using 2 Arduino's. I had a lot of problems on coming up with how ...
1
vote
2answers
126 views

Using same pins number in different arduino?

I'm new beginner in programming arduino, and I want ask a question about arduino code, this is the problem " i used two arduino to build a robot, but i don't know how to set the code that for two ...
0
votes
2answers
715 views

Servo/Motor for barrier gate [closed]

I am working on a small project that will need to check for proper UPC's then if validated, lift a barrier gate to move along cardboard boxes. The Arduino comes in with the gate lifting. I have this ...
2
votes
1answer
4k views

LiPo batteries with L298N controller

I built an avoidance detector robot from this kit. When I drove the robot, the two motors performed unequally, so I tested replacing the four x 1.5 AA battery pack with a 9 volts battery. It did the ...
-1
votes
2answers
256 views

The best signal source for a path-finding robot

Newbe question - I'm thinking of creating a simple robot that heads to a signal source. Ie, when you press a button on some remote control - the robot will head towards its source. What would be the ...
1
vote
1answer
2k views

MPU6050 Measure distance traveled or position

How can I use MPU-6050 with an arduino to measure the distance the robot traveled from it's starting point or just it's current position on the map? The Robot should be moving in a map same as a 2D ...
0
votes
2answers
225 views

What power supply should I use?

I am building a robotic arm using 8 servo motors. I am wondering about what voltage my external power will need to be to control all of them at 6v. I am wanting to use a rechargeable battery.