{"id":3735,"date":"2011-09-26T20:43:53","date_gmt":"2011-09-27T00:43:53","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=3735"},"modified":"2012-07-30T09:29:15","modified_gmt":"2012-07-30T13:29:15","slug":"diy-plug-in-modules-to-make-microcontroller-breadboarding-easier","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/diy-plug-in-modules-to-make-microcontroller-breadboarding-easier\/","title":{"rendered":"DIY plug-in modules to make microcontroller breadboarding easier"},"content":{"rendered":"<p>Breadboards are a great tool for prototyping and testing electronics circuits. Here I am sharing with you some plug-in modules that I once made to make my breadboarding life easier. I have used these modules many times in the PIC experiments described in this blog. These modules \u00a0serve very common functions that are required in most microcontroller circuits. Their use not only reduces the number of wire connections on breadboard, but also expedites prototyping and makes debugging of the circuit easier.<\/p>\n<div id=\"attachment_3739\" style=\"width: 570px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/BreadBoardModulesTitle.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3739\" class=\"size-full wp-image-3739\" title=\"BreadBoardModulesTitle\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/BreadBoardModulesTitle.jpg\" alt=\"\" width=\"560\" height=\"347\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/BreadBoardModulesTitle.jpg 560w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/BreadBoardModulesTitle-550x340.jpg 550w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><p id=\"caption-attachment-3739\" class=\"wp-caption-text\">Plug-in modules for easy microcontroller breadboarding<\/p><\/div>\n<p><!--more--><\/p>\n<p>I got inspired to make these modules after getting tired of putting together the same basic microcontroller setup, tact switches and LEDs on breadboard again and again for testing every new project. If you are in a similar situation you may consider building these modules.<\/p>\n<p><strong>MCU module<\/strong><\/p>\n<p>This module carries a 18-pin PIC microcontroller (PIC16F628A, PIC16F88, PIC16F1827, etc).\u00a0The power supply pins and the I\/O ports of the microcontroller are accessible through male headers that can be easily plugged into a breadboard for rapid prototyping. The headers are arranged in such a way that all I\/O pins of a port are available together in a row. This reduces the time to find a specific port pin. This module frees up a lot of space on the breadboard since the oscillator, reset, and ICSP connections are already on board. More details on this module is described <a href=\"http:\/\/embedded-lab.com\/blog\/?p=1034\" target=\"_blank\"><strong>HERE<\/strong><\/a>.<\/p>\n<div id=\"attachment_3740\" style=\"width: 570px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/MCU_Module.jpg\">\u00a0<img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3740\" class=\"size-full wp-image-3740\" title=\"MCU_Module\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/MCU_Module.jpg\" alt=\"\" width=\"560\" height=\"389\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/MCU_Module.jpg 560w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/MCU_Module-550x382.jpg 550w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><p id=\"caption-attachment-3740\" class=\"wp-caption-text\">MCU module for 18-pin PIC<\/p><\/div>\n<p><strong>Power Supply module<\/strong><\/p>\n<p>Microcontrollers and peripheral devices require electric power to operate. This module provides a regulated +5 V power supply for your circuit on the breadboard. The +5 V and Ground terminals are accessible through male headers that easily go into the breadboard. The module uses the popular LM7805 voltage regulator IC. More details can be found <a href=\"http:\/\/embedded-lab.com\/blog\/?p=112\" target=\"_blank\"><strong>HERE<\/strong><\/a>.<\/p>\n<p><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/PSU_Module.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3741\" title=\"PSU_Module\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/PSU_Module.jpg\" alt=\"Regulated +5 V breadboard power supply module\" width=\"560\" height=\"402\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/PSU_Module.jpg 560w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/PSU_Module-550x394.jpg 550w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p><strong>Tact switch, LED, and\u00a0 MAX232 modules<\/strong><\/p>\n<p>These are accessory modules that are frequently used in microcontroller circuits. LEDs are useful for checking the logic status of the output port, whereas tact switches can provide digital inputs. Sometimes, you may need to interface your project with a PC. Serial port communication is a good choice for doing that as it is easy to implement. However, you need a voltage translator to interface the TTL outputs from your microcontroller with a RS232 port of your PC. MAX232 IC serves this purpose very well with a few external capacitors for the internal charge pumps. The circuit diagram of these modules are pretty standard and I didn&#8217;t feel it necessary to provide here.<\/p>\n<div id=\"attachment_3742\" style=\"width: 570px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/FourModules1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3742\" class=\"size-full wp-image-3742\" title=\"FourModules1\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/FourModules1.jpg\" alt=\"\" width=\"560\" height=\"413\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/FourModules1.jpg 560w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/FourModules1-550x405.jpg 550w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><p id=\"caption-attachment-3742\" class=\"wp-caption-text\">Accessory modules: Tact switches, LEDs, LED bargraph, MAX232<\/p><\/div>\n<p><strong>Seven segment LED display module<\/strong><\/p>\n<p>Seven segment LEDs are primarily used to display decimal numbers but they can also display a few alphabets and other characters. This module contains a 4-digit common cathode seven segment LED display, four NPN transistors for digit selection, and eight current limiting resistors for LED segments (a, b, c, d, e, f, g, DP). This module provides access to its LED segments and digit select pins through female headers. However, they can be replaced with male headers to make it plug-gable into the breadboard. The module uses a standard four digit multiplexed seven segment d<em><\/em>isplay circuit.<\/p>\n<div id=\"attachment_3743\" style=\"width: 570px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/SevenSegmentModule.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3743\" class=\"size-full wp-image-3743\" title=\"SevenSegmentModule\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/SevenSegmentModule.jpg\" alt=\"\" width=\"560\" height=\"371\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/SevenSegmentModule.jpg 560w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/SevenSegmentModule-550x364.jpg 550w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><p id=\"caption-attachment-3743\" class=\"wp-caption-text\">4-digit seven segment LED display module<\/p><\/div>\n<p><strong>Example project<\/strong><\/p>\n<p>Constructing these little modules is a one-time hard work, and prototyping becomes lot easier after that. The picture below shows a very simple temperature bargraph project setup on a breadboard using these modules. The PIC16F1827 microcontroller reads the analog output from a LM34DZ sensor, and displays the temperature on a 10-segment LED bargraph. The LED segments of the bargraph display are driven by RB0-RB7 and RA1-RA2 port pins, whereas the temperature sensor output is connected to RA0\/AN0 ADC channel.The LED bargraph is labeled to display temperature ranging from 68-86 \u00b0F in a step of 2 \u00b0F. Seven jumper wires are sufficient to connect the modules together and complete this circuit on a breadboard.<\/p>\n<div id=\"attachment_3749\" style=\"width: 570px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/TempSetUp.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3749\" class=\"size-full wp-image-3749\" title=\"TempSetUp\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/TempSetUp.jpg\" alt=\"\" width=\"560\" height=\"411\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/TempSetUp.jpg 560w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/TempSetUp-550x403.jpg 550w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><p id=\"caption-attachment-3749\" class=\"wp-caption-text\">Temperature bargraph circuit setup<\/p><\/div>\n<div id=\"attachment_3748\" style=\"width: 570px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/TempOP.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3748\" class=\"size-full wp-image-3748\" title=\"TempOP\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/TempOP.jpg\" alt=\"\" width=\"560\" height=\"428\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/TempOP.jpg 560w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/TempOP-550x420.jpg 550w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><p id=\"caption-attachment-3748\" class=\"wp-caption-text\">Temperature displayed on 10-segment LED bargraph<\/p><\/div>\n<div id=\"attachment_3763\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/BreadBoardModuleBackSide.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3763\" class=\"size-medium wp-image-3763\" title=\"BreadBoardModuleBackSide\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/BreadBoardModuleBackSide-550x417.jpg\" alt=\"\" width=\"550\" height=\"417\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/BreadBoardModuleBackSide-550x417.jpg 550w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/09\/BreadBoardModuleBackSide.jpg 760w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><p id=\"caption-attachment-3763\" class=\"wp-caption-text\">Bottom side view of the boards (Click to enlarge)<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Breadboards are a great tool for prototyping and testing electronics circuits. Here I am sharing with you some plug-in modules that I once made to make my breadboarding life easier. I have used these modules many times in the PIC experiments described in this blog. These modules \u00a0serve very common functions that are required in most microcontroller circuits. Their use not only reduces the number of wire connections on breadboard, but also expedites prototyping and makes debugging of the circuit easier.<\/p>\n","protected":false},"author":1,"featured_media":3738,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,29,183],"tags":[39,354,353,355],"class_list":["post-3735","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-embedded-labs","category-embedded-lessons","category-tips-and-tricks","tag-breadboard","tag-microcontroller","tag-prototyping","tag-temperature-bargraph"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/3735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=3735"}],"version-history":[{"count":18,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/3735\/revisions"}],"predecessor-version":[{"id":5722,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/3735\/revisions\/5722"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/3738"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=3735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=3735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=3735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}