스마트폰으로 제어해 보는 IoT 보드

Content

-. 개발 환경 구축

-. W5500 칩 소개

-. W5500 Ethernet shield 및 Nucleo 보드 소개

-. Blynk_STM32F411_CoIDE 프로젝트 실습


개발 환경 구축

GNU Toolchain 설치

-. 참조 링크 https://launchpad.net/gcc-arm-embedded/5.0/5-2015-q4-major

CoIDE 설치

V1.7.8 다운로드 참조 링크 http://www.coocox.org/software/coide.php

메뉴->Project->Select Toolchain Path 선택

...\GNU Tools ARM Embedded\5.2 2015q4\bin 경로 추가

W5500 칩 소개

Features

참조 링크 http://wizwiki.net/wiki/doku.php?id=products:w5500:start

Fully Hardware TCP/IP 이더넷 솔루션

-. WIZnet의 저렴하고 활용성이 좋은 이더넷 전용칩

-. W3100<W3100A(+)<W5100<W5300<W5200<W5500

-. TCP, UDP, ICMP, IPv4, ARP, IGMP, PPPoE

-. 8 Sockets

-. Integrated Ethernet PHY

-. SPI Mode 0/3 (Up to 80MHz)

-. 48LQFP

ioLibrary

Driver 소스 참조 링크 https://github.com/Wiznet/ioLibrary_Driver

W5500 Ethernet shield 및 Nucleo 보드 소개

W5500 Ethernet shield Features

참조 링크 http://wizwiki.net/wiki/doku.php?id=osh:w5500_ethernet_shield:start

Nucleo 보드 Features

참조 링크 https://developer.mbed.org/platforms/ST-Nucleo-F411RE/

Blynk_STM32F411_CoIDE 프로젝트 실습

Blynk Platform

참조 링크 http://docs.blynk.cc/ 또는 https://ksr-video.imgix.net/projects/657114/video-471034-h264_high.mp4

예제 실습

Blynk_STM32F411_CoIDE 프로젝트 실습

-. Github 소스 다운로드 후 Unzip

-. Open Project 선택

-. Blynk App 다운로드 및 설치

-. Blynk Server 로그인

-. Create New Project 생성

-. E-mail에서 Auth Token 확인

-. Auth Token 변경 후 소스 Build/Rebuild

-. Nucleo 보드, W5500 Ethernet shield, Easy shield 결합

-. Program Download

-. Nucleo 보드 컨트롤 하기

Github 소스 다운로드 참조 링크 https://github.com/bingdo/Blynk_STM32F411_CoIDE

Unzip

Open Project

메뉴->Project->Open Project->Blynk_STM32F411_CoIDE.coproj 선택

Blynk App 다운로드 및 설치

Android폰 : Play 스토어 이용

iPhon : App 스토어 이용

Blynk Server 로그인

처음 로그인 시 Create New Account 사용

Create New Project 생성

E-mail에서 Auth Token 확인

Auth Token, MAC 주소 변경 후 소스 Build/Rebuild

메뉴->Project->Build/Rebuild 선택

Nucleo 보드, W5500 Ethernet shield, Easy shield 결합


Program Download

메뉴->Flash->Program Download 선택

Nucleo 보드 컨트롤 하기

Button, Graph Widget 추가

D10, D11, D12, D13 핀은 Ethernet SPI로 사용 중이므로 컨트롤 불가


+ Recent posts