{"product_id":"mikroe-3264-bargraph-3-click-board-uk","title":"BarGraph 3 Click Board™","description":"\u003cp\u003eThe integrated circuit labelled 74HC595 controls the bar graph display and it has a very wide application in electronics. After the 8-bit data is loaded into the internal registry of this chip through the SPI interface, the data is translated to the parallel 8-bit output by activating the STCP pin, thus controlling the display. Bar graph displays are often used to create various types of VU meters, status indicators, different types of counters and similar devices.\u003c\/p\u003e\n\n\u003ch2\u003eHow Does The Bar Graph 3 Click Board™ Work?\u003c\/h2\u003e\n\n\u003cp\u003eWhen it comes to driving an array of LED segments, using so-called shift-register ICs is almost unavoidable. This Click Board™ uses a single 74HC595 IC, a tri-state, serial-in, parallel-out, 8-bit shift-register with output latch, from Texas Instruments. It is used to drive the SMA-B500LE a monochrome (red) 5 segment bar graph array, from American Opto Plus LED corporation. The 74HC595 ICs is comprised of a D-type internal storage register, and a serial-to-parallel shift register, both 8 bits wide. Each of these registers has its own clock line, making it possible to clock in the desired data in, and then clock it out to the parallel output pins when needed.\u003c\/p\u003e\n\n\u003cp\u003e\u003cimg alt=\"BarGraph 3 Click Board™\" data-entity-type=\"\" data-entity-uuid=\"\" src=\"https:\/\/www.mikroe.com\/img\/images\/bargraph-3-click-inner-img.jpg\"\u003e\u003c\/p\u003e\n\n\u003cp\u003e \u003c\/p\u003e\n\n\u003cp\u003eThe SMA-B500LE bar graph LED array has 5 red LED segments. Each segment contains three LEDs, with their cathodes connected in a single point and routed out as the single common cathode pin. This results with a bar graph display that has only six pins, even though it uses 15 LED elements in total. Similarly, all the anodes of the LED segments are routed to a single pin, which is connected to the drain of the P channel MOSFET, while its source is connected to the VCC. Driving the gate of the MOSFET using the PWM pin of the mikroBUS allows dimming of the LED bar graph display, by changing the pulse width of the applied PWM signal.\u003c\/p\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eBarGraph 3 Click Board™\u003c\/strong\u003e communicates with the host MCU over the SPI interface, routed to the mikroBUS MOSI and SCK pins, labelled as SDI and SCK on this Click Board™, respectively. Five bits of information are pushed through the serial data input pin (DS) of the 74HC595 IC, routed to the SDI pin. The construction of the SPI interface is such that it operates with 8-bit long words, so the whole data word needs to be clocked in before it is latched on the output. However, the values of the bits that correspond to the non-connected pins of the 74HC595 IC will be disregarded.\u003c\/p\u003e\n\n\u003cp\u003eThe Output Enable pin (#OE) is routed to the AN pin of the mikroBUS, and it is labelled as OE. If this pin is at the HIGH logic level, the outputs Q0 to Q7S of the 74HC595 IC will be set at HIGH-Z (high impedance mode) meaning that they will become disconnected. Regardless of the logic state on other pins, the outputs will not change from this state, until #OE is brought down to a LOW logic level. Memory content and the logic states at the output pins will be unaffected, meaning that the OE can be used to turn the segments of the bar graph on or off without affecting their states (like a simple SPST switch in series with the LED segment of the bar graph)\u003c\/p\u003e\n\n\u003cp\u003eAfter the data word has been clocked in, the master SPI clock should be stopped, and the CS pin should be driven to a HIGH logic level. The CS pin of the mikroBUS is routed to the STCP pin of the 74HC595 IC. A rising edge on the STCP input pin of the 74HC595 IC will latch the data from the internal storage register to the output pins, changing the states of its parallel output pins (Q0 to Q7). If a specific bit in the internal storage is 0, the state on the appropriate pin of the 74HC595 IC will become LOW. With their anodes connected to the positive voltage level already (provided that the P-type MOSFET is open), the segment will be lit. This means that the logical 0 lights up a segment, while 1 turns it off.\u003c\/p\u003e\n\n\u003cp\u003eThe #MR pin is used to clear the data in the internal storage register of the 74HC595 IC. The LOW logic level on this pin will clear the content of this storage register, but it will not turn off the outputs which are already activated. The #MR pin is routed to the RST pin of the mikroBUS and it is pulled to a HIGH logic level by the onboard resistor.\u003c\/p\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eBarGraph 3 Click Board™\u003c\/strong\u003e can work with both 3.3V and 5V MCUs. The operating voltage selection can be done via the onboard SMD jumper, labelled as VCC SEL.\u003c\/p\u003e\n\n\u003ch3 class=\"section-title\"\u003eSPECIFICATIONS\u003c\/h3\u003e\n\n\u003ctable class=\"specification-table-gray\"\u003e\n    \u003ctbody\u003e\n        \u003ctr class=\"odd\"\u003e\n            \u003ctd\u003eType\u003c\/td\u003e\n            \u003ctd\u003eLED Segment,Bargraph\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr class=\"even\"\u003e\n            \u003ctd\u003eApplications\u003c\/td\u003e\n            \u003ctd\u003eIt can be used for displaying of various signal or status properties, for building VU-meters, and various types of gauges and signal indicators\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr class=\"odd\"\u003e\n            \u003ctd\u003eOn-board modules\u003c\/td\u003e\n            \u003ctd\u003e74HC595, 8-bit serial-in, parallel-out shift registers with output latches, from Texas Instruments; SMA-B500LE, a monochrome (white) 5 segment bar graph array, from American Opto Plus LED corporation\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr class=\"even\"\u003e\n            \u003ctd\u003eKey Features\u003c\/td\u003e\n            \u003ctd\u003eClean and bright five-segment LED bar graph, with uniform light distribution, simple to use with included software library functions. Controlled by the popular 74HC595 shift register IC, dimmable with the PWM signal applied over the mikroBUS PWM pin.\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr class=\"odd\"\u003e\n            \u003ctd\u003eInterface\u003c\/td\u003e\n            \u003ctd\u003eGPIO,SPI,PWM\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr class=\"even\"\u003e\n            \u003ctd\u003eCompatibility\u003c\/td\u003e\n            \u003ctd\u003emikroBUS\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr class=\"odd\"\u003e\n            \u003ctd\u003eClick Board™ size\u003c\/td\u003e\n            \u003ctd\u003eM (42.9 x 25.4 mm)\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr class=\"even\"\u003e\n            \u003ctd\u003eInput Voltage\u003c\/td\u003e\n            \u003ctd\u003e3.3V or 5V\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003cp\u003e \u003c\/p\u003e\n\n\u003ch3 class=\"section-title\"\u003eTHE PINOUT DIAGRAM\u003c\/h3\u003e\n\n\u003cp\u003eThis table shows how the pinout on \u003cstrong\u003eBarGraph 3 Click Board™\u003c\/strong\u003e corresponds to the pinout on the mikroBUS socket (the latter shown in the two middle columns).\u003c\/p\u003e\n\n\u003ctable class=\"pinout-diagram-gray\" width=\"549\"\u003e\n    \u003cthead\u003e\n        \u003ctr\u003e\n            \u003cth\u003eNotes\u003c\/th\u003e\n            \u003cth\u003ePin\u003c\/th\u003e\n            \u003cth colspan=\"4\"\u003e\u003cimg alt=\"mikroBUS logo.png\" class=\"fr-fic fr-dii\" data-entity-type=\"\" data-entity-uuid=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0522\/6931\/8333\/files\/mikroBUS-logo-black_1.png?v=1628760408\"\u003e\u003c\/th\u003e\n            \u003cth\u003ePin\u003c\/th\u003e\n            \u003cth\u003eNotes\u003c\/th\u003e\n        \u003c\/tr\u003e\n    \u003c\/thead\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eOutput Enable\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eOE\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003e1\u003c\/td\u003e\n            \u003ctd\u003eAN\u003c\/td\u003e\n            \u003ctd\u003ePWM\u003c\/td\u003e\n            \u003ctd\u003e16\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003ePWM\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003ePWM dimming\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eData Clear\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eRST\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003e2\u003c\/td\u003e\n            \u003ctd\u003eRST\u003c\/td\u003e\n            \u003ctd\u003eINT\u003c\/td\u003e\n            \u003ctd\u003e15\u003c\/td\u003e\n            \u003ctd\u003eINT\u003c\/td\u003e\n            \u003ctd\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eLatch IN\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eCS\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003e3\u003c\/td\u003e\n            \u003ctd\u003eCS\u003c\/td\u003e\n            \u003ctd\u003eRX\u003c\/td\u003e\n            \u003ctd\u003e14\u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eSPI Clock\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eSCK\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003e4\u003c\/td\u003e\n            \u003ctd\u003eSCK\u003c\/td\u003e\n            \u003ctd\u003eTX\u003c\/td\u003e\n            \u003ctd\u003e13\u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e \u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e5\u003c\/td\u003e\n            \u003ctd\u003eMISO\u003c\/td\u003e\n            \u003ctd\u003eSCL\u003c\/td\u003e\n            \u003ctd\u003e12\u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eSPI IN\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eSDI\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003e6\u003c\/td\u003e\n            \u003ctd\u003eMOSI\u003c\/td\u003e\n            \u003ctd\u003eSDA\u003c\/td\u003e\n            \u003ctd\u003e11\u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003ePower supply\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003e3V3\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003e7\u003c\/td\u003e\n            \u003ctd\u003e3.3V\u003c\/td\u003e\n            \u003ctd\u003e5V\u003c\/td\u003e\n            \u003ctd\u003e10\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003e5V\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003ePower Supply\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eGround\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003e8\u003c\/td\u003e\n            \u003ctd\u003eGND\u003c\/td\u003e\n            \u003ctd\u003eGND\u003c\/td\u003e\n            \u003ctd\u003e9\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003eGround\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3 class=\"section-title\"\u003e\n\u003cbr\u003e\nONBOARD SETTINGS AND INDICATORS\u003c\/h3\u003e\n\n\u003ctable class=\"additional-info-tables-gray\"\u003e\n    \u003cthead\u003e\n        \u003ctr\u003e\n            \u003cth\u003eLabel\u003c\/th\u003e\n            \u003cth\u003eName\u003c\/th\u003e\n            \u003cth\u003eDefault\u003c\/th\u003e\n            \u003cth\u003eDescription\u003c\/th\u003e\n        \u003c\/tr\u003e\n    \u003c\/thead\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003ePWR\u003c\/td\u003e\n            \u003ctd\u003ePWR\u003c\/td\u003e\n            \u003ctd\u003e-\u003c\/td\u003e\n            \u003ctd\u003ePower LED indicator\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eVCC SEL\u003c\/td\u003e\n            \u003ctd\u003eVCC SEL\u003c\/td\u003e\n            \u003ctd\u003eLeft\u003c\/td\u003e\n            \u003ctd\u003ePower supply voltage selection: left position 3.3V, right position 5V\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003cp\u003e \u003c\/p\u003e\n\n\u003ch3 class=\"section-title\"\u003e \u003c\/h3\u003e","brand":"Mikroelektronika d.o.o.","offers":[{"title":"Default Title","offer_id":37768422523069,"sku":"MIKROE-3264","price":18.0,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0522\/6931\/8333\/products\/mikroelektronika-d-o-o-click-board-bargraph-3-click-board-30264640733373.jpg?v=1684989650","url":"https:\/\/thedebugstore.com\/it\/products\/mikroe-3264-bargraph-3-click-board-uk","provider":"Debug Store","version":"1.0","type":"link"}