hi jay i dont have data sheet but i can give you a like .that is bluetooth module i have .Post the datasheet of your bluetooth module.
yes i got its data sheet show in below pdf that HC-06 module is my module.Use a transistor controlled by MCU to switch ON the bluetooth module and feed back the + power pin to one digital input of MCU and monitor it. If that pin goes high then it means bluetooth is ON. You connect Rx and Tx pins of bluetooth module to Tx and Rx pins of MCU. You should refer datasheet and see if it sends any status signal so that you can find out what action bt module is currently performing. Without datasheet it can't be done but monitoring Rx and Tx lines we can say whether bt is transmitting or receiving data.
hi jay how can i use that transistor with controller 89c51 i mean which port i have to interface with that transistor?Use a transistor controlled by MCU to switch ON the bluetooth module and feed back the + power pin to one digital input of MCU and monitor it. If that pin goes high then it means bluetooth is ON. You connect Rx and Tx pins of bluetooth module to Tx and Rx pins of MCU. You should refer datasheet and see if it sends any status signal so that you can find out what action bt module is currently performing. Without datasheet it can't be done but monitoring Rx and Tx lines we can say whether bt is transmitting or receiving data.
and which transitor i have to use can you give circuit diagram.and what should be my next step?Any digital output pin.
but my bluetooth module aslo support upto 6 volt supply then may need to convert that voltage at 3volt?Use 2N2222A. Mention the max current drawn by the bt module. It is mentioned that your bt module works at 3.3V. So, if your MCU works at 5V then you need a level translator between MCU and bt module Rx and Tx pins otherwise your bt module will get damaged.
yes you are right it's limit up to 4.2 volt.but jay i can't uderstand where to i have star to do my object.what should be 1'st stap for interfaceing bluetooth with 89c51/lcd?Make sure it works with 6V. In the datasheet you sent it is mentioned that V range is 3.3V to 4.2V.
can you give me that document in English. and Is it possible with 89c51 ?and what is that transparent RS232 link.plz tell me....hello,
I also use JYMCU bluettoth wit a pic18F46K22
you can directly use this module with 5V power supply .
and connect UART TX and RX to the BT module trough a resistor of 1K ohms value..
no need to uses special level adaptor.
It's works by default at 9600 bauds..
No need to programm something for the bluetooth device
I use it as transparent RS232 link..
Tested OK with BlueSoleil and therminal VBRAY
Tested Ok with Amarino 2.0 android apk
see **broken link removed**
I made other test on a similar interface Bluetooth-click RN41 from MikroE
to test dialogue exchange with the BT device ..
device name
status
.etc...
see **broken link removed**
sorry, in French only..
thanks paulhello,
Sorry, i am french, so i allready made some effort to read datasheet , always in English,
and share my experimentation.( source C included!)
so program written in C langage can more easily to adapt to other microcontroller than pure asm.
I don't want to translate all, too much job.. try to use automatic translator .
Transparent RS232 link, means that you connect the JY MCU like an MAX232 or DS275 TTL/RS232 hardware converter.
You don't have to wrtite specific software to use it ..
just drive the microcontroler 89C51 UART like it is connected to a RS232 COM port ..that all.
On other side, you can use Bluesoleil program on PC , and virtual com to link a terminal like VBRAY terminal
(or other able to connect to COM8 or COM9 port)
After You can dialogue with the UART of microcontroler trough this terminal.
Default speed is 9600 bauds .(factory setting on YC MCU)
or you can write a VB6 application.. or VBnet .. every langage wich can support serial COM interface
or you can do some test with a tablett or Iphone under Android operating system (with Bluetooth link) and programm Amarino2.apk
see example..
Aide toi et le ciel t'aidera .
Cordialement
Paul
hello,
I did similar test with another application , but concerning RN41 bluetooh
i catch the exchange on UART BT to display it on a LCD2x16 car to see all step .
(add bigger temporisation to see all step on LCD , else to fast to see them).
Use of a state_machine end timeout treatment..
What is important , is the receive part on UART , use of interrupt to avoid missing carcateres
ohh then how can i done with 89c51 plz tell me......Sorry, it only works in real world, not with proteus simulator.
I only use ISIS to make the schematic.
This code is for PIC18F, but you can adapt this C18 versus to another C compiler dedicated to 89C51.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?