![]() |
Forum Index : Microcontroller and PC projects : HC-05 Boards...
Author | Message | ||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 772 |
Evening Gent's... I got a pair of the Bluetooth boards from E-bay last week and finally got a chance to play with them... I was trying to get the modules into "AT" command mode and answer back with an "OK", but can't seem to get a peep out of them... I am using just a USB converter (FTDI) to talk to them before trying any MM code... I read over the manuals that you download and i think i am doing things right... I tested the USB connection by doing a loop back test... (connecting Tx to Rx) and I get back what i put in... Also, i setup Tera Term to transmit a CR-LF sequence for the enter key... Still, no go... Tried setting the Enable Pin HI on start-up, which (as read in the manual) should put you into command mode at 38400... ![]() Maybe i am missing something... I tried several attempts, but if you sent a simple "AT" cr/lf, it should respond back with "OK" Not sure what i'm doing wrong here... Does anyone have these Bluetooth boards that could give some advice..? |
||||
Bill.b![]() Senior Member ![]() Joined: 25/06/2011 Location: AustraliaPosts: 236 |
Hi Jonker I have played with the HC-06 connected toa picaxe. The default comms are 9600. I have not used the AT commands, just connected to serial in and sent commands using roboreno on an android tablet to control a picaxe robot. Bill In the interests of the environment, this post has been constructed entirely from recycled electrons. |
||||
jman![]() Guru ![]() Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Hi Zonker To use the AT commands you need to pull the Key Pin high AT+RESET\r\n AT+INIT\r\n AT+INQ\r\n Then pull the Key Pin Low Take a look here https://www.youtube.com/watch?v=-z_0aU8VHzk Regards Jmsn |
||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 772 |
Ok.... After some poking around the web, I found the answer... There must be several different kinds of "carrier" board designs out there for this module. The one I bought seems to have a small reset button on it.. (never noticed it) As it happens on THIS carrier board, this is the button that goes to pin 24 on the Bluetooth module... ![]() So, you press and hold the button, then power up and let go... All good, now I have the "slow" blink and get the "OK" response at 38400 bechause the "EN" pin was "high" during module power-up.... (sweet)... Now I can start playing.... ![]() |
||||
BobD![]() Guru ![]() Joined: 07/12/2011 Location: AustraliaPosts: 935 |
Zonker, The magazine Silicon Chip March 2015 issue at page 82 had several pages contributed by a reader on this subject. It is quite informative and includes a software download. You can buy the whole issue online for AU$8.20 (US$6.23 Google) and it may be a good investment. Bob The item is copy protected and you need Adobe's Flash player installed. However, you have perpetual rights to view the item as long as the company is in business. You can print articles. |
||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 772 |
Thanks Bob for the info... This is my first go at these radio toys... I wanted to add a Bluetooth link to the EIS system so users could link-in to the telemetry module and get the instrument data on there devices (phone/tablet)... I now have a BT link between two DIP-600-28 boards, passing data around... ![]() |
||||
srnet Senior Member ![]() Joined: 08/08/2014 Location: United KingdomPosts: 164 |
I have been playing with the Bluetooth stuff myself recently. Apart from Blueterm, which does an incomplete VT100 emulation, are you aware of any similar applications that will allow the tablet to be used as a formatted remote display ? $50SAT is Silent but probably still working. For information on LoRa visit http://www.loratracker.uk/ |
||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 772 |
Morning Srnet..! Nope, sure don't... I am just getting started with this stuff... But, my buddy Ed's friend Bill is setting up the IDE to write complete Android Apps for the EIS project... Maybe he can spin you up what you need... We would just need an outline of what you need... I could talk with them about it... Man... I just love a this MM stuff..! |
||||
srnet Senior Member ![]() Joined: 08/08/2014 Location: United KingdomPosts: 164 |
I just thought it would be useful if there was a better way of using tablets and phones as displays for projects. A full implementation of VT100 is a useful start, but it would be great if you could vary font sizes, do limited graphics or colours add touch buttons etc., but keep the simplicity of a serial interface so it would be easy to add to any project. You could even use this approach to create a standalone display based on a MicroMite and a cheap OLED. $50SAT is Silent but probably still working. For information on LoRa visit http://www.loratracker.uk/ |
||||
paceman Guru ![]() Joined: 07/10/2011 Location: AustraliaPosts: 1329 |
If you go to this Google Play link and scroll down to near the bottom of the page there are half a dozen or so other Android terminal apps mentioned. Greg |
||||
paceman Guru ![]() Joined: 07/10/2011 Location: AustraliaPosts: 1329 |
Zonker, I just noticed the board photo shows it as Pin 34 not 24. Greg |
||||
srnet Senior Member ![]() Joined: 08/08/2014 Location: United KingdomPosts: 164 |
There are several Bluetooth terminal programs that can be used for displaying scrolling text on the screen, but if you want to format the display, position the text etc, then you need something similar to VT100 emulation. Blueterm+ would be OK, but it does not do all the VT100 control codes. $50SAT is Silent but probably still working. For information on LoRa visit http://www.loratracker.uk/ |
||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 772 |
Yikes..! My bad.. Yep..34... These BT radios are neat stuff..! Thanks Gent's for the info... ![]() |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |