Hamster: using Python via USBBLE Dongle for Windows ...
Hamster: using Python via USBBLE Dongle for Windows, Linux, OS X
1. Install: USB dongle driver a. Automatic: Plug in the USB dongle to the computer (For Windows, this will automatically install the driver). b. Manual: Make sure to unplug*USB dongle and then install drivers from rs.aspx *Note: If driver is manually installed while USB dongle is plugged in, you need to uninstall with administrator privilege and then reinstall.
2. Install: Python 2.7 (this will also install "pip") a. Download from b. Windows: Make sure to add python path to PATH environment variable i. During Python27 installation, choose "Add python.exe to Path" in the install setup menu (at the bottom of the install options list). ii. Or After the installation, manually append "C:\Python27\C:\Python27\Scripts" to the beginning of PATH environment variable. c. Linux and OS X: Python should be preinstalled. Check if version is 2.7.
3. Install: pySerial 2.7 a. In the command window(cmd.exe) or in the terminal(Linux, OS X) > pip install pyserial or in the terminal(Linux or OS X) > sudo easy_install U pyserial If not working, refer to "pip" site:
4. Connect: Hamster with USB dongle a. First time: turn on the Hamster near USB Dongle (10~20 cm) b. From then on: turn on the Hamster anywhere (BTL range: ~ 10 m) c. BTL indicators: on Hamster and on USB dongle i. preconnection: blinking blue ii. postconnection: solid blue
5. Modify your main program to use USB communication. 6. Modify your main program using robot API in HamsterAPI/robot.py. 7. Start: the main program (hamster_class.py)
a. In the command window(cmd.exe) or in the terminal(OS X) > python hamster_class.py or in the terminal (Linux) > sudo python hamster_class.py
8. Hamster Time!
Stanford University (cs123.stanford.edu)
? KyongSok (KC) Chang & David Zhu
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- using python on windows 10
- usb 2 0 driver download for windows 10
- usb 2 0 driver windows 10
- download usb driver for windows 10
- create recovery repair usb for windows 10
- free usb driver updates for windows 10
- usb 2 0 driver windows 10 64 bit
- install usb 3 0 driver windows 10
- download usb boot disk for windows 10
- usb 3 0 drivers windows 10 download
- download latest usb drivers for windows 10
- download usb driver for windows 10 microsoft