µ[micro]electronics info

A weblog focused on interesting circuits, ideas, schematics and other information about microelectronics and microcontrollers.

E-books

Google

Disclaimer

Because I have not tested all electronic circuits mentioned on this pages, I cannot attest to their accuracy; therefore, I do not provide a warranty of any kind and cannot be held responsible in any manner.

My e-mail

My website

AVR-CDC

AVR-CDC is a pure SW based USB-RS232C interface using the CDC (Communication Device Class) protocol. Although the bulk endpoint required for CDC is not allowed within the low-speed USB standard, it works fine on major platforms.

Program size is about 3KB on AVR. Since ATtiny45 has no USART, 4800bps may be the practical speed. ATmega8/48/88 can achieve the higher transfer rate (e.g. 38400bps) using the internal USART. The AVR-CDC is based on Object Development's AVR-USB. The portion of code that I added is published as free software (GPL2). See the License.txt together with the Object Development's license agreement.

AVR-CDC

Powered by Drupal - Design by Artinet