Bluetooth HC-05 Parity

Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2018

    Default 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

  2. #2
    Join Date
    Mar 2003
    Commerce Michigan USA

    Default 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,

  3. #3
    Join Date
    Feb 2018

    Default 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

  1. Bluetooth headset for non bluetooth devices?
    By Normnet in forum Bluetooth
    Replies: 4
    Last Post: - 26th September 2015, 11:22
  2. Using parity
    By polymer52 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th February 2010, 12:03
  3. Even Parity
    By Andre_Pretorius in forum Serial
    Replies: 2
    Last Post: - 17th July 2007, 15:48
  4. Parity Modes
    By Sphere in forum Serial
    Replies: 4
    Last Post: - 29th April 2006, 10:12
  5. Even Parity Check, How?
    By Mark Scotford in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 24th January 2005, 09:21

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts