11/29/2015David Conn VE3KL1 OARC Microcontroller Club Project 2009 Picaxe PIC16F886.

Slides:



Advertisements
Similar presentations
INDIVIDUAL PROJECT BY R.KARTHIKMANOJ
Advertisements

SWR Meter Session 3 Learn about Transformers and SWR Meters
Simple Microcontroller Programming with PIC16F88.
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Programmable Interval Timer
PIC Programming with Logicator
MICROCONTROLLERS MODULE 2 Programming, Controlling and Monitoring.
Basic Stamp II is kinda cool Bytes of EEPROM(non-volatile) - Clock speed of 20 MHz. - Holds 600 lines of code in EEPROM - executes an average of.
Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey.
Remote Keystroke Retrieval System Kevin Butler Omar Martino Eric Hicks.
Home Wireless Control Students Lee Blum Ehud Ravitz Instructor Konstantin Sinyuk Mid Semester Presentation Project A
LM 317 IC
2 Way FM Car Starter Dan Owens April 12, 2005 Instructor: Dr. Pao-Lo Liu Department of Electrical Engineering University at Buffalo Course Requirement.
Lecture – 7 Basic input and output
Submitted by:. CONTENTS Introduction Block diagram Power supply PIC Microcontroller BLDC Motor Opto-isolator MOSFET IR LED & Photodiode Keypad LCD Schematic.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Embedded Systems Design
GSM BASED ENERGY METER BILLING WITH LOAD CONTROL Submitted By.
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
Serial Communication ETEC 6416.
General Licensing Class G7A – G7C Practical Circuits Your organization and dates here.
1 Chelmsford Amateur Radio Society Advanced Licence Course Anthony Martin M1FDE Slide Set 24: v1.0, 23-Oct-2004 (4) Measurements – RF Power Chelmsford.
Objectives How Microcontroller works
1 Applied Control Systems Technology. 2 Pin configuration Applied Control Systems.
QCWA Nov Dave Green VE3TLY1 Microcontrollers and Amateur Radio – a Club Project.
Shiv Yukeun Donghan Robert.  Project overview  Project-specific success criteria  Block diagram  Component selection rationale  Packaging design.
Propulsiometer Instrumented Wheelchair Wheel Prepared by: Seri Mustaza (BME) Siti Nor Wahida Fauzi (BME) Ahmad Shahir Ismail (EECE) Hafizul Anwar Raduan.
ANALOG CIRCUIT AND DEVICES 10/7/ Semester I 2013/2014 Course Code: EEE 3123.
By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010.
CS-EE 481 Spring Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different.
Aquatic Spectrometer & Turbidity Meter ECE 4007 L1, Group 8 Paul Johnson Daniel Lundy John Reese Asad Hashim.
8279 KEYBOARD AND DISPLAY INTERFACING
Digital Electronics Board-of-Education : Input. Board of Education - Input This presentation will explain, both from a hardware and software perspective,
Analog to Digital Converter David Wallace English 314.
8279 KEYBOARD AND DISPLAY INTERFACING
Water Flow GROUP A. Analogue input voltage results: Motor Input voltage( V) pin 12 Analogue input voltage (V) Display number
Department of Electronic & Electrical Engineering LCD character display (parallel interface). How to interface a LCD character display to a PIC.
Digital Electronics Board-of-Education : Output. Board of Education - Output This presentation will explain, both from a hardware and software perspective,
Lab 1 Summary.
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
MOBILE VOTING. CONTENT Introduction Block Diagram Hardware Implementation Circuit Diagram Circuit Operation PCB Design.
Password Based Door Lock System using 8051 Microcontroller
Automatic Guitar Tuner Group #10 Dariusz Prokopczak & Stephan Erickson ECE 445 Sr. Design December 9, 2014.
PROJECT ON FAULT ANALYSIS AND DETECTION GUIDED BY:: SUBMITTED BY:- MS. SHUBRA GOEL.
SUBMITTED BY EDGEFX TEAM PORTABLE CODED WIRELESS MESSAGE COMMUNICATION BETWEEN TWO PARTIES SECRETLY WITH LCD DISPLAY.
TRANSMISSION LINE MULTIPLE FAULT DETECTION AND INDICATION TO EB
Auto Power Supply Control from 4 Different Sources using PIC Microcontroller
TV Remote As A Wireless Mouse For PC.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
ARDUINO BASED UNDERGROUND CABLE FAULT DETECTION
VEHICLE MOVEMENT SENSED LED STREET LIGHT WITH IDLE TIME DIMMING
Arduino Based Industrial appliances control system by decoding dual tone multi frequency signals on GSM / CDMA network. Submitted by:
DTMF BASED REMOTE INDUSTRIAL LOAD AND/OR AGRICULTURAL PUMP CONTROL
PC Mouse operated Electrical Load Control Using VB Application
SUBMITTED BY EDGEFX TEAM
DIGITAL CALCULATOR USING 8051
Electrical Components and Circuits
OBJECTIVE AND FEATURES:
Project Title EVM IN PIC Under the Guidance of Submitted by.
RFID SECURITY ACCESS CONTROL SYSTEM
Electronic Education Kits
Introduction to Microprocessors and Microcontrollers
General Licensing Class
Prepared by: Engr. Qurban Ali Memon Incharge of Final project Lab.
Testing 1, 2, 3, testing, testing…
What is the ability to store energy in an electric field called?
RF Power Meters RF Power can be measured using Thermal instruments
Presentation transcript:

