UsbAvrUsb

Monday, April 21st, 2008 Chinese Cantonese

UsbAvrUsb is a easy-to-use device-only USB library for Atmel AVR USB series microcontroller, it handles all the network layer logics like initialization basics and the control endpoint, and that will enable you to develop and focus the real core logic.

With the introduction of Atmel AVR USB series microcontroller, USB, after being invented for 12 years since 2006, finally becomes as cost competitive as, as easy to implment and program as RS-232. A feasible solution to enable communication between a PC and a microcontroller device.

With that MCU, like AT90USB162 which is the one I am using, implementing USB protocol in MCU project couldn’t be easier. Hardware-wise, it basically drill down to some passive components like the terminal resistors and two caps, as all other transceiver logic is embedded in the MCU. You saved the “max232″ transceiver and even an power voltage regulator in most gadget projects.
Read and comment the rest of this page »

Related Posts for the ‘UsbAvrUsb’ Feed

Setting up Linux/Apache Single Sign On (Active Directory, mod_auth_kerb, Kerberos)

Tuesday, October 14th, 2008 Chinese Cantonese

Goal: Under Windows Domain environment, the Intranet user could authenticate oneself to a website hosted on Linux/Apache without password prompt, when browsed with IE or Firefox to browse, hence the Single Sign On (SSO). During the course of setup, the Linux box will join the Domain and have a Computer Account created.

Non Goal: Enable domain logon for Linux in General. Authorization is also not discussed.

Introduction

If the target is to accept domain’s credential, the question will actually be much easier. KB555092 is one of the way to achieve that, but basically that means the credential will be transmitted in clear text to the web server, then the server will test it with the domain controller. If such a website setup is browsed with IE, the prompt will state such problem in clear, and it won’t do SSO either. To the client, this is very insecure, even with SSL enabled, it means the web server could have the control of the credential. All in al, KB555092 is not what I want. I think there are other solutions like LDAP could achieve similar result.

The key in KB555092 is that KrbMethodNegotiate is Off, that denys the SSO from happening. However, to turn it on is not as simple as flagging it as on, there is quite some steps to need to be done in the background.

(more…)

Publishing USB and Microcontroller stuff

Monday, April 21st, 2008 Chinese

Okay, publishing the work is always the hardest, especially for the first time for a particular project. Now I have Trac and Subversion setup (and BTW, I upgraded Wordpress to 2.5), publishing UsbAvrUsb, hColorLED and UsbHid.

With these software, with a Atmel USB AVR series controller (like AT90USB162) prototype board and some LEDs, you can then control these LEDs to be at any color on the computer, through the shinny USB interface.

Recently I have been involved in some LED side-project, and the whole story by itself should also be blogged…may be in another day.