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
2
votes
1answer
24 views

IR Sensor to detect fast moving object

I have a somewhat specific need for a project I'm building: I am trying to create a sensor grid of 1.5m height by 2m wide that has to be able to detect objects, ~10cm in diameter, in potentially ...
1
vote
1answer
33 views

How to compensate for back drive caused by gravity

I have a 24v DC motor with a planetary gear box, Hbridge, and encoder feedback that drives an arduino robot similar to a winch that moves a weight by spooling a strap up and down. The problem I am ...
1
vote
3answers
52 views

irobot create 2: random changes in driving speed

I am trying to make the Create2 dance a specific choreography. I´m not using the sensors, I just let it drive and turn for a specific amount of time. In general it works fine. But after working with ...
1
vote
1answer
50 views

Where to buy cheap motors and mechanical parts for hobby robotics applications? [closed]

My kids want to get into robotics, where Online can I buy the motors (dc,ac,stepper...) and mechanical assembly (nuts, bolts, sheet metal, springs, rods...) for a very affordable price, you know I ...
1
vote
1answer
17 views

How to pick the right motor driver?

I have this brushed DC motor (Vex 775pro: https://motors.vex.com/vexpro-motors/775pro; motor curve data here I assume is useful but I do not exactly know how to make sense of it) My question is, how ...
0
votes
1answer
64 views

Simulator for NEMA17 (stepper motor) and A4988 (stepper motor driver) along with Arduino

I want to simulate an Arduino MEGA (or UNO) controlling a NEMA17 (stepper motor) using A4988 (stepper motor driver). I couldn't find the stepper motor and driver on TinkerCAD. Can this be done in ...
1
vote
1answer
24 views

BLDC Stuttering when attached to Arduino Nano

I am working on building a quadcopter with an Arduino nano. I am currently only working with 2 motors. However, I am experiencing an odd issue. When I try to run my motors, one of them runs fine, ...
0
votes
1answer
33 views

Arduino turning off when using bipolar stepper motor (L298N Driver)

Sorry, this might be a bit lengthy, but I really need some help (I am aware that there is a question similar to mine that has already been asked here. However, I couldn't come up with a solution to my ...
0
votes
1answer
31 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 ...
1
vote
0answers
25 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-...
0
votes
0answers
28 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
18 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
2answers
28 views

Measuring a Motor's Internal Temperature

As a final safety measure regarding some high wattage motors, I want to measure their temperature (either internal or surface) in live time so that I can automatically kill the power if it crosses a ...
0
votes
0answers
25 views

Serial communication of IMU and Encoder arduino code

Pls, I need people to help me look at where I am getting it wrong. I test this code on Arduino ide and got the result I wanted but sending it to Matlab through serial communication, I obtained a ...
0
votes
0answers
39 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
1answer
41 views

I2c arduino connection

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

Extended Kalman filtering for IMU and Encoder

I am trying to fuse IMU and encoder using extended Kalman sensor fusion technique. how do I fuse IMU pitch, roll with the orientation data I obtained from the encoder. Also, how do I use my position x ...
2
votes
0answers
54 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 ...
1
vote
1answer
34 views

How to design a controller for a robotic arm given two velocity profiles

See image for reference: Essentially I have a robotic arm with two linear actuators. Lets say, for example, I wanted the endpoint on the arm (where you see the stepper motors) to move purely in the x ...
0
votes
0answers
49 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
90 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
2answers
54 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
31 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
3answers
90 views

Arduino for mobile robot

Is it possible to drive the whole mobile differential drive robot with single arduino? Sonar sensor, servo motor, two encoders, two motors, imu, etc. I mean would it give a reasonable performance or ...
0
votes
1answer
121 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
41 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 ...
1
vote
0answers
58 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 ...
0
votes
0answers
9 views

FlexiTimer giving errors in servo motion

I am working on a quadruped bot, spiderbot and I am trying to make a creep gait using Forward kinematics however, for some reason my code stops working after the execution of the line - ...
0
votes
1answer
22 views

Can I use 3 blades instead of 2 blades with the same pitch and dia to increase the thrust of my motor?

Can I use 3 blades instead of 2 blades with the same pitch and dia to increase the thrust of my motor? Will it burn my motor? or it will damage my ESC? Some motors are having high torque but low rpm, ...
3
votes
1answer
50 views

What Battery Voltage to use?

Im currently designing a small robot that uses 2 of these 12v motors, which are manage by the L298N motor controller board, and is being controlled overall by an arduino. Now I have come across an ...
0
votes
0answers
203 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 ...
2
votes
1answer
56 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 ...
0
votes
0answers
27 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
81 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 ...
2
votes
0answers
69 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 ...
0
votes
1answer
87 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 ...
1
vote
1answer
130 views

I want to activate a remote shock collar based on messages in a discord server [closed]

So, for starters - this is a kink thing and not an animal abuse thing. I have an introductory understanding of electrical engineering (the most complex thing I've done is make an oscilloscope from an ...
0
votes
1answer
90 views

Unlabelled pins on this L293D dual DC motor driver

I've got this board from a local store. It's an L293D based dual DC motor driver. All the pins are labelled except the 5 on the bottom as shown in the picture below. Couldn't find any datasheet or ...
-1
votes
1answer
200 views

360 Continuous Rotation Servo only goes 180 degrees

I bought the following servo: D DOLITY High Speed 360 Degree Continuous Rotation Servo for Robotic(15kg/cm) Metal Gears Servo I'm trying to get it to spin in one direction continuously, but it looks ...
0
votes
0answers
52 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
50 views

why we need both vel and acc contribution for actual position?

I was trying to understand multiwii quadcopter code. I started with understanding GPS code. Here is a section of the code where I have doubt. Why actual position = pos + velocity contribution + ...
2
votes
2answers
44 views

Picking up a cheap timer

I am currently working on ATmega328 timers. But it has maximum timer of only 16 bit. Even with a prescalar of 1024 and 16MHz clock, I can only produce a time interval of about 4 seconds. Although I ...
1
vote
1answer
51 views

Sampling time selection

I'm trying to design a compensator for a pendulum type plant with arduino mega. As you can see from the picture, the system bandwidth is 9 rad/sec. I calculated the sampling time as ws=10*wb=90, so, ...
0
votes
1answer
12 views

Need Suggestions for real-time number or object detection with Arduino + MATLAB? [closed]

I'm working on a line follower robot. its a kind of waiter robot. and i am facing problems in detecting customer table. can you guys please suggest me some ideas to detect customer table. i want to ...
0
votes
3answers
48 views

How to access Raspberry Pi over wifi?

I have to use Raspberry Pi with Arduino on a mobile robot and access Raspberry Pi on a PC through WiFi. Is it possible? Please explain how to do it?
0
votes
1answer
53 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
49 views

Is Ultrasonic Self Balancing Robot Possible?

a quick question, can i make a SBR using UNO and two HC-SR04 knowing that this configuration offers a 1.36 mm resolution (i.e it increment 1.36mm) ?
0
votes
1answer
124 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
2answers
100 views

Is it possible to implement VSLAM on Arduino?

If not, then which microcontroller will be suitable?
0
votes
0answers
26 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 ...

1
2 3 4 5
10