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
4answers
43 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
23 views

Ball Balancing Robot [closed]

I'd have to work on ball balancing robot, where a ball of steel is to balance on a flat surface, that surface then attach to two servo motors that would detect the angle and balance to mean position ...
0
votes
0answers
19 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
55 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
22 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
27 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
46 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
40 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
94 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
51 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
161 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
143 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
118 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
82 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
67 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
87 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
103 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
118 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
1k 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
129 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
397 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
94 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
82 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
59 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
132 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
50 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
43 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
111 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
468 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
393 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
128 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
498 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
365 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
219 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
39 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
177 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
505 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
141 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
513 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
100 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
89 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
2answers
379 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
127 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 ...