1/15/2024 0 Comments Sent cat bluetooth radio clock![]() An example may be to use your callsign, for example AT+NAMEM1GEO to use M1GEO (obviously you put your callsign and not mine, unless it’s a tribute!). The AT command you will need to set the name of the Bluetooth module is AT+NAME name where name is the name you want to use. This yielded the best results for me by far! Setting The Bluetooth Name Unless you can type very quickly (like seriously quickly) or you have a program where you can input a whole line of data then send it in one go, I suggest you compose your input somewhere else, then copy/paste it into the terminal program to be sent. This means that it waits a certain period of time after you stop typing before interpreting what you’ve typed. One disadvantage of GTKTerm is that it sends the characters as you type them and the Bluetooth module (for simplicity sake) doesn’t have flow control. Once you get “ATOK” back then you’re in business.Īs you will see, the text gets a little jumbled up as there is no flow-control. I found it sometimes helped to send a double ENTER before each command. AT is the command set you’ll be using, and the OK tells you that the Bluetooth module is ready and understands the input. Fiddle and play until you can get “ATOK” back. Note that you must NOT be connected to the device by Bluetooth at this point, otherwise you’ll not get any response (your typing is sent over Bluetooth and not to the controller). Once you’re ready, sending ENTER (\r\n) and then “AT” (in capitals) then ENTER again should return “ATOK”. ![]() In GTKTerm, the options are found under the Configuration menu. You’re also advised to enable local echo so you can see what you’re typing. Next you need to make sure that your terminal emulator is sending both carriage return (\r) and line feed (\n) as the Bluetooth module requires both. Classically called 9600 8-N-1 as can be seen above. The very standard configuration of 8 bits, 1 stop bit, no parity and no flow-control is used. This does not effect the speed that you can talk though the module to your radio, which is a run-time option discussed more later. Note that this is the speed for interfacing with the Bluetooth module alone. The module defaults to a default speed of 9600. Once you know, you’re ready to configure your terminal emulator program: Use dmesg to help you, it will suggest something like /dev/ttyUSB0 or /dev/ttyACM0 or something similar. If not, you could probably figure it out from this page? After all, how complicated can a serial port be? Hah!įind the device that was added when you connected your USB/TTL interface. I suspect most people will be using Windows here, and so may benefit from Derek M0XDC’s How To Program A Serial Bluetooth Module written for LEFARS. It is a Linux equivalent to HyperTerminal for Windows. The software I am using to communicate with the Bluetooth module via USB Serial is GTKTerm, “a small graphical shell like XTerm”. Those with D9 connectors for proper RS232 are unsuitable, as they have the data inverted.Ĭonnect the Bluetooth module to the USB Serial TTL interface, such that the power (3.3V-6V on the breakout board, 3.3V only on the module directly) is connected to the VCC (+) and GND (-) pins and the data lines are crossed (serial TX to Bluetooth RX and visa-versa). You want 0V-5V signals which are inverted, such as those which come from cheap USB/TTL interfaces. ![]() You’ll firstly need some kind of USB-RS232-TTL interface. I guess that you’ll want to change the default name of the Bluetooth module to be your callsign or something similar, and to set a pairing pin so that nobody can connect to your radio without the PIN number. The first thing to do is to program the Bluetooth module to be what you want it to be, and say what you want it to say. It has a status LED and 4 output wires (TXD, RXD, VCC and GND – 2 data, 2 power). The RF-BT0417C was on a breakout board (BT_BOARD_M/S_V1.01). It is similar to WLS123A1M module in terms of hardware but the AT commands are different (see here. The version I used for this project was based on a RF-BT0417C chipset. The first thing you will need is a Bluetooth RS232 Module. This page hows a quick test set up which works. A few people have asked me about creating a Bluetooth Radio Interface for Yaesu’s CAT standard or Icom’s CI-V system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |