{"product_id":"bargraph-click-board-mikroe-1423-uk","title":"BarGraph Click Board™","description":"\u003cp\u003eEach segment is composed of a uniformly lit red coloured LED, which draws about 20mA of current. The bar graph display light intensity can be dimmed by applying a PWM signal on the mikroBUS™ PWM pin. By utilizing two shift-register ICs, it is possible to program any pattern using these 10 segments via the industry-standard SPI interface. The Click board™ offers a lot of possibilities for building custom bar graph applications such as VU meters, status indicators, various types of gauges, and similar applications.\u003c\/p\u003e\n\n\u003ch2\u003eHow Does The Bargraph 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. Due to their ability to be connected in cascades, they are commonly used for any type of LED segment array. The \u003cstrong\u003eBargraph Click Board™\u003c\/strong\u003e uses two 74HC595, 8-bit serial-in, parallel-out shift registers with output latches, from Texas Instruments to drive the JSB-R102510ZR, a 10-segment bar graph array. The 74HC595 ICs are comprised of a D-type internal storage register, as well as the 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, and then clock it out to the parallel output pins.\u003c\/p\u003e\n\n\u003cp\u003eThe JSB-R102510ZR bar graph LED array has 10 red coloured LED segments. Each LED has its anode and cathode routed out, making each LED element absolutely independent, so it can be used in any circuit configuration. However, the JSB-R102510ZR bar graph display is connected as display with the common cathode, meaning that all LED cathodes are connected to a single point. This LED cathodes common line (CC) is connected to the drain of the N channel MOSFET, while its source is connected to the GND. Driving this MOSFET via its gate through the PWM pin of the mikroBUS™ allows dimming of the LED segments. By changing the duty cycle of the PWM signal, it is possible to change the brightness of the XGURUGX10D bar graph display. The gate of this MOSFET is connected to the PWM pin of the mikroBUS™ and it is pulled to VCC, allowing display to work if the PWM pin is left floating.\u003c\/p\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eBargraph Click Board™\u003c\/strong\u003e communicates with the host MCU via the mikroBUS™ SPI interface pins. Two bytes of information (16 bits in total) are pushed through the serial data input pin (DS) of the first 74HC595 IC, routed to the SDI pin. The 74HC595 construction is such that after receiving 8 bits, clocking in one more bit will shift the existing 8 bits by one place, overflowing the last bit to the Q7S output pin, shifting it out that way. Since the Q7S of the first 74HC595 is connected to the DS pin of the second 74HC595, clocking 16 bits into the first 74HC595 IC will fill up both ICs with required data. Note that only two bits of the second byte will be used, since the second shift register only has 2 output connected to the bar graph display (8 from the first IC + 2 from the second).\u003c\/p\u003e\n\n\u003cp\u003eIt is worth mentioning that the Q7S of the last 74HC595 IC is routed to the MISO pin of the mikroBUS™, labeled as the SDO, allowing connection of multiple devices in cascade, building more complex setups. Adding more devices in cascade would require more 8bit words to be clocked into the first 74HC595 IC in the chain.\u003c\/p\u003e\n\n\u003cp\u003eWhen the data has been clocked in, the 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 ICs, and it is labeled as LT on the Click board™. A rising edge on the STCP input pins of the 74HC595 ICs will latch the data from their internal storage registers to the output pins, polarizing the connected bar graph segment anodes. The STCP pin is pulled to a LOW logic level by the onboard resistor. If the previously mentioned MOSFET is in conductive state, the current will be able to flow through the LEDs and the polarized LED elements will get lit.\u003c\/p\u003e\n\n\u003cp\u003eThe #MR pin is used to clear the data in the internal storage register of the ICs. 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™, labeled as MR and it is pulled to a HIGH logic level by the onboard resistor.\u003c\/p\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eBargraph Click Board™\u003c\/strong\u003e works with both 3.3V and 5V MCUs. The operating voltage selection can be done via the onboard SMD jumper, labeled as VCC SEL.\u003c\/p\u003e\n\n\u003ch3\u003eSPECIFICATIONS\u003c\/h3\u003e\n\n\u003ctable\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eType\u003c\/td\u003e\n            \u003ctd\u003eBargraph,LED Segment\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\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\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; JSB-R102510ZR, a 10-segment red bar graph LED array\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eKey Features\u003c\/td\u003e\n            \u003ctd\u003eClean and bright bargraph LED display, with uniform light disbursement, simple to use with included software library functions, low current consumption per LED, it is possible to serially connect more devices\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eInterface\u003c\/td\u003e\n            \u003ctd\u003eGPIO,PWM,SPI\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eCompatibility\u003c\/td\u003e\n            \u003ctd\u003emikroBUS\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\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\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\u003ch3\u003ePINOUT DIAGRAM\u003c\/h3\u003e\n\n\u003cp\u003eThis table shows how the pinout on the \u003cstrong\u003eBargraph 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 width=\"549\"\u003e\n    \u003ctbody\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\" data-entity-type=\"\" data-entity-uuid=\"\" data-mce-src=\"https:\/\/cdn.mikroe.com\/img\/mikrobus\/mikroBUS-logo-black.png\" src=\"https:\/\/cdn.mikroe.com\/img\/mikrobus\/mikroBUS-logo-black.png\"\u003e\u003c\/th\u003e\n            \u003cth\u003ePin\u003c\/th\u003e\n            \u003cth\u003eNotes\u003c\/th\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eNC\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\u003eDimming PWM IN\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eMemory Clear\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eMR\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\u003eNC\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eData Latch\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eLT\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        \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        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eSPI Data OUT\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eSDO\u003c\/strong\u003e\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        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eSPI Data 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        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003ePower supply\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003e3.3V\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\u003e\n\u003cbr\u003e\nONBOARD SETTINGS AND INDICATORS\u003c\/h3\u003e\n\n\u003ctable\u003e\n    \u003ctbody\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        \u003ctr\u003e\n            \u003ctd\u003eLD1\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\u003eJP1\u003c\/td\u003e\n            \u003ctd\u003eVCC SEL\u003c\/td\u003e\n            \u003ctd\u003eRight\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\u003ch3\u003e \u003c\/h3\u003e","brand":"Mikroelektronika d.o.o.","offers":[{"title":"Default Title","offer_id":37768343388349,"sku":"MIKROE-1423","price":14.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-click-board-30264606064829.jpg?v=1684989660","url":"https:\/\/thedebugstore.com\/it\/products\/bargraph-click-board-mikroe-1423-uk","provider":"Debug Store","version":"1.0","type":"link"}