Webcam Digigr8

Submitted bypatrik onThu, 2006-04-27 20:47

I just bought a new webcam. Nothing fancy, 300K pixels and unknown manufacturer. But it is really small and mounted on a stiff but bendable usb-cable. The price was just above 10 euro. Cheep indeed, can it be any good? First try is in Windows XP with the provided drivers. Here I see the name 'ICatch (VI) PC Camera'.
It works with the supplied application, but not with Irfanview as I'm used to.
Not to exciting, would been surprised if this first test failed. Let's move on tio Linux, but first I check with Microsofts Usbview which gives this:

idVendor: 0x04FC
idProduct: 0x0561

Google tells me that 0x04FC stands for Sunplus Technology Co., Ltd. I then search for '0x04FC 0x0561' which gives that this id is supported by Linux, by the SPCA5XX-driver (

Micro Inovation IC50c 0x04fc:0x0561 spca561a fully supported too :)
Micro Innovation 60 0x04fc 0x0561 IC 50C spca561a Embedded Yes yuyv spca5xx ****

Good news indeed! Maybe it will work with the Foxboard ( I will try that ASAP!

The camera (Bad pic!)

DSL Tips

Submitted bypatrik onWed, 2006-04-19 09:14

Some tips about DSL ( from the forum and other sources.

  • SSH at boot - add "ssh" to your boot options, or add "/etc/init.d/ssh start" to /opt/
  • Hardware detection is done in /etc/init.d/knoppix-autoconfig


    Submitted bypatrik onMon, 2006-03-27 01:06

    One of my early PIC-projects. It was connected to a PC's com-port where a terminal software was run. When pressing keys on the keyboard they we´re shown on the displays. Why the displays aren´t multiplexed? Well, I said early project :)

    Code for PIC's, MikroC compiler

    Submitted bypatrik onTue, 2006-03-14 15:08

    Just a few examples of code for MikroC (

    #1 - Led PWM
    Much inspired by the tmr0 example, this code regulates a led connected to a 12F675:

    /*Led PWM
    PHermansson 2006
    For mikroC compiler for PIC,

    char counter;

    void interrupt(){
    counter ++; // increment counter
    TMR0 = 200;
    INTCON = 0x20; // set T0IE, clear T0IF

    void main() {
    OPTION_REG = 0x80; // TMR0 prescaler
    TRISIO = 0; // gpio = output
    GPIO = 0xFF; // initialize gpio
    counter = 0; // set counter

    Starting with the P18F4550 Usb Pic

    Submitted bypatrik onWed, 2006-02-15 10:18

    This page is about the PIC18F4550, a microprocessor with USB support. I used the guides at to get started. I first made a testboard using the Minimal Schematic from the Wiki, but I added a led to get some feedback from the board. I then wrote a testcode to make the led blink and confirm that the board worked.

    I use a DIY149 programmer ( to program Pic's, and with a new firmware and a PC-software called Donkeyprog ( I can program the 4550.

    Here is the testboard: