Learn the Pic® Micro on Your Smartphone
()
About this ebook
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.
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
STEM: Science, Technology, Engineering and Maths Principles Teachers Pack V10 Rating: 0 out of 5 stars0 ratingsGCSE Maths Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsComputer Science on your Mobile 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 ratingsEmployability Skills: Brush Up Your Business Studies Rating: 0 out of 5 stars0 ratingsDigital and Microprocessor Techniques V10 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 Computing Rating: 0 out of 5 stars0 ratingsComputing and Information Technology V11 Home Study Rating: 0 out of 5 stars0 ratings
Related to Learn the Pic® Micro on Your Smartphone
Titles in the series (53)
Accounting, Maths and Computing Principles for Business Studies V11 Rating: 0 out of 5 stars0 ratingsMechanics Principles V11 Rating: 5 out of 5 stars5/5Pic® Micro Principles V11 Rating: 0 out of 5 stars0 ratingsElectrical Principles V11 Rating: 0 out of 5 stars0 ratingsAccounting, Maths and Computing Principles for Business Studies Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsComputing Principles Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsMechanics Principles Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsMathematics Principles Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsMathematics Principles V11 Rating: 0 out of 5 stars0 ratingsComputing Principles V11 Rating: 0 out of 5 stars0 ratingsElectronics Principles V11 Rating: 5 out of 5 stars5/5Electrical Principles Teachers Pack V11 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 ratingsLearn Mechanics on Your Smartphone Rating: 0 out of 5 stars0 ratingsElectronics Principles on Your Mobile Rating: 0 out of 5 stars0 ratingsElectronics Principles Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsComputer Science on Your Mobile Rating: 0 out of 5 stars0 ratingsEmployability Skills: Brush up Your Engineering Rating: 0 out of 5 stars0 ratingsLearn Electronics on Your Smartphone Rating: 0 out of 5 stars0 ratingsEmployability Skills: Brush up Your Computing Rating: 0 out of 5 stars0 ratingsEmployability Skills: Brush up Your Maths Rating: 0 out of 5 stars0 ratingsEmployability Skills: Brush up Your Electronics Rating: 0 out of 5 stars0 ratingsElectronics V11 Home Study Rating: 3 out of 5 stars3/5Employability Skills: Brush up Your Mechanics Rating: 0 out of 5 stars0 ratingsComputing and Information Technology V11 Home Study Rating: 0 out of 5 stars0 ratingsEmployability Skills: Brush up Your Business Studies Rating: 0 out of 5 stars0 ratingsAccounting, Maths and Computing for Business Studies V11 Home Study Rating: 0 out of 5 stars0 ratingsDigital and Microprocessor Techniques V11 Rating: 5 out of 5 stars5/5Mechanics V11 Home Study Rating: 0 out of 5 stars0 ratings
Related ebooks
Pic® Micro Principles V11 Rating: 0 out of 5 stars0 ratingsAssembly Language Programming: ARM Cortex-M3 Rating: 0 out of 5 stars0 ratingsARM Microcontrollers Programming for Embedded Systems Rating: 5 out of 5 stars5/5Serial Port Complete: COM Ports, USB Virtual COM Ports, and Ports for Embedded Systems Rating: 4 out of 5 stars4/5Embedded Expert's Guide to C Rating: 0 out of 5 stars0 ratingsBeagleBone For Dummies Rating: 0 out of 5 stars0 ratingsFinite-state machine A Complete Guide Rating: 0 out of 5 stars0 ratingsSoftware-defined radio Second Edition Rating: 0 out of 5 stars0 ratingsProgramming with STM32: Getting Started with the Nucleo Board and C/C++ Rating: 3 out of 5 stars3/5Future Trends in Microelectronics: Journey into the Unknown Rating: 1 out of 5 stars1/5Programming FPGAs: Getting Started with Verilog Rating: 4 out of 5 stars4/5System Design for Telecommunication Gateways Rating: 0 out of 5 stars0 ratingsUSB Embedded Hosts: The Developer's Guide Rating: 3 out of 5 stars3/5Digital Audio Broadcasting: Principles and Applications of DAB, DAB + and DMB Rating: 0 out of 5 stars0 ratingsEmbedded Systems Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratingsElectromagnetic Compatibility (EMC) Design and Test Case Analysis Rating: 0 out of 5 stars0 ratingsProfessional Embedded ARM Development Rating: 0 out of 5 stars0 ratingsUSB Complete: The Developer's Guide Rating: 4 out of 5 stars4/5Abc of Power Modules: Functionality, Structure and Handling of a Power Module Rating: 0 out of 5 stars0 ratingsMicroprocessor and Microcontroller Interview Questions: A complete question bank with real-time examples Rating: 0 out of 5 stars0 ratingsESP8266 Internet of Things Cookbook Rating: 5 out of 5 stars5/5Near Field Communication (NFC): From Theory to Practice Rating: 0 out of 5 stars0 ratingsFearless Experiments With Microcomputers Rating: 0 out of 5 stars0 ratingsMicroPython A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsArduino Solutions Handbook: Design interesting DIY projects using Arduino Uno, C and C++ (English Edition) Rating: 0 out of 5 stars0 ratingsBeginning STM32: Developing with FreeRTOS, libopencm3 and GCC Rating: 0 out of 5 stars0 ratingsElectronics V11 Home Study Rating: 3 out of 5 stars3/5Simple Electronics with GPIO Zero: Take Control of the Real World With your Raspberry Pi Rating: 5 out of 5 stars5/5Digital Circuit Simulation Using Excel Rating: 0 out of 5 stars0 ratingsBluetooth Low Energy (LE) The Ultimate Step-By-Step Guide Rating: 0 out of 5 stars0 ratings
Computers For You
Elon Musk Rating: 4 out of 5 stars4/5The ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 4 out of 5 stars4/5Standard Deviations: Flawed Assumptions, Tortured Data, and Other Ways to Lie with Statistics Rating: 4 out of 5 stars4/5Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 4 out of 5 stars4/5Uncanny Valley: A Memoir Rating: 4 out of 5 stars4/5Slenderman: Online Obsession, Mental Illness, and the Violent Crime of Two Midwestern Girls Rating: 4 out of 5 stars4/5Alan Turing: The Enigma: The Book That Inspired the Film The Imitation Game - Updated Edition Rating: 4 out of 5 stars4/5The Invisible Rainbow: A History of Electricity and Life Rating: 5 out of 5 stars5/5The Innovators: How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution Rating: 4 out of 5 stars4/5Excel 101: A Beginner's & Intermediate's Guide for Mastering the Quintessence of Microsoft Excel (2010-2019 & 365) in no time! Rating: 0 out of 5 stars0 ratingsHow to Create Cpn Numbers the Right way: A Step by Step Guide to Creating cpn Numbers Legally Rating: 4 out of 5 stars4/5CompTIA Security+ Get Certified Get Ahead: SY0-701 Study Guide Rating: 5 out of 5 stars5/5Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5The Professional Voiceover Handbook: Voiceover training, #1 Rating: 5 out of 5 stars5/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 5 out of 5 stars5/5The Best Hacking Tricks for Beginners Rating: 4 out of 5 stars4/5Python Machine Learning By Example Rating: 4 out of 5 stars4/5ChatGPT 4 $10,000 per Month #1 Beginners Guide to Make Money Online Generated by Artificial Intelligence Rating: 0 out of 5 stars0 ratingsCompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratings101 Awesome Builds: Minecraft® Secrets from the World's Greatest Crafters Rating: 4 out of 5 stars4/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Learning the Chess Openings Rating: 5 out of 5 stars5/5Tor and the Dark Art of Anonymity Rating: 5 out of 5 stars5/5
Reviews for Learn the Pic® Micro on Your Smartphone
0 ratings0 reviews
Book preview
Learn the Pic® Micro on Your Smartphone - Clive W. Humphris
-->
Learn the PIC® Micro on your Smartphone
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