element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Sci Fi Your Pi
  • Challenges & Projects
  • Design Challenges
  • Sci Fi Your Pi
  • More
  • Cancel
Sci Fi Your Pi
Blog Knight Rider
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: scrpn17w
  • Date Created: 21 Apr 2015 2:53 PM Date Created
  • Views 1876 views
  • Likes 3 likes
  • Comments 20 comments
  • kitt
  • knight_industries
  • knight_rider
  • sci_fi_your_pi
  • kitt_car
Related
Recommended

Knight Rider

scrpn17w
scrpn17w
21 Apr 2015

This is my build thread of turning my 1999 Honda Prelude into an emulation of KITT (Knight Industries Two Thousand) from the TV series "Knight Rider". There is going to be a lot of buttons, switches and various indicator lights. I'll add a small screen in the car for both interfacing with the Pi and displaying various data/Images/Videos. Then of course there are the 3 most recognizable traits of the car: The LED "scanner" on the front of the car, the unmistakable voice from the "AI" of the car, and the LED "visualizer" of the cars AI system. Being that I won't be able to make this quite as awe inspiring as the actual KITT and the car I'm using was made in 1999 I'm going to call it the K.I.N.N. (Knight Industries Nineteen Ninety-nine).

  • Sign in to reply

Top Comments

  • ipv1
    ipv1 over 10 years ago +2
    Good Job! You might also wanna google "larson scanner" to cut down costs. I did that for my bicycle when I was a kid . A 555 and a 4017 can do wonders I tell ya. All the best! Cheers, IP
  • scrpn17w
    scrpn17w over 10 years ago +2
    After some Google image searching and not coming up with a suitable background to use for KITT's screen I decided to make my own. I found the highest quality "Knight Industries" logo that I could, re-sized…
  • scrpn17w
    scrpn17w over 10 years ago +2
    I did some digging around yesterday and came upon a project I started a few years ago. It started life as an old joystick for a windows 95 PC. I bought it as a yard sale for a couple dollars and immediately…
  • scrpn17w
    scrpn17w over 10 years ago

    This is the code for the Raspberry Pi that I used.

     

    import os
    import time
    from time import sleep

    import RPi.GPIO as GPIO

    GPIO.setmode(GPIO.BCM)
    GPIO.setwarnings(False)
    GPIO.setup(23, GPIO.IN, GPIO.PUD_UP)
    GPIO.setup(17, GPIO.OUT)
    GPIO.setup(18, GPIO.IN, GPIO.PUD_UP)
    GPIO.setup(22, GPIO.IN, GPIO.PUD_UP)
    GPIO.setup(27, GPIO.OUT)
    GPIO.setup(24, GPIO.IN, GPIO.PUD_UP)
    GPIO.setup(25, GPIO.OUT)

    scanner = 4
    scan_switch = 15

    GPIO.setup(scanner, GPIO.OUT)
    GPIO.setup(scan_switch, GPIO.IN, GPIO.PUD_UP)

    while True:
    if GPIO.input(scan_switch) == False:
    GPIO.output(scanner, 1)
    else:
    GPIO.output(scanner, 0)

    if (GPIO.input(18) == False):
    GPIO.output(17, 1)
    os.system('mpg123 -q allgo.mp3 &')
    print("All systems go")
    sleep(1)
    GPIO.output(17, 0)

    if (GPIO.input(22) == False):
    GPIO.output(27, 1)
    os.system('mpg123 -q onway.mp3 &')
    print("I'm on my way")
    sleep(1)
    GPIO.output(27, 0)

    if (GPIO.input(24) == False):
    GPIO.output(25, 1)
    os.system('mpg123 -q amuse.mp3 &')
    print("I'm not amused")
    sleep(1)
    GPIO.output(25, 0)

    if (GPIO.input(23) == False):
    os.system('mpg123 -q donttouch.mp3 &')
    print("Something tells me you shouldn't touch turbo-boost")

    sleep(0.1);

    GPIO.cleanup()

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • scrpn17w
    scrpn17w over 10 years ago

    //Arduino Code for the "Anamorphic Equalizer(scanner)".

     

    int pinArray[] = {2, 3, 4, 5, 6, 7, 8, 9};

    int count = 0;

    int timer = 20;

    const int button = 10;

    int buttonState = 0;

     

     

    void setup(){

      for (count=0;count<8;count++) {

        pinMode(pinArray[count], OUTPUT);

      }

      pinMode(button, INPUT);

    }

     

     

    void loop() {

      buttonState = digitalRead(button);

      if(buttonState == HIGH){

        for (count=0;count<7;count++) {

         digitalWrite(pinArray[count], HIGH);

         delay(timer);

         digitalWrite(pinArray[count + 1], HIGH);

         delay(timer);

         digitalWrite(pinArray[count], LOW);

         delay(timer*2);

        }

        for (count=7;count>0;count--) {

         digitalWrite(pinArray[count], HIGH);

         delay(timer);

         digitalWrite(pinArray[count - 1], HIGH);

         delay(timer);

         digitalWrite(pinArray[count], LOW);

         delay(timer*2);

        }

      }

       else{

         digitalWrite(pinArray[count], LOW);

       }

    }

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • scrpn17w
    scrpn17w over 10 years ago

    //Arduino code for the "Voice Modulator".

     

    int VU;

    void setup()

    {

      Serial.begin(9600); //set baud rate

      //set pins attached to LEDs as outputs

      pinMode(13, INPUT);

      pinMode(3,OUTPUT);

      pinMode(4,OUTPUT);

      pinMode(5,OUTPUT);

      pinMode(6,OUTPUT);

      pinMode(7,OUTPUT);

      pinMode(8,OUTPUT);

      pinMode(9,OUTPUT);

      pinMode(10,OUTPUT);

    }

    void loop()

    {

      VU = analogRead(5)*1.35; //set VU as value of pin A5 reading

      Serial.println(VU);

     

     

        //glow the LEDs depending on the ammount of sound detected by the electret 

       if (VU>1&&VU<=6)

       {//glow first LED

         for(int i=4;i<=10;i++)digitalWrite(i,LOW);

         for(int i=4;i<=4;i++)digitalWrite(i,HIGH);

       }

       else if (VU>7&&VU<=10)

        {//glow 2nd LED

          for(int i=4;i<=10;i++)digitalWrite(i,LOW);

         for(int i=4;i<=5;i++)digitalWrite(i,HIGH);

        }

        else if (VU>11&&VU<=14)

        {//glow 3rd LED

          for(int i=4;i<=10;i++)digitalWrite(i,LOW);

          for(int i=4;i<=6;i++)digitalWrite(i,HIGH);

        }

        else if (VU>15&&VU<=18)

        {//glow 4th LED

         for(int i=4;i<=10;i++)digitalWrite(i,LOW);

         for(int i=4;i<=7;i++)digitalWrite(i,HIGH);

        }

        else if (VU>19&&VU<=22)

        {//glow 5th LED

         for(int i=4;i<=10;i++)digitalWrite(i,LOW);

         for(int i=4;i<=8;i++)digitalWrite(i,HIGH);

        }

        else if (VU>23&&VU<=26)

        {//glow 6th LED

         for(int i=4;i<=10;i++)digitalWrite(i,LOW);

         for(int i=4;i<=9;i++)digitalWrite(i,HIGH);

        }

        else if (VU>27&&VU<=30)

        {//glow 7th LED

         for(int i=3;i<=10;i++)digitalWrite(i,LOW);

         for(int i=3;i<=9;i++)digitalWrite(i,HIGH);

        }

        else{

          digitalWrite(3,HIGH);

        }

    }

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • scrpn17w
    scrpn17w over 10 years ago

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    I finally got KITT "completed". I didn't get nearly the functionality I wanted out of it but it works. I'm going to continue this project after the deadline to get it to a better level of completion for myself. The biggest hurdle in this project was the "Voice modulator". There were a lot of issues in getting both the coding and the circuitry to work properly. It could still use improvement.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • scrpn17w
    scrpn17w over 10 years ago

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    Some small progress but progress nonetheless. My first GPIO program with a Raspberry Pi for the KITT project working. I took this video a couple of days ago after getting the raspberry pi to switch the "Anamorphic Equalizer" with a rocker switch. I'm currently up to having the programs/buttons for the "Anamorphic Equalizer", the "All systems go", the "Oil Slick", and "Turbo boost". I'm hoping to have the "Voice Modulator" done by the end of day today.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube