반응형

MicroPython 5

MicroPython 에서 ESP-NOW 지원

MicroPython의 홈페이지에서 ESP-NOW를 지원한다는 내용과 샘플코드가 담겨있다. espnow — support for the ESP-NOW wireless protocol — MicroPython latest documentation © Copyright - The MicroPython Documentation is Copyright © 2014-2023, Damien P. George, Paul Sokolovsky, and contributors. Last updated on 01 Mar 2024. docs.micropython.org 홈페이지에 있는 Sender 와 Receiver의 소스를 각각의 ESP32에 업로드 한 뒤에 Receiver를 확인하면 아래와 같이 바이너리 데이터를 수신하는..

Software/Python 2024.03.02

ESP32 espressif ESP32-WROOM-32D를 MicroPython보드로 사용하기

ESP32를 주로 아두이노 IDE에서 쓰다가, MicroPython 롬을 한번 넣어보고 싶다고 생각해서 작업에 들어갔다. 자세한 내용은 아래의 홈페이지를 참고하셔도 될 거 같다. https://docs.micropython.org/en/latest/esp32/tutorial/intro.html 1. Getting started with MicroPython on the ESP32 — MicroPython 1.19.1 documentation The flashing instructions above use flashing speed of 460800 baud, which is good compromise between speed and stability. However, depending on your m..

Hardware/ESP 2022.07.23

Pyboard 도입

1. PYBv1.1 호환 보드가 좀 더 가격이 싸길래 호환 보드로 장만을 했다. 파이 보드는 특별한 IDE를 설치하지 않아도 main.py를 수정하는 것 만으로 손쉽게 프로그래밍이 가능하다. 보드의 레퍼런스 페이지 링크를 아래에 남겨둔다. Quick reference for the pyboard: https://docs.micropython.org/en/latest/pyboard/quickref.html Quick reference for the pyboard — MicroPython 1.19.1 documentation © Copyright - The MicroPython Documentation is Copyright © 2014-2022, Damien P. George, Paul Sokolovsky..

Hardware/Python 2021.11.04

Raspberry Pi Pico 도입

Raspberry Pi Pico는 좀 전에 사 놓아둔 건데 이제야 동작 테스트를 해 본다. 어떠한 마이크로 컨트롤러든 제일 처음 하는것은 LED를 컨트롤하는 게 아닐까 싶다. 마이크로 컨트롤러에 Python을 사용하고 싶은 사람에게 적절할 것 같은데, 이번에 테스트 해 본 결과 M1 맥북에서도 문제없이 활용할 수 있다. 여기서는 M1 맥북을 이용하여 테스트를 진행 하였다. 1. 디바이스 세팅 일단 맥북에 연결을 해 보면 아래와 같이 "RPI-RP2" 라는 장치로 인식이 된다. 이걸 설정을 해 줘야 되는데 일단 아래의 홈페이지에 가서 파일을 다운로드한 뒤에 세팅을 해 준다. https://micropython.org/download/rp2-pico/ MicroPython - Python for microc..

PYBv1.1 구입 (MicroPython 호환 보드)

Python 을 이용한 마이크로컨트롤러의 개발 환경이 구축 되어지고 있는데, 마이크로 컨트롤러에 사용되는 Python의 환경이 두가지 종류가 있다는 것을 알게 되었다. 하나는 오늘 첨부한 PYBv1.1 (pyboard v1 관련) 에 대한 개발이 가능한 [MicroPython] 이다. https://micropython.org/download/ MicroPython - Python for microcontrollers MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimis..

Hardware/Python 2021.03.01
반응형