본문 바로가기

Arduino(아두이노)

[버섯][Scratch] S4A ( Scratch for Arduino ) - 스크래치 for 아두이노

안녕하세요 버섯돌이 유재성입니다.

이제 초등학교 입학을 앞 두고있는 아들과 함께 놀만한게 뭐~~ 없을까나~~~~ 싶은 요즈음...

예전부터 눈 여겨보고 있던 프로그램중 하나가 스크래치입니다.


사실 몇 년 전부터 아들과 함께 레고 마인드 스톰(Lego NXT)을 함께 하려고 벼르고 있었습니다만.....

애석하게도 아들의 속 눈썹 찌름이 심해서 컴퓨터 모니터를 못 보게 했었는데 몇 년이 흐른 지금도 개선되지 않아서..ㅜㅜ;;

마나님께서 반대하고 있지만 조만간 수술하고 나면 기회가 될 때 조금씩 함께 해 볼까 생각 중입니다.*^_^*


S4A는 이름에서 알 수 있듯이 아두이노를 이용한 스크래치 프로그램를 위한 멋진 녀석이라고 보면 될 듯 싶습니다.

S4A를 다운로드 받아서 설치 후 펌웨어를 아두이노에 업로드한 뒤에 사용하면 되는 것 같은데 써보지 않아서 모르겠군요.


간단히 사용 절차를 요약하면 아래와 같습니다.

1. 아두이노 IDE 설치

   - 다운로드 사이트 : https://www.arduino.cc/en/Main/Software

   - 아두이노 프로 미니(Arduino Pro mini) IDE 설치하기 : http://blog.naver.com/dev4unet/220390210721

   - 아두이노 Mega 2560 시작하기 : http://blog.naver.com/dev4unet/220177666764


2. S4A 설치
   http://s4a.cat/ > download > 자신의 OS 버전에 맞는 걸로 다운로드


3. 아두이노용 S4A 펌웨어 다운로드

   http://s4a.cat/ > download > Installing the Firmware into your Arduino > "Download our firmware from here"

   "here"의 파일을 다운로드하시면 되는데 .ino 파일이라서 마우스 우 클릭 후 다른 이름으로 저장하시면 됩니다.

   참고로, 오늘 기준으로는 http://vps34736.ovh.net/S4A/S4AFirmware16.ino 입니다.


4. 다운로드한 S4A 펌웨어(예:S4AFirmware16.ino)를 더블 클릭하셔서 아두이노 IDE를 구동후 아두이노에 업로드하시면 됩니다.


5. S4A 실행 후 스캐치 프로그램 작성 및 테스트


돌아서면 잊어버리는지라 나중에 시간 될 때 살펴보려고 일단 요약정리 및 블로깅 해 놓습니다.


사이트 : http://s4a.cat/


 

About S4A

S4A is a Scratch modification that allows for simple programming of the Arduino open source hardware platform. It provides new blocks for managing sensors and actuators connected to Arduino. There is also a sensors report board similar to the PicoBoard one.


The main aim of the project is attracting people to the programming world. The goal is also to provide a high level interface to Arduino programmers with functionalities such as interacting with a set of boards through user events.


The interface


 

An S4A program to control a light-sensor Theremin, with record and playback capabilities