Yasin DEMİR

#herseypaylasmakicin

Project Definition

Design and Construct a circuitry that counts the number of visitors of your home when you were not in. Develop the necessary PIC program code for PIC 16F84. (Note: you are free to choose any type of PIC MCU)

Steps of the project

We will explain the how is making “Robot that counter the number of visitors of your home” with clearly information. We have given the robot’s facilities in addition part that in CD’s files. The main aim of the robot finds the use the PIC Basic Pro Language and count the number of visitors of home with this mechanism. We designed our robot in appropriate the main purpose.

How does it work?

How does works Robot that counter the number of visitors of your home? The user of come the door is press the button of on the mechanism. Then we are prepared according to the order of the circuit with the burns led pres. When we look at the led sequence, so that we are learning how many people came to the door mechanism.

Elements of Robotics Project 2

  • Bread Board
  • Microprocessor (16F84)
  • Capacitor
  • Resistor
  • Crystal Diode
  • Voltage Regulator (7805)
  • Button Switch
  • Power Supply (5V)
  • USB D128 PIC Programmer
  • Led

 

 

1.     Bread Board

A breadboard (protoboard) is a construction base for a one-of-a-kind electronic circuit, a prototype. In modern times the term is commonly used to refer to a particular type of breadboard, the solderless breadboard (plugboard)

2. Capacitor

A capacitor (formerly known as condenser) is a passive electronic component consisting of a pair of conductors separated by a dielectric (insulator). When there is a potential difference (voltage) across the conductors, a static electric field develops in the dielectric that stores energy and produces a mechanical force between the conductors. An ideal capacitor is characterized by a single constant value, capacitance, measured in farads. This is the ratio of the electric charge on each conductor to the potential difference between them.

3. Resistor

A resistor is an electronic component that restricts the flow of current in an electrical or electronic circuit. It is used to control voltage. It can also be used to protect sensitive components from exploding/blowing. The higher the resistance, the less current there can be. Some look like microchips, and others look like a wire with a small colored cylinder of material around them.

4. Crystal Diode

A diode is an electronic component with two electrodes which a signal can flow between (but thermionic diodes can have one or two more electrodes). The most common function of a diode is to allow an electric current to flow in one direction and to block it in the opposite direction. Today, the most common diodes are made from semiconductor materials such as silicon or germanium.

5. Voltage Regulator (78xx)

“7805” and “7812” redirect here. For the years, see 8th millennium.

The 78xx (also sometimes known as LM78xx) series of devices is a family of self-contained fixed linear voltage regulator integrated circuits. The 78xx family is a very popular choice for many electronic circuits which require a regulated power supply, due to their ease of use and relative cheapness.

6.     Button Switch

A switch is something that changes the flow of an electrical circuit. The most common kind of switch is a something (for example a railroad switch) which can be taken off of one course and put on to another. The term “switch” usually means electrical power. In applications where more than one switch is needed, (i.e. a telephone service) mechanical switches have been replaced by electronic switches which can be controlled automatically.

7. Power Supply

A power supply is a device that supplies electrical energy to one or more electric loads. The term is most commonly applied to devices that convert one form of electrical energy to another, though it may also refer to devices that convert another form of energy (e.g., mechanical, chemical, solar) to electrical energy. A regulated power supply is one that controls the output voltage or current to a specific value; the controlled value is held nearly constant despite variations in either load current or the voltage supplied by the power supply’s energy source.

8.     Microprocessor

A microprocessor is an electronic component that is used by a computer to do its work. Microprocessors are a small silicon chips that contains millions of very small components including transistors, resistors, and diodes that work together. Microprocessors help to do everything from writing to searching the Web. Everything a computer does is described by lots of precise instructions, and microprocessors carry out these instructions at incredible speed- millions or even billions of time a second.

9.     USB D128 PIC Programmer

Source code is converting the .hex form with this programmer. This device is very simple and very functional. The PIC put on the USB D128 PIC Programmer and works the program.

10.Led (Light-emitting diode)

A light-emitting is a semiconductor light source. LEDs are used as indicator lamps in many devices, and are increasingly used for lighting. Introduced as a practical electronic component in 1962, early LEDs emitted low-intensity red light, but modern versions are available across the visible, ultraviolet and infrared wavelengths, with very high brightness.

How done PIC Programmer?

The circuit is working USB Port. (USB D128 PIC Programmer)This port is located at the supply voltage. There is no use of extra power supply. The software is activated, the circuit will be ready to work. Port connection is on the short- circuit the led will blink intervals, according to the protocols and it’s connected.

The ZIF socket lever drain again tighten at the after the some of the problem. This method will be provided in some contact temassızlığının control.

File \ Load \ xxx.hex, respectively, after selecting the hex file in a program seen. PIC’s to install the program. FUSE program edit window will appear when you click on the button. Here, the insurance and click on the OK button after you have active or passive state.

Programmer menu: In this menu, PIC programming, read, compare, and delete, insurance identification and selection procedures are oscillator. These procedures can also be seen below screen.

The gain of the project to us

This is the concept of robots in our project, we are taken a lot of knowledge on the objectives and requirements will continue to receive. Robot programming beyond algorithms and programming languages on the use of logic becomes a lot of benefits. We wrote a lot of codes about Robot that counter the number of visitors of your home that learns in the course of ELE407. May be it seems very easy, but we information gain the about algorithm.

APPENDIX A

(circuit diagram)

APPENDIX B

.TEMP VAR BYTEB0 VAR BYTETRISA=%00001TRISB=0PAUSE 200TEMP = 0B0 = 10SYMBOL BUTON_A=PORTA.0PAUSE 500

BASLA:

IF BUTON_A=1 THEN

TEMP = TEMP + 1

IF TEMP = 1 THEN

PORTB = %10000000

ELSE

PAUSE 200

PORTB = PORT>>1

IF PORTB = % 00000001 THEN

PORTB= % 10000000

ENDIF

FOR B0=10 TO 1 STEP -1   ‘ IF THE USER CLİCK THE BUTTON SERIALLY THIS CODE DONT ALLOW HAPPEND THIS EVENT

PAUSE 500

NETX B0

GOTO BASLA

END

 

Download: Source Code and project details

 

Bir cevap yazın

E-posta hesabınız yayımlanmayacak.