Parts list
- ATMega328 (I use handy Arduino Nano);
- HC-05 (ZS-040) Bluetooth module (EGBT-045MS);
- 1K Ohm and 2K Ohm resistors;
Schema
HC-05 or ZS-040 Bluetooth module is based on EGBT-045MS chip and has following pins on board:
- STATE - HIGH when module is connected;
- RXD - data input pin;
- TXD - data output pin;
- GND - ground pin;
- VCC - power input pin;
- EN - Unknown pin. It should be connected to pin 34 of EGBT-045MS Bluetooth module, but it seems it doesn't work in preferred way;