Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
6 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
6 views

Using SPDT Relay for Voltage shifting in Arduino UNO and ESP8266 combination

I'm using the tinkercard.com online Arduino simulator and I have an issue. I'm trying to use the ESP8266 WiFi module with the Arduino UNO board and as the WiFi module operates on a maximum of 3.5V ...
0
votes
0answers
16 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
1answer
54 views

Esc calibration

I want to make a calibration setup for BLDC ESC in the simulink model. I'm using arduino mega (3,9,10,11 pins) and quatro 30Ax4 esc. Normally I can set it to it's max, min, and incrementally increase/...
0
votes
0answers
17 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
0answers
20 views

Using Ov7670 with Arduino Mega

How can I use arduino mega and a OV7670 module to recognize the three letters A,S and H which are on the wall with special font "Arial Black", I need the camera module to work simply as a sensor if it ...
2
votes
2answers
36 views

iRobot 600 series OI wake from sleep via BRC

I have attached an Adafruit Circuit Playground Express to my Roomba OI, and after manually waking it up I am able to successfully send opcode commands based on the Roomba OI Manual. I can even start, ...
-1
votes
1answer
28 views

How can i connect arducopter to raspberry?

This is my school project. I would like arducopter connect to raspberry but I do not know how to do it. Please help me!
0
votes
1answer
42 views

Loop time for self balancing robot

I have been working on a self balancing robot and there are quite a few parameters and one of them is loop execution time (t_loop henceforth). To my understanding, the smaller t_loop, the better it is ...
0
votes
0answers
22 views

Combining data from 9DOF IMU

My team and I are building an AUV and are planning to replace the existing 6DOF MPU-6050 sensor with a 9DOF Adafruit BNO055 sensor. However, we're unable to figure out how to combine the data from the ...
-1
votes
2answers
79 views

how to control servo motor with potentiometer in arduino

I'm working on a robotic arm which uses 3x MG995 servo motors, 3x potentiometers (10k), and 1 Arduino Uno. I uploaded the code to the Arduino but the servo won't stop. I want to control it with the ...
0
votes
1answer
26 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 ...
0
votes
3answers
176 views

Self balancing robot: PID Control Algorithm

I am working on a hobby project for self balancing robot. My robot balances quiet well, so my next step is to start moving it. I saw in some blogs that they used a cascade control algorithm as shown ...
1
vote
1answer
37 views

How to keep track of (x,y) co-ordinates of a line-following bot?

I am working on a bot that follows a certain line path based on some pre-determined algorithm. I would like to know what the (x,y) co-ordinates of my bot are as it traverses with respect to some pre-...
2
votes
1answer
216 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
0answers
53 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 ...
-1
votes
1answer
21 views

time to Initialise or start sensor after power given [closed]

I am working on a time critical project. I use an optical sensor. I would like to know the initialisation or boot time the sensor after power given which will be in µS. How could I measure that?
0
votes
2answers
323 views

Control a DIY Robot Arm Kit Educational Robotic Claw Set with ROS

I've just started robotics and ROS and I wondering if I can control a DIY Robot Arm Kit Educational Robotic Claw Set (I think its motherboard is arduino). You can find the kit here. Can I use ROS to ...
-3
votes
1answer
40 views

3 arm robotic claw

I am attempting to design a 3 prong robotic claw for a robotic arm I am working on. I am planning to use sg90 servo motors, but I can't get my current design to work. My current layout is to use one ...
3
votes
2answers
300 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 ...
0
votes
1answer
29 views

Tamiya Dual Gearbox attached to an Arduino Uno Board

I'm building a robot that uses the arduino uno microcontroller, and the tracks system is run by the tamiya 70168-Double-Gearbox-Kit. Each Tamiya motor only uses 3V which is fine but it seems the ...
2
votes
1answer
117 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 ...
1
vote
1answer
51 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
104 views

Get data without command anything from Roomba Create 2

I use Arduino Uno R3 connected to the Roomba Create 2 as in this picture All the output commands for Arduino work fine but I have a problem from reading data from Create 2 sensors: I get invalid/...
1
vote
2answers
137 views

Problem with tuning PID for motor

I am trying to tune my PID to make my motor have a consistent output: input(pidOutput) => 100rpm I used the following step to tune my PID: Set all gains to zero. Increase the P gain until ...
0
votes
1answer
48 views

Serious about robotics programming, should I start with an Arduino?

I've read that Arduino's are actually not necessarily a good option for getting into robotics/embedded systems, as there are many shortcuts and you don't learn the real way of how it all works. When I ...
1
vote
1answer
44 views

Getting error on serial monitor when using serial controlled motor

I am using this motor in a robotic arm. I wanted to move it to a position and the position was provided via an input but I am getting errors on Serial Monitor. Initially when I tried this , name of ...
1
vote
2answers
67 views

Servo motor power consumption issue

I am using servo motor model no. MG995 with Arduino. I don't know the current it consumes while powered on and while lifting a 10 kg of weight. I am currently using a 5 V, 1 A power supply with one ...
1
vote
1answer
87 views

