When in AT command mode with pin 34 not HIGH (LOW or floating) some commands will not work and so, when using the button switch, you need to press and hold it closed when sending some commands. Please be aware that for the full AT command mode, pin 34 has to be HIGH all the time and we cannot do this with just the button switch. – hold the button switch closed when starting the module. – connect pin 34 directly to +3v3v and power on, or The small push button switch connects pin 34 to +3.3v so we can either: To activate AT mode on the HC-05 zs-040 modules pin 34 needs to be HIGH on power up. I now believe the partial/mini AT command mode is a bug in the firmware and I now only recommend using the full 38400 baud rate AT command mode. Most commands work when in any AT command mode but there are some commands that only work when pin34 is HIGH. The HC/Wavesen 2.0-20100601 firmware has different AT modes:Ī partial mode at the user settable baud rate.Ī partial mini mode (even less commands work) at the user settable baud rate. When used as a master device AT commands allow you to connect to other Bluetooth slave devices. Part 3 – Master Mode and Auto Connect‘ĪT command mode allows you to interrogate the Bluetooth module and to change some of the settings things like the name, the baud rate, whether or not it operates in slave mode or master mode. There are also modules that use the same breakout board but have different board markings such as the fc-114 modules: There are now newer zs-040 modules that use the real HC SMD modules, these have a newer firmware and include a blue LED at the top right of the SMD daughter board. They also have an EN pin rather than a KEY pin and they have a small button switch just above the EN pin. The modules I am using here use the EGBT-045MS Bluetooth module and have the HC/Wavesen 2.0-20100601 firmware. The zs-040 breakout boards are now being used for many different modules and you may not have the exact same boards as those shown below. I still do not have any of these and so cannot help directly but searching for the firmware should get plenty of hits online and a good place to start is stack overflow and the Arduino forum. Some of the newer ones include modules with a version 3.0-20170601 firmware that work in a slightly different way. Since writing the below many more modules have been released using the zs-040 breakout boards.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |