Giter VIP home page Giter VIP logo

pincheck's Introduction

pinCheck

This sketch allows to check the basic status of any Arduino board by testing the pins one by one.

Requirements

  • An Arduino board
  • A jumper wire

How to use it

  1. Download the sketch and upload it to the board.
  2. Open the serial monitor.

There are two different test you can run. The first one test if there is serial communication with the board by receiving a H or and L to light up the Built-in LED.

The second uses one two pins, one defined as INPUT and the other as OUTPUT and send HIGH or LOW between them. The idea of this test is to test if the port registers are working properly.

Serial monitor

As soon as you open the serial monitor, you will be asked to defined which test you would like to run.

Select the test you want to run (Send 0 to come back to this menu)

  1. Pin13 Led test
  2. Pin to pin test

Note: You can come at anytime to this menu by sending a 0 through the serial monitor.

First test (Pin13 Led test)

This test is based on the Physical pixel example, part of the IDE built-in example pack. Send an H to light the Built-in LED of the board on or L to turn it off.

Send a H or a L

Second test (Pin to pin test)

Connect a jumper wire between the two pins you are going to test. Choose the pin you are going to use as OUTPUT first and then the Input.

You can use any digital pin from 2 to 13 and any Analog pin but set with its number i.e. A0 is 14, A1 is 15 and so on.

Select the OUTPUT pin Select the INPUT pin

The next message will give you the instruction of connecting a jumper wire between two pins.

Please connect a jumper between pin X and Y

Now you can send a HIGH or a LOW to the input pin through the output pin and read the status of the input pin by sending an R.

Send H or L from the output pin. If you want to read the input pin send an R

pincheck's People

Contributors

charlesbones avatar

Watchers

James Cloos avatar  avatar

Forkers

carlamsedze

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.