value ( 0 ) #This Function moves the Robot backward def backward (): in1. value ( 1 ) #This Function moves the Robot forward def forward (): in1. The complete video for programming this robot is given below.įrom machine import UART from machine import Pin as pin from time import sleep ut = UART ( 0, 9600 ) command = b 'S' #Define Driver pins in1 = pin ( 16, pin. You can download this program from my GitHub account. After writing the control program in LabVIEW, we have to write a program in MicroPython language for Raspberry Pi Pico microcontroller, this program is very simple and there is no special point about it. you can download NI Vision from this link. Also, to view the video in LabVIEW, you must install the NI Vision Acquisition software package. I used an Android smartphone to send video to the LabVIEW app. In addition to controlling the robot, you can also show video through the LabVIEW graphical panel. You can go to my GitHub account to see the complete source of the program written in LabVIEW. To better understand this article, you should see the block diagram of LabVIEW program. After installation, we can easily send control commands to the Raspberry Pi Pico microcontroller through Bluetooth communication. you can find NI Visa driver in this link. By using this software package, we can use serial communication in LabVIEW. Before anything, at the beginning of the work, we need to install the NI Visa Driver software package.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |