Microcontrollers(639)

Smart Home Audio(325)

KA32182A

  • Watch time - 3:13
    Take Nuvoton NuMaker-IIoT-NUC980 running Linux as the platform and learn how to develop various functions. Watch this video, you will learn how to control GPIO to blink the LED on NuMaker-IIoT-NUC980 board. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-nuc980-iiot Contact us: SalesSupport@nuvoton.com
  • Training  Tool  Learning  Watch time - 3:51
    Hello everyone, I am the principal engineer of Nuvoton Technology, Morgan. Today, I will show you how to use Mbed OS on the NuMaker-IoT-M487 development board to control LED and buttons. First, open Chrome browser, enter the URL https://ide.mbed.com. Please make sure that NuMaker-IoT-M487 board already selected in the upper right corner after you log in. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS” which has a detailed description of how to add a board. Then click the “New” on the upper left, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template field, select the "NuMaker GPIO Interrupt with Debounce Setting" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. Click on “main.cpp”, this sample code uses SW2 button for demonstration. Click on “Compile” to build it. It is in compiling, please wait a moment. Then you can see a lot of messages at the bottom of the page. The last message is “Success!” The browser will download the binary firmware file directly after a successful compiling. It will be saved in a default download folder or the folder based on your browser setting. In Chrome, you can click download file and select “Show in folder”. Then we have to connect the NuMaker-IoT-M487 USB port to your computer and make sure the onboard LED lights up. Let’s head back to the download folder where you can see the binary firmware file (NuMaker-mbed-GPIO-Interrupt.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. Next step is to press the SW2 button on the board to toggle LED. You can see the reaction of each press. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. If you want to know more information, please contact us at SalesSupport@nuvoton.com - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487 Contact us: SalesSupport@nuvoton.com #Tool #Training #Learning #Intermediate #en
  • Watch time - 2:5
    新唐 NuMicro M031/M032 微控制器集成了工作頻率高達 72 MHz,Arm Cortex-M0 內核,16 ~ 512 KB Flash、2 ~ 96 KB SRAM 可供選擇,封裝從 20 到 128 PIN,電壓範圍支援 1.8V ~ 3.6V。 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/m031-series/ 聯絡我們: SalesSupport@nuvoton.com
  • Watch time - 3:31
    以新唐 NuMaker NUC980 IIoT 為平台,使用 Linux 進行開發,學習開發各式功能,觀看本片,您將學會如何控制 GPIO 使 LED 閃爍。 哈囉大家好,我是新唐工程師 Kevin,今天為大家介紹如何在 NuMaker NUC980 IIoT 板子上透過 GPIO 讓 LED 燈閃爍。 NuMaker NUC980 IIoT 板子的 Power-on Setting上方有 3 個 LED 燈,分別由不同的 GPIO 控制。最左邊,編號 LED03 的 LED 燈是由 GPIO B8 這根 pin 控制。今天示範如何用程式控制 GPIO B8 讓 LED 燈閃爍。 這是 LED 燈閃爍的程式,在看程式之前,我先為各位說明,在 Linux kernel 中,每一根 GPIO pin 都有編號。每一個 GPIO Group 占用 32個編號,編號為 0 到 31,分配給 GPIO Port A 這個 group,編號 32 到 63 分配給 GPIO Port B,以此類推。 LED03 這個 LED 燈是由 GPIO B8 這根 pin 控制,GPIO B8 在 Linux 中的編號是 40。 回到程式中,我們看到這個程式是透過 system function 執行系統命令,透過 Linux kernel 的 sysfs 控制 GPIO。 第 23 行 system("echo40 /sys/class/gpio/export"); 是將 GPIO B8 設定成可以用sysfs 控制。 第 24 行 system("echo out /sys/class/gpio/gpio40/direction"); 是將 GPIO B8 設定為 output。 接下來在 while loop 中,透過 system("echo 1/sys/class/gpio/gpio40/value"); 讓 GPIO B8 輸出 high;再透過 system("echo 0 /sys/class/gpio/gpio40/value"); 讓 GPIO B8 輸出 low,中間延遲 1 秒鐘,就可以做到 LED 燈閃爍的功能。 這個程式,main.c,儲存後,進行 compile 輸入 arm-linux-gcc main.c -o gpio_toggle (輸入 ls) 產生一個執行檔 gpio_toggle 將 gpio_toggle 拷貝到 root file system 目錄中, (輸入 sudo cp gpio_toggle ../rootfs) 然後重新 compile Linux Kernel 透過 NuWriter 將 Linux kernel 下載到NuMaker NUC980 IIoT 板子上執行 Linux Kernel 開機完成後,輸入 ./gpio_toggle,執行閃爍 LED 的程式。 此時可以看到 NuMaker NUC980 IIoT 板子上的 LED 正在閃爍。 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-nuc980-iiot 聯絡我們: SalesSupport@nuvoton.com
  • Watch time - 3:12
    本方案使用 NuMicro M480 高效能 M4 微控制器,搭配 emWin library 進行 GUI 圖像化人機介面設計,將結果顯示在 2” OLED 上。NuMicro M480 系列微控制器是新唐的最新產品,透過這個系列產品高達 192 MHz 的強大運算能力和多達 160 KB 的 SRAM,並且搭配 2 吋 OLED 螢幕,來達到流暢地解碼及播放 GIF 動態影像,那這個方案包含了三大重點: 第一點:我們使用了新唐 M480 高效能微控制器,透過高速 SPI 控制 OLED 來顯示炫麗的動態效果 第二點:本方案已內建 GIF 解碼和多種字型的 Library,如果有其他字型需求,可以透過新唐字型轉換工具載入其他字庫,再加上 emWin Library 的使用,快速開發完成高質感使用者介面。 第三點:本方案可以應用於有顯示功能需求的產品,如電競主機板,可以高效地動態顯示溫度、風扇轉速和硬碟狀態等 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 聯絡我們:SalesSupport@nuvoton.com ---- Today we are going to introduce our reference design OLED Display with GIF Format Decode featuring the NuMicro M480 series microcontroller. As you can see, the microcontroller controls the 2-inch OLED screen and GIF files can be played on it. The M480 series runs up to 192 MHz with 512 KB embedded Flash memory and 160 KB embedded SRAM. The high-performance MCU decodes GIF motion graphics smoothly. There are three major features about this reference design: First: We use the Nuvoton M480 high-performance microcontroller to control the OLED through high-speed SPI to showcase dynamic effects. Second: This solution has built-in GIF decoding and various font libraries. If there are other font requirements, you can load other fonts through the Nuvoton font conversion tool, and use the emWin Library to develop a high-quality user interface quickly. Third: It can be applied to products requiring display functions, such as e-sports motherboards, which can dynamically display temperature, the speed of the fan and the status of the hard disk. The OLED device has a 2-inch OLED screen with a resolution of 256*64. There is an SD card slot underneath, which obviously is for data storage and the storage status is shown on the OLED screen. The right side, there is a high-speed USB for PC connection as a flash drive. A headphone jack is on the left, I’m sure you all know how it works.
This website uses cookies to ensure you get the best experience on our website. Learn more
OK