Tic-Tac-Toe with mtouch. Version 1.0. June Cytron Technologies Sdn. Bhd.
|
|
- Dwayne Gardner
- 5 years ago
- Views:
Transcription
1 Tic-Tac-Toe with mtouch PR28 Version 1.0 June 2010 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. No representation or warranty is given and no liability is assumed by Cytron Technologies Incorporated with respect to the accuracy or use of such information or infringement of patents or other intellectual property rights arising from such use or otherwise. Use of Cytron Technologies s products as critical components in life support systems is not authorized except with express written approval by Cytron Technologies. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights. FEATURES OVERVIEW This document describes the development of Cytron Technologies DIY (Do It Yourself) Project PR28. This project demonstrates hobbyist on how to build a simple Microchip s mtouch where no extra components are needed excluding the sensing pads on PCB. In this project, capacitive sensing module (CSM) is used. Tic Tac Toe game is one of the simple applications of mtouch. This DIY project will be using PIC 16F727 microcontroller, 74HC595 shift registers, piezo, mtouch, RGB LEDs and 2 x 16 characters LCD. PIC16F727-8-bit microcontroller with 35 I/O - Operates with 5V supply - Operating speed 20MHz - mtouch Sensing Oscillator Module which is up to 16-input channels 74HC595 Shift Register - 8-bit serial input - 8-bit serial or parallel output - Shift register with direct clear Capacitive Touch Sensor (mtouch ) - Made up from copper sensor pads Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 1
2 SYSTEM OVERVIEW 74 HC 595 RGB LEDs mtouch PIC16F727 LCD Piezo GENERAL DESCRIPTION PR28 is an open-sourced microcontroller Do It Yourself kit. This PIC microcontroller based project is designed to develop a Tic-Tac-Toe game using mtouch. mtouch, also known as capacitive touch sensor, can replace mechanical buttons with capacitive alternative. In addition, it helps in cost reduction. mtouch has become more prevalent and in demand for commercial applications such as mobile devices and mp3 players. Thus, this project will show users how to work with mtouch. For information, PR28 uses internal oscillator to run the program. PIC16F727 This powerful (200 nanosecond instruction execution) yet easy-to-program (only 35 single word instructions) CMOS FLASH-based 8-bit microcontroller with nano- Watt XLP Technology packs Microchip's powerful PIC architecture into a 28- or 40- or 44-pin package and is upwards compatible with the 28- or 40- pin PIC16CXX and PIC16FXXX Microcontrollers. Features of the device: Interrupt capability 8-Level Deep Hardware Stack Direct, Indirect or Relative Addressing modes Processor Read Access to Program Memory Precision Internal Oscillator a. 16MHz or 500kHz operation b. Factory calibrated to ±1%, typical c. Software tunable d. Software selectable +1, +2, +4 or +8 divider Multiplexed Master Clear with Pull-up or Input Pin 14 channels of 8-bit Analog-to-Digital (A/D) converter where conversion is also available during sleep mode Enhanced Timer1: a. Dedicated low-power 32 khz oscillator b. 16-bit timer/counter with pre-scaler c. External Gate Input mode with toggle and single shot modes d. Interrupt-on-gate completion 2 capture/compare/pwm functions Synchronous Serial Port (SSP): a. SPI (Master/Slave) b. I²C (Slave) with Address Mask Addressable Universal Asynchronous Receiver Transmitter (AUART). mtouch Sensing Oscillator Module which is up to 16 input channels 40-pin PDIP (PIC 16F727) Figure 1 Figure 1 shows the pin diagram for PIC16F727. For more information about the PIC microcontroller, please refer to the datasheet. The datasheet can be found in microchip web site at: Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 2
3 74HC595 Shift Register 74HC595 shift register is the cheapest and easiest way to extend I/O ports if user is running out of I/O pins. Using this 8-bit shift register, user can control 8 outputs at a time while only taking up 3 I/O ports on microcontroller. Features of this device are as follows: 8-bit serial input 8-bit serial or parallel output Storage register with 3-state output Shift register with direct clear 100MHz (typical) shift out frequency Output capability a. Parallel outputs; bus driver b. Serial outputs; standard Icc category: MSI For more information on 74HC595 shift register, please refer to the datasheet which is available at the website 95.pdf Capacitive Touch Sensor (mtouch ) The construction of mtouch only consists of copper pads on PCB board. There is no extra components needed to make the mtouch functions. The detailed explanation on how to work with mtouch will be discussed in later section. Power supply for the circuit Push Button as input for PIC microcontroller Figure 4 One push button needs one I/O pin to be used as an input for PIC microcontroller. The connection of the push button to the I/O pin is shown in Figure 3. The I/O pin should be pulled up to 5V using a resistor (with value range 1K-10K) and this configuration will result in an active-low input. When the button is being pressed, reading of I/O pin will be in logic 0, while when the button is not pressed, reading of that I/O pin will be logic 1. ICSP for programming PIC microcontroller Figure 5 Figure 3 User can choose either AC to DC adaptor (not included in the DIY project set) or 9V-12V battery (not included in the DIY project set) to power up the circuit. Higher input voltage will produce more heat at LM7805 voltage regulator. Typical voltage is 12V. Anyhow, LM7805 will still generate some heat at 12V. There are two type of power connector for the circuit, DC plug (J1) and (Power Connector). Normally AC to DC adaptor can be plugged to J1 type connector. The basic connection for In-Circuit Serial Programmer (ICSP) is as displayed in Figure 5. There are a few types of USB in-circuit programmer can be found in Cytron, for example, UIC00B. However, programmer is not included in this DIY project package since the programmer can be reused for other projects. For the instruction of using a PIC programmer, please refer to the particular PIC programmer user s manual at cytron website. Referring to Figure 3, the D2 is used to protect the circuit from wrong polarity supply. C2 and C3 are used to stabilize the voltage at the input side of the LM7805 voltage regulator, while the C1 and C4 are used to stabilize the voltage at the output side of the LM7805 voltage supply. LED is a green color LED to indicate the power status of the circuit. R1 is a resistor to protect LED from excessive current that will burn the LED. Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 3
4 Transistor Figure 8 The transistor is used to amplify the current for the RGB LEDs. In this project, 3 NPN transistors, 2N2222A, are used. The pin sequence is as shown in Figure 8. Beware that wrong sequence will burn the transistor. RGB LEDs HARDWARE This project will require following hardware: a. 1 x PIC16F727 b. 1 x PR28 Printed Circuit Board (PCB) c. 1 x LCD (2x16 character) d. 3 x 74HC595 Shift Register e. 9 x RGB LEDs f. 1 x piezo g. 1 x 9V-12V power supply h. Related electronic components Please refer to Appendix A for the board layout of PR28. The board layout is provided for free therefore Cytron Technologies will not be responsible for any further modification or improvement. Interface LCD (2x 16 Character) with PIC16F727 To use the LCD display, users have to solder 16 pin header pin to the LCD display. LCD used in this project is RT1602C, for other type of LCD, please refer to its data sheet. Figure 9 The RGB LED contains 3 LEDs encased in one shell. It looks like a single white LED except that it has four leads. It can be used to display 3 different colors which are red, green or blue. Pin 1, pin 3 and pin 4 are the anode pins for the red color LED, green color LED and blue color LED, respectively. Pin 2 which has the longest leg, is the cathode pin. In this project, pin 1, 3 and 4 are connected to the 74HC595 shift register whereas pin 2 is connected to the collector of a transistor. In this project, RGB LEDs are used to show the output for the Tic-Tac-Toe game where red color represents player 1 and green color to indicate player 2. In addition, if there is no winner in the game, blue color LEDs will blink continuously. Figure 11 Figure 11 is a 2X16 character LCD. LCD connection pin and function of each pin is shown: Piezo Pin Name Pin function Connection The piezo used in this project works similarly as a buzzer 1 VSS Ground GND except that it has no polarity. The difference of piezo and 2 VCC Positive supply 5V buzzer is that piezo can play melody with the use of for LCD PWM. Of course, before using PWM function, the piezo 3 VEE Brightness adjust Connected to needs to be connected to CCP1 or CCP2 pin of PIC a trimmer to microcontroller. In this case, the piezo is connected to adjust LCD RC2 which is CCP1. To play a certain note, we need to brightness adjust the PR2 value to get the PWM period needed by 4 RS Select register, RE0 using the equation below. select instruction PWM period = [(PR2) +1] 4 Tosc or data register 5 R/W Select read or GND write 6 E Start data read or RE1 To fully understand the working of the piezo, kindly refer write to the sample source code provided as well as the PIC 7 DB0 Data bus pin RB0 microcontroller datasheet. 8 DB1 Data bus pin RB1 9 DB2 Data bus pin RB2 Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 4
5 10 DB3 Data bus pin RB3 11 DB4 Data bus pin RB4 12 DB5 Data bus pin RB5 13 DB6 Data bus pin RB6 14 DB7 Data bus pin RB7 15 LED+ Backlight positive input 16 LED- Backlight negative input a resistor to limit excessive current GND Figure 14 Figure 12 Interface 74HC595 with PIC16F727 The basic connection of 74HC595 is as demonstrated in Figure 13 below. Figure 15 Interface mtouch with PIC16F727 To utilize the capacitive sensing module in PIC16F727, all the copper pads must be connected to the capacitive channels of PIC microcontroller and set those pins to analog pins. This step is very vital before proceeding to software algorithm. In this project, the mtouch or touch pad is connected as shown in Figure16. Figure 13 As mentioned earlier, 74HC595 is a serial-in parallel- or serial-out shift register. Basically, it works as synchronous serial communication where one pin can be pulsed up and down thereby communicating a data byte to the register bit by bit. By pulsing second pin, the clock pin, bits can be delineated. To have clearer picture on this, please refer to Figure 14 and Figure 15, respectively. Figure 16 Theoretically, to know whether the touch pad has been touched or not is by determining the change of capacitance. As demonstrated in Figure 17, before a Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 5
6 finger presses the pad, the PCB pad itself has a capacitance, Cp. However, if a finger presses the copper pad, another capacitance, Cf is introduced where it is in parallel with Cp. Thus, the equivalent of capacitance increases after finger press. Additionally, the capacitance change will result in change in frequency. To scan a pad, frequency change on copper pad is measured. To get a clear picture on this, please refer to Figure 17. Figure 17 There are a few methods to perform capacitive sensing, such as comparator, Charge Time Measurement Unit (CTMU), Capacitive Voltage Divider (CVD) and Capacitive Sensing Module (CSM). In this project, the touch pad is sensed by capacitive sensing module (CSM) at fixed time interval. The benefit of this method is that it does not need external oscillator since the module has its own oscillator embedded. The frequency of each pad at rest is averaged. Frequency Measurement Since CSM is a frequency-based method, timer method is used. Basically, Timer 2 is used as the timer resource instead of using Timer 0 due to it has greater flexibility in defining time base. On the other hand, Timer 1 gate is used as a counter. It will increment at every rising edge of capacitive sensing module output frequency. The value on the Timer 1 will be a measure for CSM oscillator frequency. The completion of Timer 1 gate event, triggered by Timer 2 overflow, will generate a Timer 1 gate interrupt. When servicing the interrupt, the value from the Timer 1 can be read to determine the oscillator frequency. In detailed, capacitance of the pad alone results in a corresponding square wave frequency. When the PR2 value is matched, the current count value in Timer 1 will be read and stored as reference. Once the finger is touched, the RC time constant of the oscillator increases and thus results in a decrease of frequency of the square wave output. Therefore, on the next interrupt, the Timer 1 value will be smaller. Using a software algorithm to compare the difference between these values, the sensor can be identified as pressed or not pressed. Below explains the frequency changes graphically. Figure 18 For more detailed information on the working of mtouch, kindly refer to the application notes which can be downloaded for free in Microchip website ( Explanation on Tic-Tac-Toe using mtouch When a pad is touched, the frequency on the CSM changes due to the extra capacitance from the finger. The change in frequency is noted and the LEDs light up to indicate which button was pressed. Since the mtouch is used for the Tic-Tac-Toe game, the LEDs will not light up immediately after the touch pad has been pressed. Each copper pad is only responsible for only one RGB LED. For example, a touch pad which is noted as X1 is responsible to the RGB LED that is also noted as X1. When that particular touch pad has been pressed and being detected by PIC microcontroller, PIC will check whether that particular pad has been touched previously or not. If yes, that particular RGB LED will not response. On the contrary, the RGB LED will light up. PCB circuit board 1 Not Pressed Pressed Not Pressed Components: 1. Slide Switch ( to ON or OFF the circuit) connector ( to use either 9V or 12V battery) 3. AC-DC adaptor socket Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 6
7 4. IN 4007 diode ( to protect the circuit from wrong polarity) 5. LM7805 (to supply 5V for PIC and 74HC595 Shift register. 6. ICSP programmer connector ( to program the code into PIC) 7. 74HC595 shift register ( to control RGB LEDs) 8. Reset button ( to reset the PIC) 9. LED ( power indicator) 10. 1N4148 ( to protect LED from wrong polarity) 11. Capacitors ( to stabilize both input and output voltage of LM7805) 12. 2N2222 transistors ( to amplify the current for RGB LEDs) 13. RGB LEDs 14. Piezo ( to play melody) 15. PIC 16F727 ( the main brain of this project) 16. Contrast ( to control the contrast of LCD) 17. mtouch (for Tic Tac Toe gaming) 18. LCD ( to display the result and guidelines of the Tic Tac Toe game) uF capacitor ( to stabilize the supply voltage to the PIC) Software: Flow Chart for main loop Flow chart for ISR: Frequency Measurement ISR Read Timer 1 value Current Reading < (average threshold)? Yes Button pressed No Button not pressed Start Perform average Initialize PIC, LCD And Capacitive Sensing Module Set Next Channel Clear all variables and set flag = 0 Restart Timer Enable interrupt Return Timer 1 gate interrupt? Yes No Service interrupt Main loop Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 7
8 Flow chart for Tic-Tac-Toe Game Main loop Play starting melody Check flag Flag = 0? No Yes Player 1 Player 2 The button pressed has been pressed previously? Yes No Toggle flag Store X or O into matrix based on flag Display RGB LEDs accordingly Winner? Yes No Draw? No Toggle flag Yes Play melody Display result on LCD Stop Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 8
9 For more information about the software for this system, please refer to the source code provided. The explanation of each instruction is provided in the source code as the comment of each line. Guide for making connector 1 2 The source code is provided free and Cytron Technologies will not be responsible for any further modification or improvement. GETTING START User can obtain the hardware set for this project (PR28) either by online purchasing ( or by purchasing it in Cytron Technologies Shop. 1. Once user has the hardware set, soldering process can be started. Please solder the electronic components one by one according to the symbols or overlays on the Printed Circuit Board (PCB). Ensure that the component value and polarity is correctly soldered. Please refer to PCB Layout in Appendix A. Caution: Make sure all the connectors (2510) are soldered in proper side. Those electronic components have polarity such as capacitors, diodes, PIC, 74HC595s, LM7805, transistors, RGB LEDs and LED should be soldered in right polarity or it may cause the circuit board fail to work. Warning: Before the battery (Power) is plugged in, make sure the polarity is correct to prevent explosion. Wrong polarity of capacitor also may cause explosion Figure 19 Guide for making for 9V battery connector: Figure 20 (not included in DIY project set) Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 9
10 2. Please download the necessary files and document from Cytron Technologies website. These included documentation, sample source code, schematic, component list and software. 3. The next step is to install MPLAB IDE and HI-TECC C PRO into a computer. The MPLAB IDE and HI-TECC C PRO can be downloaded from Please refer MPLAB IDE installation step document to install the software. The documents can be used to any version of MPLAB IDE software. 4. After the installation complete, open the project file provided using MPLAB IDE. Please refer MPLAB Open Project document to open the sample program. 5. Plug in power supply for the circuit. User can choose to use battery or AD to DC adaptor. the power. The programmer is not included in the hardware set but it can be found at Cytron website. (User manual is provided at website). 7. Test the functionality of the PCB board. 8. Have fun! TEST METHOD 1. Switch ON the power Power LED (Green) will turn ON. A short melody will be played. LCD will show Cytron Technologies Sdn Bhd and PR 28 Tic-Tac-Toe with mtouch ). Then, LCD will show the indicator for RGB LEDs, which is Player 1 = red and Player 2 = green. Next, LCD will show Player 1 starts first. AC to DC adaptor: Figure 21 (Not included in DIY project set) Connection to the PCB board: 12V Polarity 2. Press your finger on the touch pad Tic Tac Toe game has been started. RGB LED will turn ON accordingly with the position. For player 1, the RGB LED will be in red color. Whereas, player 2 is in green color. LCD will guide user who is the turn each time. Repeat this step continuously until there is a winner. 3. If player 1 is a winner A melody will be played. LCD will display Congratulation!! **Player 1 win** 4. If player 2 is a winner A melody will be played. LCD will display Congratulation!! **Player 2 win** 5. If there is a draw Different melody will be played. LCD will display Congratulation!! **draw** and blink continuously. All RGB LEDs will be blinking continuously in blue color. 6. If all steps mentioned above can be executed, your project is done successfully. Congratulations!! Figure Build the project and load the hex file into the PIC microcontroller using the USB In-Circuit Programmer (UIC00B). When user builds the project, MPLAB IDE will generate hex file. The hex file generated from MPLAB IDE will be named according to project name, not C file name. Cytron Technologies also provide hex file for user. Do not forget to switch ON Please note that do not try to press more than one touch pad each time as it will cause instability of the system. WARRANTY No warranty will be provided as this is DIY project. Thus, user is advised to check the polarity of each electronic component before soldering it to board. Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 10
11 Demonstration 1. When player 1 press position Z1 on the touch pad, the RGB LED on position Z1 will turn ON in red color. The LCD will show that player 2 is the next turn. This step is as shown in Figure below. 2. Next, when player 2 press position Y2 at touch pad, the RGB LED on position Y2 will turn ON in green color. The LCD will then guide users that player 1 is the next turn. 3. These two steps will repeat till there is a winner or draw. Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 11
12 Appendix A PCB Layout: PWR Slide Switch Reset LED PIEZO 1N4007 Adaptor 1N K7 LM uF 16V 10uF PIC 16F727 ICSP Programmer 2N2222 Transistors 1 K HC595 1 K 74HC595 RGB LEDS 74HC uf Contrast mtouch LCD * Cytron Technologies reserved the right to replace the component in the list with component of the same functionality without prior notice. Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 12
13 PR28-Tic-Tac-Toe with mtouch Prepared by Cytron Technologies Sdn. Bhd. 19, Jalan Kebudayaan 1A, Taman Universiti, Skudai, Johor, Malaysia. Tel: Fax: URL: Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 13
RFID: Read and Display V2010. Version 1.1. Sept Cytron Technologies Sdn. Bhd.
PR8-B RFID: Read and Display V2010 Version 1.1 Sept 2010 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion
More informationDisplay Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.
Display Real Time Clock (RTC) On LCD PR12 Version 1.2 Aug 2008 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion
More informationSK18A. 18 Pins PIC START-UP KIT. User s Manual V1.1. Dec 2007
SK18A 18 Pins PIC START-UP KIT User s Manual V1.1 Dec 2007 Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded
More informationIFC-OC04 Interface Free Controller Output Card
IFC-OC04 Interface Free Controller Output Card User s Manual V1.1 Apr 2008 Information contained in this publication regarding device applications and the like is intended through suggestion only and may
More informationIFC-MD15A Interface Free Controller Brush Motor Card
IFC-MD15A Interface Free Controller Brush Motor Card User s Manual V1.0 Oct 2008 Information contained in this publication regarding device applications and the like is intended through suggestion only
More informationIFC-EB02 Interface Free Controller Extension Board
IFC-EB02 Interface Free Controller Extension Board User s Manual V1.1 Apr 2008 Information contained in this publication regarding device applications and the like is intended through suggestion only and
More informationCYTRON USB PIC Programmer v2009 UP00B
CYTRON USB PIC Programmer v2009 UP00B User s Manual V1.0 Nov 2008 Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded
More informationSK40C ENHANCED 40 PINS PIC START-UP KIT. User s Manual V1.3. March 2012
SK40C ENHANCED 40 PINS PIC START-UP KIT User s Manual V1.3 March 2012 Information contained in this publication regarding device applications and the like is intended through suggestion only and may be
More informationCytron USB to UART Converter UC00A
Cytron USB to UART Converter UC00A User s Manual V1.1 August 2009 Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded
More informationRE08A Rotary Encoder Kit
RE08A Rotary Encoder Kit User s Manual V1.5 November 2011 Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded
More informationPS2 Controller Starter Kit SKPS
PS2 Controller Starter Kit SKPS User s Manual V1.0 Oct 2008 Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded
More informationBLD04A Brushless DC Motor Driver
BLD04A Brushless DC Motor Driver User s Manual V1.1 MAY 2011 Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded
More informationIFC-MB00 Interface Free Controller Main Board
IFC-MB00 Interface Free Controller Main Board User s Manual V1.1 Apr 2008 Information contained in this publication regarding device applications and the like is intended through suggestion only and may
More informationSHIELD-MD10 Cytron 10A Motor Driver Shield
SHIELD-MD10 Cytron 10A Motor Driver Shield User's Manual V1.0 October 2012 Created by Cytron Technologies Sdn. Bhd. All Right Reserved 1 Index 1. Introduction 3 2. Packing List 4 3. Product Specification
More informationTranscendent Frequency Counter
Transcendent Frequency Counter with blue 2 x 16 LCD display This manual will guide you how to assemble, test and operate this frequency counter KIT. Features: The transcendent counter has two input channels
More informationCapacitive Touch Remote Control Reference Design User s Guide
Capacitive Touch Remote Control Reference Design User s Guide Microchip Korea V0.8-page 1 Capacitive Touch Remote Control Reference Design User s Guide Table of Contents Chapter 1. Introduction 1.1 Introduction
More informationThe FED PIC Flex 2 Development Boards
The FED PIC Flex 2 Development Boards THE FED PIC Flex Development board offers a host for 28 or 40 pin devices and includes LED's, switches, transistor switches, USB interface, serial port, support circuitry,
More informationLABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F4580
LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F458 1. OBJECTIVES: 1.1 To learn how to interface LCD 16x2, Keypad 4x4 and 7Segment Display to the microcontroller. 1.2 To
More informationDEV-1 HamStack Development Board
Sierra Radio Systems DEV-1 HamStack Development Board Reference Manual Version 1.0 Contents Introduction Hardware Compiler overview Program structure Code examples Sample projects For more information,
More informationCytron 3A Motor Driver Shield SHIELD-3AMOTOR. User s Manual Rev 1.0 April 2017
Cytron 3A Motor Driver Shield SHIELD-3AMOTOR User s Manual Rev 1.0 April 2017 Information contained in this publication regarding device applications and the like is intended through suggestion only and
More informationBolt 18F2550 System Hardware Manual
1 Bolt 18F2550 System Hardware Manual Index : 1. Overview 2. Technical specifications 3. Definition of pins in 18F2550 4. Block diagram 5. FLASH memory Bootloader programmer 6. Digital ports 6.1 Leds and
More informationPICado Alpha Development Board V1.0
V1.0 Bluetooth Transceiver Module HC-05 Four onboard FET power output stage 34 freely assignable I/O pins ICSP interface 2015 Jan Ritschard, All rights reserved. V1.0 Table of Contents 1. Introduction...
More informationPIC Microcontroller Introduction
PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.
More informationMaker Uno MAKER-UNO. User s Manual. Rev 1.0 Dec 2017
Maker Uno MAKER-UNO User s Manual Rev 1.0 Dec 2017 Informa on contained in this publica on regarding device applica ons and the like is intended through sugges on only and may be superseded by updates.
More informationPVK40. User's manual. Feature Rich Development and Educational Kit for 40-pin Microchip PIC microcontrollers
PVK40 User's manual Feature Rich Development and Educational Kit for 40-pin Microchip PIC microcontrollers CONTENTS PVK40 3 On-board peripherals: 3 Power supply 4 Microcontroller 4 Reset circuitry 4 Oscilator
More informationAKKON USB CONTROLLER BOARD
TN002 AKKON USB CONTROLLER BOARD USB Microcontroller board with the PIC18F4550 * Datasheet Authors: Gerhard Burger Version: 1.0 Last update: 20.01.2006 File: Attachments: no attachments Table of versions
More informationSD02B 2A Stepper Motor Driver
SD02B 2A Stepper Motor Driver User s Manual V1.2 July 2013 Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded
More informationPIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features:
PIC16F7X 2/40-pin -Bit CMOS FLASH Microcontrollers Devices Included in this Data Sheet: PIC16F7 PIC16F74 PIC16F76 PIC16F77 Microcontroller Core Features: High-performance RISC CPU Only 5 single word instructions
More informationRapid40i PIC Prototyping PCB User Manual
Description This is a PCB designed to facilitate the rapid prototyping of a device based on a 40 pin Microchip PIC microcontroller. To allow users to focus on their application, we take care of key housekeeping
More informationShack Clock kit. U3S Rev 2 PCB 1. Introduction
Shack Clock kit U3S Rev 2 PCB 1. Introduction Thank you for purchasing the QRP Labs Shack Clock kit. This clock uses the Ultimate3S QRSS/WSPR kit hardware, but a different firmware version. It can be used
More informationFor more detailed information about this product please refer to the QT510 datasheet.
E510 1 User Manual 2 E510 User Manual OVERVIEW This kit is designed for evaluation and development of QT510-based QWheel Rotary slider. It includes a fully assembled rotary slider evaluation board, user
More informationRapid40iXL PIC Prototyping PCB User Manual
Description This is a PCB designed to facilitate the rapid prototyping of a device based on a 40 pin Microchip PIC microcontroller. To allow users to focus on their application, we take care of key housekeeping
More informationRapid28iXL PIC Prototyping PCB User Manual
Description Features This is a PCB designed to facilitate the rapid prototyping of a device based on a 28 pin Microchip PIC microcontroller. To allow users to focus on their application, we take care of
More informationDEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP
DEVBOARD3 DATASHEET 10Mbits Ethernet & SD card PIC18F67J60 MICROCHIP Version 1.0 - March 2009 DEVBOARD3 Version 1.0 March 2009 Page 1 of 7 The DEVBOARD3 is a proto-typing board used to quickly and easily
More informationE3B USER'S GUIDE. for QT310 / QT320 QProx IC evaluation and development Overview. Fast Start
E3B USER'S GUIDE for QT310 / QT320 QProx IC evaluation and development Overview The E3B board works with Quantum s QT310 and QT320 QProx ICs. Either device can be inserted into the 8-pin DIP socket. QT310
More informationKPIC-0818P (V050919) Devices Included in this Data sheet: KPIC-0818P
Devices Included in this Data sheet: KPIC-0818P Features: Carefully designed prototyping area Accepts 8 pin PIC12 series micro-controllers Accepts 14 and 18 Pin PIC16 series Accepts some 8,14 and 18 pin
More informationPIC 28 Pin Board Documentation. Update Version 5.0
PIC 28 Pin Board Documentation Update 2009.10 Version 5.0 Table of Contents PIC 28 Pin Board Documentation... 1 Table of Contents... 2 Introduction... 3 Circuit Schematic... 4 The following is the Circuit
More informationLinux Kernel Hacking Free Course, 3rd edition. HWMPS: Hardware Monitor & Protection System
Andrea Sarro University of Rome Tor Vergata HWMPS: Hardware Monitor & Protection System April 5, 2006 Outline of the talk Project overview Developement phases and practical issues Hardware platform Microcontroller
More informationPIC-32MX development board Users Manual
PIC-32MX development board Users Manual All boards produced by Olimex are ROHS compliant Rev.A, June 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved INTRODUCTION: The NEW PIC-32MX board uses the
More informationBSCB-2 BASIC STAMP CARRIER BOARD
BSCB-2 BASIC STAMP CARRIER BOARD Technical Manual Document Revision: 1.04 Date: 06 August 2003 BiPOM Electronics, Inc. 16301 Blue Ridge Road, Missouri City, Texas 77489 Telephone: 1-713-283-9970 Fax: 1-281-416-2806
More informationCapacitive mtouch Sensing Solutions
Capacitive mtouch Sensing Solutions Design Guidelines 2010 Microchip Korea AE Team. All Rights Reserved. Capacitive Touch Sensing Design Guide Slide 1 Agenda Design Guidelines for: Copper Pad Size Circuit
More informationK191 3 Channel RGB LED Controller
K191 3 Channel RGB LED Controller 1 Introduction. This kit has been designed to function as a versatile LED control module. The LED controller provides 3 high current channels to create light effects for
More informationBIG8051. Development system. User manual
BIG8051 User manual All s development systems represent irreplaceable tools for programming and developing microcontroller-based devices. Carefully chosen components and the use of machines of the last
More informationLPC2148 DEV BOARD. User Manual.
LPC2148 DEV BOARD User Manual www.coineltech.com www.coineltech.com Designed by CoiNel Technology Solutions LLP No-816, 2 nd Floor, 4 th B Cross, 9 th A Main, RPC Layout, Vijaynagar, Bangalore-560040 State:
More informationLED Knight Rider. Yanbu College of Applied Technology. Project Description
LED Knight Rider Yanbu College of Applied Technology Project Description This simple circuit functions as a 12 LED chaser. A single illuminated LED 'walks' left and right in a repeating sequence, similar
More informationSierra Radio Systems. HamStack. Project Board Reference Manual V1.0
Sierra Radio Systems HamStack Project Board Reference Manual V1.0 Welcome HamStack Project Board Reference Manual Revision 1.0.3 2011 George Zafiropoulos, KJ6VU and John Best, KJ6K This guide provides
More informationPedalSync. 9 Switches MV-62. Chip. Module. and
PedalSync 9 Switches MV-62 Chip and Module PedalSync 9 Switches chip MV-62 is designed for pedalboard switching controls using the extremely quiet PedalSync MV-57 ReMute Relay Bypass system. MV-62 works
More informationPIC Dev 14 Through hole PCB Assembly and Test Lab 1
Name Lab Day Lab Time PIC Dev 14 Through hole PCB Assembly and Test Lab 1 Introduction: The Pic Dev 14 is a simple 8-bit Microchip Pic microcontroller breakout board for learning and experimenting with
More informationBIGdsPIC6. Development System. User manual
BIGdsPIC6 User manual All s development systems represent irreplaceable tools for programming and developing microcontroller-based devices. Carefully chosen components and the use of machines of the last
More informationIntroducing: New Low-Cost & Low Pin Count PIC Microcontrollers for the 8-, 16- & 32-bit Markets
Introducing: New Low-Cost & Low Pin Count PIC Microcontrollers for the 8-, 16- & 32-bit Markets PIC MCU and dspic DSC Family Portfolio 2 New Low Cost, Low Pin-Count 8-, 16-, 32-bit Offerings 3 What Are
More informationKeywords Digital IC tester, Microcontroller AT89S52
Volume 6, Issue 1, January 2016 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Digital Integrated
More informationMT2 Introduction Embedded Systems. MT2.1 Mechatronic systems
MT2 Introduction Embedded Systems MT2.1 Mechatronic systems Mechatronics is the synergistic integration of mechanical engineering, with electronics and intelligent computer control in the design and manufacturing
More informationDual Interface LCD Display Controller
Dual Interface LCD Display & Keypad Controller Product specification Nov 2013 V0.a ByVac Page 1 of 11 Contents 1. Introduction... 3 2. Features... 3 3. BV4618, Comparison... 3 3.1.1. BV4618... 3 3.1.2....
More informationSD02C 2A Stepper Motor Driver. User s Manual V1.0
SD02C 2A Stepper Motor Driver User s Manual V1.0 APRIL 2016 Index ROBOT. HEAD to TOE 1. Introduction and Overview 3 1.0 Introduction of SD02C 3 1.1 System Overview 4 1.2 General Description 5 2. Packing
More informationMOD-ZIGBEE-PIR sensor development board USER S MANUAL All boards produced by Olimex LTD are ROHS compliant
sensor development board USER S MANUAL All boards produced by Olimex LTD are ROHS compliant Revision B, Januray 2013 Designed by OLIMEX Ltd, 2011 Disclaimer: 2012 Olimex Ltd. Olimex, logo and combinations
More informationPridgen Vermeer Robotics Xmega128 Manual
Features: 12x PWM signals with 5V supply 8x A/D Inputs with 3.3V supply 2x RS 232 Terminals 1x SPI Interface 4x 8-bit Digital IO ports 3.3V Power Bus LCD Header (4-bit mode) Smart Power Connecter Power
More informationHAND HELD PROGRAMMER QUICK START GUIDE
HAND HELD PROGRAMMER QUICK START GUIDE IMPORTANT INFORMATION 1) Do not leave the programmer connected to the PC adapter or a target system, as this will drain the battery. Installing Software 1) Run the
More informationDEV16T. LCD Daughter board
LCD Daughter board Table of Contents 1 Introduction...2 2 Features...3 3 Expansion Connectors...4 3.1 Daughter Board Connectors...4 4 LCD Display...5 5 Input Buttons S1 to S4...5 6 Buzzer...5 7 Connector
More informationGLiPIC Ver C Assembly manual Ver 1.0
GLiPIC Ver C Assembly manual Ver 1.0 Last Rev 1.1 Oct 30, 2001 Author: Ranjit Diol Disclaimer and Terms of Agreement As with any kit, only the individual parts supplied are guaranteed against defects and
More informationExclusive 2.5 GHz Frequency Counter
Exclusive 2.5 GHz Frequency Counter with blue 2 x 16 LCD display This manual will guide you how to assemble, test and tune this frequency counter KIT. Features: Frequency range from 5 MHz to 2.5GHz Factory
More informationVariable Power Supply Digital Control Circuit Diagram Using Lm317
Variable Power Supply Digital Control Circuit Diagram Using Lm317 DIGITAL POWER SUPPLY USING LM317 A Major Project Report Submitted partial fulfillment of the requirement for the award of the Degree of
More informationBV511 Hardware Guide ByVac ByVac Revision 1.0
BV511 Hardware Guide ByVac ByVac 2007 www.byvac.co.uk Revision 1.0 ByVac 1 Copyright in this work is vested in ByVac and the document is issued in confidence for the purpose only for which it is supplied.
More informationIS-S0108 Single Switch Solution
IS-S0108 Single Switch Solution IS-S0108 Single Switch Solution Revision D NKK SWITCHES 7850 E. Gelding Drive Scottsdale, AZ 85260 Toll Free 1-877-2BUYNKK (877-228-9655) Phone 480-991-0942 Fax 480-998-1435
More informationTP80301 Data Sheet Copyright SIGMATONE Version 1.0
1 Copyright Version 1.0 2 Disclaimer Information contained in this data sheet regarding device applications is provided only for your convenience and may be superseded by updates. Sigmatone makes no representations
More informationSchematic Diagram: R2,R3,R4,R7 are ¼ Watt; R5,R6 are 220 Ohm ½ Watt (or two 470 Ohm ¼ Watt in parallel)
Nano DDS VFO Rev_2 Assembly Manual Farrukh Zia, K2ZIA, 2016_0130 Featured in ARRL QST March 2016 Issue Nano DDS VFO is a modification of the original VFO design in Arduino Projects for Amateur Radio by
More informationUser Manual For CP-JR ARM7 USB-LPC2148 / EXP
CP-JR ARM7 USB-LPC2148 / EXP 38 CR-JR ARM7 USB-LPC2148 which is a Board Microcontroller ARM7TDMI-S Core uses Microcontroller 16/32-Bit 64 Pin as Low Power type to be a permanent MCU on board and uses MCU
More informationTC35 GSM Development Board
TC35 GSM Development Board User s Manual V1.1 Mar 2014 Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 1 Created by Cytron Technologies Sdn. Bhd. All Rights Reserved 2 Index 1. Introduction
More information09/05/2014. Engaging electronics for the new D&T curriculum. Geoff Hampson Managing Director of Kitronik. Presentation overview
Presentation overview Engaging electronics for the new D&T curriculum Geoff Hampson Managing Director of Kitronik What to include Free web resources Electronic project ideas Using programmable components
More informationGoal: We want to build an autonomous vehicle (robot)
Goal: We want to build an autonomous vehicle (robot) This means it will have to think for itself, its going to need a brain Our robot s brain will be a tiny computer called a microcontroller Specifically
More informationNeoLoch. Inquisitor 6821 PIA Blade Manual. Overview. Preliminary Release
NeoLoch Inquisitor 6821 PIA Blade Manual Overview The Inquisitor PIA blade is designed to test 6821, and compatible, Peripheral Interface Adapters. The Inquisitor PIA tester conducts a wide range of tests
More informationTDSDB Features. Description
TDSDB14550 Features Inexpensive development or project board providing quick start up solution. 5v Pic alternative to the 3.3v TDSDB146J50 Mini B USB socket to provide power and USB functionality. 40 pin
More informationDoc: page 1 of 8
Minicon Reference Manual Revision: February 9, 2009 Note: This document applies to REV C of the board. 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview The Minicon board is a
More informationEmbedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester
Embedded Systems PIC16F84A Internal Architecture Eng. Anis Nazer First Semester 2017-2018 Review Computer system basic components? CPU? Memory? I/O? buses? Instruction? Program? Instruction set? CISC,
More informationPIC-P40 development board Users Manual
PIC-P40 development board Users Manual All boards produced by Olimex are ROHS compliant Rev.E, February 008 Copyright(c) 008, OLIMEX Ltd, All rights reserved Page INTRODUCTION: PIC-P40 board is development
More informationPIC Dev 14 Surface Mount PCB Assembly and Test Lab 1
Name Lab Day Lab Time PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1 Introduction: The Pic Dev 14 SMD is a simple 8-bit Microchip Pic microcontroller breakout board for learning and experimenting
More informationSBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual
SBAT90USB162 Atmel AT90USB162 Development Board User s manual 1 1. INTRODUCTION Thank you for choosing the SBAT90USB162 Atmel AT90USB162 development board. This board is designed to give a quick and cost-effective
More informationModtronix Engineering Modular Electronic Solutions SBC28DC. Single board computer for 28 pin DIP PICs
Modtronix Engineering Modular Electronic Solutions Single board computer for 28 pin DIP PICs Table of Contents 1 Introduction...2 2 Features...4 3 Expansion Connectors...5 3.1 Daughter Board Connectors...5
More informationSection 30. In-Circuit Serial Programming (ICSP )
Section 30. In-Circuit Serial Programming (ICSP ) HIGHLIGHTS This section of the manual contains the following major topics: 30. Introduction... 30-2 30.2 Entering In-Circuit Serial Programming Mode...
More informationDepartment of Electronics and Instrumentation Engineering Question Bank
www.examquestionpaper.in Department of Electronics and Instrumentation Engineering Question Bank SUBJECT CODE / NAME: ET7102 / MICROCONTROLLER BASED SYSTEM DESIGN BRANCH : M.E. (C&I) YEAR / SEM : I / I
More informationUSER GUIDE. Atmel QT1 Xplained Pro. Preface
USER GUIDE Atmel QT1 Xplained Pro Preface Atmel QT1 Xplained Pro kit is an extension board that enables evaluation of self- and mutual capacitance mode using the Peripheral Touch Controller (PTC) module.
More informationFireloch 4 Digit 7 Segment Programmable Display Module
NeoLoch FLS-4D7S-1010 Fireloch 4 Digit 7 Segment Programmable Display Module Features: 3 to 11 wire operation. Breadboard compatible. Compact design. Count up / down. Count in Hex / Dec. Two character
More informationAdvanced Lantern 1.0 Kit. Introduction to the Advanced Lantern 1.0 Kit
Advanced LED Lantern 1.0 Instruction Manual Eastern Voltage Research, LLC Introduction to the Advanced Lantern 1.0 Kit Thank you for purchasing the Advanced Lantern 1.0 Kit. This kit is an advanced microprocessor
More informationMeterBuilder MB-1 PROGRAMMABLE RF POWER METER. CIRCUIT DESCRIPTION Version 1.01 June 2011
MeterBuilder MB-1 PROGRAMMABLE RF POWER METER CIRCUIT DESCRIPTION Version 1.01 June 2011 Patent and Copyright Notices Patent Applied For Copyright Material in this document copyrighted 2011 FullWave, LLC.
More informationEasyPIC5 Development System
EasyPIC5 Development System Part No.: MPMICRO-PIC-Devel- EasyPIC5 Overview EasyPIC5 is a development system that supports over 120 8-, 14-, 18-, 20-, 28- and 40-pin PIC MCUs. EasyPIC5 allows PIC microcontrollers
More informationProfessional Radio GM Series. Controlhead Service Information
Professional Radio GM Series Controlhead Service Information Issue: September 2000 ii Computer Software Copyrights The Motorola products described in this manual may include copyrighted Motorola computer
More informationAVR Peripheral Board. Campus Component Pvt. Ltd.
AVR Peripheral Board Campus Component Pvt. Ltd. DISCLAIMER Information furnished is believed to be accurate and reliable at the time of publication. However, Campus Component Pvt. Ltd. assumes no responsibility
More informationAXE033 SERIAL/I2C LCD & CLOCK
AXE033 SERIAL/I2C LCD & CLOCK The serial LCD and clock module allows microcontroller systems (e.g. PICAXE) to visually output user instructions or readings, without the need for a computer. This is especially
More informationEL Wire sequencer / power supply PART NO
EL Wire sequencer / power supply PART NO. 2206213 The EL Wire sequencer is a EL wire power supply capable of powering 50 plus feet of 2.6mm El Wire and 8 ports controlled by a BS2sx. A menu driven command
More informationS12VR Hardware Design. Guidelines. 1 Introduction. 2 Hardware Design. Guidelines. 2.1 Voltage regulator. Freescale Semiconductor
Freescale Semiconductor Document Number: AN4643 Application Note Rev 1, 10/2013 S12VR Hardware Design Guidelines by: Carlos Aceff 1 Introduction This document lists the required external components and
More informationPIC PORTABLE PROGRAMMER QUICK START GUIDE
PIC PORTABLE PROGRAMMER QUICK START GUIDE IMPORTANT INFORMATION 1) Do not leave the programmer connected to the PC adapter or a target system, as this will drain the battery. Installing Software 1) Run
More informationSECURE DIGITAL ACCESS SYSTEM USING IBUTTON
SECURE DIGITAL ACCESS SYSTEM USING IBUTTON Access control forms a vital link in a security chain. Here we describe a secure digital access system using ibutton that allows only authorised persons to access
More informationPin # Name Type Description
Figure 1. Photo of Actual FEATURES High Efficiency: 90% Constant Current Output Maximum Output Current: 1A Current Output Noise: 0.0% High Stability: 0ppm/ C PWM Switching Frequency Synchronizable Zero
More information8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help
8051 Intermidiate Development Board Product Manual Contents 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 1. Overview 2. Features The board is built on a high quality FR-4(1.6
More informationTwo-wire. Jumper for 12V. J2 Enable Adjust D/A1. Super PLC Warning: Warranty Void if this label is damaged 62256LP-12 CMOS RAM 4.
T100MD-888+ PLC Installation Guide LCD Display Module 1N4007 (optional) + - 12 to 24V DC Power Supply for PLC Contrast Adjust 14-pin LCD Display port Two-wire RS485 + - Jumper for 12V 1000µ F 5 E.Cap (Optional)
More informationSBC44EC. Single board computer for 44 pin PLCC PICs
Single board computer for 44 pin PLCC PICs Table of Contents 1 Introduction...2 2 Features...3 3 Expansion Connectors...4 3.1 Frontend Connectors...4 3.1.1 Connecting IDC connectors to the Frontend Connector...5
More informationUSER GUIDE. Atmel QT6 Xplained Pro. Preface
USER GUIDE Atmel QT6 Xplained Pro Preface Atmel QT6 Xplained Pro kit is a Xplained Pro extension board that enables the evaluation of a mutual capacitance touch suface using the Peripheral Touch Controller
More informationF²MC-8L FAMILY MB89201 SERIES FLASH PROGRAMMING 8-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note
Fujitsu Microelectronics Europe Application Note MCU-AN-300001-E-V10 F²MC-8L FAMILY 8-BIT MICROCONTROLLER MB89201 SERIES FLASH PROGRAMMING APPLICATION NOTE Revision History Revision History Date 2005-02-09
More informationBASIC Stamp 1 Project Board (#27112) Development / Education Platform for the BASIC Stamp 1
599 Menlo Drive, Suite 100 Rocklin, California 95765, USA Office: (916) 624-8333 Fax: (916) 624-8003 General: info@parallax.com Technical: support@parallax.com Web Site: www.parallax.com Educational: www.stampsinclass.com
More informationDownloaded from Elcodis.com electronic components distributor
CONTENTS LV24-33A KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 Switches and Jumpers 7 MCU Sockets 8 Power Supply 10 On-board USB 2.0 Programmer 11 RS-232 Communication Circuit 12 LEDs 14 Push
More informationPin # Name Type Description
Figure 1. Photo of Actual FEATURES High Efficiency: 90% Constant Current Output Maximum Output Current: 3A Current Output Noise: 0.0% High Stability: 0ppm/ C PWM Switching Frequency Synchronizable Zero
More information