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
1 vote
1 answer
21 views

Arduino IDE micro-ros two subscriber in Arduino due issue

I’m recently started working with micro-ros and also tested the publisher and subscriber with Arduino Due, but I want to add multi subscriber in my Arduino code (at-least two). but it’s not working ...
Sourabh Tiwari's user avatar
0 votes
0 answers
16 views

Nordic nrf24l01 and ROS not working together on the same Arduino board?

i have a problem. I am using two Nordic nRF24l01 modules with two Arduinos,one to transmitt some data and second one to receive that data.I want to publish that data on some topic to ROS machine, but ...
Lovre Perajica's user avatar
0 votes
0 answers
51 views

Using micro_ros_arduino with ESP32 with wireless ROS system

I am retired and programming has always been a hobby but also my College Degree in Game/Simulations (90%). So I am familiar with a lot of programming as I used it in work for some development/problem ...
Randy Hearn's user avatar
0 votes
2 answers
46 views

simple hardware interface for mobile robot (RobAir)

I want to create a hardware interface to interface a simple research mobile robot called RobAir, this robot has two wheels and using velocity controller cmd_vel through a ROS node on Arduino board to ...
Bilal's user avatar
  • 142
0 votes
0 answers
17 views

Dynamixel XM430-W210-R configuring getPresentPosition or suggest an alternative?

I am currently using 2 Dynamixel XM430-W210-R servo motors and have encountered a strange issue with getPresentPosition function. Now, this might just be a configuration issue that I have been unable ...
LeonidasEng's user avatar
1 vote
0 answers
27 views

Arduino & Dynamixel XM430-W210-R: Adding a potentiometer to increase/decrease rotation

I want to create an improvement to an Arduino script. I have a Dynamixel XM430-W210-R servo with a Dynamixel Shield and Arduino Mega. I am using the OP_EXTENDED_POSITION mode. Here is part of my code ...
LeonidasEng's user avatar
0 votes
2 answers
51 views

E6C3 AG5C omron encoder can be used to differentiate clockwise and counter-clockwise movement

I bought E6C3 AG5C, here, for my project. My project is indoor robot localization using encoders and IMU. From its datasheet it has 13 wires, black and red wires are for ground and source and 10 are ...
Maaz Ismail's user avatar
0 votes
1 answer
59 views

How to resolve 'nullptr not declared in this scope' compiling error in Ros_lib blink example and other ros_lib examples Ubuntu 20.04 with ROS Noetic?

I am new to ros and I am using virtual machine with Ubuntu 20.04 and ros neotic in it. I have installed rosserial arduino package step by step from this. After this I open ros_lib blink example and it ...
Maaz Ismail's user avatar
0 votes
1 answer
49 views

Replacing AX-12A motors with AX-18A motors causing issues with ROS Arbotix

I'm currently working on a project with an oculomotor robot head interfaced with ROS and Arbotix-M (https://github.com/combra-lab/spiking-oculomotor-head-control/tree/main). The robot head comprises ...
Atin Srivastava's user avatar
0 votes
1 answer
73 views

Arduino-based Drone Project: Struggling with Altitude Control

I've been working on a DIY project which involves creating a drone from scratch. My aim is simple yet challenging; I want the drone to ascend to a specified altitude, hover for a few minutes, then ...
Aymane Lotfi's user avatar
1 vote
1 answer
124 views

How to detect the position in a linear actuator?

I was planning on 3D printing my own 30 cm stroke length 3D printed linear actuator and I don't know how I could read its position, or tell it to go say to 16.5 cm. I used this video, 3D Printed ...
Mito's user avatar
  • 111
1 vote
1 answer
74 views

Difficulty with tuning motor PID controller [closed]

I am struggling for a while now with tuning PID control on my motors. I have bought different motor driver boards better motors etc but still I am unable to get a good control on the motors. What I am ...
ElectricRay81's user avatar
0 votes
0 answers
19 views

Arduino robotic arm kit

I want to buy a cheap robot arm for control it with an Arduino. Do you know of a kit that has a good value for money? I don't care about the degrees of freedom it has (4, 5 or 6), and above all I'm ...
Unai Granados Ormaetxea's user avatar
0 votes
0 answers
34 views

Simulink and Arduino - Simulink can't read data from arduino pins

I have a very simple setup depicted by this picture All I want to do is, using simulink, collect data from pin 8. Simulink model is as follows However I'm not getting any data, specifically 0. I can ...
JerSci's user avatar
  • 1
1 vote
1 answer
41 views

Minimum distance that can be measured using Rplidar A1M8

can you please explain what is the minimum distance that can be measured using RPliadr A1M8
Haris Khan's user avatar
0 votes
1 answer
87 views

Powering 3 MG996R servos

I'm building a robotic arm with 3 MG996R servos using Arduino Uno R3 board. I'm using this 16 channel servo motor driver for the project. I'd like to use an AC-DC adapter to power the servos. Is that ...
Abhishek A Udupa's user avatar
0 votes
0 answers
16 views

SIM808L 2.0 won't connect to Arduino

I have an Arduino Uno and a SIM808L 2.0 module. I want to connect the module to the Arduino, but I can't. It displays 'not working' (you can see in the picture) ...
Catalin Ionut CRACIUN's user avatar
0 votes
2 answers
73 views

How to: implementation problem with Position control on a 3 Wheels robot (2 motorized) with velocity profile of trapezoid

