감추기
크리스마스MCU
홈 > 마이크로비트 > 모듈/센서

마이크로비트 SSR 릴레이 모듈 Relay for micro:bit [MNK00061]
마이크로비트용 Solid State Relay 모듈 / 최대 16V 2A / 마이크로비트와 릴레이모듈로 다른 장치의 전원을 켜고 끌 수 있습니다 / LED 인디케이터 내장
판매가격 : 10,780
적립금 :108
상품상태 :신상품
배송방법 :택배
배송지역 :전국
제조사 :Pimoroni
출시일 :2018-02-07
구매수량 :
총 금액 :
MCU이용 꿀팁

21,800원
27,600원
16,500원
28,400원
12,100원
12,100원
12,100원
35,000원
상세정보 배송/취소/교환안내 이용후기 상품Q&A






마이크로비트 SSR 릴레이 모듈 Relay for micro:bit [MNK00061]

Features

A micro:bit can turn an LED on and off directly, but anything more powerful requires something like a relay or a transistor. Using a transistor to switch something on and off requires a shared ground connection with the micro:bit and a knowledge electronics that you or your students may not be ready for. The MonkMakes Relay for micro:bit is much easier to use, acting like a simple micro:bit controlled switch.

This relay can be used to switch low voltage devices such as light bulbs, a motor, a small heating element or even a string of 12V LED lighting. The voltage needs to be kept under 16V, but the relay will automatically protect itself against too much current.

  • Solid-sate relay (up to 2 Amps)
  • Active LED indicator
  • Resettable ‘polyfuse’ to protect against over-current

 

Getting Started

Connecting your micro:bit

The Relay requires just two connections to the micro:bit. One to GND (ground) and one to whatever pin is to be used to control the relay’s switching action.

When attaching the alligator clips to the micro:bit, make sure that the clips are perpendicular to the board so that they are not touching any of the neighbouring connectors on the micro:Bit edge connector.

Here’s an example of how you could wire up a MonkMakes Relay for micro:bit to turn an old fashioned light bulb on and off.

 

HEX File

The quickest way to try out your speaker is to DOWNLOAD THIS HEX FILE and then copy it onto your micro:bit. Press Button A to hear a tune being played.

JavaScript Blocks Editor

Visit the Blocks Editor in your browser and then from the input section add an on button A pressed block then from the music section add a start melody block and select the tune you want to play (in this case, entertainer).

Click Download and then copy the file onto your micro:bit.

You can also open the project in the Blocks Editor by clicking on the image below.

You can also make a simple musical instrument, using this tutorial: https://makecode.microbit.org/projects/hack-your-headphones/codeThe quickest way to try out your relay is to DOWNLOAD THIS HEX FILE >and then copy it onto your micro:bit. The program will turn the relay on and off once a second.

JavaScript Blocks Editor

Set the controlling pin to 1 and the relay contacts will close, set it to 0 and the contacts will open again. Its as simple as that. So, to make your relay turn on and off once a second, open the Blocks Editor, add a forever block and then the digital write blocks from the pins category and the pauses from the basic category.

You can also click on the image of the blocks below to open up the Blocks Editor on this project.

MicroPython

Paste the following code into the Python window and then Download the file and copy it onto your your micro:bit.

from microbit import *

while True:
pin0.write_digital(True)
sleep(500)
pin0.write_digital(False)
sleep(500)


 

Analog Outputs

The latest MonkMakes Relay for micro:bit can do more than just switch things on and off. It can also be used with micro:bit analog outputs. Look closely at your Relay for micro:bit and is it has the version number v1ev (under the word ‘Board’) then it can be used with the ‘analog write’ block in the blocks editor or the ‘write_analog’ function in MicroPython. If your board has the version number v1e then it is not suitable for use with analog outputs – sorry you were unlucky to get one of the small batch of first boards to be sold.

The output of the Relay for micro:bit is not linear at low PWM and high PWM values as the following chart illustrates.

The y-axis shows the current in mA for a test load resistor supplied from a constant voltage source. The x-axis is the analog write value (0 to 1023). As you can see, there is a dead zone up to a analog output value of about 100, followed by a relatively good linear region right up to about 1000, after which the output effectively becomes ‘on’.

The tests were carried out at the default PWM frequency of 50Hz for the micro:bit. Lower frequency PWM is expected to produce more linear results.

※ 공급 제조사는 재고 사정에 따라 동일 사양의 대체상품으로 공급될 수 있습니다.
※ 상기 제품에 첨부된 데이타시트는 참고사항입니다.데이타시트에 표기된 내용에 대하여 본사는 어떠한 기술적인 문의 및 발생하는 문제에 대한 법적인 책임을 지지는 않습니다. 
※ 사용자께서는 사용 전 반드시 제품에 대한 테스트 및 확인 절차 후 사용하시기 바랍니다

상세정보 배송/취소/교환안내 이용후기 상품Q&A