Bluetooth4.0 BLE 112 low enegry Module and a BG_spin lib first tests :)
Anubispod
Posts: 42
Hi all , i am working on a clone of the BG_lib from Ardurino to port to prop.
I made some PCB breakout boards for the BLE112A module from Blue Giga
http://www.bluegiga.com/BLE112_Bluetooth_Smart_module
After soldering and waiting for my CC Debugger to arrive from digikey i was able to get started.
First i had to find out how to program the module with the right settings via cc debugger.
once i had that set, i was able to hook it up to a propeller proto board and see if the serial interface would work
Now i am in the middle of porting the API to spin , 50% is done and i am able to advertise the module to other,
and recive data from my ipad and vice versa.
Since i had now a 4 year break from coding , its a bit messy my code , but i hope it will help some one to get started with the BLE112A
Pictures and code will come later to day when im back home
Best regards
O.Rennfort
I made some PCB breakout boards for the BLE112A module from Blue Giga
http://www.bluegiga.com/BLE112_Bluetooth_Smart_module
After soldering and waiting for my CC Debugger to arrive from digikey i was able to get started.
First i had to find out how to program the module with the right settings via cc debugger.
once i had that set, i was able to hook it up to a propeller proto board and see if the serial interface would work
Now i am in the middle of porting the API to spin , 50% is done and i am able to advertise the module to other,
and recive data from my ipad and vice versa.
Since i had now a 4 year break from coding , its a bit messy my code , but i hope it will help some one to get started with the BLE112A
Pictures and code will come later to day when im back home
Best regards
O.Rennfort
Comments
The boards are made to Break apart as individual boards, for the BLE112, 20mm coin cell holder, USB with 3.3V LDO and LED, proto area, and a 3 axis LIS3D accelerometer.
So i had of course to start testing my new solder setup with reflow oven
I was a bit scared due to the fact that the LIS3D is a 3x3 mm LGA with 16 pads, but i have made a batch of the boards now and all are working fine
So here is the code for the spin lib , like i sad its far from done, but if some one sees a way to make the code smaller and better please feel free to let me know ,
But anyway i will update the code here as i go along making it complete.
Best regards O.Rennfort