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.

56 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
396 views

MPU6050: Changing Gyro Output Range Throws off Positional Reading

I am using the MPU6050 in conjunction with an Arduino and Jeff Rowberg's i2cdev library, and my project requires that the gyro rate outputs be more precise than the default setting, which is 1/16.4 of ...
3
votes
1answer
766 views

CNC stepper motors are loud and slow after decreasing the steps/mm from 250 to 5

I'm making a drawing robot and have hooked up my steppers to each axis. I'm using the grbl shield with arduino and nema 17 steppers. Initially the firmware was set at 250 steps/mm but with my setup ...
2
votes
1answer
201 views

Motor acceleration and position with PID control

I'm working on a robot with differential drive (2 drive wheels equipped with rotary encoders and 4 free spinning omni wheels for stability) and each wheel is controlled via a separate arduino nano. I ...
2
votes
1answer
73 views

Can't run DC Motor with Arduino and Adafruit Motor Shield

I'm very new with Arduino and Adafruit and I'm trying to get a DC motor running with my Adafruit Motor Shield V2.3, but it's not running. I have connected the motor to the right terminal (M3). I'm ...
2
votes
0answers
88 views

How do I use the live video stream from my arduino camera (connected by serial), to run with my OpenCV python ball tracking code?

My objective is to have the arduino camera, just to act like a webcam, and have my laptop run a ball tracking script on it. The ball tracking script already works with my laptops camera, and it can ...
2
votes
0answers
176 views

Simple inertial 2d path planning library for arduino

I have a pretty simple 2d manipulator which uses an arduino to control a payload weighing about 2kg. I want to implement a simple 2d path planner which takes as input: Current position, velocity, ...
2
votes
0answers
1k views

How to connect a servo motor and a crank shaft

I have a standard 5v I am using the horn it came with it, I mean this piece: Like the long arm in the middle. Each of its holes are 1mm diameter. Then I have a 3d printed crankshaft I did: Its ...
1
vote
0answers
15 views

Data gathering and selling

a friend of mine is building various Robots with different structures, sensors, limbs executing different tasks. He gathers data from all sensors etc regarding technical and scientific range of ...
1
vote
2answers
28 views

gear motor with encoder and Arduino Uno

I'm working on a project where using a gear motor with an encoder and an Arduino Uno. I have not done Arduino in a long time and am struggling getting it to do what I want. If you look at the wiring ...
1
vote
0answers
74 views

Controlling high torque servo motors with Raspberry Pi

I need to control 10 Standard Servo Motors (operating at 4.8-7V/300mA-1A/2.5kg-5kg torque) in my project. I'm using RPi as my processor and I was looking for a servo driver. I came across PCA9685 16-...
1
vote
2answers
74 views

Arduino and stepper motor

How arduino stepper library handles stepper motor with ULN2003? I mean, for controlling stepper motor one actually needs four pwms. It can be reduced to two by encoding, or maybe even to one by using ...
1
vote
0answers
45 views

How to find the optimal path for a line following maze robot?

First let me explain the problem. This is a maze made only out of black lines on a white surface. The robot has only a few IR sensors which can sense the position of the line. No other sensory input ...
1
vote
0answers
61 views

Using gyroscope to calculate forward kinematics

I want to measure the end-effector position of the robot that I attached. I'm using both gy-25 and gy-521 for calculation of the angle. As shown in the picture, joint 1 has 2 DOF, one for spatial ...
1
vote
1answer
206 views

Controlling YuMi robot by serial port

I'm trying to control the YuMi robot arm by a serial port. The serial port will give the information on what direction the end-effector should move and what is the velocity. What I would like to ...
1
vote
0answers
58 views

Quadcopter bldc PID control

Working on stabilizing a Quad using Arduino Due. I have slightly modified one of the examples of Jeff Rowberg's library to give yaw, pitch and roll angles (zero initialized angles). Moreover, I am ...
1
vote
0answers
203 views

Kinect V2 (Arm/Hand Reading) to G-Code

I am very new to this space and would greatly appreciate some clear guidance. I have a Raspberry Pi 3, Arduino Mega 2560+Shield, and Kinect v2 + PC USB cable adapter. I am currently building the ...
1
vote
0answers
42 views

Correct Hardware for a Small Lightweight Robotic Arm

I'm building my first robotic arm and I am new to robotics generally, but I have tried to do some research. I need to build a robotic arm that will be relatively lightweight and will need to grab ...
1
vote
0answers
490 views

Controlling a digital 360 degree servo

I have successfully controlled an analog 360 degree servo using a slide potentiometer, with the pot sending a 1000ms signal at one end of the pot and 2000 ms at the other. This gives me nice and ...
1
vote
0answers
272 views

Is it my PID that is unstable or my physical system? (Quadcopter)

I've been working on this Arduino-MPU6050 quadcopter for a while now, and it looks like it's close to being finished. I have programmed it in rate mode, so the PID's control the rotational velocity. ...
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 ...
1
vote
0answers
1k views

Orientation parameter for quadcopter with madgwick fusion algorithm

I recently decided to build a quadricopter from scratch using Arduino and now I'm faced with an orientation estimation problem. I bought a cheap 10DOF sensor with 3 axis magnetometer, 3 axis ...
1
vote
0answers
4k views

accelerate a stepper using arduino AccelStepper starting with a pre-defined speed

I've read the AccelStepper documentation on airspayce.com and it seems to be not possible to accelerate a stepper starting with a speed greater 0. Acceleration always starts from speed=0, I tried it ...
1
vote
0answers
437 views

Click button short vs long button presses Arduino

I am using the clickbutton library from Arduous and am having some problems implementing it. As it stand now the code just runs the servo clockwise and I'm not sure what I did wrong. Basically I want ...
1
vote
0answers
1k views

Control Arduino firmata with HC-05

I'm using the johnny-five library to control an Arduino Uno running StandardFirmata. I have a HC-05 bluetooth module that I want to use to wirelessly control firmata, but have yet to get it working. ...
1
vote
0answers
774 views

Firmata over nRF24

I'm having some technical problems... I'm trying to use Firmata for arduino but over nrf24, not over Serial interface. I have tested nRF24 communication and it's fine. I have also tested Firmata over ...
0
votes
0answers
16 views

Motion Tracking with Arduino Controlled Camera Slider

I have an Arduino-controlled 3-axis camera slider and I'm thinking of implementing a motion tracker that makes the camera move accordingly on the slider. How feasible is this during a 3-month period? (...
0
votes
0answers
65 views

6DOF kinematic robotic arm programm

