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
0 answers
21 views

TORQUE OF ARDUINO CAR

when an obstacle is in front, the Arduino car should turn left or right. But it is not turning properly. So, what can be the problem?
user avatar
1 vote
0 answers
19 views

How to Contol the RPM of a Micro Metal Gearmotor with Encoders (Pololu) using PID?

I use the PID algorithm to control the RPM of a micro Gearmotor. My motor and encoder specifications are given below. Motor: https://www.pololu.com/product/2378 - 6V 29.86:1 gear ratio - please ...
user avatar
0 votes
1 answer
45 views

How does a biped humanoid robot like OttoDIY move?

How does a biped humanoid robot like OttoDIY moves? What is the sequence of foot & legs servos? Can make it move forward, by lifting one foot up and turning leg, and then repeating the same steps ...
user avatar
0 votes
0 answers
16 views

Sample code for L298N H bridge Arduino Motor Driver not working

I am quite new to robotics, arduinos, motors and that sort of thing so there is a very strong chance I am missing something very obvious. However, I have looked up multiple tutorials online, none ...
user avatar
  • 1
0 votes
2 answers
72 views

How to add precise amounts of ingredients in my beverage making robot? [closed]

I am currently in the process of making a robot that can make a cup of tea, when It receives the command to do so. The general idea is as follows: checks if saucepan is placed checks if milk is ...
user avatar
0 votes
1 answer
21 views

Can an Xbee transceiver module be used for controlling a stable Quadcopter?

I would like to use an Arduino Nano IOT as a flight controller and connect this to a Xbee transceiver module for control. If the Xbee module was set up so that for each packet transmission it included ...
user avatar
0 votes
0 answers
66 views

Facing issues with rosserial and arduino

I was trying the tutorials on http://wiki.ros.org/rosserial_arduino/Tutorials and everything seems to be working fine the rosrun rosserial_python serial_node.py /dev/ttyACM0 runs without any problem. ...
user avatar
0 votes
2 answers
93 views

Aligning the coordinate systems of accelerometer and vehicle

I have an accelerometer located in an arbitrary position on a car. As the accelerometer already has a coordinate system by default, I want to find some method that allows transforming the data I have ...
user avatar
0 votes
2 answers
27 views

Strategies for tuning with low sample rate

I’m designing an arduino robot that’s objective is to find and drive towards a light using a photo resistor mounted on a servo. I want to write my program with PID control to sweep the photo-resistor ...
user avatar
1 vote
1 answer
59 views

What is the noise in this PWM signal?

I'm in the process of calibrating servos while constructing a new hobbyist robot arm. When testing the base rotation servo I noticed some unexpected noise in the PWM signal while the servo is in ...
user avatar
  • 319
0 votes
1 answer
73 views

How do I identify the different wires on RPLidar?

I bought an RPLidar A1M8-R6 from the following site: https://www.dfrobot.com/product-1125.html?tracking=585c2ddea9c83 I am trying to connect RPLidar to Arduino so I could get information on the ...
user avatar
  • 1
0 votes
0 answers
31 views

Auto restart battery shield

It is my first time building a robot or doing a more advanced Arduino/electronics project! For now, I want to move forward with the parts I've bought. In the future I may buy appropriately sized parts....
user avatar
0 votes
1 answer
66 views

How the motor commands are obtained from gcodes?

I have started my research with scara and cartesian robots for drawing robot. The gcodes are converted and given to robot. There are firmware like grbl, marlin, etc for this process. But I couldn't ...
user avatar
0 votes
1 answer
64 views

Bug in code of Self-Balancing Bot

I am making a Self balancing bot as my project in which I am using MPU6050, Arduino Uno, motor driver l298n and DC motors. I am making this using data from accelerometer and gyroscope and combining ...
user avatar
0 votes
1 answer
82 views

Connect LiPo battery to Arduino Motor Driver Shield for RC Boat

Thanks for taking the time reading this question! It is greatly appreciated. What are we doing We (two complete noobs) are building a remote controlled boat from scratch using Arduino compatible ...
user avatar
3 votes
1 answer
52 views

How to attach plate to stepper motor?

Total noob here (never touched Arduino before today), & have pretty much no hands-on technical experience (although with lack of experience, I make up in enthusiasm to learn!) Question: How do you ...
user avatar
  • 31
0 votes
1 answer
30 views

Making a human set path following robot

