마이크로비트(micro:bit)로 거미로봇 코딩하기

힘센캥거루
2026년 2월 25일(수정됨)
1
1

이번에 로봇기술 관련 모임에서 무료로 강의를 하나 개설하셨다.

재현고등학교에서 진행하는 마이크로 비트를 이용해 거미로봇을 제어하는 연수였다.

아는 선생님께서 신청을 했는데, 당일에 업무랑 겹쳐서 나에게 자리를 양보해주셔서 참여해보기로 했다.

재현고등학교

대한민국 서울특별시 노원구 덕릉로82길 64

핀 표시됨

상계역에서 걸어서 10분 거리이다.

내부에 주차장이 넓으니 차량을 이용하는 것도 좋다.

마이크로비트(micro:bit)로 거미로봇 코딩하기-1마이크로비트(micro:bit)로 거미로봇 코딩하기-2마이크로비트(micro:bit)로 거미로봇 코딩하기-3

학교 뒤편 별실에 있는 인공지능 공학실에서 연수를 진행했다.

거미 로봇 자체는 기성품이었는데, 이걸 조립한 뒤 마이크로비트를 달아 모터를 제어하는 것.

모터 선을 따로 따서 솔더링을 해주었다.

마이크로비트(micro:bit)로 거미로봇 코딩하기-4마이크로비트(micro:bit)로 거미로봇 코딩하기-5마이크로비트(micro:bit)로 거미로봇 코딩하기-6

이제 조립을 끝냈으니 코딩을 할 차례.

마이크로비트 사이트로 들어가서 MakeCode Editor를 눌러준다.

참고로 로그인을 해두면 자동 저장되므로 편하게 진행할 수 있다.

마이크로비트(micro:bit)로 거미로봇 코딩하기-7

마이크로비트를 쓰면서 흥미로웠던 점은 자바스크립트를 지원한다는 것.

다른 언어들이 대부분 파이썬을 지원하는 것을 생각하면 독특했다.

이걸로 자바스크립트를 익힌 뒤, 웹개발을 하는 것도 괜찮을 것 같았다.

마이크로비트(micro:bit)로 거미로봇 코딩하기-8마이크로비트(micro:bit)로 거미로봇 코딩하기-9

이제 이 녀석을 블루투스로 조정해야 한다.

마이크로비트에는 블루투스 모듈이 이미 들어 있어서 라이브러리만 다운받으면 사용 가능했다.

아래 사이트로 들어가면 미리 만들어놓은 Web App가 있다.

여기서 컨트롤러, 예제 같은 것을 보면서 만들면 된다.

마이크로비트(micro:bit)로 거미로봇 코딩하기-10

블루투스 연결에는 따로 어플리케이션이 필요하다.

크롬원격데스크탑과 비슷한 크롬 어플리케이션이라 그냥 설치하고 실행하면 된다.

마이크로비트(micro:bit)로 거미로봇 코딩하기-11

이렇게 9시에 시작한 연수가 12시 30분까지 쉬는 시간 없이 빠듯하게 진행하고 끝났다.

시간이 부족한게 조금 아쉬웠다.

코딩에 관심이 많으신 선생님들과 다음번에 또 한번 연수를 들었으면 하는 바램이다.

마이크로비트(micro:bit)로 거미로봇 코딩하기-12

관련 글

Cloning an RFID Card with Arduino
Cloning an RFID Card with Arduino
Today I’m going to write about how to clone an RFID card with an Arduino.Once I write something down I don’t forget it, so I’m leaving this here as a...
Collecting Temperature and Humidity Data with Arduino ESP32
Collecting Temperature and Humidity Data with Arduino ESP32
Today, we will create a Wi-Fi Stevenson screen that measures temperature and humidity and transmits data using Arduino ESP32. This content is based on a script for a +1 session that will be conducted at school. 1. Materials The materials are simple. ESP32, DHT-22, three wires First, briefly explain the ESP32...
Using the Arduino D1 R2
Using the Arduino D1 R2
It could have been done using a regular Arduino Uno, but I decided to try the Wemos D1 R2 with built-in WiFi and struggled quite a bit. This article is for those using Arduinos like the D1 R2 with different pin mappings. 1. IDE Setting Due to the various types of Arduinos, you also need to install the board package suitable for each board...
Solution for Timed out waiting for packet header on MacBook with Arduino
Solution for Timed out waiting for packet header on MacBook with Arduino
How to solve the Timed out issue when connecting Arduino Wemos D1 R2 to a MacBook
Connecting Arduino with Spreadsheets - Configuring Code
Connecting Arduino with Spreadsheets - Configuring Code
In the last article, we explored the sheet setup required to connect Arduino with a spreadsheet. In this article, we'll learn about data transmission using HTTPS communication from the Arduino D1 board. 1. Installing Arduino D1 Board Library It is necessary to install the board library...
Connecting Arduino with Spreadsheets - Google Sheets Setup
Connecting Arduino with Spreadsheets - Google Sheets Setup
Recently, I decided to work with students to observe and analyze the temperature and humidity around the school using Arduino. To store the data measured by Arduino, an SD card was necessary, and it was cumbersome to remove and reinsert the SD card to check the data. I suddenly thought about saving the data on the web...

댓글을 불러오는 중...