본문 바로가기
  • 스스로 행복을 가꾸는 교육을 꿈꾸다
MAKING/우리반 쌤의 똑똑한 메이커 테이블

Nextion + nano 33 IoT (1)

by FermeH 2020. 10. 18.

[ 참고한 글 ]

randomnerdtutorials.com/nextion-display-with-arduino-getting-started/

 

Nextion Display with Arduino - Getting Started | Random Nerd Tutorials

This post is an introduction to the Nextion display with the Arduino. We're going to show you how to configure the display for the first time, download the needed resources, and how to integrate it

randomnerdtutorials.com

[ 알게된 점 ] 

*배경화면을 특정 그림으로 설정하려면 그 그림의 속성 중 'pic'을 '0'으로 설정해야 함 

*구현 순서: 1) 화면에 아두이노로 글씨 전송하여 나타내기

                  2) 터치 기능 설정하기

                  3) 리스트 형태로 보내서 터치 기능이 작동하도록 하기


1) 화면에 아두이노로 글씨 전송하여 나타내기 

첫번째 난관: 컴파일이 안된다

- 문제: Nextion.h 에서 NexUpload.cpp 를 불러올 때 SoftwareSerial.h 가 없어 에러가 발생 

https://stackoverflow.com/questions/57175348/softwareserial-for-arduino-nano-33-iot

 

SoftwareSerial for Arduino Nano 33 IoT

I am planning on moving from the old 5V Arduino Nano to the new Arduino Nano 33 IoT. I have written a functioning code for the old 5V Arduino Nano using Software Serial (SoftwareSerial.h) to commun...

stackoverflow.com

- 원인: Arduino Nano 33 IoT 라이브러리가 부재 

https://github.com/itead/ITEADLIB_Arduino_Nextion/issues/86 

 

Library update for Arduino Nano 33 IoT and 33 BLE? · Issue #86 · itead/ITEADLIB_Arduino_Nextion

Hallo, The new Arduino Nano’s (Every, 33 IoT, 33 BLE and 33 BLE Sense) are using new MCU’s and are not compadeble with the current ITEADLIB_Arduino_Nextion library. Will there be an update anytime ...

github.com

- 해결책: Arduino Uno를 사용하니 컴파일이 됨 - 보드 호환의 문제

 

두번째 난관: 업로드가 안된다 

- 문제: Uno를 사용하니 컴파일되는데 업로드가 안됨  

- 원인: ??

- 해결책: TX, RX 핀을 빼고 업로드하면 됨 

https://stackoverflow.com/questions/47334139/arduino-avrdude-stk500-recv-programmer-is-not-responding

 

Arduino : avrdude: stk500_recv(): programmer is not responding

I'm currently trying to make Controlling an RGB LED With an Android Smartphone Using Arduino and Bluetooth Module. As in below link tutorial. http://www.instructables.com/id/Controlling-an-RGB-LED-

stackoverflow.com

 

세번째 난관: LCD에 글씨가 뜨지 않는다 - 다음에 해결해야 함!

 


우노를 사용해야 하지만 와이파이 및 블루투스 통신은 nano 33 IoT가 사용하기 편하므로 
nano 33 IoT에 대한 탐색도 계속하기로 했습니다. 사놓은 아두이노가 아깝기도 하구요 ㅋㅋ 

그래서 다음 포스팅을 보면서 따라해보았습니다.  

https://fishpoint.tistory.com/4433?category=626454

 

 

Arduino Nano 33 IoT 개발 가이드 3 - WiFi Network 실습

Nano 33 IoT 개발 가이드 3 - WiFi Network 실습 이 장에서는 Arduino Nano 33 IoT 온보드 WiFi를 사용하는 방법에 대해 설명한다. WiFi 핫스팟을 스캔하는 첫 번째 데모는 주변 환경에서 WiFi를 스캔하는 예제다..

fishpoint.tistory.com

와이파이랑 아두이노를 연결한 감격의 첫 순간입니다!! 

확실히 코드 몇 줄만으로 웹이랑 연결되는 것이 신기하긴 하네요 :0
이 기능을 잘 활용하면 앱에서 데이터를 아두이노로 보내는 것까진 할 수 있을 것 같습니다. 

푸시버튼을 아두이노에 연결해서 필요할 때 데이터를 웹에서 받을 수 있도록 구성하면 될 것 같아요. 

 

 

다음의 링크들은 다음번의 Nano 33 IoT 탐구에 참고할 자료입니다. 

https://www.instructables.com/Arduino-NANO-33-Made-Easy-BLE-Sense-and-IoT/

 

Arduino NANO 33 Made Easy BLE, Sense and IoT

Arduino NANO 33 Made Easy BLE, Sense and IoT: Quick StartThis tutorial shows you how to use the free pfodDesignerV3 V3.0.3774+ Android app to create a general purpose Bluetooth Low Energy (BLE) and WiFi connection for Arduino NANO 33 boards without doing a

www.instructables.com

https://www.instructables.com/Build-Your-First-IOT-Using-Arduino-Without-Additio/

 

Build Your First IOT Using Arduino Without Additional Modules

Build Your First IOT Using Arduino Without Additional Modules: The world is going smarter everyday and the biggest reason behind this is evolution ofsmart technology. As a tech enthusiast you must have heard about the term IOT which means Internet of Thing

www.instructables.com

'MAKING > 우리반 쌤의 똑똑한 메이커 테이블' 카테고리의 다른 글

코틀린 공부 + 작업_4  (0) 2020.11.05
Nextion + Arduino Uno (2)  (0) 2020.11.05
Nextion LCD 탐색  (0) 2020.09.22
아두이노 나노 33 IoT 탐색  (0) 2020.09.22
코틀린_공부_3  (0) 2020.09.16

댓글