Appointment Probation Confirmation I
Appointment Probation Confirmation I
Rahul Wagh
9604068909
Contents:
• Introduction.
• Literature survey.
• Methodology.
• Specification.
• Block diagram.
• Hardware details.
• Software details.
• Advantages.
• Disadvantages.
• Application.
• References.
Introduction
[J. R. Wolpaw et al. “Brain-computer interface technology: A review of the first international
meeting,” IEEE Trans. Rehab. Eng., vol. 8, no. 2, pp. 164–173, 2000]
What is BCI
PIC16F877A:
1
D1
VDD
JP2
2 - +4 1 2
2 VIN VOUT VDD
1 U2
GND
7805 R4
220 VAC C5 C6 C7 220 ohm
470 uF 100 uF 0.1 uF
3
D2
3
LED
Power Supply – Circuit Description
• The operation of power supply circuits built using filters, rectifiers, and then voltage
regulators. Starting with an AC voltage, a steady DC voltage is obtained by
rectifying the AC voltage, Then filtering to a DC level, and finally, regulating to
obtain a desired fixed DC voltage. The regulation is usually obtained from an IC
voltage regulator Unit, which takes a DC voltage and provides a somewhat lower
DC voltage, Which remains the same even if the input DC voltage varies, or the
output Load connected to the DC voltage changes.
About Microcontroller
11
32
12
31
VSS
VSS
VDD
VDD
1 40 RB7
MCLR MCLR/Vpp RB7/PGD
RA0 2 39 RB6
RA0 RA0/AN0 RB6/PGC
RA1 3 38 RB5
RA2 4 RA1/AN1 RB5 37 RB4
RA3 5 RA2/AN2/Vref - RB4 36 RB3
RA4 6 RA3/AN3/Vref + RB3/PGM 35 RB2
RA5 7 RA4/T0CKI PIC16F877 RB2 34 RB1
RE0 8 RA5/AN4/SS U3 RB1 33 RB0
RE1 9 RE0/AN5/RD RB0/INT
RE2 10 RE1/AN6/WR
RE2/AN7/CS
13
14 OSC1/CLKIN 30 RD7
OSC2/CLKOUT RD7/PSP7 29 RD6
RC0 15 RD6/PSP6 28 RD5
Y1
RC1 16 RC0/T1OSO/T1CKI RD5/PSP5 27 RD4
RC2 17 RC1/T1OSI/CCP2 RD4/PSP4 22 RD3
RC3 18 RC2/CCP1 RD3/PSP3 21 RD2
4 Mhz
RC4 23 RC3/SCK/SCL RD2/PSP2 20 RD1
C8 C9 RC5 24 RC4/SDI/SDA RD1/PSP1 19 RD0
27 pF 27 pF RC6 25 RC5/SDO RD0/PSP0
RC7 26 RC6/TX/CK
RC7/RX/DT
TX RX
USART pins inPIC16f877A
VDD
C1 10 uF
16
2
13 12
V+
VCC
R2IN 8 R1IN R1OUT 9
R2IN R2OUT RX
11 14
10 T1IN T1OUT 7 T2OUT
TX T2IN T2OUT
1
C2 3 C+ MAX232
10 uF 4 C1- U1
5 C2+
C2-
GND
6
V-
15
C3 C4
10 uF 10 uF
Zigbee module
• The XBee and XBee-PRO OEM RF Modules were engineered to meet IEEE 802.15.4
standards and support the unique needs of low-cost, low-power wireless sensor
networks. The modules require minimal power and provide reliable delivery of data
between devices.
• The modules operate within the ISM 2.4 GHz frequency band and are pin-for-pin
compatible with each other
802.15.4 / ZigBee Architecture
Applications
ZigBee
• Packet generation
IEEE 802.15.4 IEEE 802.15.4 • Packet reception
868/915 MHz 2400 MHz • Data transparency
PHY PHY • Power Management
802.15.4 Architecture
Applications
ZigBee
• Channel acquisition
• Contention mgt
IEEE 802.15.4 MAC • NIC address
• Error Correction
Applications
• Network Routing
• Address translation
ZigBee • Packet
Segmentation
• Profiles
• The XBee®/XBee-PRO OEM RF Modules interface to a host device through a logic-level asynchronous
serial port. Through its serial port, the module can communicate with any logic and voltage compatible
UART; or through a level translator to any serial device (For example: Through a Digit proprietary RS-232 or
USB interface board).
Software details
Embedded C
• The C for microcontrollers and the standard C syntax and semantics are slightly different. The former is
aimed at the general purpose programming paradigm whereas the latter is for a specific target microcontroller
such as 8051 or PIC. The underlying fact is that everything will be ultimately mapped into the microcontroller
machine code. If a certain feature such as indirect access to I/O registers is inhibited in the target
microcontroller, the compiler will also restrict the same at higher level. Similarly some C operators which are
meant for general purpose computing are also not available with the C for microcontrollers. Even theoperators
and constructs which may lead to memory inefficiency are not available in C programming meant for
microcontrollers.
Embedded C(cont…)
• Be aware that the target code should fit in the limited on-chip memory of the processor. Even the I/O
functions available in standard C such as printf() or scanf() are either not made available in C compilers for
microcontrollers or advised not to use them. These functions eat up lot of memory space and are not time-
efficient owing to the dragging of supporting functions like floating point routines and lot of delimiters.
Another striking difference in case of embedded systems programs is that they do nothave the umbrella or
support of the operating system. The programmer has to be accustomed with the absence of system calls
which makes life easy in traditional C.
MPLAB IDE
• MPLAB IDE is a Windows Operating System (OS) software program that runs on a PC to develop
applications for Microchip microcontrollers and digital signal controllers.
• It is called an Integrated Development Environment, or IDE, because it provides a single integrated
"environment" to develop code for embedded microcontrollers.
• The MPLAB IDE has both built-in components and plug-in modules to configure the system for a variety of
software and hardware tools.
MPLAB IDE
Disadvantages