I'm trying to apply position control in a wheeled robot, controlled by an arduino mega. The robot has two wheels powered by two dc motors (1 motor for each wheel) and one castor wheel. In order to ...
maneedos's user avatar
0 votes
0 answers
173 views

Publishing transform with rosserial using TF/Odom + display in RVIZ?

I'm trying to model a simple helicopter transform with a spinning rotor in RVIZ. I would prefer it to be timestamped into a single topic. I've been working through the Odom and TimeTF examples in ...
ardoknow's user avatar
0 votes
1 answer
2 views

tf::TransformListener for Arduino

Hi, Sorry for the mistakes, as English is not my native language. I have a code having the following lines: ...
user avatar
0 votes
1 answer
93 views

Turning a mecanum wheeled robot at a specific angle i.e 45 degree

I am implementing inverse kinematics for motion control of a robot with four mecanum wheels. However I am not getting how to turn it at specific heading angle(45 degree)? I am using encoders to check ...
Ha-Naa's user avatar
  • 1
2 votes
0 answers
55 views

Floppy fish mechanism design

I've bought a floppy fish toy (crab version) for my kid. The toy looks like: Unfortunately, the toy mechanism inside jams when grabbed and the battery lasts for a short time: I tried to do my own ...
Kuba's user avatar
  • 21
0 votes
0 answers
39 views

What DC motor is fit to replace this AC one?

I've a machine with this motor: I would like to swap this one with a DC motor in order to have better control, maybe a stepper one so that it could be controlled via an arduino board and a dedicated ...
user3450548's user avatar
0 votes
1 answer
3 views

RpLidar A1 arduino

Hi guys, I'm trying to connect RpLidar into Arduino Portenta H7 Lite and get the data into Robot Operating System. I trying to use to rplidar_arduino package to read data from lidar and next I'm using ...
user avatar
0 votes
1 answer
124 views

Arduino problem

I am actually doing an obstacle avoiding car. So, I bought Arduino UNO and L293D motor driver and four motors, servo motor and ultrasonic sensor. After the connections I have kept 10v li-ion battery. ...
SAI MANI's user avatar
0 votes
1 answer
2 views

Why rviz crash when using robot_upstart?

Hi everyone, really need some help in getting rviz to work with robot_upstart. I'll try to describe the issue and what I have tried as detailed as possible. Requirement: I would like to make an ...
user avatar
0 votes
2 answers
1 view

publishing sensory data out of sync

Hi all, I am working on a project with the ROBOTIS turtlebot3 burger and am trying to include a temperature sensor with its build. I have uploaded some arduino code into the OpenCR1.0 to read sensory ...
user avatar
0 votes
0 answers
36 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?
SAI MANI's user avatar
2 votes
1 answer
108 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 ...
Upul Bandara's user avatar
0 votes
1 answer
73 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 ...
Priyank Bolia's user avatar
0 votes
1 answer
2 views

Actions example server for MicroRos Arduino

Hello, Is the 'action's (vs publisher/subscriber and 'service' server/client) ready for use in MicroROS for Arduino? Is "https://github.com/micro-ROS/micro-ROS-demos/blob/galactic/rclc/...
user avatar
0 votes
0 answers
22 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 ...
Crafty's user avatar
  • 1
0 votes
2 answers
83 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 ...
abdullah mohsin's user avatar
0 votes
1 answer
43 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 ...
Matthew Haywood's user avatar
0 votes
2 answers
342 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 ...
José Vicente R's user avatar
0 votes
2 answers
29 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 ...
Nick Thorpe's user avatar
1 vote
1 answer
166 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 ...
RowanP's user avatar
  • 339
0 votes
1 answer
2 views

Rosserial Publish method

Hi, I am using rosserial packge for the external sensors. When I dig into the tutorial, I found that there are two types of publishing. publish raw data std_msg (...
user avatar
0 votes
1 answer
266 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 ...
addie's user avatar
  • 1
0 votes
1 answer
2 views

ROS Serial Arduino "Hello World" Error

Just getting rosserial setup after a few days of issues. When trying to run the Hello World example (code below) I error out (also below). Any help would be great! ...
user avatar
0 votes
1 answer
4 views

rosserial: cstring: No such file or directory (arduino ide)

I have been trying to make rosserial work for days now to no avail. This is the most recent issue off a fresh arduino install with a successful catkin_make and catkin_make install. I am running ubuntu ...
user avatar
0 votes
1 answer
174 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 ...
Rakesh003's user avatar
0 votes
1 answer
106 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 ...
Aditya Raj's user avatar
0 votes
1 answer
199 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 ...
user2863494's user avatar
3 votes
1 answer
162 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 ...
Tee's user avatar
  • 31
0 votes
1 answer
66 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 ...
Levitate Gamer's user avatar
3 votes
1 answer
840 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 ...
rasa911216's user avatar
1 vote
1 answer
87 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
markbunting's user avatar
0 votes
0 answers
42 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 ...
jar's user avatar
  • 101
0 votes
1 answer
3 views

Simultaneous rosserial_arduino publisher and subscriber at different rates?

Hello everyone, Thank yuo for taking the time to read and answer my question. I am fairly new to both ROS and arduino so please pardon me if my question is simplistic. I am trying to make a ROS robot ...
user avatar

1
2 3 4 5
18