Status: OK
Low speed USB device which can handle multiple 1wire buses. Example program: onewire_demo.py under softusbduino
Based on V-USB hardware.
connections:
function | AVR pin | Arduino pin |
---|---|---|
1wire | PC0 | A0 |
1wire | PC1 | A1 |
1wire | PC2 | A2 |
1wire | PD5 | D5 |
1wire | PD6 | D6 |
1wire | PD7 | D7 |
USB D- | PD0 | D0 |
USB D+ | PD2 | D2 |
V-USB defines:
#define USB_CFG_IOPORTNAME D
#define USB_CFG_DMINUS_BIT 0
#define USB_CFG_DPLUS_BIT 2
part value position C1 4u7 (0.9 1.05) C3 100n (1.2 1.05) C4 22p (1 0.95) C5 22p (1.1 0.9) D1 3V6 (0.6 1.15) D2 3V6 (0.7 1.1) D3 5V1 (0.7 0.4) D4 5V1 (0.9 0.45) D5 5V1 (1.1 0.5) D6 5V1 (1.9 0.5) D7 5V1 (1.8 0.8) D8 5V1 (1.7 0.5) IC1 (1.45 1.05) JP1 (2 1.15) Q1 12MHz (0.8 0.85) R1 68 (0.9 1.4) R2 68 (0.7 1.35) R3 2k2 (0.8 1.15) R4 4k7 (1.7 1.5) R5 4k7 (1.8 1.55) R6 10k (1.1 1.4) R7 4k7 (1.9 1.6) R8 4k7 (1.2 0.45) R9 4k7 (1 0.4) R10 4k7 (0.8 0.35) X1 (0.3 1.15)