Periferal Ethernet USB Ethernet Controller Pilihan Periferal eksternal
Periferal Ethernet, USB
Ethernet Controller • Pilihan: – Periferal eksternal, misal “Microchip ENC 28 J 60”. Harga ~ Rp 90 k – IC mikrokontroler khusus, misal “Dallas DS 80 C 400 Network Microcontroller”. Harga ~ Rp 200 k
Dallas DS 80 C 400
Ethernet Controller
Microchip ENC 28 J 60
Universal Serial Bus Cara interfacing: • Menggunakan chip khusus , misal buatan FTDI • Menggunakan on chip interface • Menggunakan port I/O (bit banging) dengan software
Chip USB • FT-232 BL buatan FTDI Rp 65 k ~ 85 k
Blok Diagram FT-232 BL
FTDI Basic Breakout buatan sparkfun. com
On Chip USB • Hardware USB ada dalam chip yang sama dengan mikrokontroler • Contoh – Atmel (32117 s. pdf) – Texas Instrument: Stellaris LM 3 S 3748
LM 3 S 3748 Development Board Development Kit
Blok Diagram
Software Only USB dengan Port I/O standar • V-USB: http: //www. obdev. at/products/vusb/index. ht ml • USB Tiny
V-USB • V-USB is a software-only implementation of a low-speed USB device for Atmel’s AVR® microcontrollers, making it possible to build USB hardware with almost any AVR® microcontroller, not requiring any additional chip. • Lisensi: open source & komersial
Lisensi Komersial
Hardware V-USB
USBTiny • http: //www. xs 4 all. nl/~dicks/avr/usbtiny/ • USBtiny is a software implementation of the USB low-speed protocol for the Atmel ATtiny microcontrollers. Of course, it will also work on the ATmega series. The software is written for an AVR clocked at 12 MHz. At this frequency, each bit on the USB bus takes 8 clock cycles, and with a lot of trickery, it is possible to decode and encode the USB waveforms by software. The USB driver needs approximately 1250 to 1350 bytes of flash space (excluding the optional identification strings), depending on the configuration and compiler version, and 46 bytes RAM (excluding stack space). The C interface consists of 3 to 5 functions, depending on the configuration. • Lisensi: GNU
Hardware USB Tiny
- Slides: 19