Close
0%
0%

K.I.T.T. - KNIGHT RIDER badge/brooch

whowhow. whowhow. - formally known as purple rider

Similar projects worth following
just some svg to dxf to board stuff and purple leds and purple boards :)

created board dimensions and stuff with the help of these awesome tutorials:


I sell on Tindie


Order from OSH Park

brd - 122.51 kB - 03/13/2018 at 11:56

Download

sch - 311.81 kB - 03/13/2018 at 11:56

See BOM
Download

Adobe Portable Document Format - 23.74 kB - 03/13/2018 at 11:56

Preview
Download

ino - 4.42 kB - 03/13/2018 at 11:54

Download

hex - 2.83 kB - 02/02/2018 at 19:59

Download

View all 14 files

View all 6 components

  • 0603 revision of the code

    davedarko02/02/2018 at 20:04 5 comments

    Recently on twitter Jon Raymond asked about a firmware update for the older versions of the badge. My hesitation was big until this point, since I thought the charlie-plexing would take up too much space alone, to integrate animations like I did with the newer 0805 version of this badge. As you can see here, I've logged a bit about the progress over on twitter https://twitter.com/davedarko/status/959491261903310848

    I was able to put 7 animations onto the badge! If you want to try out some other animations on the push of a button, you now can! 


    • added 7 animations, cycling through on push of a button
    • removed digitalWrite and pinMode functions and replaced them with setting appropriate registers
    • converted every int to 8bit / 16bit unsigned integers where I could

    Download the hex - file from the download section and upload it to the attiny via:

    #!/bin/bash
    avrdude -c usbasp -p t13 -U lfuse:w:0x3A:m -U hfuse:w:0xFF:m -B 2000
    avrdude -c usbasp -p t13 -U flash:w:KITTiny.ino_attiny13_9600000L.hex

    You need to solder a button between the PB4 Pad and GND and find a good spot to glue it down. Have fun :)


    slow chaser

    fast chaser

    K.I.T.T. persistance of vision (I'm really bad at this)

    cross fader

    cross fader beam

    police flasher

    computing (counting up in binary)

  • 0805 are coming to tindie in 2018

    davedarko12/29/2017 at 21:03 0 comments

    also, new firmware :) I've somehow managed to add 5 animations and a switch button to toggle between them! all still fits into the attiny13a.

  • added 0603 kits to tindie

    davedarko11/30/2017 at 20:00 0 comments
  • Sunday is fun day :)

    davedarko11/19/2017 at 12:54 0 comments

    had some fun with my cell phone, a ukulele and a soldered badge in the wild :)

  • Knight Rider sweat shop

    davedarko11/18/2017 at 13:39 2 comments

    Oh help me Michael Knight! So this started yesterday and I just finished a box of 20 "badges" (gotta be careful around here what to call badge and what not). Some conclusions for the next badge, if I ever tend to be so crazy:

    • only do ten at a time
    • change footprint to 0805
    • there's a spare pin that could run through some modes (fast, slow, pov)
    • Change to two leds per pins 

    I stole the idea of processing from tymkrs.com where they put together 10 badges at a time with the help of a lazy Susan. Pretty cool idea and it worked great (unless I forgot I can rotate the assembly line). 

    So 7 hours of production and I was able to take this picture: 

    Now I'm off to @Tindie and see that I can put up a store etc. I don't have 0603 resistors for kits yet, once they're here I will put up kits as well. Any tindie tips?

  • code for arduino

    davedarko10/01/2017 at 21:05 0 comments

    /*
      Based on https://github.com/maltesemanTS1/Charlieplexing-the-Arduino
      http://arduino.cc/en/Tutorial/BitMask
    */
    const int LED_1 = 0;     //LED row 1
    const int LED_2 = 1;     //LED row 2
    const int LED_3 = 2;     //LED row 3
    const int LED_4 = 3;     //LED row 3
    #define PRADC 0
    #define PRR _SFR_IO8(0x25)
    void setup()
    {
      // not sure anymore, attiny13?
      // PRR |= (uint8_t)(1 << PRADC);
      // not sure anymore, attiny45?  
      // ADCSRA &= ~(1<<ADEN); // disable adc
    }
    void loop() {
      for (int i = 0; i < 8; i++) {
        charlie(i);
        delay(50);
      }
      for (int i = 0; i < 8; i++) {
        charlie(7-i);
        delay(50);
      }
      charlie(-1);
      delay(1000);
    }
    void charlie (int var) {
      pinMode(LED_1, INPUT);
      digitalWrite(LED_1, LOW);
      pinMode(LED_2, INPUT);
      digitalWrite(LED_2, LOW);
      pinMode(LED_3, INPUT);
      digitalWrite(LED_3, LOW);
      pinMode(LED_4, INPUT);
      digitalWrite(LED_4, LOW);
      switch (var) {
        case 0:
          pinMode(LED_1, OUTPUT);
          digitalWrite(LED_1, HIGH);
          pinMode(LED_2, OUTPUT);
          digitalWrite(LED_2, LOW);
          break;
        case 1:
          pinMode(LED_1, OUTPUT);
          digitalWrite(LED_1, LOW);
          pinMode(LED_2, OUTPUT);
          digitalWrite(LED_2, HIGH);
          break;
        case 2:
          pinMode(LED_2, OUTPUT);
          digitalWrite(LED_2, HIGH);
          pinMode(LED_3, OUTPUT);
          digitalWrite(LED_3, LOW);
          break;
        case 3:
          pinMode(LED_2, OUTPUT);
          digitalWrite(LED_2, LOW);
          pinMode(LED_3, OUTPUT);
          digitalWrite(LED_3, HIGH);
          break;
        case 4:
          pinMode(LED_3, OUTPUT);
          digitalWrite(LED_3, HIGH);
          pinMode(LED_4, OUTPUT);
          digitalWrite(LED_4, LOW);
          break;
        case 5:
          pinMode(LED_3, OUTPUT);
          digitalWrite(LED_3, LOW);
          pinMode(LED_4, OUTPUT);
          digitalWrite(LED_4, HIGH);
          break;
        case 6:
          pinMode(LED_1, OUTPUT);
          digitalWrite(LED_1, HIGH);
          pinMode(LED_4, OUTPUT);
          digitalWrite(LED_4, LOW);
          break;
        case 7:
          pinMode(LED_1, OUTPUT);
          digitalWrite(LED_1, LOW);
          pinMode(LED_4, OUTPUT);
          digitalWrite(LED_4, HIGH);
          break;
        default:
          ;
      }
    }

  • someone got lucky today

    davedarko09/01/2017 at 14:35 6 comments

    So guess how many boards I got in my 10+ proto order at dirtypcbs? 40 pcbs! I have to stock up all the parts now :D

  • already had to sell the first assembled one

    davedarko08/10/2017 at 20:23 0 comments

    And for the money I've bought some more boards, this time black pcbs from dirtypcbs.com though - sorry to every other vendor, but please add eagle brd file support :D Anyway, I wanted to have some black K.I.T.T.s with red LEDs as well.

  • Boards are here :)

    davedarko08/02/2017 at 16:53 2 comments

View all 9 project logs

  • 1
    2. Hand soldering the battery compartment

    Pre-tin one pad, solder the battery holder onto that. Afterwards solder the second leg of the holder.

  • 2
    3. Solder everything else

    just take your time, pre tin one pad, use pliers or tweezers to push a part into the hot solder. Then solder on every other leg or pin of the part.

  • 3
    1. Hand soldering the pin

    Add solder to one pad, use pliers to hold the hin in place and solder everything together. After that use heat the second pad and the clip simultaneously and add solder to fix up the second pad. You need to start with the clip because it takes a lot of heat. It makes sense to let the board cool down afterwards.

View all 3 instructions

Enjoy this project?

Share

Discussions

Adam Vadala-Roth wrote 03/29/2018 at 13:20 point

now do a Porsche 911 !!!!! 

  Are you sure? yes | no

Stephen Ludgate wrote 03/29/2018 at 12:42 point

haha - I have only just realised after having your 0603 board in my OSH Park checkout for months and months that you have a new cool version which allows for charlieplexing and adds a button - the 0603 boards have been made and are on their way, d'oh!! Guess that means I just have to order up some more boards though... right?!! ;-)

Steve

  Are you sure? yes | no

davedarko wrote 03/29/2018 at 13:02 point

If you PM me your address I could send you a kit for free, I'm very sorry for that - there's a hack for the 0603 versions though, with a new firmware version that allows you to have a button and 7 animations as well :)

  Are you sure? yes | no

