Monday, May 11, 2015

The iHacklab Tester

by J.B. Wylzan



Project 8:  Led Bar Graph Tester:
This project shows how to make a tester with an leds bar graph indicator. The device checks wire continuity, busted resistors, burned Leds and Arduino Board malfunctions.




Hardware:
9 LEDs
9 resistors 
connecting wires
breadboard
Arduino R3 UNO board

Schematic Diagram:


image created by fritzing
Block Diagram:

image created by fritzing
Code # 8:
/*
   iHacklab Tester
   powered by Arduino
   sketched by J.B. Wylzan
  modified by Lawsinium
  

  Tests continuity of wires, Leds, resistors, and Arduino board.
  This example code is public domain.
 */

 // Setup pins 4 to 12
void setup() 
 {
  pinMode(4, OUTPUT);
  pinMode(5, OUTPUT);
  pinMode(6, OUTPUT);
  pinMode(7, OUTPUT);
  pinMode(8, OUTPUT);
  pinMode(9, OUTPUT);
  pinMode(10, OUTPUT);
  pinMode(11, OUTPUT);
  pinMode(12, OUTPUT);
 }

Hint: 
The code is incomplete. You will finish the program by using the knowledge you've learned in our previous projects. The challenge can be accomplished using electronic components having varying values. 

Actual Layout:




Procedure:
1. Build the model as shown above
2. Run the Arduino Interface
3. Select File > New
4. Copy Code #8 above
5. Paste Code #8
6. Click File > Save
7. Click Verify
8. Click Upload
9. The 9 leds will turn On from one to nine gradually depending on what the tester senses.




Project # 9:  The Game of Logic


Disclaimer:  We shall not be liable for any loss or damage of whatever nature - direct, indirect, consequential, or otherwise - which may arise as a result of your use of any information on this website. However, if you are interested in using any of the projects for personal or educational purposes, please inform the author by email. 

Public Domain Notice: Copyright (c) 2000. All rights reserved. This article is part of a book entitled iHackRobot. Copies are welcome to be shared or distributed publicly as long proper citations are observed. Please cite as follows: A Journal of a Creative Mind, Joey Lawsin, 1988, USA.


"The Last Human on Earth will no longer be Human." ~ Joey Lawsin
================================================================== 
The Homotronics® and Homodruinos® logos are registered trademarks.
Copyright Biotronics© Inc. iHackRobot®. All Rights Reserved.
Patent Pending. 2000 © ®


 ================================================================== 


No comments:

Post a Comment