+ Reply to Thread
Results 1 to 3 of 3
Thread: Bluetooth HC-05 Parity
-
- 26th June 2018, 00:49 #1
Bluetooth HC-05 Parity
Hi to all To this time i`m working whit a hc-05 bluetooth module to capture information for other device, unfortunatelly actual systems only works whit none,odd and even the other device that i`m trying to connect works whit Mark and space parity. Reading some post here,in some cases for hserin,hserout you can build a parity whit 8n2, in my case i need to work whit 9600 bauds, exist some posibility to build a parity generator in microcontroller and connect whit hc-05 to get something similar for emulation to mark parity mode?. the most close that i`m to be to get all chars reception is setting the bluetooth whit 9600,e,2, but i can` t get all the strings if change to the odd y can see the other chars part. However or at least for now i can see that you can`t change the parity of the hc-05 at the fly. I appreciatte if could give me some tips to try to solve my trouble or maybe exist some bluetooth module whit more performance. Thanks in advance. Brainless
-
- 26th June 2018, 11:32 #2
Re: Bluetooth HC-05 Parity
Brainless, I have to ask for starters, Why do you have to change the parity on the fly? Second, Yes you can change the serial port parameters of the HC-05 to just about anything you like, (7 or 8 data bits), (odd or even or no parity), (1 or 2 stop bits). It's all in the "AT" style commands you can send to the main processor.
Dave Purola,
N8NTA
EN82fn
-
- 26th June 2018, 16:31 #3
Re: Bluetooth HC-05 Parity
Hi dave. Thanks for reply, sorry for missundertsanding maybe need to need more specific. The hardware is a counter coins that works whit a rs232 follow his behavior whit sniffer port the parity of device works is 9600,M,1. I`m trying to connect via bluetooth whit app inventor to drive this unit. testing in computer i can see all the string, because windows support all parities, now when put the bluetooth to the unit i can`t get the string for example 01,08,16,21,26,F8,55 (20 coins dispensed code) i didn`t receive the complete string setting the bluetooth whit at commands i get this under 9600,N,0 (received 01 everything else ignored),9600,1,0(received 01,21,55), 9600,e,1 (01,08,21,26),9600,o,1(16,F8,55), in this case could be neccesary to change parity and stores data in array (maybe in 16f628)and try to send but i think that bluetooth at the end are be set on a fixed parity and the final result are be the same for this reason i want to try to change parity on the fly. But honestly i don`t have an idea about how i can drive properly the parity. Thanks again for any reply about this issue. Brainless
Similar Threads
-
Bluetooth headset for non bluetooth devices?
By Normnet in forum BluetoothReplies: 4Last Post: - 26th September 2015, 11:22 -
Using parity
By polymer52 in forum mel PIC BASIC ProReplies: 2Last Post: - 27th February 2010, 13:03 -
Even Parity
By Andre_Pretorius in forum SerialReplies: 2Last Post: - 17th July 2007, 15:48 -
Parity Modes
By Sphere in forum SerialReplies: 4Last Post: - 29th April 2006, 10:12 -
Even Parity Check, How?
By Mark Scotford in forum mel PIC BASIC ProReplies: 1Last Post: - 24th January 2005, 10:21
Bookmarks