11/29/2015David Conn VE3KL1 OARC Microcontroller Club Project 2009 Picaxe PIC16F886

11/29/2015David Conn VE3KL2 PIC Project C Programming PIC16F887 Develpoment Board Programmer Dummy Load/Power Meter Transmitter PC

11/29/2015David Conn VE3KL3 Using Picaxe EEPROM 256 Bytes ►Used with the Keyboard ►Used with the Power Meter ►EEPROM stores data that can be retrieved

11/29/2015David Conn VE3KL4 EEPROM 256 Bytes in Picaxe Put data in EEPROM with the command: EEPROM location,(data,data...) Example: EEPROM 0,(66,12,0,0,0,”V”) means The number 66 is stored in location 0 of the EEPROM 12 is stored in location 1 zero's stored in locations 2,3,4 Ascii “V” is stored in location ;Read from EEPROM read 0,b1 put 66 into variable b1 read 5,b2 puts “V” into variable b2

11/29/2015David Conn VE3KL5 The Normal way to use EEPROM (Write 16 lines by 16 Bytes) EEPROM $00,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $10,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $20,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $30,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $40,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $50,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $60,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $70,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $80,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $90,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $A0,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $B0,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $C0,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $D0,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $E0,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $F0,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) ; In the above, all the data is zero ; the location is written in Hex ; Note that $10 corresponds to decimal 16 … 16 numbers per line!

11/29/2015David Conn VE3KL6 EEPROM Practice Files ► eeprom_simple_test.bas ► eeprom_simple_test1.bas

11/29/2015David Conn VE3KL7 EEPROM with Keyboard Example: the scan code for the Key “A” is $1C main: Kbin [1000,main], b1;get scan code. Put into variable b1 read b1,b2;read from the EEPROM debug goto main ; All data set to zero except the “A” at location $1C EEPROM $00,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $10,(0,0,0,0,0,0,0,0,0,0,0,0,”A”,0,0,0) EEPROM $20,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $30,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $40,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $50,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $60,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $70,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $80,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $90,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $A0,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $B0,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $C0,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $D0,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $E0,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) EEPROM $F0,(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)

11/29/2015David Conn VE3KL8 Keyboard & EEPROM Practice Files ► keyboardscancode.bas ► keyineepromtable.bas

11/29/2015David Conn VE3KL9 Power Meter Elecraft DL1 minimodule 20 Watt Dummy Load/Power Meter Elecraft VE3KL 16 Watt Dummy Load/Power Meter

11/29/2015David Conn VE3KL10 Power Meter Block Diagram Transmitter CW 10 Watts Dummy Load Detector Picaxe Analog Input EEPROM 0 to 5 Volts DC I2C Display Diode Detector. Detects RF from TX DC fed to ADC of Picaxe (0 to 255) Picaxe looks up power level from EEPROM Power out displayed in Watts EEPROM values calculated from a formula

11/29/2015David Conn VE3KL11 Power Meter Circuit 10 Watts Max R Picaxe Analog Input (Pin 19) EEPROM I2C Display R C RF Input R=25 Ohms C=0.01 uF D1: 1N5711 D2: 1N914 R1 20K R2 10 K R2 R1 +5 Volts D1 D2

11/29/2015David Conn VE3KL12 The Formula Pin = (10/255^2)*bo^2 bo is the A/D variable read in to the Picaxe This formula is written into the EEPROM See the program supplied

11/29/2015David Conn VE3KL13 Program Flow PowerMeter_template.bas ; program flow ; set up i2c slave for display ; adc into b0 ; read power from EEPROM ; use bintoascii to separate the power numbers ; write to the display ; loop

Power Meter Calibration Adjust R2 to give proper reading compared to a power meter standard Do this for several frequencies up to 500 MHz Put correction factor in program Use simple keypad to select the band of operation.

73 Dave VE3KL Work lots of DX Build stuff Attend flea markets and hope for a following wind