I am trying to find a well documented library which I can use for my 6dof robotic arm (https://www.thingiverse.com/thing:1693444) But I cant find anything :( Does anyone have a python/c code for ...
0
votes
1answer
54 views

Approach for covering entire floor plan using Arduino-UNO and HC-SR04

I am working on a bot controlled by Arduino-UNO using HC-SR04. I want my bot to go around the floor, avoiding all obstacles, covering the entire floor. I tried measuring wall distance on all sides and ...
0
votes
0answers
35 views

Dead reckoning position estimation

I attached two quadrature optical encoders to the wheel of the mobile robot. I also have imu6050 attached to the breadboard to calculate the orientation of the wheel mobile robot localization. I want ...
0
votes
0answers
21 views

Simple plastic welding machine

I'm doing a little hobby project where I want to weld two thin plastic sheets together, using two heated plates with a specific pattern. I was doing this manually but felt that the result was ...
0
votes
0answers
48 views

NodeMCU ESP-12E Wont Print to Serial in Arduino IDE

So, im using a ESP-12E nothing special about it, to try and run this code i found from a custom library example. ...
0
votes
2answers
73 views

I2C Arduino Connection

I am working on a wheel mobile robot with multiple sensors which are IMU, two encoders, four ultrasonic sensors, and using two Arduino: Uno and Mega. The IMU, encoders, and ultrasonic sensors are ...
0
votes
0answers
50 views

Need help regarding electromagnetic suspension implementation

I an trying to implement an electromagnetic suspension system on model/small scale (like the bose suspension system in this video: https://youtu.be/3KPYIaks1UY). Upon doing some research on this topic,...
0
votes
0answers
206 views

two wheel mobile robot odometry

I am using an encoder to calculate the position and orientation of a mobile robot. The robot has two-wheel and each wheel is attached with an encoder, the result I am getting for my position x,y and ...
0
votes
1answer
350 views

28BYJ-48 Gear/Cog Attachment Guidance

working with hardware like arduino is completely new for me. i bought a arduino kit with "generic components"... and with it is have a stepper motor called "28byj-48" (https://images.app.goo.gl/...
0
votes
1answer
58 views

How to communicate vrep with ESP8266 via wifi to send and receive data

I'm looking for some guidance on a project that I've been doing for quite a long time; the project is about a 4WD robotic platform for obstacle avoidance with haptic feedback. If you know about the ...
0
votes
0answers
208 views

Why am I unable to tune the PID parameters on my quadcopter?

I am building a nano quadcopter in X-Configuration with coreless DC motors, 65mm 2 blade propellers and a 1S Lipo battery (860mAh, 25C). The weight of the assembly is around 70g in total. I am ...
0
votes
0answers
44 views

G-code to cartesian co-ordinate converter

Hope you all are doing well. So I built a 5 bar linkage mechanism using arduino and python.It uses 2 servos, an arduino mega, a 12v power supply,a dc-dc step down converter to power everything. The ...
0
votes
0answers
101 views

Serial command receiving failure with Arduino and Adafruit shield from C# desktop application

For a long time I use Arduino Uno controller and Adafruit Servo Shield with 6.3V 1000 uF capacitor, powered with 6V 8Amp adapter to control 8 digital servo motors ...
0
votes
1answer
124 views

Moving clock arms individually

I have as project to build something like this ( using arduino if possible ): http://clockclock.com The one modelization that came across my mind is to take 2 sticks ( as clock arms ) and command ...
0
votes
0answers
66 views

Path planning algorithm to run my floor cleaning robot/zig zag path travel

I am creating a floor cleaning robot with obstacle detection as my final year project. The basic task of the robot is to clean the floor while avoiding obstacles using an ultrasonic sensor. The ...
0
votes
1answer
64 views

Is it compulsary to learn Arduino programming in order to use Udoo Neo as an IOT device?

I'm an absolute beginner, so please bear with me. I'm currently doing a project where I need to control 2 DC motors using the Udoo board. Should I first learn to use an Arduino or is it possible to ...
0
votes
1answer
212 views

MPU6050 gyroscope giving wrong measure

i am trying to make an angle meter, using the UNO and MPU6050, following joop brokking video tutorials, when utilizing the accelerometer, the results are fine, however when i try to use gyroscope ...
0
votes
0answers
29 views

Servo malfunction

Summary I am making an automatic door for my chickens including a servo motor. In the process I actually shorted my 5V from my Arduino. The servo is powered by external batteries and only gets its ...
0
votes
1answer
123 views

A Delivery Drone

I'm building a delivery drone as my final year project. A drone that can deliver a package to offices around my small town autonomously, for my final year project. I would like to know how this drone ...
0
votes
1answer
60 views

Library for GPS

Is there any difference between "tinyGPS++.h","tinyGPS.h", and "Adafruit_GPS.h"? Can I use the same code to extract the current GPS location for all these libraries?
0
votes
0answers
17 views

Servo LIneSensor conflict

We are using a Prizm Genuino controller. We have been using a line sensor to successfully detect black lines but we seem to be getting a conflict with our servos now. The lineSensor does not seem to ...
0
votes
0answers
57 views

Tetrix Prizm and ROBOTC

I am currently trying to find if its possible to program a Tetrix Prizm motor controller with ROBOTC? Because I have an EV3 brain connected with the Prizm to a robot assembly with two motors, and I ...
0
votes
1answer
207 views

stable altitude quadcopter

I'm currently working on a project to generate a stable altitude and automatic control for a quadcopter I'm using arduino as the flight controller Ultrasonic sensor HC-SR04 MPU-6050 However my ...
0
votes
0answers
623 views

Datalogging from Arduino Mega to Dropbox

I have an Arduino Mega board and the Adafruit Ultimate GPS Logger + GPS module shield. I have these two connected together using headers and have the entire thing mounted on my drone. Currently, I ...