Installation of Raspberry PiCar-A Program with OpenCV FPV Function

Installation of Raspberry PiCar-A Program with OpenCV FPV Function

1.  Download Program in Raspberry Pi

Setting up in a Raspberry Pi may take you a lot of time, and there are too many libraries needed, so we write a python program to do the most of works for you.

 

NOTE: If you want to know the exact details of the program, you can skip this chapter.

NOTE: This setup.py program is needed to download and install a lot of applications and libraries, and sometimes the server or internet may break down, which may lead to some problems that the setup.py could not fix. Then you must set up a raspberry pi yourself, by following the instructions of next chapter named Set Up a Raspberry Pi.

 

Download the program of the PiCar-B.

Input the code below to download:

git clone https://github.com/adeept/adeept_picar-a_opencv.git

Then setup:

sudo python3 adeept_picar-a_opencv/setup.py

It may take some time to finish.

Now you can skip the next chapter and Install Python3.7 in the PC directly.

2. Install Python3.7 in the PC

Install Python3.7

So far there are two versions of Python: 2.X and 3.X. The graphical UI of the terminal control is written in Python 3.7 and it supports multiple platforms. Here we’ll focus on the installation of Python 3.7 under Windows.

Download Python 3.7: https://www.python.org/

 

Click through Downloads->Download Python 3.7.0.

Install it after download is done. Python will configure the environment variables during the installation.

*Pay attention to the 32-bit or 64-bit of your system when downloading Python – choose the corresponding Python version based on your own system.

Install OpenCV:

Install numpy:

pip3 install numpy

NumPy is a general-purpose array-processing package designed to efficiently manipulate large multi-dimensional arrays of arbitrary records without sacrificing too much speed for small multi-dimensional arrays.

Download OpenCV_python.whl:

https://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv

 

In our case, we download opencv_python-3.4.3-cp37-cp37m-win_amd64.whl for Python3.7 on x64 OS.

Download it and save it in C:\Users\Administrator\ so you don’t have to input the path when installing.

Now you can install OpenCV_python:

pip3 install opencv_python-3.4.3-cp37-cp37m-win_amd64.whl

And then you need to install zmq and pybase64(same reason in RPi):

pip3 install zmq pybase64

 

3. Run the Raspberry PiCar-A Program

Start

Switch on the car.

After a while, if the LEDs turn red, it means the car’s server is connected to a Wi-Fi waiting for the PC client to join.

Then implement operations in Windows.

Double click to run the file client.py in the folder client.

 

For initial running, you need to enter the IP address of the Raspberry Pi car IP Address, then click Connect, and the program will connect to the Raspberry Pi.

After connection, the program will save the IP address. For the next use, if the IP address of the Raspberry Pi has not changed, you may press Enter directly next time to connect.

After the connection is made successfully, the Video window shows up.

Safe Shutdown

You may notice there’s no such thing as a power button for the Raspberry Pi as for PC. Most people would directly unplug the power cable for the Raspberry Pi, which may cause damage to the Raspberry Pi and SD card, data loss, etc. To avoid such issues, you need a safe shutdown for the Raspberry Pi.

If you just use the Raspberry Pi independently, you may shut it down with the following command:

sudo shutdown –h now

When the green light stops blinking on the Raspberry Pi, you may unplug the power cable.

If you’re applying the Raspberry Pi smart car, you may tab the Exit button in the app of this product. When the green light stops blinking on the Raspberry Pi, switch to OFF for the Power switch on Shield and you can shut down the Raspberry Pi then.

4.Afterword

Thanks for purchasing our product and reading the manual! If you spot any errors or have any ideas or questions for the product and this guide, welcome to contact us! We will correct them if any as quickly as possible.

After completing all projects in the guide, you should have some knowledge of the Raspberry Pi and Robot, thus you can try to change the robot into other projects by adding more Adeept modules or changing the code for extended functions.

