Webcam Digigr8

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 (http://mxhaard.free.fr/index.html):

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 (http://www.acmesystems.it)? I will try that ASAP!


The camera (Bad pic!)

DSL Tips

Some tips about DSL (http://www.damnsmalllinux.org) from the forum and other sources.

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

Car PC

New project - Car PC! Nothing much now but it soon will be.
Note! The schematic below doesn't work!

ASCII-viewer

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

Just a few examples of code for MikroC (www.mikroelektronika.co.yu).

#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, www.mikroelektronika.co.yu
*/

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

Old HTPC

Old HTPC

http://patrikhermansson.se.scorpionshops.com/files/dscn1263.jpg

Starting with the P18F4550 Usb Pic

This page is about the PIC18F4550, a microprocessor with USB support. I used the guides at http://pic18fusb.online.fr/wiki/wikka.php?wakka=WikiHome 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 (http://www.kitsrus.com) to program Pic's, and with a new firmware and a PC-software called Donkeyprog (http://www.stu.info.btinternet.co.uk) I can program the 4550.

Here is the testboard:

Everest

Everest

LCD

LCD

RIAA PSU

RIAA PSU
Syndicate content