0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
MIKROE-2449

MIKROE-2449

  • 厂商:

    MIKRO

  • 封装:

    -

  • 描述:

    OLEDSWITCHCLICK

  • 数据手册
  • 价格&库存
MIKROE-2449 数据手册
OLED Switch click 1 OLED Switch click OLED Switch click OLED Switch click IC/Module NKI Switch ISC15ANP4 Interface SPI Power supply 3.3V Website Schematic [1] www.mikroe.com/click/oled-switch OLED Switch click schematic [2] [3] If you are building any type of human machine interface, OLED Switch click can help you keep the design simple, clear and interactive. It can be used in designing a control panel for an industrial machine… or a DIY arcade. Features and usage notes Hardware: a full color OLED built in a button This board has a module that combines a button and a full color organic LED display, plus input/output screw terminals for connecting external electronics. The mechanical button itself is nicely built, with a translucent black housing. When pressed, it gives satisfying tactile feedback. The display, built in the button itself, can show 64 by 48 pixel images with up to 65k colors (16-bit depth). With the screw terminals, you can toggle an external circuit on and off. The display is big enough to display simple information, whether as icons or words. Small characters are legible and clear. The most interesting feature is that the display can be programmed to change the picture when needed (for example, you can design a reprogrammable keypad that would allow users to switch from latin to cyrillic script or to chinese characters). VisualTFT can be used to prepare the bmp images. There is a learn.mikroe.com article that explains how to to take 16 or 24 bit bmp pictures and create C arrays. OLED Switch click 2 The board communicates with the target MCU through the mikroBUS™ SPI interface. It uses a 3.3V power supply only. Software: frame buffering The internal frame buffer on the OLED display holds 96x64 pixels with 2 bytes of 565 formatted color information for each. When displaying an image the size of the display, (64x48) the image will be displayed well, unless scrolled. To scroll an image without having random pixels from unused space in the internal frame buffer, load a 96x64 image onto the OLED Switch click with your desired image centered like the blue colored area in the picture below. Programming This code snippet takes a 565 formatted 16-bit bitmap and displays it on the OLED display, and then scrolls the image across the display. #define BIG_IMG_SIZE 12288 void main() { //Local Declarations scroll_t scroll; scroll.col_horiz_shift scroll.row_offset scroll.row_horiz_shift doesn't work well, because scroll.row_vert_shift scroll.interval //Used for scroll settings = 0x01; //Shift left to right = 0; //No offset of rows = 64; //64: BIG IMAGE, 47:SMALL ( SMALL of firmware on click side ) = 0; //No vertical shifting = 1; //1: 10 frames between each shift //Setup system_setup( BIG ); //Provide size of allocated space for images ( 64x48 or 96x64 ) OLED Switch click 3 oled_switch_deactivate_scrolling(); //Scrolling must be absolutely deactivated first oled_switch_scrolling_setup( scroll ); //Next, setup scroll settings oled_switch_draw_565_img( oled_switch_logo_big_bmp, BIG_IMG_SIZE ); //Draw the image to scroll oled_switch_activate_scrolling(); //Activate scrolling on screen while( 1 )//Forever { } } Code examples for OLED Switch click, written for MikroElektronika hardware and compilers are available on Libstock [4]. Pinout diagram mikroBUStm – Data/Command 1 AN —1 PWM 16 2 RST INT 15 3 CS RX 14 4 SCK TX 13 MISO 5 MISO SCL 12 MOSI 6 MOSI SDA 11 +3.3V 7 +3.3V +5V 10 GND 8 GND GND 9 RST CS SCK D/C GND – Data/Command OLED Switch click Resources • Libstock code example [4] • Vendor's data sheet [5] • OLED Switch 3D CAD model [6] • mikroBUS™ standard specifications [7] References [1] [2] [3] [4] [5] [6] http:/ / 2t70un3m1d9z1kztamkdrd38. wpengine. netdna-cdn. com/ wp-content/ uploads/ 2016/ 03/ ISC15ANP4. pdf http:/ / www. mikroe. com/ click/ oled-switch http:/ / cdn-docs. mikroe. com/ images/ 7/ 72/ Oled_Switch_click_schematic_v100. pdf http:/ / libstock. mikroe. com/ projects/ view/ 1931/ oled-switch-click http:/ / www. nkkswitches. com/ pdf/ ISC15ANP4. pdf http:/ / nkkswitches-embedded. partcommunity. com/ 3d-cad-models/ ?info=nkkswitches/ smart_switch/ oled_smartswitch/ isc15anp4_asmtab. prj [7] http:/ / download. mikroe. com/ documents/ standards/ mikrobus/ mikrobus-standard-specification-v200. pdf 4 Article Sources and Contributors Article Sources and Contributors OLED Switch click  Source: http://docs.mikroe.com/index.php?oldid=1650  Contributors: Srdjan.misic Image Sources, Licenses and Contributors File:OLED Switch click 1.jpg  Source: http://docs.mikroe.com/index.php?title=File:OLED_Switch_click_1.jpg  License: unknown  Contributors: Srdjan.misic File:OLED switch.png  Source: http://docs.mikroe.com/index.php?title=File:OLED_switch.png  License: unknown  Contributors: Srdjan.misic File:mikrobus logo.png  Source: http://docs.mikroe.com/index.php?title=File:Mikrobus_logo.png  License: unknown  Contributors: Vojislav.gvozdic License Creative Commons Attribution https:/ / creativecommons. org/ licenses/ by/ 4. 0/ 5
MIKROE-2449 价格&库存

很抱歉,暂时无法提供与“MIKROE-2449”相匹配的价格&库存,您可以联系我们找货

免费人工找货
MIKROE-2449
    •  国内价格
    • 250+207.56936

    库存:4

    MIKROE-2449
      •  国内价格
      • 1+1367.74627
      • 2+1313.05867

      库存:5

      MIKROE-2449
        •  国内价格
        • 1+1439.73265
        • 2+1382.16676

        库存:5