Commit 81a81f135ba3d07e0b2cdaf0623213c61256c795

Authored by qqqlab
Committed by GitHub
1 parent 5b4bb906

Update README.md

Showing 1 changed file with 4 additions and 4 deletions
README.md
1   -# DALI-arduino
  1 +# DALI Lighting Interface
2 2 DALI LED Lighting Interface. Control LED Drivers with a microcontroller.
3 3  
4   -The code in qqqDali.cpp and qqqDali.h does not depend on Arduino, can be used in any C++ project by copying qqqDali_ATMega328.h and adding hardware specific code for a periodic interrupt and pin change interrupt.
  4 +The code in qqqDali.cpp and qqqDali.h does not depend on Arduino, can be used in any C++ project by writing hardware specific hooks for a periodic interrupt.
5 5  
6   -Examples for Arduino ATMEGA328 included:
  6 +Examples included:
7 7 - Dimmer: Dims all lamps up and down
8 8 - Commissioning: Assign short addresses to lamps
9 9 - Monitor: Monitor DALI bus data
... ... @@ -25,7 +25,7 @@ GND ---+--------------------------+------------- DALI-
25 25 ```
26 26 NOTE: For this interface, reverse the polarity of TX in the code.
27 27  
28   -### Explanation of the circuit
  28 +### Explanation of the DIY circuit
29 29  
30 30 TX pin: The DALI bus needs to be powered with a 16V (9.5V to 22.5V) power supply, current limited to 250mA. In the circuit the 220 ohm resister is the current limiter (gives approx 50 mA with 12V power supply). Using a lower current allows us to use a common general purpose 100mA PNP transistor such as BC547 or similar.
31 31  
... ...