Stephen Ludgate wrote 03/29/2018 at 15:31 point

Ahh That's OK, my fault! I live in the UK, so it wouldn't be cheap to send. I will probably create the 0603 as they are, and order some 0805 boards, no problem! Thanks for the offer though - very kind! :)

Steve

  Are you sure? yes | no

davedarko wrote 03/29/2018 at 16:33 point

@Stephen Ludgate  shipping fee isnt that bad, around 4 euros

  Are you sure? yes | no

davedarko wrote 03/29/2018 at 16:33 point

And the board is black ;)

  Are you sure? yes | no

Stephen Ludgate wrote 03/29/2018 at 18:17 point

now you have my interest! Lol! That sounds great, true KITT black too... cool! How do i DM you my details?

  Are you sure? yes | no

ryanhall8 wrote 11/27/2017 at 08:45 point

Awesome!!! Great idea!

bullet force 

  Are you sure? yes | no

danjovic wrote 11/18/2017 at 21:10 point

Awesome!! It should be a perfect entry if we had a badge contest here on IO.

  Are you sure? yes | no

davedarko wrote 11/18/2017 at 21:25 point

I'm confused with the meaning of "badge" lately, I'm leaning towards brooch now :D thanks, really appreciate it :)

  Are you sure? yes | no

roger_archibald wrote 08/03/2017 at 20:16 point

Nice!

  Are you sure? yes | no

davedarko wrote 08/03/2017 at 20:25 point

thanks :)

  Are you sure? yes | no

Bastiaan wrote 08/02/2017 at 20:42 point

Awesome! The LEDs are charlieplexed, right?

  Are you sure? yes | no

davedarko wrote 08/03/2017 at 06:54 point

Yes :) uv leds on a purple board, the only way to do it :D

  Are you sure? yes | no

ðeshipu wrote 08/02/2017 at 18:03 point

A beauty! Great idea too. Makes me think about a Cylon head badge...

  Are you sure? yes | no

ðeshipu wrote 08/02/2017 at 18:03 point

Oh, and you could do that with a 555! ;-)

  Are you sure? yes | no

davedarko wrote 08/03/2017 at 06:56 point

Hehe totally :)

  Are you sure? yes | no

davedarko wrote 08/03/2017 at 08:19 point

and two 4017s which would make it tough to route with that "massive" 2032 :D

  Are you sure? yes | no

K.C. Lee wrote 08/03/2017 at 09:44 point

Actually there was an analog version that used LM3916 (analog bar graph) and triangular wave (could be from 555).  One could in additional modulate the triangular wave to get the burring effects probably came from light bulbs.

  Are you sure? yes | no

davedarko wrote 08/03/2017 at 06:56 point

Thanks :) that would have been the next one, but feel free ;)

  Are you sure? yes | no

ðeshipu wrote 08/03/2017 at 11:14 point

Nah, I'm sure you will do it better. Just add "KILL ALL HUMANS" to it ;-)

  Are you sure? yes | no

oshpark wrote 07/19/2017 at 02:41 point

awesome!

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates