Questions tagged [arduino]

Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less robotics.

Filter by
Sorted by
Tagged with
9
votes
2answers
6k views

Line Follower optimization

I'm working on building a line follower robot and want to optimize its performance. It was suggested that I use a PID algorithm. I read a lot about PID but am confused a bit regarding following: I've ...
20
votes
4answers
20k views

How can I use the Arduino PID library to drive a robot in a straight line?

I would like to create an Arduino based robot with 2 wheels, quadrature encoders on each wheel, a H-bridge driver chip (or motor controller) and a caster. I want to use the PID library to ensure the ...
4
votes
1answer
4k views

Robot path planning

My goal is to move robot in certain points as shown in the figure. It's initial position is (x0,y0) and move along other coordinates. I am able to track robot position using a camera which is ...
13
votes
3answers
19k views

Quadcopter PID tuning

In continuation of the question I asked here: Quadcopter instability with simple takeoff in autonomous mode ...I'd like to ask a few questions about implementing a basic PID for a quadrotor ...
9
votes
3answers
15k views

Control both Velocity and Position (Linear actuator)

I am trying to control the velocity+position of a linear actuator. At this moment I am able to control the position or the velocity. But I'm trying to control both. What the control has to do: Let ...
7
votes
3answers
581 views

Including a RaspberryPi within a robot… Does this allow for a “universal API”?

I know this is a broad statement, but when you've got support for both TCP as well as a full fledged computer on board (to integrate/run an arduino), does this essentially allow for anything that ...
5
votes
4answers
2k views

Pushing Buttons Remotely over Ethernet

So I want to program something that will simply push a button, but controllable over ethernet. I'm new to robotics so I don't know where to start. What's the best way to control an actuator over a ...
4
votes
2answers
643 views

Path Planning code

I posted a question regarding robot path planning here now the question is mainly about the code and logic but still I shortly explain the initial situation. So I tried to change the code so that the ...
4
votes
5answers
7k views

Quadcopter instability with simple takeoff in autonomous mode

I'm trying to get a quad rotor to fly. The on board controller is an Ardupilot Mega 2.6, being programmed by Arduino 1.0.5. I'm trying to fly it in simple autonomous mode, no Radio controller ...
0
votes
7answers
2k views

Good Microcontrollers/SOCs for a Robotics Project [closed]

I am looking for a starting point for my project, preferably using popular systems (ones there is a lot of support for). I have an Arduino Uno, a Raspberry Pi, and a lot of willpower :) Anyone here ...
4
votes
2answers
2k views

Navigating through a Maze using path-planning (Dijkstra)

I'm working on an robot that would be able to navigate through a maze, avoid obstacles and identify some of the objects in it. I have a monochromatic bitmap of the maze, that is supposed to be used in ...
10
votes
3answers
2k views

Quadruped Learning Simulator

I'm currently building a robot with four legs (quadruped), 3 DOF (Degrees of Freedom) and Its been suggested here that I use a simulator to do the learning on a computer and then upload the algorithms ...
7
votes
5answers
5k views

Learning Algorithms for Walking Quadruped

I'm building a 4 legged robot (quadruped) with 3 Degrees of freedom per leg. The goal of my project is to make this robot able to learn how to walk. What learning algorithms will I need to implement ...
12
votes
5answers
2k views

Starting out advice on making robots and tinkering with microcontrollers [closed]

I'd like to start making robots and tinkering with microcontrollers. Where do I start, and what do I need? I'd like to make my own robots. I'm comfortable with programming (assembly and C) so I've ...
7
votes
5answers
8k views

Track a moving object

If this has already been answered, by all means please point me to it. I am in the process of building a quadcopter which I eventually plan to run autonomously by allowing it to track an object and ...
2
votes
1answer
655 views

Driving Rhino DC servo motor using Arduino through commands sending from MATLAB

I have a servo motor (http://robokits.download/documentation/RMCS220x_DCServo_Driver.pdf). I wrote a code in Arduino to rotate it in some defined angles and position. Code is given below: ...
7
votes
5answers
539 views

Arduino Motor control

I'm working on a rather low budget project, and need some way to control four or more motors using one Arduino. I've looked at motor shields a little, but I have a shield on top of it already, It does ...
3
votes
2answers
329 views

Prototyping a device with 25-100 small DC 3.0V motors, is Arduino a good fit?

I want to prototype a therapeutic device that will have a lot of tiny mobile-phone type vibration motors like this one in it, and I want to be able to activate them in any configuration I want. I'm ...
8
votes
2answers
18k views

How to tell a stepper motor's position, or detect slippage

I am creating a CNC machine on a budget, using old motors out of printers/scanners/etc. I am limited to about 650mA for the whole system, so my fear is that when the cutting bit touches the material,...
6
votes
5answers
2k views

How can I create a robot like the EZ-B using a regular Arduino?

I am interested in building a robot like the EZ-B, sold by ez-robot.com. It comes with an SDK for Visual Studio and has direct scripting in runtime through a USB, Bluetooth, Wi-Fi, IRC or HTTPS ...
4
votes
2answers
405 views

Dealing with position inaccuracy and latency in PID Loop

Background: I am new to PID, for my first PID project I am using a simple P-Loop and 300 degree linear potentiometers for position feedback. I am using the roboclaw 2x60A motor controller. The motor ...
4
votes
1answer
3k views

LIDAR solutions [closed]

I am surprised by the price range of Lidar applications considering the simplicity of the design. I try to make a simple project that requires lidar for object recognitions etc. I wouldn't like to use ...
3
votes
2answers
509 views

Two-wheeled self-balancing robot - Choosing the control system

Would an Arduino Uno have the precision-timing required (using only firmware) to control a two-wheeled inverted pendulum robot, or would it need a RTOS? Note: Thanks for both answers, they both ...
3
votes
1answer
3k views

what is the algorithm to get position (Linear displacement and linear velocity ) using IMU (Like MPU6050)?

So I have been working on a drone project for a very long time, now I decided to work on Kalman filter which is used widely nowadays like Ardupilot. I looked at the source code so basically understand ...
2
votes
1answer
497 views

How to make a directed graph?

I'm working on an robot that would be able to navigate through a maze, avoid obstacles and identify some of the objects in it. I have a monochromatic bitmap of the maze, that is supposed to be used in ...
2
votes
1answer
2k views

Length and Width of a Line Following Robot

I'm building a line following robot. I have made different chassis designs. The main prototype I'm using is a rectangle base. At one side motors are placed. On the other side of the rectangle caster ...
4
votes
2answers
876 views

Software to control an Arduino setup with a timing belt and stepper motors

I would like to know what software is available to control a timing belt with stepper motors for arduino board.Much like how its done in 3d printing. But in this case i wont be making a 3d printer....
4
votes
2answers
2k views

Arduino-Create 2: Reading Sensor Values

Over the past few weeks, I have been attempting to interface the iRobot Create 2 with an Arduino Uno. As of yet, I have been unable to read sensor values back to the Arduino. I will describe by ...
4
votes
1answer
2k views

Overheating/Jamming MG996R servo

I have recently purchased my first ever servo, a cheap unbranded Chinese MG996R servo, for £3.20 on eBay. I am using it in conjunction with a Arduino Servo shield (see below): As soon as it arrived, ...
3
votes
2answers
6k views

Can the rate of peristaltic pump's flow be accurate across changes in fluid viscosity?

I'm building an arduino controlled pump system to be able to move fluids around. I need this to be fairly accurate, but extreme precision isn't required. Since there will be a variety of liquids moved ...
2
votes
1answer
159 views

Follow up question to Robot path planning

So I was browsing through the localization section and found this question and the code which answered it. https://robotics.stackexchange.com/a/7932/21145 but I have a follow-up question to this. So ...
2
votes
1answer
1k views

Need super-basic help with motor encoder

So I have this motor: https://www.servocity.com/23-rpm-hd-premium-planetary-gear-motor-w-encoder and this motor shield for my arduino uno: https://www.pololu.com/docs/pdf/0J49/...
2
votes
2answers
1k views

Can I make an automatically-parking robot car with IR sensor?

It would be easy to understand if you imagine a robotic vacuum cleaner. (For some models) It goes back to a specific place automatically to recharge. Like this, I want to make a robot which ...
1
vote
1answer
6k views

Making a car go straight [duplicate]

I'm trying to work a car that's being controlled by an Arduino. I'm using the following chassis: New 2WD car chassis DC gear motor, wheels easy assembly and expansion and an L298N motor driver. The ...
1
vote
2answers
2k views

Is it possible for a robot to navigate through predefined coordinates?

I am a total newbie in robotics so please bare with me. I have a school project where my team has to design a robot that is capable of picking up 3 golf balls in different sizes at predefined ...
1
vote
1answer
540 views

The Arduino Turns Off After Attaching A Servo Motor

The Arduino turns off when I try to put the wire from the servo to its respective pin (9). Also, I've tried the code from the Arduino IDE, the knob code where the position of the motor depends on the ...
0
votes
1answer
92 views

What other equipment or hardwares I should buy along with raspberry pi [closed]

I am planning to build some primary level of project like home made robot, which I need to explore an image recognition and path recognition(using four wheels vehicle). So I am looking to buy a device ...