/PANT

(P)ortable (A)rduino (N)etwork (T)ester

Primary LanguageC++

(P)ortable (A)rduino (N)etwork (T)ester

Written and designed by Mike Cherry <mcherry@inditech.org>
Subnet calculation code written by Eric Brundick <spirilis@linux.com>
ICMP Ping library written by Blake Foster <blfoster@vassar.edu>
LiquidTWI High Performance i2c LCD Library written by Matt Falcon (FalconFour) / http://falconfour.com

Allows you to test the basic functionality of a network along with other tools.
  
This was designed on a Arduino Uno Ethernet board but should work on a regular Uno + Ethernet Shield.
  
The button circuit was modeled after tutorials from Adafruit:
  http://www.ladyada.net/learn/arduino/lesson5.html
  
The current design uses a 16x2 LCD panel hooked to a I2C backpack. More info here: 
  http://www.ladyada.net/products/i2cspilcdbackpack/
  
For pictures of the current prototype, look here:
  http://imgur.com/a/PIk3O
  
For more information on this project email info@inditech.org

The code is always a work in progress and is a real mess. Don't say you were never warned!

Features:

  Display network information
    IP Address
    Gateway
    DNS
    Subnet Mask
    MAC Address
  
  Test Network
    Ping Gateway, DNS, Resolve Host, Ping Internet Host or run all of the tests at once
    If running an individual test, it will loop until canceled using the Back button
    
  Host Discovery
    Calculate how many IP addresses it should be able to see, ping them, and displays report
    800ms timeout between pings and the ability to cancel the scan
    
  Port Scanner
    Allows you to enter an IP address to scan
    Scans ports 1 - 1024 (for now) and displays report
    
Components:

24FC1026-I/P I2C EEPROM
Microchip Technology - http://www.mouser.com/Search/ProductDetail.aspx?R=24FC1026-I/Pvirtualkey57940000virtualkey579-24FC1026-I/P

5V Boost Regulator
Pololu - http://www.pololu.com/catalog/product/798

Arduino Uno Ethernet
Arduino - http://www.adafruit.com/products/418

Smoke Translucent Enclosure
Adafruit - http://www.adafruit.com/products/821

Female/Female Jumper Wires - 6"
Adafruit - http://www.adafruit.com/products/266

6mm Tactile Switch (10 count)
Adafruit - http://www.adafruit.com/products/367

Extra-long break-away 0.1" 16-pin strip male header
Adafruit - http://www.adafruit.com/products/400

6-conductor 0.1" socket-socket cable - 6"
Adafruit - http://www.adafruit.com/products/206

16x2 Character LCD
Adafruit - http://www.adafruit.com/products/181

i2c / SPI character LCD backpack
Adafruit - http://www.adafruit.com/products/292

USB LiIon/LiPoly charger - v1.2
Adafruit- http://www.adafruit.com/products/259

Lithium Ion Polymer Battery - 3.7v 2700mAh
Adafruit - http://www.adafruit.com/products/328

Protoshield for Arduino PCB
Adafruit - http://www.adafruit.com/products/55

SPST Heavy-Duty Slide Switch
Radio Shack - http://www.radioshack.com/product/index.jsp?productId=2062488

UL-Recognized Hookup Wire (22AWG)
Radio Shack - http://www.radioshack.com/product/index.jsp?productId=2049742

100 Piece 1/4 Watt Resistor Assortment
Radio Shack - http://www.radioshack.com/product/index.jsp?productId=2062304

Supermount Tape (4-Pack)
Radio Shack - http://www.radioshack.com/product/index.jsp?productId=2103344

High Dielectric-Strength PVC Tape
Radio Shack - http://www.radioshack.com/product/index.jsp?productId=2103348