TOP Contributors

  1. MIKROE (2663 codes)
  2. Alcides Ramos (358 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (137081 times)
  2. FAT32 Library (70222 times)
  3. Network Ethernet Library (56094 times)
  4. USB Device Library (46409 times)
  5. Network WiFi Library (42029 times)
  6. FT800 Library (41375 times)
  7. GSM click (29109 times)
  8. mikroSDK (26555 times)
  9. PID Library (26487 times)
  10. microSD click (25483 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

USB CDC Clicker and Python3 - Example (COM Port)

Rating:

0

Author: Kai Masemann

Last Updated: 2016-02-25

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Communication

Downloaded: 383 times

Followed by: 1 user

License: MIT license  

The package contain an example how to transfer data between pc and PIC Clicker board by using Python3.

The example was testet with PIC32 Clicker but should easy be adaptable to any PIC supporting USB.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "USB CDC Clicker and Python3 - Example (COM Port)" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "USB CDC Clicker and Python3 - Example (COM Port)" changes.

Do you want to report abuse regarding "USB CDC Clicker and Python3 - Example (COM Port)".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

PIC - USB - Python


This example show how to use the PIC Clicker as USB - COM Port emulator. To make things as easy as possible the USB Device uses a Microchip Driver for CDC Devices that will be installed automatically without user interaction. The Python3 program for simple read write action is very easy as you can see in the pictures below.

If you are looking for more speed or easy device identification, take a look at the HID example:

http://www.libstock.com/projects/view/1267/usb-hid-clicker-and-python3-example

Python 3 CDC

Python 3 CDC

Python 3 CDC communication program

View full image
Python Idle

Python Idle

Show the output/echo of the Python IDLE. If any error messages occur please verify the com port number and the pyserial installation.

View full image

ALSO FROM THIS AUTHOR

USB HID Clicker and Python3 - Example

0

The package contain an example how to transfer data between pc and PIC Clicker board by using Python3. The example was testet with PIC32 Clicker but should easy be adaptable to any PIC supporting USB.

[Learn More]