Pic® Micro Principles on Your Mobile
()
About this ebook
A comprehensive student eTextbook with full colour graphics, calculations and graphs.
Colourful visual presentation assists the learning process as students will more likely remember, thereby increasing their personal confidence as they believe they are learning more as a result.
Knowing the content is on their phone encourages them to dip-in in a spare moment more than open a traditional textbook.
Digital technology when used in the classroom can motivate passive students by encouraging their active participation where STEM subjects are ideally suited to mobile devices.
Students who struggle to be fully engaged in normal classroom activity can often achieve the unexpected once sat in front of a phone or tablet digital screen where they can learn without the embarrassment of full class exposure.
Clive W. Humphris
Clive W. Humphris M0DXJ: Ex Technology Teacher. Software Developer, Author and Director of eptsoft limited. Married with two children and four grandchildren.Apprentice Instrument Maker at Marconi’s with Senor Technical Management roles in Radio Rentals and Alcatel Business Systems before starting eptsoft providing educational software to schools colleges and universities worldwide since 1992.Interests outside of developing digital products for eptsoft, include Running, Walking and Reading.
Read more from Clive W. Humphris
GCSE Maths Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsEmployability Skills: Brush Up Your Computing Rating: 0 out of 5 stars0 ratingsSTEM: Science, Technology, Engineering and Maths Principles Teachers Pack V10 Rating: 0 out of 5 stars0 ratingsComputing and Information Technology V11 Home Study Rating: 0 out of 5 stars0 ratingsDigital and Microprocessor Techniques V10 Rating: 0 out of 5 stars0 ratingsMechanics Principles V11 Home Study Rating: 0 out of 5 stars0 ratingsLearn Digital and Microprocessor Techniques On Your Smartphone: Portable Learning, Reference and Revision Tools. Rating: 0 out of 5 stars0 ratingsComputer Science on your Mobile Rating: 0 out of 5 stars0 ratingsEmployability Skills: Brush Up Your Maths Rating: 0 out of 5 stars0 ratingsComputing Principles V11 Rating: 0 out of 5 stars0 ratingsMathematics Principles V11 Rating: 0 out of 5 stars0 ratingsEmployability Skills: Brush Up Your Business Studies Rating: 0 out of 5 stars0 ratings
Related to Pic® Micro Principles on Your Mobile
Titles in the series (53)
Computing Principles V11 Rating: 0 out of 5 stars0 ratingsStem: Science, Technology, Engineering and Maths Principles Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsMathematics Principles V11 Rating: 0 out of 5 stars0 ratingsMechanics Principles V11 Rating: 5 out of 5 stars5/5Employability Skills: Brush up Your Maths Rating: 0 out of 5 stars0 ratingsLearn Electronics on Your Smartphone Rating: 0 out of 5 stars0 ratingsComputing Principles Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsElectronics Principles V11 Rating: 5 out of 5 stars5/5Electrical Principles V11 Rating: 0 out of 5 stars0 ratingsMechanics Principles Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsAccounting, Maths and Computing Principles for Business Studies Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsEmployability Skills: Brush up Your Engineering Rating: 0 out of 5 stars0 ratingsAccounting, Maths and Computing Principles for Business Studies V11 Rating: 0 out of 5 stars0 ratingsElectrical Principles Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsMathematics Principles Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsElectronics Principles Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsEmployability Skills: Brush up Your Computing Rating: 0 out of 5 stars0 ratingsComputer Science on Your Mobile Rating: 0 out of 5 stars0 ratingsEmployability Skills: Brush up Your Business Studies Rating: 0 out of 5 stars0 ratingsEmployability Skills: Brush up Your Electronics Rating: 0 out of 5 stars0 ratingsLearn Mechanics on Your Smartphone Rating: 0 out of 5 stars0 ratingsPic® Micro Principles V11 Rating: 0 out of 5 stars0 ratingsElectronics Principles on Your Mobile Rating: 0 out of 5 stars0 ratingsPic® Micro Principles Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsModel Railway Electronics V11 Home Study Rating: 0 out of 5 stars0 ratingsAccounting, Maths and Computing for Business Studies V11 Home Study Rating: 0 out of 5 stars0 ratingsEmployability Skills: Brush up Your Mechanics Rating: 0 out of 5 stars0 ratingsGcse Maths V11 Rating: 0 out of 5 stars0 ratingsComputing and Information Technology V11 Home Study Rating: 0 out of 5 stars0 ratingsLearn Electrical on Your Smartphone Rating: 0 out of 5 stars0 ratings
Related ebooks
Learn the Pic® Micro on Your Smartphone Rating: 0 out of 5 stars0 ratingsPic® Micro Principles Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsPic® Micro Principles V11 Rating: 0 out of 5 stars0 ratingsPIC Projects and Applications using C: A Project-based Approach Rating: 4 out of 5 stars4/5C Programming for the PIC Microcontroller: Demystify Coding with Embedded Programming Rating: 0 out of 5 stars0 ratingsIntermediate C Programming for the PIC Microcontroller: Simplifying Embedded Programming Rating: 0 out of 5 stars0 ratingsEmbedded C Programming: Techniques and Applications of C and PIC MCUS Rating: 3 out of 5 stars3/5Programming 8-bit PIC Microcontrollers in C: with Interactive Hardware Simulation Rating: 3 out of 5 stars3/5C Programming for the Pc the Mac and the Arduino Microcontroller System Rating: 0 out of 5 stars0 ratingsFoundation Course for Advanced Computer Studies Rating: 0 out of 5 stars0 ratingsDesigning Embedded Systems with 32-Bit PIC Microcontrollers and MikroC Rating: 5 out of 5 stars5/5The Art of Assembly Language Programming Using PIC® Technology: Core Fundamentals Rating: 0 out of 5 stars0 ratingsInterfacing PIC Microcontrollers: Embedded Design by Interactive Simulation Rating: 0 out of 5 stars0 ratingsComputer Programming and Computer Systems Rating: 0 out of 5 stars0 ratingsAVR RISC Microcontroller Handbook Rating: 0 out of 5 stars0 ratingsPIC Microcontrollers: An Introduction to Microelectronics Rating: 5 out of 5 stars5/5Arduino Measurements in Science: Advanced Techniques and Data Projects Rating: 0 out of 5 stars0 ratingsPLC: Programmable Logic Controller – Arktika.: EXPERIMENTAL PRODUCT BASED ON CPLD. Rating: 0 out of 5 stars0 ratingsDesigning Embedded Systems with PIC Microcontrollers: Principles and Applications Rating: 2 out of 5 stars2/5PIC32 Microcontrollers and the Digilent Chipkit: Introductory to Advanced Projects Rating: 5 out of 5 stars5/5Programmable Logic Controllers Rating: 4 out of 5 stars4/5Preliminary Specifications: Programmed Data Processor Model Three (PDP-3) October, 1960 Rating: 0 out of 5 stars0 ratingsElectronics Projects with the ESP8266 and ESP32: Building Web Pages, Applications, and WiFi Enabled Devices Rating: 1 out of 5 stars1/5Newnes Microprocessor Pocket Book Rating: 5 out of 5 stars5/5Digital Electronics with Arduino: Learn How To Work With Digital Electronics And MicroControllers Rating: 5 out of 5 stars5/5ESP32 Programming for the Internet of Things: JavaScript, AJAX, MQTT and WebSockets Solutions Rating: 5 out of 5 stars5/5Servicing Personal Computers Rating: 0 out of 5 stars0 ratingsAssembly Language Programming: ARM Cortex-M3 Rating: 0 out of 5 stars0 ratingsComputer Interfacing Rating: 0 out of 5 stars0 ratings
Electrical Engineering & Electronics For You
Beginner's Guide to Reading Schematics, Fourth Edition Rating: 4 out of 5 stars4/515 Dangerously Mad Projects for the Evil Genius Rating: 4 out of 5 stars4/5Electrical Engineering 101: Everything You Should Have Learned in School...but Probably Didn't Rating: 5 out of 5 stars5/5Electrical Engineering Rating: 4 out of 5 stars4/5Build Your Own Electronics Workshop Rating: 4 out of 5 stars4/5Electrical Engineering: Know It All Rating: 4 out of 5 stars4/5Electricity for Beginners Rating: 5 out of 5 stars5/5Ramblings of a Mad Scientist: 100 Ideas for a Stranger Tomorrow Rating: 0 out of 5 stars0 ratingsThe Homeowner's DIY Guide to Electrical Wiring Rating: 5 out of 5 stars5/5Electronics Explained: Fundamentals for Engineers, Technicians, and Makers Rating: 5 out of 5 stars5/5Electrician's Pocket Manual Rating: 0 out of 5 stars0 ratingsDIY Lithium Battery Rating: 3 out of 5 stars3/5Practical Electrical Wiring: Residential, Farm, Commercial, and Industrial Rating: 4 out of 5 stars4/5Beginner's Guide to Reading Schematics, Third Edition Rating: 0 out of 5 stars0 ratingsElectrician's Calculations Manual, Second Edition Rating: 0 out of 5 stars0 ratingsSchaum's Outline of Basic Circuit Analysis, Second Edition Rating: 5 out of 5 stars5/5Matlab: A Practical Introduction to Programming and Problem Solving Rating: 4 out of 5 stars4/5Solar & 12 Volt Power For Beginners Rating: 4 out of 5 stars4/5Electronics Engineering Rating: 0 out of 5 stars0 ratingsOff-Grid Projects: Step-by-Step Guide to Building Your Own Off-Grid System Rating: 0 out of 5 stars0 ratingsSoldering electronic circuits: Beginner's guide Rating: 4 out of 5 stars4/5How to Diagnose and Fix Everything Electronic, Second Edition Rating: 4 out of 5 stars4/5Two-Stroke Engine Repair and Maintenance Rating: 0 out of 5 stars0 ratingsBasic Electronics: Book 2 Rating: 5 out of 5 stars5/5Basic Electricity Rating: 4 out of 5 stars4/52011 National Electrical Code Chapter-By-Chapter Rating: 0 out of 5 stars0 ratingsThe Fast Track to Your Technician Class Ham Radio License: For Exams July 1, 2022 - June 30, 2026 Rating: 5 out of 5 stars5/5The Illustrated Tesla (Rediscovered Books): With linked Table of Contents Rating: 5 out of 5 stars5/5Upcycled Technology: Clever Projects You Can Do With Your Discarded Tech (Tech gift) Rating: 5 out of 5 stars5/5
Reviews for Pic® Micro Principles on Your Mobile
0 ratings0 reviews
Book preview
Pic® Micro Principles on Your Mobile - Clive W. Humphris
-->
PIC® Micro Principles on your Mobile
by Clive W. Humphris
Portable Learning, Reference and Revision Tools.
Copyright by eptsoft limited 2018 All rights reserved.
Acknowledgement
Our thanks and appreciation goes to John D. Ransley MIEE from Whitbourne in Worcestershire for all his help and expert guidance in developing this eBook and additional app content.
Introduction
An enhanced eBook published in full colour. Now including extensive interactive content enabling exploration by inserting any values that would occur in a real situation whereby the graphics are redrawn to reflect those changes.
Calculations can be also tested against any standard subject textbook to compare the results.
Interactive Technology when used in the classroom can motivate passive students by encouraging their active participation where STEM subjects are ideally suited to Mobile Interactive Technology.
Students are more likely to be comfortable with technology they understand i.e. their phone and can interact with, often preferring 'Learning-by-Doing' over traditional pencil and paper methods.
Full colour graphics that are redrawn for every input change will make the learning experience more enjoyable and effective as it encourages experimentation of real world situations as almost any practical values are accepted.
Students who struggle to be fully engaged in normal classroom activity can often achieve the unexpected once sat in front of a digital screen where they can learn without the embarrassment of full class exposure.
Mobile Interactive Technology can bring any STEM textbook to life by inserting printed values from the book into their mobile device and comparing the results.
Colourful visual presentation assists the learning process as students will more likely remember, thereby increasing their personal confidence as they believe they are learning more as a result. Knowing the content is on their phone encourages them to dip-in in a spare moment more than open a traditional textbook.
Conclusion: Students will spend more time engaged with the Mobile Interactive Technology than with a traditional textbook.
For each topic group students can TEST THEIR UNDERSTANDING by considering an open question whereby their ease of answering will provide an indication of personal progress.
2 1069 2012-04-07T12:42:00Z 2012-04-07T12:42:00Z 6 5369 30604 eptsoft 255 61 37583 9.3821
PIC® INTRODUCTION: Microprocessor / PIC® Microcontroller.
Interactive Content!
The two main advantages to the student/hobbyist of the PIC® series of micro-controllers over a typical microprocessor are ease of programming and reduced amount of hardware necessary, and therefore cost, required to achieve a working micro-based project.
However, PIC® devices are not suited to all tasks. For example a PC still requires a microprocessor capable of addressing large amounts of memory, often needing a wider data bus, i.e. (16 to 64 bits) along with an extended range of instructions.
PIC® micro-controllers are computers on-a-chip which implement ROM and RAM within one package. Added to which are functions of A/D conversion, serial I/O, clock/counters etc.
PICs can be interfaced directly with hardware, i.e. LEDs and switches. Within this software two PIC® devices are investigated. The PIC16F84 is available as an EEPROM device, which is re-programmable for software development and the PIC16C71, also re-programmable, but requires the use of an UV (ultra violet) light box for erasure before reprogramming. For either application once the software development is completed a less expensive one time programmable (OTP) device can be used for the final version.
Address bus: Sixteen pins allows 65,536 (64K) separate memory locations to be accessed for reading and writing. The address pins are outputs only: The program counter contains the address of the next instruction.
Data bus: This is a bi-directional bus with the direction controlled via the R/W instructions. Both data and program instructions use the same bus. There is a significant difference between the PICâ and a traditional microprocessor. In the PICâ data and instructions use separate busses known as Harvard architecture.
Clock (in): Usually developed from a crystal which produces an incoming square wave clock signal to synchronise all the various processor functions.
Clock (out): This is often available from more than one output pin where clock pulses have non-overlapping phases to synchronise external hardware devices.
R/W: An output pin to instruct other devices, i.e. memory for a read or write operation.
RES: Master reset input to clear previous data from internal registers and to ensure the program begins executing instructions from the start memory location, wherever that may be.
IRQ: Interrupt request input. The microprocessor monitors this pin after each instruction. If activated the program temporarily stores the current register contents and jumps to an interrupt service routine.
Sync: Produces a synchronising pulse each time an instruction is fetched from the program memory.
Osc1: Oscillator input, one of four types can be implemented. Low cost Resistor/Capacitor (RC), Standard crystal/ceramic resonator (XT), High-Speed crystal (HS) and Power saving low frequency crystal (LP): Clock input pulses are divided internally by four to produce non-overlapping pulses which enable fetch (next) and execute (current) instructions to be carried out at the same time.
Osc2: Oscillator output. In RC mode, Osc2 pin outputs CLKOUT which has a frequency 1/4 the frequency of Osc1, and denotes the instruction cycle rate.
MCLR: Master clear (reset) input pin, when taken low resets the device. MCLR is also used to place the PICâ into programming mode where Port B pins (6:7) are used to input serial clock and program data.
Port A: A bi-directional logic input 5 bit port. RA4 can also be used as an external clock/ timer. On the PIC16C71 device the lower four pins may be configured as analog inputs.
Port B: A bi-directional digital I/O 8 bit port. RB0/INT can be programmed as an external interrupt pin. RB4:RB7 can provide an interrupt on change input. RB6:RB7 also used for serial programming via PC RS232 Port.
2 1069 2012-04-07T12:42:00Z 2012-04-07T12:42:00Z 6 5369 30604 eptsoft 255 61 37583 9.3821
PIC® INTRODUCTION: Basic PIC® Operation Diagram.
This topic shows a basic overview of a PIC® operation. Your program application is first developed using a suitable PIC® programmer, which generates a file consisting of binary data converted from ASCII text code. This is down loaded to the program memory as a series of instructions.
To run the application the program counter issues the start (ORGin) location from where instructions are carried out sequentially, unless told otherwise.
The CPU decodes each instruction and either fetches or passes data to the RAM file registers. The STATUS register contains the arithmetic status of the ALU, the RESET status and the bank select bit for data memory.
There are two I/O data ports A, 5 bits and B, 8 bits. On the PIC16C71 port A can also be set-up as four switched serial analogue inputs. File registers TRISA and TRISB configure the port pins as either inputs or outputs.
Program Memory: Read Only Memory (ROM) consisting of one thousand locations fourteen bits wide. This is the permanent location of your PICâ program and can only be changed by downloading new software. The program instruction code is guaranteed to be maintained for several years: The PIC16x84 series can be erased through overwriting with 'FFh' by the programming device. Or by placing the PIC16C71 in an ultra violet light box for a few minutes prior to reprogramming.
Program Address: Each program memory location has a unique memory address. The address of the next instruction to be carried out is maintained by the program counter.
Instruction: The actual program is a list of instructions stored as fourteen bit words or bytes, telling the CPU what action to take.
OSC in: Any microprocessor or micro-controller requires a series of timing pulses to enable the program to clock through the list of instructions. There are several options for the PICâ from a simple R/C input to a high-speed crystal: Clock speed can range from a few Hz to 10MHz for the PIC16x84 and up to 20MHz for the PIC16C71. 4MHz is a useful starting point as it makes the timing of each instruction execution easy to calculate. The clock speed is divided by four within the device. Therefore with only a few exceptions, i.e. branching, instructions are executed at 1MHz intervals.
OSC out: An oscillator output to enable synchronisation of external devices.
Central Processing Unit: The CPU is the embracing term given to a collection of internal registers and logic operations. Its operation is similar to that of a conventional microprocessor.
Instruction decoder and control: Decodes each sequential instruction copied from the program memory. As each instruction is executed the program counter is incremented by one and the next instruction is made available for decoding: The decoding process is carried out by using the binary digits of the instruction register to control the flow and operation of the data within the specified RAM file register locations. For example, instruction INCF count,1. Copy the value in file register Count add one and copy the result back to location Count. Then fetch the next instruction ... etc.
Arithmetic and Logic Unit: Arithmetic operations are Add and Subtract, whereas examples of logic operations are rotate right, rotate left exclusive OR, etc.
Program Counter: A register 13 bits wide capable of addressing 8K by 14bits of program memory space, although only IK of memory is actually implemented. This register maintains the value of the next instruction to be executed.
Serial Programming Clock: For a PICâ device to be of any use it is loaded or programmed with a set of software instructions. Data from RB7 is synchronised by clock pulses into the program memory for permanent storage.
Serial Programming Data: Program code is written as a text