Controlling a dc servo with serial communication

I am going to buy this motor :- https://robokits.co.in/motors/encoder-dc-servo/faulhaber-coreless-17w-encoder-motor-120rpm-pid-dc-servo-drive?zenid=im3bp6grppt2f2ofdo2r6pq5c2 The datasheet of its ...
0
votes
1answer
86 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 ...
1
vote
1answer
144 views

Control Pneumatic Cylinder Position with Potentiometer and Analog Comparator on Arduino Uno

I am building a robot arm that is actuated by a pneumatic cylinder. Extending and retracting the piston would increase and decrease the joint angle respectively. This is done using a 5/3 solenoid ...
0
votes
1answer
718 views

Which motor to use for self-balancing-bot?

I am building a self balancing bot using MPU-6050 Arduino Mea 2560 100 rpm 12V DC motors Currently I have used two 100 rpm DC motors in the bot. The pwm signal is given to the bot on the basis of ...
1
vote
3answers
92 views

Robotics RC Car hack help

I need help with a robotisation project, please. I am new to robotics and have the Maverick RC car pictured below: My project is to add Arduino and Raspberry Pi boards to control the speed and ...
0
votes
2answers
35 views

Bluetooth Controls instead of R/C Controls for simple Holonomic robot

I am new here and with little experience in robotics. I have assembled this holonomic robot: https://shop.wickeddevice.com/product/omniwheel-robot-complete-kit/ It has 3 Omni-wheels, 3 gearhead ...
0
votes
2answers
71 views

using motor controllers with Raspberry instead of Arduno. Is it just me or is everyone ok with bad sofftware support?

I bought a Roboclaw controller. Since then, have looked around for other. The software support seems to be the same (to me:sad) state. They all seem to provide Arduino code examples, however, then I ...
3
votes
1answer
151 views

Arduino RC Kids Ride-On car: wiring help needed

I am wiring up a kids ride-on toy (Powerwheels) to control both speed and steering with an Arduino. The ultimate goal is to have the Arduino take analog inputs from the driver (steering and ...
0
votes
1answer
691 views

How to use tensor flow on arduino robot

I'm in the process of learning Tensor Flow, and I really want to use it on a new robot I'm going to build. I want the robot to be able to do image recognition, and move towards an image of interest, ...
0
votes
1answer
63 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 ...
1
vote
0answers
48 views

Using hls lfcd lds in conjunction with a motor driver for obsticle avoidance

I have a hls lfcd lds that i am desperately trying to figure out how to integrate into my robot. i found an arduino library for the sensor lidar sensor library Now im trying yo figure out how to get ...
1
vote
0answers
45 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
1answer
263 views

brushless motor as a servo

I would like to use(or control) a gimbal brushless motor like a servo meaning I want to control position not rotation speed. The position must be from 0 to 180 and 0 to -180 I will use an Arduino ...
0
votes
2answers
177 views

Can the A* Algorithm be implemented on an Arduino easily?

I am not very experienced in working with C++. Working with Python is much more easier for me because of the large number of built-in mathematical functions present such as multidimensional array ...
0
votes
1answer
35 views

Probably basic question about how control a DC motor

over the past weeks I was trying to figure out how use the information from hall sensor to control a DC motor. Basically this is the motor which I'm using: https://www.servocity.com/32-rpm-hd-premium-...
0
votes
3answers
313 views

What is the best way to turn in 2WD simple differential drive line following robot?

I've used 4 sensors & a standard smart robot chassis kit with geared motors & L298 motor driver. What is the difference between turning in: One wheel stopped, one wheel moves. Both wheels ...
0
votes
1answer
160 views

Quadcopter filter and Angular rate vs angle (Arduino programming)

I wrote an Arduino program for my quadcopter that sets to power of the 4 ESC's using software. Now I need to incorporate the gyro and add a "Complementary Filter" to stabilize it. I am currently ...
1
vote
2answers
103 views

What parts do I need for my first robot? [closed]

I have never built a robot before and I am looking to get started. The problem is that I have no idea what parts I will need... below are a list of things I want the robot to do. Have a speaker Be ...
2
votes
4answers
256 views

Path of the robot

I have built a simple robot which will move from a source to destination. I want to record a 2d path which the robot has taken in real time. Something which is similar to the image I have take.(...
0
votes
1answer
46 views

How can i convert Torque input into PWM signal?

I am working on a project in which i have a robot working with stepper motors. I wish to control this robot with simulink. How can i convert the input( Analog sin input ) into the PWM that can be used ...
2
votes
2answers
1k views

A* algorithm for Arduino robot path planning

Im in the process of getting into robotics. I have decent experience with symbolic AI and am wanting to start off using symbolic AI strategies to give a wheel, arduino based robot some "intelligence". ...
1
vote
2answers
167 views

How to develop subsumption architecture using two Arduinos?

I know what subsumption architecture is, and I'm sure I should have two different hardware modules (Arduinos) taking responsibility for low level computational tasks. Now my problem is I have an two ...