Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
interfaces:pl2303 [2014/12/19 11:18] darroninterfaces:pl2303 [2023/06/11 19:52] (current) – [TTL cable] darron
Line 4: Line 4:
 \\ \\ \\ \\
 {{ :interfaces:16f648a.jpg?200}} {{ :interfaces:16f648a.jpg?200}}
 +\\ \\ 
 +{{ interfaces:ttl_cable.jpg?200}}
 </wrap> </wrap>
  
Line 9: Line 11:
  
 === Linux === === Linux ===
 +
 +== udev /dev/ttyPL2303 ==
 +
 +<code>
 +KERNEL=="ttyUSB*",\
 +    ATTRS{idVendor}=="067b",\
 +    ATTRS{idProduct}=="2303",\
 +    GROUP="dialout",\
 +    MODE="0660",\
 +    RUN+="/bin/ln -sf %k /dev/ttyPL2303"
 +</code>
 +
 +== udev by-id ==
 +
 +<code>
 +/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0
 +</code>
 +
 +=== TTL cable ===
 +
 +Wiring guide is the inverse of normal and there is no guarantee that this
 +is consistent for all devices.
  
 <code> <code>
-KERNEL=="ttyUSB*",ATTRS{idVendor}=="067b",ATTRS{idProduct}=="2303",\ +RED 5V 
-        GROUP="dialout",MODE="0660",RUN+="/bin/ln -sf %k /dev/ttyPL2303"+BLACK GND 
 +GREEN RX (TARGET RX) 
 +WHITE TX (TARGET TX)
 </code> </code>
  
-=== k8048 Microchip PIC programmer ===+=== Pickle Microchip PIC ICSP ===
  
 == Velleman K8048 Configuration == == Velleman K8048 Configuration ==
 <code> <code>
-DEVICE=/dev/ttyUSB0+DEVICE=TTY 
 +IFACE=/dev/ttyUSB0
 SLEEP=600 SLEEP=600
 BITRULES=0x001F BITRULES=0x001F
-BUSY=0 
 </code> </code>