Greetings,
I am a new user of Arduino microcontroller (I have a Arduino Due) and also I am a new user of BLE112 (bluegiga modul 112)
So my mentor for the practice told me to mak BLE112 advertisable and furthermore he told me to lok for information about UART@115K;
And i have to mention that he gaved me a ble112 with already solder wires to the selected pins ( so my concludes are that i have only to use those)
PIN NUMBER [PIN NAME]
2 AVDD
3 AVDD
4 [P2_2]
5 [P2_1]
9 VDD_USB
20 DVDD
23 [P0_5]
24 [P0_4]
25 [P0_3]
26 [P0_2]
29 RESET
30 GND
->So i think that i have to use for supply voltage (+) those pins: 2,3,9,20 and 30 pin for gnd (-)
->So now i left with 6more cables (PINS) whic are: (and i think those are UART –rs232)
26 is CTS or CT
25 RTS or RT
24 TXD or TX
23 RXD or RX
And
4 DC (Debug Clock)
5 DD (Debug Data)
And 29(RESET) whic i think i don´t have to use yet, because i yust need to make it advertisable.
So know is the qestion what to conect with wat on the arduino and how to turn it on with arduino, and do i need any libraries for arduino to make ble play?
O and i shud tell u something more abaut UART115K, this is default configuration for BLE112 and that means that my ble112 is in sleep mode (MODE 3)
Well i found some example named UART@115K
» UART@115k
This example configures the BLE112 or BLE113 Bluetooth Smart module to expose the BGAPI protocol over
UART interface with the following settings: 115200 bps, 8n1 and hardware flow control enabled. The power
mode 3 is enabled in this example and the wake-up pin is configured to P0_0 pin (P0_0 button on DKBLE112
and DKBLE113). When the power mode 3 is enabled the device will not be able to receive commands or data
over UART unless the wake-up pin is asserted.
The example uses UART in the pin configuration channel 1 and alternate 1, which is the configuration used
in the DKBLE112 and DKBLE113 development kits.
If you try this example with DKBLE112 or DKBLE113 make sure the UART interface is enabled and the device
is NOT powered with a CR2032 battery as it’s not able to power up the level shifter or UART to USB
converter.
This is also the factory default configuration for BLE112 and BLE113 Bluetooth Smart Modules.«
Everything is in the BLE112 datasheet and its scripting guide which I was studying but went back to the other BLE chip!
BLE112_Module.pdf (196 KB)
BLE112_Datasheet.pdf (968 KB)
Thank you very much for those pdfs you gaved me ![]()
I am wondering can you tell me the keywords for what to search in those pdfS? so my ble112 will be advertised?
and if you know any other forum where they already did these discussions pleas give me the link
thanks
look for keywords such as UART and baudset in the pdfs. and service discovery etc.
goto Bluegigia site they have a very good support.
Hy I have to admit I am a little desperate
I read all you told me and more.. but stil I don't know how will I realize this ![]()
So I decided to connect pins betwen devices like this:
On pin of Arduino 3.3V i putt [2,3,9,20]BLE112
On pin of Arduino GDN i putt [30]BLE112
And than I found the picture I attached, there is discribed that I shoud put CTS of BLE on RTS of ardunio and conversely.
But i dont know where is that on arduno bord?
So I think I have to program one of the Digital pins? (and i decided to make a connection like this)
Than i put BLE pin 26(CTS) on Arduino rendom digital pin 32
and BLE pin 25(RTS) on Arduino rendom dig. pin 34
BLE pin 24(TX) on Arduino RX pin 0
BLE pin 23(RX) on Arduino TX pin 1
And i dind't use DC(Debug clock), DD(Debug data) and Reset from BLE112
So and than i found some more info. on the web that if i use USART than i shoud use a wake up pin whic is by the defaul P0_0 more abaut that in attached pdf. (search by wake_up)
So can you tell me if I am going in right direction?
And how did you resolved the problem you had with arduino and ble112?
ouu I almoust forgot, to ask do i have to use any specific library in arduino to make work ble112
They should have what you want!
