2/10/2023 0 Comments Canbus to arduino nano pinoutWe adopted RoboDK C# API and integrated it into Visual studio using a User interface to control the robot movement. Here we will see how easily we can operate the robot from our custom application. When we use to control the robot from an external environment or remote software, we need the use the API to control the robot. Now we think about control the robot from our application. Using this software, we can quickly create digital twins for the industry. It is easy to simulate, and it can connect with a practical robot to execute the task. So, the learning curve of new robots is easy. And all robot’s operation procedure is the same. The RoboDK online library is full of the standard robot. But the RoboDK covers most of the robots and runs under one roof. When we use an industrial robot, and we must use their software environment to operate the robot. The main advantage is all robots under one IDE. Its forward and inverse kinematics accuracy is better than any competing software. It has calibration facilities, so it is industrial-grade software. RoboDK is an excellent simulator to fulfill the research work. Purpose: Robot researchers need a simulator to understand better the algorithm on path planning, arm movement, and many more. The new researcher can get helpful references to integrate the CAN bus into their project. This is the unique approach to controlling the virtual element from the real world through the CAN bus. This paper is an entirely practical-oriented demonstration. We demonstrate the CAN bus differently in this research work. Originality/Value: Most CAN bus-related documents lack a practical approach or an accumulation of workable summaries. We can build the digital twins used to process monitoring in the industrial automation field following this experiment. We can convert any environmental analog parameter into digital form and display it locally or remotely inside the simulator. Findings/Result: We can find some concepts and procedures to control the virtual elements from the external world through the CAN bus. CoppeliaSim changes its conveyor belt speed by parsing the data and converting it to the speed value. The remote master reads the analog value and sends it back to the simulator through the local master. The CoppeliaSim requests data to the remote master through the bridge application and CAN bus. We used two Arduino Mega 2560 boards and two MCP2515 based TJA1050 popular CAN driver modules. Using c#, we created a bridge application that translates the data between the simulator and the natural environment outside it. Inside the simulator, we add a conveyor belt. We created a virtual environment using the CoppeliasSim robot simulator. Design/Methodology/Approach: This research work demonstrates how to exchange data through CAN bus between a virtual and a natural environment. The interested researcher can download and experiment on it. The complete project code and demo video are available on Github. In our experiment, we feed the Analog value as a speed profile through the CAN bus to the CoppeliaSim virtual environment to see the speed variation of the simulated conveyor belt upon rotating the potentiometer. Here, we briefly describe the CAN bus protocol first, then go through a practical experiment to better understand it. This research work is basically for those trying to integrate the CAN bus into their project in a short period. When the new researchers integrate the can bus into their project, they need to spend time running and handling the device through the CAN bus. Among different branded robots, they use CAN-bus to control the robot movement. But now, it is also used in various industrial automation fields. Purpose: CAN Bus is a robust way to communicate inter-device Communication.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |