통신 > Digital Addressable Lighting Interface (DALI)

TODAY317 TOTAL3,068,117
사이트 이용안내
Login▼/회원가입
최신글보기 질문게시판 기술자료 동영상강좌

아두이노 센서 ATMEGA128 PWM LED 초음파 AVR 블루투스 LCD UART 모터 적외선


BASIC4MCU | 통신 | DMX512 | Digital Addressable Lighting Interface (DALI)

페이지 정보

작성자 master 작성일2018-03-17 10:50 조회2,811회 댓글0건

본문

DMX 인터페이스 외에 DALI 인터페이스가 조명장치 제어에 사용됩니다.

Digital Addressable Lighting Interface (DALI)

우선 맨체스터 코드에 대해서 알아야합니다.
첨부 이미지
맨체스터 코드의 예. Ethernet에서 쓰이는 방식이다.

클럭의 한 주기 안에서 
LOW->HIGH면 비트1
HIGH->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.

https://www.google.co.kr/search?ei=iG6sWq6vEcWf8QWTp6_gAQ&q=%EC%95%84%EB%91%90%EC%9D%B4%EB%85%B8+Manchester&oq=%EC%95%84%EB%91%90%EC%9D%B4%EB%85%B8+Manchester&gs_l=psy-ab.3..33i160k1.6656.6656.0.6903.1.1.0.0.0.0.116.116.0j1.1.0....0...1.1.64.psy-ab..0.1.115....0.0tymv8_4UgA


아두이노를 사용하는 분들은 맨체스터 예제를 구글 검색해서 찾아보세요 

검색 결과 중 3개만 복사 했습니다.

 

 

https://www.google.co.kr/search?q=dali+with+AVR&oq=dali+with+AVR&aqs=chrome..69i57.13086j0j7&sourceid=chrome&ie=UTF-8

dali with AVR 검색결과는 여기서 참고하세요


댓글 0

조회수 2,811

등록된 댓글이 없습니다.

통신HOME > 통신 > 전체 목록

게시물 검색

2022년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2021년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2020년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2019년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2018년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
Privacy Policy
MCU BASIC ⓒ 2020
모바일버전으로보기