|
Introduction to Microcontroller Programming * Course Index * Introduction * About the Author * About this Course * Feedback * Course Navigation * Quick Course Navigation * How to use this Course * Acronyms Used and Course Conventions About PICmicro Chips * What is a PICmicro? * Microcontrollers * Digital versus Analogue * Inputs and Outputs * Memory * Programming * 16F1937 Architecture Clocking Your PICmicro Devices * Introduction * The Clock Circuit * Clock Settings * Clock Confusion E-Blocks * Introduction to E-blocks * Using E-blocks ## About E-blocks ## E-blocks Projects ## How E-blocks Connect to Each Other ## Physical Properties of E-blocks ## Using a Backplane ## Protecting E-blocks Circuitry ## Using Covers ## Adding Power to E-blocks ## Understanding the Patch System ## Sharing a Port ## Using ZIF Sockets * E-blocks Boards Flowcode Step By Step * Introduction to Flowcode * Basic Flowcode Functions * Digital Outputs * Digital Inputs * Basic Loops * The LCD Display * Binary Numbers * Decisions * Goto (Connection Point) * 7-Segment Displays * Software Macro * Strings and Memory * A Simple Hi-Fi PICmicro Projects * Introduction to PICmicro Projects * Construction Methods * Choosing a Power Source * Adding Inputs * Input Conditioning * Adding Outputs * Adding Drivers Labs * Introduction and Lesson Plan * 1. Output * 2. Delay * 3. Connection Point * 4. Calculations * 5. Loop * 6. Input * 7. Decision * 8. LCD * 9. Keypad * 10. Analogue + EEPROM * 11. Software Macro * 12. External Interrupt * 13. Timer Interrupt |
(:Summary:Contains the 'action' links (like Browse, Edit, History, etc.), placed at the top of the page, see site page actions:) (:comment This page can be somewhat complex to figure out the first time you see it. Its contents are documented at PmWiki.SitePageActions if you need help. :) * Print (:comment (:if group Site,SiteAdmin,Cookbook,Profiles,PmWiki*:) (:comment delete if and ifend to enable backlinks:) * %item rel=nofollow class=backlinks accesskey='$[ak_backlinks]'% [[{*$Name}?action=search&q=link={*$FullName} | $[Backlinks] ]] (:ifend:) :) * Login Understanding the Patch System<^< Adding Power to E-blocks | Course Index | Sharing a Port >^>(:nl:) Most 'downstream' E-blocks include a patch system that gives you flexibility in the connections that are made between the upstream and downstream E-blocks. The patch system has two parts: link blocks that dictate whether the default connections are used or whether the patch system is used, and the patch connectors themselves. Looking at this graphic of the sensors board: ![]() For this board when the link blocks are in the default position then the default wiring is chosen. Default wiring is optimized for ease of connection between upstream and downstream boards for the PICmicro range of processors. For example the Tx and Rx lines of the PICmicro are usually on bits 6 and 7 respectively, so you will find that the default connections on downstream boards communications boards (e.g.RS232 board) are for bits 6 and 7. For the A/D board shown above the default connections are as follows:
The bits 0 to 4 have been chosen because on many devices in the PICmicro range the A/D inputs are on bits 0 to 4 of the port. If you wanted to use another processor that needed the LDR input on bit 3 then you would change the link from the 'default' position to the 'patch' position and use a small jumper wire to make the connection between the LDR output and bit 3 of the D-type as shown in the drawing below: ![]() ![]() (:nl:)(:table style="clear:both":)
| |
(:Summary: Website page footer:)
Print - (:comment (:if group Site,SiteAdmin,Cookbook,Profiles,PmWiki*:) (:comment delete if and ifend to enable backlinks:) %item rel=nofollow class=backlinks accesskey='$[ak_backlinks]'% [[{*$Name}?action=search&q=link={*$FullName} | $[Backlinks] ]] (:ifend:) :) Search - Login
Page last modified on September 20, 2011, at 07:53 AM