User Tools

Site Tools


digispark:tutorials:digiusb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
digispark:tutorials:digiusb [2013/04/19 15:30]
albercook
digispark:tutorials:digiusb [2016/06/09 12:03] (current)
Line 1: Line 1:
 ====== DigiUSB - Debugging and HID communication library ====== ====== DigiUSB - Debugging and HID communication library ======
 +This library has been deprecated in favour of DigiCDC - Digispark USB CDC Serial Library https://​digistump.com/​wiki/​digispark/​tutorials/​digicdc. With DigiCDC the Digispark will show up as a COM port and the Arduino Serial monitor can be used normally. DigiUSB requires communication to the Digispark through a seperate application. ​
 +
 +I couldn'​t get the Windows device driver for the CDC Serial Library working. For me it shows up as unknown usb device (invalid configuration descriptor) and this older method works.
 +
 +While the Digispark is programmed through the micro USB connection, the Digispark will not show up as a COM port, so will not be able to write to the Arduino serial monitor through this micro USB connection. However, it is possible to install a library on the Digispark and and on a windows machine, a windows driver and then to communicate to a separate Monitor application. There are MAC and Linux alternatives also.
 +
 +This Monitor program is like the Arduino serial monitor, allowing you to send and receive messages to/from a Digispark.
  
 See the DigiUSB->​Echo example and the applications in the "​Digispark - Example Programs"​ folder for an example of how to use the DigiUSB library. See the DigiUSB->​Echo example and the applications in the "​Digispark - Example Programs"​ folder for an example of how to use the DigiUSB library.
  
-On the computer side you can use the included command line tools in the DigiUSB Programs folder:+On the computer side you can use the included command line tools or more easily the Monitor Application ​in the DigiUSB Programs folder. The Windows DigiUSB programs are at https://​github.com/​digistump/​DigisparkExamplePrograms/​tree/​master/​Python/​DigiUSB/​windows ​:
  
-   * If you're on windows make sure to install the DigiUSB driver ​in that folder ​(different from the main Digispark driver)+   * If you're on windows make sure to install the DigiUSB driver (different from the main Digispark driver). Drivers are at https://​github.com/​technologiescollege/​arduino/​tree/​master/​data/​packages/​digistump/​tools/​micronucleus/​2.0a4
  
-   ​* ​digiusb ​this program is like the Arduino serial monitor, allowing you to send and receive messages to/from a Digispark running DigiUSB +   ​* ​Command line application ​- send - this allows you to send data/text to a Digispark with DigiUSB 
-   ​* ​send - this allows you to send data/text to a Digispark with DigiUSB ​- run with --help to see all options +   ​* ​Command line application - receive- this allows you to receive data/text from a Digispark with DigiUSB ​
-   * receive- this allows you to receive data/text from a Digispark with DigiUSB ​- run with --help to see all options+
  
  
Line 19: Line 25:
  
 You can get RubyGem from: http://​rubygems.org/​gems/​digiusb You can get RubyGem from: http://​rubygems.org/​gems/​digiusb
- 
digispark/tutorials/digiusb.txt · Last modified: 2016/06/09 12:03 (external edit)