sunfounder / Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi

Sunfounder Smart Video Car Kit for Raspberry Pi
http://www.sunfounder.com
137 stars 117 forks source link

Sunfounder Smart Video Car Kit for Raspberry Pi

Quick Links:

About this kit:

The SunFounder Smart Video Car Kit for Raspberry Pi is composed of Raspberry Pi, DC-DC Step-down Voltage Module, USB camera, DC motor driver, and PCA9685-based Servo Controller. From the perspective of software, the smart car is of client/server (C/S) structure. The TCP server program is run on Raspberry Pi for direct control of the car. And the video data are acquired and delivered via the open source software MGPJ-streamer in a real-time manner. The TCP client program is run on PC to send the control command. Both the client and server programs are developed in Python language. The smart car is developed based on the open-source hardware Raspberry Pi and integrates the knowledge of mechanics, electronics, and computer, thus having profound educational significance.

You can now control your Smart video car with an Android phone! (Details in html_server/README.md)

Download the Android App from Google Play

Notice:

Before you run the client routine, you must first run the server routine.

Update:

2016/05/09:

2016/03/29:

2016/03/22:

2015/xx/xx:

Trouble Shootings:

I2C Trouble

IOError: [Errno 2] No such file or directory

Error accessing 0x40: Check your I2C address

IOError: [Errno 5] Input/output error

This normally means Raspberry Pi could not find the I2C device. So here's what you can do:

_tkinter.TclError

pi@raspberrypi:~/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/client $ sudo python cali_client.py
Traceback (most recent call last):
  File "cali_client.py", line 7, in <module>
    top = Tk()   # Create a top window
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1813, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable

This usually happens when you try to run cali_client.py or client_App.py on Raspberry Pi remotely. Like using PuTTy.


About SunFounder:

SunFounder is a technology company focused on Raspberry Pi and Arduino open source community development. Committed to the promotion of open source culture, we strives to bring the fun of electronics making to people all around the world and enable everyone to be a maker. Our products include learning kits, development boards, robots, sensor modules and development tools. In addition to high quality products, SunFounder also offers video tutorials to help you make your own project. If you have interest in open source or making something cool, welcome to join us!


Contact us:

website: www.sunfounder.com

E-mail: support@sunfounder.com