Difference between revisions of "DB2.1 1.0"
Jump to navigation
Jump to search
Konnekting (talk | contribs) |
Konnekting (talk | contribs) |
||
Line 25: | Line 25: | ||
== Hardware == | == Hardware == | ||
− | [[M0dularis+]] is used as base-controller. | + | [[M0dularis+]] is used as base-controller. |
+ | |||
+ | |||
+ | {| border="1" style="text-align:center; border-collapse:collapse" | ||
+ | ! scope="col"| | ||
+ | ! scope="col"| | ||
+ | ! scope="col"| | ||
+ | ! scope="col"| | ||
+ | ! scope="col"|Description | ||
+ | ! scope="col"|Pin | ||
+ | ! scope="col"|Pin | ||
+ | ! scope="col"|Description | ||
+ | ! scope="col"| | ||
+ | ! scope="col"| | ||
+ | ! scope="col"| | ||
+ | ! scope="col"| | ||
+ | |||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | style="background-color: grey;"|GND / KNX GND | ||
+ | |1 | ||
+ | |2 | ||
+ | | style="background-color: grey;"|GND from 24V Input | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |SJ: 5V | ||
+ | | style="background-color: red;"|VCC | ||
+ | |3 | ||
+ | |4 | ||
+ | | style="background-color: indianred;"|24V from 24V Input | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |PA22/SDA | ||
+ | | style="background-color: yellow;"|SDA / IO0 | ||
+ | |5 | ||
+ | |6 | ||
+ | | style="background-color: limegreen;"|IO3 | ||
+ | |SJ: PA02/A0 | ||
+ | |PCM Audio Output via DAC on A0 | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |PA23/SCL | ||
+ | | style="background-color: yellow;"|SCL / IO1 | ||
+ | |7 | ||
+ | |8 | ||
+ | | style="background-color: lightblue;"|ExtINT Application / IO2 | ||
+ | |SJ: PA18/D10* or PB09/A2 | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |PA09/D3* | ||
+ | | style="background-color: mediumseagreen;"|Option0 | ||
+ | |9 | ||
+ | |10 | ||
+ | | style="background-color: mediumseagreen;"|Option7 | ||
+ | |PA17/D13* | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |PA08/D4* | ||
+ | | style="background-color: mediumseagreen;"|Option1 | ||
+ | |11 | ||
+ | |12 | ||
+ | | style="background-color: mediumseagreen;"|Option6 | ||
+ | |PA16/D11* | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |PA15/D5* | ||
+ | | style="background-color: mediumseagreen;"|Option2 | ||
+ | |13 | ||
+ | |14 | ||
+ | | style="background-color: mediumseagreen;"|Option5 | ||
+ | |PA20/D6* | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |PA14/D2* | ||
+ | | style="background-color: mediumseagreen;"|Option3 | ||
+ | |15 | ||
+ | |16 | ||
+ | | style="background-color: mediumseagreen;"|Option4 | ||
+ | |PA21/D7* | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | |||
+ | Solder-Jumper configuration: | ||
+ | |||
+ | * IO3: SJ for A0 | ||
+ | * IO2: D10 or A2 | ||
+ | * Application connector: 5V | ||
+ | * Frontend connector: 5V | ||
+ | * I2C (on IO0/IO1): PullUp | ||
== Software == | == Software == |
Revision as of 19:58, 13 March 2018
DB2.1 v1.0 - 2 Button Doorbell | |
---|---|
no image yet | |
Developer | Alexander Christian |
Status | In Development |
Microcontroller/Board | M0dularis+ |
KNX connectivity | MicroBCU |
Description
PCB replacement for 2n Entrycom IP Uni doorbell. It will have 2 buttons with RGB background LED light and a speaker for PCM WAVE playback.
Hardware
M0dularis+ is used as base-controller.
Description | Pin | Pin | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GND / KNX GND | 1 | 2 | GND from 24V Input | ||||||||
SJ: 5V | VCC | 3 | 4 | 24V from 24V Input | |||||||
PA22/SDA | SDA / IO0 | 5 | 6 | IO3 | SJ: PA02/A0 | PCM Audio Output via DAC on A0 | |||||
PA23/SCL | SCL / IO1 | 7 | 8 | ExtINT Application / IO2 | SJ: PA18/D10* or PB09/A2 | ||||||
PA09/D3* | Option0 | 9 | 10 | Option7 | PA17/D13* | ||||||
PA08/D4* | Option1 | 11 | 12 | Option6 | PA16/D11* | ||||||
PA15/D5* | Option2 | 13 | 14 | Option5 | PA20/D6* | ||||||
PA14/D2* | Option3 | 15 | 16 | Option4 | PA21/D7* |
Solder-Jumper configuration:
- IO3: SJ for A0
- IO2: D10 or A2
- Application connector: 5V
- Frontend connector: 5V
- I2C (on IO0/IO1): PullUp
Software
The software enabled the user to fully have control over the buttons. One idea ist to have multiple states for the buttons. For instance
- Default (white background light): Rings the bell
- Postman (yellow background light): Ringing the bell will playback a wave file, telling where he can put the package that you are waiting for. Additional things can be triggered by calling a KNX GroupAddress, f.i. open the garage door half a meter so safely store the package.
- ...
Open Questions
- how to get files onto the SPI flash?!