Browse Tag: tutorial

How to install Kali Linux on the Raspberry Pi

About: Kali Linux is a OS that is based off of Debian. It is the successor to Backtrak and includes many tools that are used in penetration testing. Penetration testing is the act of testing a system, network or Web application to find vulnerabilities that could be exploited. The Raspberry Pi may not be the most powerful system to do penetration testing on, but it is cheap and is very easy to use. After installing Kali Linux you can set up scripts and perform attacks in the wild, and since a Raspberry Pi is very easy to hide the low cost makes it disposable.

Objective: To install Kali Linux 2.0.1 onto a Raspberry Pi B+ Model. I will be using Linux Mint to format the SD card.

Material: You will need the following:

  • Raspberry Pi
  • 8GB or larger SD card. Class 10 works best on the Raspberry Pi

Instructions: I will assume you know some basic linux terminal commands. If not this guide will be very clear regardless.

You must begin my downloading the Kali Linux Image. There is a compiled image for the Raspberry Pi located at the Offensive Security website. The download page can be found here. Scroll down half way and download the image for your Raspberry Pi. At the time of writing the current version was 2.0.1. Continue Reading

Setup the LM335 Therometer using the Arduino

About: The LM335 is a simple thermometer with only 3 pins. It can be easily interfaced to the arduino or any other microcontroller. The LM335 is pretty much just a diode in a TO-92 case. The voltage rises 10mv for every degree in Kelvins. You will pretty much need to convert the kelvin temperature to Celsius or Fahrenheit using simple calculations.

Objective: To build a simple digital thermometer using a LM335 and an Arduino.

Material: You will need the following:

Instructions: The connections are very simple, you will only need to use 2 of the 3 pins on the LM335. Pins 2 and 3 will only be used. Refer to the breadboard diagram below for connections. The resistors connects to the middle pin of the LM335. The middle pin then connects to the arduino analog0. Pin 3 of the LM335 is connected to ground. Continue Reading

24LC256 EEPROM on Arduino

About: I picked up a few 24LC256 eeproms to get some more external memory for future projects. These eeproms hold around 32Kbytes which is more than enough for a basic data-logger or for storing specific values. You can hookup 4 of these chips together to get a whopping total of 128Kbytes of external memory. These chips are great not only for the memory but also because they are I2C. Don’t let this scare you, there are many libraries for I2C eeprom chips. I2C is also great because it only uses 2 analog pins of your arduino. The I2C pins on the arduino are analog pin 4 and analog pin 5. For this tutorial I followed Hkhijhe example and his functions.

Objective: To connect a I2C eeprom to the Arduino Uno.

Instructions: For the breadboard schematic below for how to connect the 24LC256 to the Arduino. Continue Reading

How to make a basic standalone Arduino

About: When you are done with your arduino projects and are ready to make them more permanent you have to take your arduino off its programmer and build it on a breadboard or PCB. This makes the circuit more final and permanent. It is very simple to build the standalone arduino and it shouldn’t be intimidating at all. You just need a few basic parts that you might already have laying around. This tutorial will not include a serial connector so you will have to continue to burn new code to the arduino on the programmer and transfer the chip to your breadboard or PCB. You should always use a dip socket so you don’t solder your arduino to the PCB allowing you easy access to swap programs or chips.

Objective: To build a basic bone-dry standalone arduino on a breadboard or PCB.


  • ATMega168/ATMega328 (Your Arduino Microcontroller)
  • 16Mhz Oscillator Crystal
  • 7805 Voltage Regulator (5V Voltage Regulator)
  • 2x 22pF Capacitors
  • 2x 10uF Capacitors

Instructions: Follow the schematic in the reference section. This will show you how to build a basic standalone arduino. Refer to the pin mapping diagram after you are done to connect your pins. Remember this won’t let you upload code to the arduino. You will have to continue to use your arduino programmer and place the chip in the circuit. Continue Reading