Merge branch 'master' of git.mosad.xyz:localhorst/FTDI_simple_alarm

This commit is contained in:
Hendrik Schutter 2020-05-12 09:09:16 +02:00
commit 2f5696dff0

View File

@ -8,10 +8,10 @@ Use a USB-Serial Converter like the FT232RL for activating a buzzer. Simple and
* triggerd via bash or service daemon * triggerd via bash or service daemon
## Limitations: ## Limitations:
* works safe on system with only one /dev/ttyUSB device * works safe on system with only one `/dev/ttyUSB` device
* no other task can use the FTDI device for other things * no other task can use the FTDI device for other things
## Handware: ## Hardware:
1. FT232RL Breakout board ~1,5€ 1. FT232RL Breakout board ~1,5€
2. NPN Transistor like 2N2222A ~0,0€ 2. NPN Transistor like 2N2222A ~0,0€
3. Active Buzzer 5V ~0,25€ 3. Active Buzzer 5V ~0,25€
@ -19,6 +19,9 @@ Use a USB-Serial Converter like the FT232RL for activating a buzzer. Simple and
### Schematics: ### Schematics:
![](https://git.mosad.xyz/localhorst/FTDI_simple_alarm/raw/commit/13a1200aea0d3dfb92495ae7d7f4993ddc4338f6/img/schematics.png) ![](https://git.mosad.xyz/localhorst/FTDI_simple_alarm/raw/commit/13a1200aea0d3dfb92495ae7d7f4993ddc4338f6/img/schematics.png)
### FTDI EEPROM
To invert the TXD pin on the FTDI device, programming the EEPROM is needed. With the Windoofs tool "FTDI_Prog" the Template `ft232rl_alert.xml` is uplouded. For GNU/Linux is [ftx-prog](https://github.com/richardeoin/ftx-prog) available. The only difference to default is the inverted TXD pin.
## Software: ## Software:
### Commmon Distributions ### Commmon Distributions