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
0
votes
1answer
811 views

Create 2 Reading Sensor Values

I am trying to solve some Create 2 sensor reading problem that I am having when I came across @NBCKLY's posts (Part 1 and Part 2) that I believe are exactly what I am looking for. I copied his code ...
1
vote
2answers
57 views

Switch activated by a microcontroller

I'm working on a project where I'm using a voltage that is higher than what most microcontrollers can handle. I'm looking for a kind of switch that will connect a power source to an electromagnet and ...
1
vote
2answers
1k views

Covering Up Ultrasonic Sensor

I'm using a basic trig/echo Ultrasonic Sensor with an Arduino Uno. I get accurate readings until I cover the sensor at which point I receive very large numbers. Why is this? Program ...
0
votes
1answer
391 views

iCreate 2 with Arduino (Just getting going)

I am new to the iRobot Create 2 but I do know a thing or two about the Arduino (don't assume too much though). However, in this case, I am beyond stumped over what I am sure is something simple but is ...
0
votes
1answer
134 views

Bldc motors erratic behavior with Arduino program

I've been making my own quadcopter flight controller using Arduino Mega. This is the sample code I wrote in order to test the esc timers and motors: ...
0
votes
4answers
1k views

Detect physical touch/hit

I'm making a target to an outdoor robot competition. The target should detect if some of the robot got touched or got an hit automatically. and the target can get hit 360 degree. I'm searching ...
5
votes
1answer
7k views

Visualizing raw accelerometer and gyro data

I have an arduino wired to an MPU6050 breakout board. The arduino continuously collects accelerometer and gyroscope data from the MPU6050 and calculates angle and velocity. Simply plotting the ...
1
vote
3answers
657 views

Ultrasonic Sensor through a column

I am trying to measure the height of water inside a column. The column is 50mm in dia and 304mm long. I have mounted the sensor just above the column. To measure the accuracy of the sensor, I filled ...
0
votes
1answer
46 views

How can I charge a 11,1 volt LiPo akku?

I didn't found any modules to charge my 11,1 volt LiPo akku, only for 3,7 volt with 5 volt power supply. How can I handle that with a micro-USB connector on my robotplatform?
1
vote
3answers
2k views

Arduino or Raspberry Pi?

I want to make a object tracking quadcopter for a project. While I'm using the Arduino Mega 2560 as the flight controller, I was thinking of using an additional offboard microcontroller/board for ...
-1
votes
1answer
137 views

First build - Quadcopter , need help deciding hardware and connections [closed]

I am building my first drone, Objective: - Need to control drone by wifi on phone or laptop using ground station software of Openpilot I have a Arduino 2560 , cc3d Openpilot flight controller , ...
2
votes
3answers
4k views

Should I use gyro or encoders for robot moving in straight line?

I've recently succeeded in building my first collision-avoidance Arduino robot with 2 DC motors, and it works pretty well. However, it doesn't move in a straight line yet, when it should. I'm now ...
0
votes
3answers
946 views

Build a simple robot to learn ROS [closed]

I am a beginner to ROS and I wanted to know if I could build a simple robot to learn ROS. I currently have the following components available: Arduino Uno Simple two wheeled robot chassis Some ...
0
votes
3answers
5k views

How to go around in a circle?

I have the mBot robot and I'm trying to get it to go to the other side of a cylindral obstacle. Something like this: What I know: Radius of the cylinder - r Robot's distance from the cylinder ...
0
votes
2answers
102 views

Why wouldn't my robot stop?

I am working on an Arduino based robot which engages a braking mechanism detecting anything in front. I was using an ultrasonic sensor, to detect obstacles which worked well while the robot was on my ...
6
votes
6answers
14k views

How to check for a sharp angle with a line follower?

I have the mBot robot and I want to program it to follow the line. So far it can pass any kind of line that is >90°. I want it to be able to pass 90°-ish angles as well. Like this one: The problem ...
0
votes
1answer
234 views

Is my servo fried?

I got a new servo a few days back (RC Servo, Futaba FP-S148). I first tested it out with the Sweep sketch on Arduino, powering it with the Arduino 5v and GND pins only. It was working, just fine. ...
0
votes
1answer
844 views

Designing Ackerman's Steering Principle for an autonomous robot [closed]

I am working on a high speed autonomous robot (about 6-7 m/s), which does obstacle detection as well as senses traffic lights (I have used Raspberry Pi 3 and Arduino Uno). For the steering ...
0
votes
1answer
79 views

Suitable uC for atonomous robot

I am going to build an autonomous robot with Kalman-filter for localization integrated from Lidar, encoder, IMU and GPS. I will also add obstacle avoidance while moving to the required position. Is ...
0
votes
1answer
40 views

What rating Li-Po battery should I get for this configuration?

I will have this configuration: A2212 Brushless Motor 1000KV - 4 each ECS - 30A Electronic Speed Control (ESC) - 4 each Propeller - 1045 Propeller CW & CCW Pair 10 inch * 4.5 pitch Arduino Mega ...
1
vote
2answers
4k views

How do we write a STOP to a continuous Servo?

I'm using processing to send strings to Arduino, using functions like else { int u=90; port.write(u+"z"); } on the processing side and in the Arduino ...
0
votes
3answers
98 views

Best sensor to determine “up” versus “down”

I want to start designing an Arduino project and have telemetry readings that indicate tilt or angle of placement. Would an accelerometer be the best for determining tilt? Are there good tutorials?
0
votes
1answer
2k views

Counting number of people entering a room [duplicate]

We are making a project in which we want to count the no. of people entering and leaving a room with one single entrance. We are using IR sensors and detectors for this ,along with an Aurdino. We have ...
2
votes
4answers
3k views

Why does the ESC stop?

I've built a quadcopter with four brushless motors and ESCs (30A). I'm using an Arduino to control them. I haven't written any complex code; just enough to get them running. Everything is fine until I ...
2
votes
1answer
87 views

Create 2 light red/green

I am working on a project with the Create 2. Just recently I have run into a problem with the battery state. The Create 2 has been charging all night so its clean light shows green. However, when I ...
3
votes
1answer
288 views

Pure Arduino Quadcopter

I recently bought a set of escs, brushless outrunner motors and propellers. I'm trying to perform a calibration on the esc, but I can't find how I can do that without using components other than the ...
2
votes
2answers
2k views

How to interrupt on a data ready trigger when communications to the sensor are interrupt driven?

Background: I'm using the L3GD20H MEMS gyroscope with an Arduino through a library (Pololu L3G) that in turn relies on interrupt-driven I2C (Wire.h); I'd like to be able to handle each new reading ...
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 ...
2
votes
0answers
39 views

Freewheel diode / capacitor with this board? [closed]

With DC motors, it is common to put a freewheel diode and/or a capacitor in order to protect the equipment as the motor can induce current into the system. I plan to use this board to control a 24V ...
0
votes
1answer
60 views

How to make a Raspberry Pi? [closed]

I'm currently a robotics hobbyist and am full fledged in Arduino and I have used the Raspberry Pi to make some robots and PCs. Currently, I am thinking of making my own Raspberry Pi, from scratch, on ...
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....
5
votes
2answers
2k views

Wheel encoder triggers interrupt too many times

I am building a simple robot with two driving wheel. I want to control the wheel rotation using a wheel encoder like this one. Here is a code I have on Arduino to try to understand the problem I'm ...
0
votes
2answers
994 views

Arduino project: Turning with a fixed front wheel axis

I am working on an Arduino robot project. This project requires a base with 4 wheels where the back wheels are attached to two DC motors that can be controlled independently of each other. I am ...
1
vote
0answers
93 views

Panasonic MSMO22F2G (stepper motor hook-up)

I have a Panasonic MSMO22F2G Servo Motor that I'm using as a stepper motor. The motor has 4 wires coming out of a port farther to the front, and 11 wires coming out of a port towards the rear of the ...
3
votes
3answers
1k views

How to have a 'Auto Go Home' feature, like the DJI Phantom 3, on a project built quadcopter?

What should a quadcopter have, or have access to, in order to make this 'return home' feature work? Is GPS enough? What is the approach needed to make this happen? I used a Arduino Mega 2560 with IMU ...
4
votes
3answers
5k views

What exactly are PPM controlled ESCs? Are most ESCs available to build quadcopters PPM Controlled?

First, I don't see any manufacturer or online store telling whether an ESC is PPM controlled or not. Second, I have also been Googling and asking comments in all about ESCs youtube videos for long, ...
2
votes
1answer
6k views

How to perform odometry on an arduino for a differential wheeled robot?

I am using a differential wheel robot for my project. I need to know the current coordinates of the robot with respect to it's initial position taken as the origin. I m doing the computation on an ...
0
votes
1answer
227 views

Robotic Manipulator [closed]

I have started working on robotic manipulators and got into a project which deals with control of robotic manipulator using artificial neural networks (solution of inverse kinematics and trajectory ...
-1
votes
2answers
1k views

Does C have advantages over C++ in robotics? [closed]

I want to build robots, and right now I aim to work with Arduino boards I know that they are compatible with c and c++, so was wondering which language is better for robotics in general? I know how ...
0
votes
1answer
84 views

Arduino Power Adapters

I'm shopping for my first Arduino with a specific goal in mind. I need to attach 3 standard servo motors, an ArduCam Mini 2MP camera, and several LEDs. I'm trying to figure out power requirements. I ...
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 ...
5
votes
5answers
3k views

Electronic circuit for heating nylon fishing line muscle

I'm trying to make artificial muscles using nylon fishing lines (see http://io9.com/scientists-just-created-some-of-the-most-powerful-muscl-1526957560 and http://writerofminds.blogspot.com.ar/2014/03/...
-1
votes
1answer
41 views

What is the easiest yet precise method one can make a track and a train [closed]

I would like to put a train on a track and control its movement with high precision left and right using a wireless controller. What is the best way to do it?
0
votes
2answers
240 views

What are hardware components to build a modular robot which consists of several 5x5x5cm modules? [closed]

I am computer science student and I have no knowledge on robotics. In my project, I am trying to find controllers for modular robots to make them do specific tasks using evolutionary techniques. For ...
0
votes
3answers
4k views
0
votes
1answer
2k views

can we detects animals through PIR(passive infrared sensors)

as i dont know that what kind of radiation animals emit. as humans emit IR radiations so PIR sensors help to identify humans. pls suggest me if someone have knowledge about sensors which detects ...
0
votes
2answers
847 views

Very low output voltage at the output of L298n?

I am using arduino and L298n motor driving IC to drive 4 12V dc motors (150rpm). Also I am using 11.1V LiPo battery (3cell, 3300 mAh, 20C).I have connected two PWM pins of L298n to digital HIGH from ...
4
votes
2answers
747 views

What is the required theory behind building a robotic arm?

I am currently planning on building a robotic arm. The arm's specs are as follows: 3 'arms' with two servos each (to move the next arm) single servo clamp mounted on revolving turntable turntable ...
2
votes
1answer
4k views

How to connect an Arduino Uno to an Android phone via USB cable?

Is it possible to set up communication between an Arduino Uno and an Android phone using a wire that directly connects the Android phone and the Arduino?
0
votes
2answers
141 views

For a quadcopter: Premade flight controller or custom made? [closed]

I'm interested in building a quadcopter. The result I'd like to obtain is an autonomous drone. I'd be interested in a GPS to allow it to remain stationary in the air, and also to fly through ...

1
3 4
5
6 7
10