{"id":32068,"date":"2024-01-22T12:24:00","date_gmt":"2024-01-22T11:24:00","guid":{"rendered":"https:\/\/fhi.nl\/nieuws\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/"},"modified":"2024-07-10T13:02:04","modified_gmt":"2024-07-10T11:02:04","slug":"how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar","status":"publish","type":"news","link":"https:\/\/fhi.nl\/en\/news\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/","title":{"rendered":"How to send command to switch page on Smart Display via custom CAN by Winstar"},"content":{"rendered":"<header id=\"header\" class=\"header header--low header--branch\">\n\n\t\n\t\t\t<div class=\"header__background header__background--graphic\"><\/div>\n\t\n\t<div class=\"container\">\n\t\t<div class=\"header__content\">\n\t\t\t<div class=\"header__first\">\n\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t<h1 class=\"header__title\" >\n\t\t\t\t\tHow to send command to switch page on Smart Display via custom CAN by Winstar\t\t\t\t<\/h1>\n\n\t\t\t\t<div class=\"header__dots-line\">\n\t\t\t\t\t<svg width=\"431\" height=\"9\" viewbox=\"0 0 431 9\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M430.799 4.192a1.136 1.136 0 1 1-2.272-.001 1.136 1.136 0 0 1 2.272 0Zm-27.272 0a1.135 1.135 0 1 1-2.27 0 1.135 1.135 0 0 1 2.27 0Zm-27.27 0a1.136 1.136 0 1 1-2.272-.001 1.136 1.136 0 0 1 2.272 0Zm-27.272 0a1.39 1.39 0 1 1-2.78 0 1.39 1.39 0 0 1 2.78 0Zm-27.78 0a1.645 1.645 0 1 1-3.29 0 1.645 1.645 0 0 1 3.29 0Zm-28.29 0a1.9 1.9 0 1 1-3.799 0 1.9 1.9 0 0 1 3.799 0Zm-28.799 0a2.154 2.154 0 1 1-4.308 0 2.154 2.154 0 0 1 4.308 0Zm-29.308 0a2.41 2.41 0 1 1-4.819 0 2.41 2.41 0 0 1 4.819 0Zm-29.819 0a2.663 2.663 0 1 1-5.326.001 2.663 2.663 0 0 1 5.326-.001Zm-30.327 0a2.919 2.919 0 1 1-5.837 0 2.919 2.919 0 0 1 5.837 0Zm-30.837 0a3.173 3.173 0 1 1-6.345.001 3.173 3.173 0 0 1 6.345 0Zm-31.346 0a3.428 3.428 0 1 1-6.856 0 3.428 3.428 0 0 1 6.856 0Zm-31.856 0a3.683 3.683 0 1 1-7.365 0 3.683 3.683 0 0 1 7.365 0Zm-32.365 0a3.937 3.937 0 1 1-7.875 0 3.937 3.937 0 0 1 7.875 0Zm-32.874 0a4.192 4.192 0 1 1-8.384 0 4.192 4.192 0 0 1 8.384 0Z\" fill=\"#FFF960\"\/><\/svg>\t\t\t\t<\/div>\n\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div>\n\n\t\t\t\t\t\t\t<div class=\"header__second\">\n\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"header__branch-logos\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/fhi.nl\/app\/uploads\/2024\/02\/Industriele-elektronica.svg\" class=\"header__branch-logo\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t<\/div>\n<\/header>\n\n\t<div class=\"header__meta\">\n\t<div class=\"container\">\n\t\t<div class=\"header__meta__category\">\n\n\t\t\t\t\t\t\t<div class=\"header__meta__detail\">\n\t\t\t\t\t<div>Branch<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/fhi.nl\/en\/kennishub\/?_branches_kennishub=industriele-elektronica\" class=\"header__meta__detail--branch\">\n\t\t\t\t\t\t\t\tIndustrial Electronics\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t\t<div class=\"header__meta__detail\">\n\t\t\t\t\t<div>Subject<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/fhi.nl\/en\/kennishub\/?_onderwerp_kennishub=industriele-elektronica\" class=\"header__meta__detail--categorie\">\n\t\t\t\t\t\t\t\tIndustrial Electronics\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t<\/div>\n<\/div>\n\n<div class=\"text bg--white\">\n\t<div class=\"container\">\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"text__content text__content--1-col\">\n\t\t\t<p>By using an Arduino board and the MCP2515 CAN controller, you can easily control a SmartDisplay with a physical button. This code snippet demonstrates how to send commands to the MCP2515 to switch between display modes and how to read a physical button&#039;s voltage to trigger these commands. This system can be extended to include other features, such as additional buttons, sensors, or other peripherals. The MCP2515 and the Arduino board provide a flexible and easy-to-use platform for various applications, from automotive to industrial to home automation.<\/p>\r\n<p>In order to promote SmartDisplay products, the CAN communication could be implemented using different protocols, including CANopen and custom CAN ID protocols. CANopen is a standardized protocol that defines communication profiles, device profiles, and object models for different types of devices. It provides a standardized way to configure, monitor, and control devices on the CAN bus. On the other hand, the Custom CAN ID protocol is often used when the devices on the CAN bus have unique features or requirements that are not covered by existing standard protocols. Custom protocols can offer more flexibility and efficiency compared to standard protocols.<\/p>\r\n<h2>Guide for beginners and enthusiasts<\/h2>\r\n<p>This article serves as a guide for beginners and enthusiasts who are interested in using the Arduino board, the CAN bus shield, and sensors to control devices via the custom CAN ID. It provides an overview of the hardware components used in the project, explores the program&#039;s functionality in detail, and discusses how to switch pages of Smart Display 7\u201d via custom CAN ID.<\/p>\r\n<p>Whether you are a beginner or an experienced developer, this article is a valuable resource that will help you understand the basics of using these components to control devices and the process of changing the pages via the custom CAN ID. By the end of the article, you will have a solid foundation for exploring more advanced projects with the Arduino board, the CAN bus shield, and the custom CAN ID protocol.<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig1-Introduction-1000x692.jpg\" alt=\"\" width=\"751\" height=\"520\" aria-describedby=\"caption-attachment-22821\" \/>\r\n<p id=\"caption-attachment-22821\">Fig. 1 System Block Diagram<\/p>\r\n\r\n<p>The main components used in this project are the Arduino board with Arduino IDE v2.0.4, and the CAN bus shield. The CAN bus shield is an expansion board that provides a CAN bus interface for the Arduino board. The shield uses the MCP2515 CAN controller and the MCP2551 CAN transceiver to communicate with other CAN bus devices.<\/p>\r\n<p>This demo requires the following components\uff1a<\/p>\r\n<ul>\r\n<li>7\u2033 Smart Display<\/li>\r\n<li>ARDUINO Mega 2560<\/li>\r\n<li>CAN bus shield for ARDUINO Mega 2560<\/li>\r\n<li>CAN bus Dongle<\/li>\r\n<li>Physical Button Sensor<\/li>\r\n<li>LED<\/li>\r\n<li>Software GUI Builder v0.4.5 or above<\/li>\r\n<\/ul>\r\n<p>The Demo is divided into three parts\uff1a<\/p>\r\n<ul>\r\n<li>Design the Demo Project in GUI Builder<\/li>\r\n<li>Build and Upload the Project<\/li>\r\n<li>Program the Arduino Host<\/li>\r\n<\/ul>\r\n<h2>Design the Demo Project in GUI Builder<\/h2>\r\n<p>To begin, launch an up-to-date GUI builder and create a new project. Assign a name to the project, and the project folder will be automatically selected.<br \/>Choose the device type, in this case, device type 7\u2033, and select the protocol \u201ccustom CAN ID\u201d. By default, the display orientation will be in landscape mode. Choose a blank UI template, and click on the create button to generate your new project, as demonstrated in Figure 2.<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig2-design-the-demo-project-in-gui-builder01.jpg\" alt=\"\" width=\"753\" height=\"461\" aria-describedby=\"caption-attachment-22824\" \/>\r\n<p id=\"caption-attachment-22824\">Fig. 2<\/p>\r\n\r\n<p>This page opens after creating the blank project.<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig3-design-the-demo-project-in-gui-builder02-1000x652.jpg\" alt=\"\" width=\"750\" height=\"489\" aria-describedby=\"caption-attachment-22827\" \/>\r\n<p id=\"caption-attachment-22827\">Fig. 3<\/p>\r\n\r\n<p>As per the demonstration scenario, an additional page is required. To add this page, click on the page button and then select the plus button.<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig4-design-the-demo-project-in-gui-builder03-1000x719.jpg\" alt=\"\" width=\"748\" height=\"538\" aria-describedby=\"caption-attachment-22830\" \/>\r\n<p id=\"caption-attachment-22830\">Fig. 4<\/p>\r\n\r\n<p>It is possible to choose the customized background style from the resource panel.<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig5-design-the-demo-project-in-gui-builder04.jpg\" alt=\"\" width=\"751\" height=\"468\" aria-describedby=\"caption-attachment-22833\" \/>\r\n<p id=\"caption-attachment-22833\">Fig. 5<\/p>\r\n\r\n<p>You can also choose your preferred background style in the page section.<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig6-design-the-demo-project-in-gui-builder05.jpg\" alt=\"\" width=\"752\" height=\"503\" aria-describedby=\"caption-attachment-22836\" \/>\r\n<p id=\"caption-attachment-22836\">Fig. 6<\/p>\r\n\r\n<h2>Build and Upload the Project<\/h2>\r\n<p>After finalizing the layout design and completing the previous steps, the next step is to build the project. Click on the Device button and select Device Property. Review the default protocol and baud rate settings based on your needs. It is recommended to set the baud rate to the same value in both your Arduino code and the GUI builder to ensure compatibility. Once you have made any necessary changes, click on the Connect to Device button. If the device connects successfully, click on the upload button to upload the project, as shown in Figure 7 below\uff1a<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig7-build-and-upload-the-project01.jpg\" alt=\"\" width=\"751\" height=\"540\" aria-describedby=\"caption-attachment-22839\" \/>\r\n<p id=\"caption-attachment-22839\">Fig. 7<\/p>\r\n\r\n<p>When the Upload project is completed then click on the ok button as shown below Fig 8\uff1a<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig8-build-and-upload-the-project02.jpg\" alt=\"\" width=\"553\" height=\"286\" aria-describedby=\"caption-attachment-22842\" \/>\r\n<p id=\"caption-attachment-22842\">Fig. 8<\/p>\r\n\r\n<p>The start screen will appear after uploading is completed as shown below Fig 9\uff1a<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig9-start-screen-appear-after-uploading-is-completed-as-shown-below.jpg\" alt=\"\" width=\"429\" height=\"248\" aria-describedby=\"caption-attachment-22845\" \/>\r\n<p id=\"caption-attachment-22845\">Fig. 9<\/p>\r\n\r\n<p>After the start screen, it will jump to the uploaded design page. Now Building and uploading has completed through GUI builder as shown below Fig 10\uff1a<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig10-after-the-start-screen-it-will-jump-to-uploaded-design-page.jpg\" alt=\"\" width=\"496\" height=\"289\" aria-describedby=\"caption-attachment-22848\" \/>\r\n<p id=\"caption-attachment-22848\">Fig. 10<\/p>\r\n\r\n<h2>Program the Arduino Host<\/h2>\r\n<p>There are only one \u201cmcp2515_can.h\u201d library has been used for the Custom CAN ID protocols. And another \u201cSPI.h\u201d library is used only for Serial Peripheral Interface (SPI) communication. The mcp2515_can.h library is used for interfacing with the MCP2515 CAN (Controller Area Network) controller, which is a widely-used CAN controller for embedded systems.<\/p>\r\n<p>The library provides functions for initializing the MCP2515, setting up the CAN communication settings (eg bit rate, filter, and mask settings), transmitting and receiving CAN messages, and checking for errors. Here all required register addresses are defined in the Arduino IDE program as shown below in Fig 11. This code segment initializes various global variables, constants, and arrays with their respective data types that are used later in the code.<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig11-program-the-arduino-host01.jpg\" alt=\"\" width=\"752\" height=\"431\" aria-describedby=\"caption-attachment-22851\" \/>\r\n<p id=\"caption-attachment-22851\">Fig. 11<\/p>\r\n\r\n<p>This code segment is the setup() function that is called once at the start of the program. The serial communication for serial monitor is initialized with a baud rate of 115200 using Serial.begin(). The built-in LED on pin 13 is set as an output using pinMode(). The physical button pin is set as input using pinMode(). A while loop is used to initialize the MCP2515 CAN controller. The CAN.begin() function is called with a baud rate argument of CAN_250KBPS.<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig12-program-the-arduino-host02.jpg\" alt=\"\" width=\"751\" height=\"313\" aria-describedby=\"caption-attachment-22854\" \/>\r\n<p id=\"caption-attachment-22854\">Fig. 12<\/p>\r\n\r\n<p>Here the changePageFunction() function sends commands to the MCP2515 to switch between display modes. It does this by sending messages with specific data bytes to the MCP2515. The function first sends a \u201cdevice mode\u201d command to switch the MCP2515 to config mode, then sends a \u201cchange page\u201d command with the desired page number, and finally sends another \u201cdevice mode\u201d command to switch the MCP2515 back to display mode.<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig13-program-the-arduino-host03.jpg\" alt=\"\" width=\"661\" height=\"346\" aria-describedby=\"caption-attachment-22857\" \/>\r\n<p id=\"caption-attachment-22857\">Fig. 13<\/p>\r\n\r\n<p>This code segment is the loop() function that runs repeatedly after the setup() function is called. The function reads the voltage value of the physical button using analogRead() and stores it in the buttonValue variable. If the buttonValue is greater than the THRESHOLD value, it means that the physical button is pressed. In this case, the function increments the nowPage variable by 1 and prints the current nowPage value to the serial monitor using sprintf() and Serial.println().<\/p>\r\n<p>The function then calls the changePageFunction() with the current nowPage value to switch to the desired display page. If the nowPage value is not 0, the built-in LED on pin 13 is turned on using digitalWrite(). Otherwise, the LED is turned off.<\/p>\r\n<p>The lastDebounce variable is updated with the current time using millis() to keep track of the last button press time. The function waits for the physical button to be released by continuously reading the buttonValue using analogRead() inside a while loop.<\/p>\r\n<p>And last but not least, the delay(100) statement at the end of the function introduces a 100 ms delay before the function runs again. This delay ensures that the CAN bus messages are sent at a reasonable interval.<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig14-program-the-arduino-host04-4.jpg\" alt=\"\" width=\"750\" height=\"711\" aria-describedby=\"caption-attachment-22860\" \/>\r\n<p id=\"caption-attachment-22860\">Fig. 14<\/p>\r\n\r\n<p>\u00a0<\/p>\r\n<p>For more details, see the Arduino code. It is important to take note of the address to connect the host with Smart Display. If you want to learn more about how communication between the host and smart display is via CAN bus Shield, please reference the GUI builder communication log.<\/p>\r\n<h2>Appendix\uff1aSet Up the Project<\/h2>\r\n<p>Once you have successfully verified and uploaded the program through the Arduino IDE, it should be possible to switch between pages by pressing physical buttons. When the screen displays the first page, the LED will turn off. Pressing the physical button to switch to the second page will cause the LED to turn on, as illustrated in the below Fig 15\uff1a<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig15-appendix-set-up-the-project01-1000x369.jpg\" alt=\"\" width=\"751\" height=\"277\" aria-describedby=\"caption-attachment-22863\" \/>\r\n<p id=\"caption-attachment-22863\">Fig. 15<\/p>\r\n\r\n<p>Congratulations, the design and demo of the Smart Display is completed with a physical button and LED to change the Inductor color while pressing the physical button or touch button.<br \/>Please refer to this link of GitHub https:\/\/bit.ly\/3oT0o5M to download the above program, demo video, and can seek more details about other demo project in example. The actual hardware setup is given below fig 16 \uff1a<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/www.nijkerk-ne.com\/wp-content\/uploads\/fig16-appendix-set-up-the-project-02.jpg\" alt=\"\" width=\"752\" height=\"890\" aria-describedby=\"caption-attachment-22866\" \/>\r\n<p id=\"caption-attachment-22866\">Fig. 16<\/p>\r\n\r\n<p>If you want more information or if you have any questions, please\u00a0<a href=\"https:\/\/www.nijkerk-ne.com\/contact\/\">contact Nijkerk Electronics<\/a>!<\/p>\t\t<\/div>\n\t<\/div>\n<\/div>\r\n\t<div class=\"articles bg--offwhite automatic\">\r\n\t\t<div class=\"container\">\r\n\t\t\t<div class=\"articles__header\">\r\n\t\t\t\t\t\t\t\t\t<div class='heading-wrapper'><svg width=\"13\" height=\"13\" viewbox=\"0 0 13 13\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><circle cx=\"6.394\" cy=\"6.5\" r=\"6.394\" fill=\"#000\"\/><\/svg><h2>Related articles<\/h2><\/div>\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"\/en\/profiel\/nijkerk-electronics\/\" class=\"button button--outline\">view profile<\/a>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div class=\"post-grid post-grid--no-padding\">\r\n\t\t\t\t\n<a class=\"single-item single-item__articles\" href=\"https:\/\/fhi.nl\/en\/news\/energie-en-data-voor-de-transformatie-van-mobiliteit-bezoek-helukabel-op-emove360-europe-2022-van-5-tot-7-oktober-in-berlijn\/\" data-id=\"34669\">\n\t<div class=\"single-item__articles-icon\">\n\t\t<svg width=\"35\" height=\"35\" viewbox=\"0 0 35 35\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<mask id=\"mask0_1182_5532\" style=\"mask-type:luminance\" maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"35\" height=\"35\">\n<path d=\"M0 0H35V35H0V0Z\" fill=\"white\"\/>\n<\/mask>\n<g mask=\"url(#mask0_1182_5532)\">\n<path d=\"M5.12695 9.22852H1.02539V31.9238H10.4299C12.2868 31.9238 14.0678 32.6615 15.3809 33.9746H19.6191C20.9322 32.6615 22.7132 31.9238 24.5701 31.9238H33.9746V11.2793H29.873\" stroke=\"#2A5CEE\" stroke-width=\"2\" stroke-miterlimit=\"10\"\/>\n<path d=\"M17.5 9.22852H18.1426C20.0088 7.89544 22.2237 7.17773 24.5615 7.17773H29.873V27.8223H24.5615C22.2237 27.8223 20.0088 28.54 18.1426 29.873H16.8574C14.9912 28.54 12.7763 27.8223 10.4385 27.8223H5.12695V5.12695H9.22852\" stroke=\"#2A5CEE\" stroke-width=\"2\" stroke-miterlimit=\"10\"\/>\n<path d=\"M9.22852 1.02539V21.6699C13.759 21.6699 17.5 25.3425 17.5 29.873V9.22852C17.5 4.698 13.759 1.02539 9.22852 1.02539Z\" stroke=\"#2A5CEE\" stroke-width=\"2\" stroke-miterlimit=\"10\"\/>\n<\/g>\n<\/svg>\n\t<\/div>\n\t<div class=\"single-item__articles-title\"><div class='heading-wrapper'><h3>Energy and data for the transformation of mobility Visit HELUKABEL at eMove360\u00b0 Europe 2022 from October 5 to 7 in Berlin!<\/h3><\/div><\/div>\n\t<div class=\"single-item__articles-terms\">\n\t\t\n\t\t\n\t\t\t\t\t\t<span class=\"button button--outline single-item__articles-term--branche single-item__articles-term\">Industrial automation<\/span>\n\t\t\t\t\t\t\t\t<span class=\"button button--outline single-item__articles-term--branche single-item__articles-term\">World of Industry, Technology &amp; Science<\/span>\n\t\t\t\t\t\t\t\t<span class=\"button button--outline single-item__articles-term--branche single-item__articles-term\">Members content<\/span>\n\t\t\t\t\t<\/div>\n\t<div class=\"single-item__articles-author-date-wrapper\">\n\t\t\t\t\t<div class=\"single-item__articles-author\">\n\t\t\t\tHELU Netherlands\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"single-item__articles-date\">\n\t\t\t\tSeptember 20, 2022\t\t\t<\/div>\n\t\t\t<\/div>\n<\/a>\n\n<a class=\"single-item single-item__articles\" href=\"https:\/\/fhi.nl\/en\/news\/coronacrisis-dit-kun-je-juist-nu-als-ondernemer-doen\/\" data-id=\"42323\">\n\t<div class=\"single-item__articles-icon\">\n\t\t<svg width=\"35\" height=\"35\" viewbox=\"0 0 35 35\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<mask id=\"mask0_1182_5532\" style=\"mask-type:luminance\" maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"35\" height=\"35\">\n<path d=\"M0 0H35V35H0V0Z\" fill=\"white\"\/>\n<\/mask>\n<g mask=\"url(#mask0_1182_5532)\">\n<path d=\"M5.12695 9.22852H1.02539V31.9238H10.4299C12.2868 31.9238 14.0678 32.6615 15.3809 33.9746H19.6191C20.9322 32.6615 22.7132 31.9238 24.5701 31.9238H33.9746V11.2793H29.873\" stroke=\"#2A5CEE\" stroke-width=\"2\" stroke-miterlimit=\"10\"\/>\n<path d=\"M17.5 9.22852H18.1426C20.0088 7.89544 22.2237 7.17773 24.5615 7.17773H29.873V27.8223H24.5615C22.2237 27.8223 20.0088 28.54 18.1426 29.873H16.8574C14.9912 28.54 12.7763 27.8223 10.4385 27.8223H5.12695V5.12695H9.22852\" stroke=\"#2A5CEE\" stroke-width=\"2\" stroke-miterlimit=\"10\"\/>\n<path d=\"M9.22852 1.02539V21.6699C13.759 21.6699 17.5 25.3425 17.5 29.873V9.22852C17.5 4.698 13.759 1.02539 9.22852 1.02539Z\" stroke=\"#2A5CEE\" stroke-width=\"2\" stroke-miterlimit=\"10\"\/>\n<\/g>\n<\/svg>\n\t<\/div>\n\t<div class=\"single-item__articles-title\"><div class='heading-wrapper'><h3>Corona crisis: this is what you can do as an entrepreneur right now<\/h3><\/div><\/div>\n\t<div class=\"single-item__articles-terms\">\n\t\t\n\t\t\n\t\t\t<\/div>\n\t<div class=\"single-item__articles-author-date-wrapper\">\n\t\t\t\t\t<div class=\"single-item__articles-author\">\n\t\t\t\tFHI, Federation of Technology Industries\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"single-item__articles-date\">\n\t\t\t\tMarch 24, 2020\t\t\t<\/div>\n\t\t\t<\/div>\n<\/a>\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"featured_media":32069,"template":"","branches":[13],"events":[9,8],"secretariat":[],"categories":[57],"themes_tax":[],"content_types":[514],"class_list":["post-32068","news","type-news","status-publish","has-post-thumbnail","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to send command to switch page on Smart Display via custom CAN by Winstar<\/title>\n<meta name=\"description\" content=\"By using an Arduino board and the MCP2515 CAN controller, you can easily control a SmartDisplay with a physical button.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to send command to switch page on Smart Display via custom CAN by Winstar\" \/>\n<meta property=\"og:description\" content=\"By using an Arduino board and the MCP2515 CAN controller, you can easily control a SmartDisplay with a physical button.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/\" \/>\n<meta property=\"og:site_name\" content=\"FHI, federatie van technologiebranches\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-10T11:02:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fhi.nl\/app\/uploads\/news\/521255c462dd50a5f26e561d3218e1c7-winstar-custom-can-main-picture-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1323\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fhi.nl\/nieuws\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/\",\"url\":\"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/\",\"name\":\"How to send command to switch page on Smart Display via custom CAN by Winstar\",\"isPartOf\":{\"@id\":\"https:\/\/fhi.nl\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fhi.nl\/app\/uploads\/news\/521255c462dd50a5f26e561d3218e1c7-winstar-custom-can-main-picture-scaled.jpg\",\"datePublished\":\"2024-01-22T11:24:00+00:00\",\"dateModified\":\"2024-07-10T11:02:04+00:00\",\"description\":\"By using an Arduino board and the MCP2515 CAN controller, you can easily control a SmartDisplay with a physical button.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/#primaryimage\",\"url\":\"https:\/\/fhi.nl\/app\/uploads\/news\/521255c462dd50a5f26e561d3218e1c7-winstar-custom-can-main-picture-scaled.jpg\",\"contentUrl\":\"https:\/\/fhi.nl\/app\/uploads\/news\/521255c462dd50a5f26e561d3218e1c7-winstar-custom-can-main-picture-scaled.jpg\",\"width\":1920,\"height\":992},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fhi.nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Nieuws\",\"item\":\"https:\/\/fhi.nl\/nieuws\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to send command to switch page on Smart Display via custom CAN by Winstar\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fhi.nl\/#website\",\"url\":\"https:\/\/fhi.nl\/\",\"name\":\"FHI, federatie van technologiebranches\",\"description\":\"Nederlandse branchevereniging voor technologiebranches\",\"publisher\":{\"@id\":\"https:\/\/fhi.nl\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fhi.nl\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/fhi.nl\/#organization\",\"name\":\"FHI, federatie van technologiebranches\",\"url\":\"https:\/\/fhi.nl\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/fhi.nl\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/fhi.nl\/app\/uploads\/2024\/06\/3-e1722349014385.png\",\"contentUrl\":\"https:\/\/fhi.nl\/app\/uploads\/2024\/06\/3-e1722349014385.png\",\"width\":732,\"height\":136,\"caption\":\"FHI, federatie van technologiebranches\"},\"image\":{\"@id\":\"https:\/\/fhi.nl\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/fhi-federation-of-technology-branches\",\"https:\/\/www.instagram.com\/fhi_nl\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to send command to switch page on Smart Display via custom CAN by Winstar","description":"By using an Arduino board and the MCP2515 CAN controller, you can easily control a SmartDisplay with a physical button.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/","og_locale":"en_GB","og_type":"article","og_title":"How to send command to switch page on Smart Display via custom CAN by Winstar","og_description":"By using an Arduino board and the MCP2515 CAN controller, you can easily control a SmartDisplay with a physical button.","og_url":"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/","og_site_name":"FHI, federatie van technologiebranches","article_modified_time":"2024-07-10T11:02:04+00:00","og_image":[{"width":2560,"height":1323,"url":"https:\/\/fhi.nl\/app\/uploads\/news\/521255c462dd50a5f26e561d3218e1c7-winstar-custom-can-main-picture-scaled.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/fhi.nl\/nieuws\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/","url":"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/","name":"How to send command to switch page on Smart Display via custom CAN by Winstar","isPartOf":{"@id":"https:\/\/fhi.nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/#primaryimage"},"image":{"@id":"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/#primaryimage"},"thumbnailUrl":"https:\/\/fhi.nl\/app\/uploads\/news\/521255c462dd50a5f26e561d3218e1c7-winstar-custom-can-main-picture-scaled.jpg","datePublished":"2024-01-22T11:24:00+00:00","dateModified":"2024-07-10T11:02:04+00:00","description":"By using an Arduino board and the MCP2515 CAN controller, you can easily control a SmartDisplay with a physical button.","breadcrumb":{"@id":"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/#primaryimage","url":"https:\/\/fhi.nl\/app\/uploads\/news\/521255c462dd50a5f26e561d3218e1c7-winstar-custom-can-main-picture-scaled.jpg","contentUrl":"https:\/\/fhi.nl\/app\/uploads\/news\/521255c462dd50a5f26e561d3218e1c7-winstar-custom-can-main-picture-scaled.jpg","width":1920,"height":992},{"@type":"BreadcrumbList","@id":"https:\/\/www.nijkerk-ne.com\/how-to-send-command-to-switch-page-on-smart-display-via-custom-can-by-winstar\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fhi.nl\/"},{"@type":"ListItem","position":2,"name":"Nieuws","item":"https:\/\/fhi.nl\/nieuws\/"},{"@type":"ListItem","position":3,"name":"How to send command to switch page on Smart Display via custom CAN by Winstar"}]},{"@type":"WebSite","@id":"https:\/\/fhi.nl\/#website","url":"https:\/\/fhi.nl\/","name":"FHI, federation of technology industries","description":"Dutch trade association for technology industries","publisher":{"@id":"https:\/\/fhi.nl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fhi.nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/fhi.nl\/#organization","name":"FHI, federation of technology industries","url":"https:\/\/fhi.nl\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/fhi.nl\/#\/schema\/logo\/image\/","url":"https:\/\/fhi.nl\/app\/uploads\/2024\/06\/3-e1722349014385.png","contentUrl":"https:\/\/fhi.nl\/app\/uploads\/2024\/06\/3-e1722349014385.png","width":732,"height":136,"caption":"FHI, federatie van technologiebranches"},"image":{"@id":"https:\/\/fhi.nl\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/fhi-federation-of-technology-branches","https:\/\/www.instagram.com\/fhi_nl\/"]}]}},"_links":{"self":[{"href":"https:\/\/fhi.nl\/en\/wp-json\/wp\/v2\/news\/32068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fhi.nl\/en\/wp-json\/wp\/v2\/news"}],"about":[{"href":"https:\/\/fhi.nl\/en\/wp-json\/wp\/v2\/types\/news"}],"version-history":[{"count":0,"href":"https:\/\/fhi.nl\/en\/wp-json\/wp\/v2\/news\/32068\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fhi.nl\/en\/wp-json\/wp\/v2\/media\/32069"}],"wp:attachment":[{"href":"https:\/\/fhi.nl\/en\/wp-json\/wp\/v2\/media?parent=32068"}],"wp:term":[{"taxonomy":"branches","embeddable":true,"href":"https:\/\/fhi.nl\/en\/wp-json\/wp\/v2\/branches?post=32068"},{"taxonomy":"events","embeddable":true,"href":"https:\/\/fhi.nl\/en\/wp-json\/wp\/v2\/events?post=32068"},{"taxonomy":"secretariat","embeddable":true,"href":"https:\/\/fhi.nl\/en\/wp-json\/wp\/v2\/secretariat?post=32068"},{"taxonomy":"categories","embeddable":true,"href":"https:\/\/fhi.nl\/en\/wp-json\/wp\/v2\/categories?post=32068"},{"taxonomy":"themes","embeddable":true,"href":"https:\/\/fhi.nl\/en\/wp-json\/wp\/v2\/themes_tax?post=32068"},{"taxonomy":"content_types","embeddable":true,"href":"https:\/\/fhi.nl\/en\/wp-json\/wp\/v2\/content_types?post=32068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}