I want to make a robot that uses The Arduino IDE controlled by an esp32 that uses a KY-033 tracking module, that a person presses a button on the controller with an esp32 there will be a button that ...
user avatar
3 votes
1 answer
250 views

When reading serial data between Arduino and a node, it hangs. How can I properly send and read data?

I'm using ROS2 foxy with no libraries installed. It runs on an Ubuntu 21.04 x64 machine with kernel 5.8.0-59-generic. I created a project with the goal of controlling an Arduino using python serial in ...
user avatar
1 vote
1 answer
75 views

Does anyone believe a high voltage battery say 100kV is possible? If so do you have a schematic or know a seller? [closed]

In the interest of soft robotics I need a high power programmable battery power supply. I also found this. https://aip.scitation.org/doi/pdf/10.1063/1.2362721
user avatar
0 votes
0 answers
21 views

What autopilot options are available for nano helicopters?

I am new to the world of drones and UAVs. While there are a ton of resources available online for quad-copters and multi-copters in general, I am really struggling with finding resources on ...
user avatar
  • 101
0 votes
1 answer
68 views

Rotate a certain angle using PID and mpu6050

Currently I'm working with a 4 wheel robot and I'm trying to rotate a certain amount of angle. I used PID_V1 library to rotate this. But when I upload and test the code Robot rotate continously. ...
user avatar
0 votes
1 answer
91 views

How to control ESC from Arduino?

I have an Arduino Uno, 9 volt battery, ESC and a brushless outrunner motor. When connecting the motor straight to the battery the motor rotates once which is good but when using my Arduino code to ...
user avatar
0 votes
2 answers
54 views

Best way to power Raspberry Pi 4 8GB + Arduino Uno Robot?

I am building a robot that uses an arduino to drive 4 mecanum wheels, which will be controlled by a Raspberry pi 4 8GB with the Lobe Machine Learning Hat via a serial connection. I'm fine with having ...
user avatar
1 vote
0 answers
26 views

Data gathering and selling [closed]

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 ...
user avatar
2 votes
5 answers
222 views

Recommended building materials for building a robot WITHOUT 3D printer?

I have a ton of ideas for building a robot using an arduino and raspberry pi. I have an assembled the wheels and chassis, and now I am left with an ugly raspberry pi and arduino + wires. It works, but ...
user avatar
0 votes
3 answers
142 views

Servos jittering problem

So I started building this 3D printed Bluetooth robotic arm that can be controlled via MIT app inventor from HowToMechatronics.com. After connecting all the servos and running the code, the servos ...
user avatar
  • 1
0 votes
0 answers
30 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? (...
user avatar
0 votes
1 answer
199 views

6DOF Kinematics moveo

I asked on stackoverflow for the DH-Parameter for my robotic arm (moveo bcn3d). I also copied the arduino code of Skyentific (YouTuber). Modified it to match my settings but i still does not work. Can ...
user avatar
  • 3
1 vote
1 answer
55 views

What devices can I use as a flight controller in a Quadcopter project? [closed]

I know that the flight controller is the heart of the quadcopter and a device which has to be considered greatly when building a quadcopter project. In regards to this quadcopter project that I'm ...
user avatar
2 votes
2 answers
92 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 ...
user avatar
  • 21
2 votes
1 answer
231 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 ...
user avatar
1 vote
1 answer
40 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 ...
user avatar
1 vote
3 answers
126 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 ...
user avatar
1 vote
1 answer
69 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 ...
user avatar
  • 111
1 vote
1 answer
54 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 ...
user avatar
0 votes
1 answer
746 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 ...
user avatar
1 vote
1 answer
39 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, ...
user avatar
0 votes
1 answer
195 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 ...
user avatar
0 votes
1 answer
76 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 ...
user avatar
1 vote
0 answers
131 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-...
user avatar
0 votes
0 answers
29 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 ...
user avatar
0 votes
2 answers
33 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 ...
user avatar
  • 1
0 votes
0 answers
97 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. ...
user avatar
0 votes
2 answers
102 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 ...
user avatar
0 votes
1 answer
786 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 ...
user avatar
2 votes
1 answer
764 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 ...
user avatar
  • 21
1 vote
1 answer
75 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 ...
user avatar
0 votes
0 answers
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,...
user avatar
0 votes
0 answers
283 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 ...
user avatar
2 votes
2 answers
111 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 ...
user avatar
  • 139

1
2 3 4 5
10