For more information about Arduino, Raspberry Pi, Smart car robot, or robotics, etc., please follow our website www.adeept.com. We will introduce more cost-effective, innovative and intriguing products!

Thanks again for choose Adeept product and service!

426 Replies to “Installation of Raspberry PiCar-A Program with OpenCV FPV Function”

  1. Pingback: anime lab
  2. Pingback: dark web
  3. Pingback: Headline today
  4. Pingback: cpa course fees
  5. Pingback: stink bomb
  6. Pingback: goa casino online
  7. Pingback: buy dog supplies
  8. Pingback: swimwear brands
  9. Pingback: lightsaber toy
  10. Pingback: golf cart battery
  11. Pingback: best dog food
  12. Pingback: 123 free movies
  13. Pingback: All My Sons Moving
  14. Pingback: home cash work
  15. Pingback: dark web login
  16. Pingback: dark web app
  17. Pingback: cialis canada
  18. Pingback: walmart cialis
  19. Pingback: discount cialis
  20. Pingback: refinance car loan
  21. Pingback: sell osrs gold
  22. Pingback: online movie site
  23. Pingback: mpo555
  24. Pingback: sportybet
  25. Pingback: movie 2021
  26. Pingback: free fake money
  27. Pingback: fake money called
  28. Pingback: biker skull rings
  29. Pingback: hk data result
  30. Pingback: hongkong data
  31. Pingback: layarkaca21 2019
  32. Pingback: pandora188
  33. Pingback: dunia21 terbaru
  34. Pingback: untung88
  35. Pingback: viagra
  36. Pingback: buy green tea
  37. Pingback: viagra connect usa
  38. Pingback: viagra pills
  39. Pingback: online cialis
  40. Pingback: cheap cialis
  41. Pingback: apec group review
  42. Pingback: mold manufacturer
  43. Pingback: micro switches
  44. Pingback: China micro switch
  45. Pingback: catl
  46. Pingback: THC VAPE ONLINE
  47. Pingback: umi thesis
  48. Pingback: your own cbd brand
  49. Pingback: poker online india
  50. Pingback: redesign building
  51. Pingback: best poker online
  52. Pingback: Poker online
  53. Pingback: rss news widget
  54. Pingback: manga hair
  55. Pingback: dbk show
  56. Pingback: daily beauty tips
  57. Pingback: best seo company
  58. Pingback: evano pdf merger
  59. Pingback: screw gun machine
  60. Pingback: ski at old age
  61. Pingback: Online PDF Merger
  62. Pingback: online cbd oil
  63. Pingback: oculus vr shop
  64. Pingback: aircon servicing
  65. Pingback: how to get views
  66. Pingback: Situs judi bola
  67. Pingback: best vape online
  68. Pingback: hanoi city maid
  69. Pingback: Testing36
  70. Pingback: Testing34
  71. Pingback: chest of drawers
  72. Pingback: side hustle
  73. Pingback: 023464266
  74. Pingback: THC Oil
  75. Pingback: THC vape juice
  76. Pingback: Cannabis Oil
  77. Pingback: Weed for Sale
  78. Pingback: Smart Carts
  79. Pingback: Dankwoods
  80. Pingback: Rick Simpson Oil
  81. Pingback: Moon Rocks
  82. Pingback: Dab Rigs for Sale
  83. Pingback: SPACE
  84. Pingback: music download
  85. Pingback: movies123
  86. Pingback: solarmovie.gallery
  87. Pingback: best-123movies.com
  88. Pingback: gogoanime
  89. Pingback: login m88
  90. Pingback: Glock 19
  91. Pingback: Sig Sauer
  92. Pingback: Glock 17
  93. Pingback: FECO
  94. Pingback: Dankwoods
  95. Pingback: Rick Simpson Oil
  96. Pingback: Exotic Carts
  97. Pingback: sex on camera live
  98. Pingback: youtube watch time
  99. Pingback: ca cuoc the thao

Leave a Reply