31. USB 1wire hub

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

31.1. Schematic

../../_images/usb_1wire_hub_sch_98.png

31.2. Board

Normal, bottom mirrored, wires only:

../../_images/usb_1wire_hub_brd_99.png ../../_images/usb_1wire_hub_brd_100.png ../../_images/usb_1wire_hub_brd_101.png

31.3. Partlist

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)

31.4. 3D view

31.4.1. Front

../../_images/usb_1wire_hub_brd_3d_102.png

31.4.2. Right side

../../_images/usb_1wire_hub_brd_3d_103.png

31.4.3. Left side

../../_images/usb_1wire_hub_brd_3d_104.png

31.4.4. Bottom

../../_images/usb_1wire_hub_brd_3d_105.png

Table Of Contents

Previous topic

30. STK200 AVR programmer

Next topic

32. USB trickle charger

This Page