BASIC4MCU | 통신 | DMX512 | Digital Addressable Lighting Interface (DALI)
페이지 정보
작성자 master 작성일2018-03-17 10:50 조회2,493회 댓글0건본문
DMX 인터페이스 외에 DALI 인터페이스가 조명장치 제어에 사용됩니다.Digital Addressable Lighting Interface (DALI)우선 맨체스터 코드에 대해서 알아야합니다.클럭의 한 주기 안에서LOW->HIGH면 비트1HIGH->LOW면 비트0//
http://ww1.microchip.com/downloads/en/AppNotes/01465A.pdf
아이들 상태에서 스타트 비트는 1로 시작합니다.
어드레스는 8비트가 뒤이어서 전송되고
8비트의 (밝기) 데이터가 그 다음에 이어집니다.
그 후에는 2비트의 아이들 비트가 전송 됩니다.
스타트 1비트 + 어드레스 8비트 + 데이터 8비트 + 아이들 2비트
전체 구성은 이렇게 됩니다.
이 그림에서 주기가 833us로 나와있는데요
통신 속도가 1200bps이기 때문입니다.
1/1200 = 8.333333333333333e-4
통신 속도가 1200bps로 정해졌다는 얘기는
클럭신호가 없는 비동기 통신이라는 얘기겠죠
물리층(회로)이야 어떻게 구성해도 상관없습니다만
장거리 전송에, 여러개의 조명장치를 연결해야하니
클럭신호를 사용하는 것은 통신선이 한 가닥 추가되서 불리해집니다.
GitHub - mchr3k/arduino-libs-manchester
GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.arduino-libs-manchester/Manchester.cpp at master · mchr3k/arduino ...
GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.Home - Arduino Manchester Encoding - Mchr3k
This is a Manchester encoding RF library which works on Arduino and ATTiny. Library supports: various microcontrollers. ATmega328; ATmega8; ATMega32U4; ATtiny84 (44, 24); ATtiny85 (45, 85). various microcontroller's speed both RX and TX. 1Mhz (see notes for TX); 8Mhz; 16Mhz; 16.5Mhz ATtiny85.
아두이노를 사용하는 분들은 맨체스터 예제를 구글 검색해서 찾아보세요
검색 결과 중 3개만 복사 했습니다.
dali with AVR 검색결과는 여기서 참고하세요
댓글 0
조회수 2,493등록된 댓글이 없습니다.