Jump to content
43oh

jmarcelino

Members
  • Content Count

    5
  • Joined

  • Last visited

Reputation Activity

  1. Like
    jmarcelino got a reaction from dubnet in Bluegiga BLE112 Bluetooth Low Energy BoosterPack   
    Tough crowd! Anyway I went ahead with making the board and happy to report it works very well with the Launchpad and Energia (just uses Serial)
     
    Only nitpick is if I set P1.3 HIGH in software by mistake - P1.3 is connected to the BLE112 module RESET pin, active low - the module stops working until
    I manually reset it.
     
    Setting P1.3 low or pressing S2 works just fine in resetting the module, though. Maybe I should have added a diode to stop such coding mistakes happening?
    Not sure what's the right thing to do or choose, any help would be great.
     
    Anyway here's a photo of it working, showing the blue LED lit which means my iPhone connected to it over Bluetooth Low Energy and is accepting data sent via serial.
     
    All the pins except the P1.1 and P1.2 UART are free for other uses, so I used stackable pins to other add BoosterPacks on top.
     
    I'm happy to share this with the community if there's interest. Currently I'm working on the firmware for the BLE112 module and IOS CoreBluetooth that should make this really easy to use.
     

  2. Like
    jmarcelino got a reaction from bluehash in Bluegiga BLE112 Bluetooth Low Energy BoosterPack   
    Hi everyone,
     
    I've been tinkering around with Bluetooth LE (BLE) for some time now, it's a great way to connect projects to things like smartphones or other electronics.
    For example TI offers the fantastic SensorTag that packs a bunch of very interesting sensors and Bluetooth LE radio into a little box powered only by a CR2032 battery!  There's a lot of other BLE things on the market too, like proximity keytags, fitness wristbands and very soon the Pebble smartwatch will have BLE support too.
     
    It's disappointing that the Launchpad doesn't yet have a ready-to-use booster pack that can communicate with this, especially when TI are the ones offering the most popular BLE chip at the moment - the CC2540. Part of the reason may be that the CC2540 needs the IAR compiler, whose price puts it outside of reach for hobbyists. However companies like Bluegiga have built a really nice open API around the CC2540 and packaged it as a ready to use modules such as the BLE112.
     
    While my background is software I've been trying a diversify and learn a bit more about hardware, so as a little project I've decided to bring this nice module to the Launchpad. A lot of the design was already done for the (OSHW) BLE112 breakout by Bluegiga's Jeff Rowberg - http://www.inmojo.com/store/jeff-rowberg/item/ble112-bluetooth-low-energy-breakout/ -  so I merely tweaked with it a bit and simplified it to the Launchpad.
     
    I connected only the UART as I want to keep most of the GPIO pins free to add other boosterpacks on top. The BLE112 module can be programmed to use the  BGAPI protocol over the serial connection, which allows full control of the Bluetooth LE stack. The next step will be to port the excellent BGAPI library at https://github.com/jrowberg/bglib to Energia.
     
    For simpler applications the BLE112 can also be programmed to just relay RX/TX data to the serial port. The module can be programmed via the PROGRAM header using a TI CC Debugger and Bluegiga's software. I think OTA programming may eventually be possible since it's already supported on the CC2540 itself.
     
    Following the existing (classic) Bluetooth BoosterPacks, I've left the breakout pins so extra connections can be easily patched if needed.
     
    I also connected the S2 pin to the BLE112 reset line (active low) thinking I can use the existing pushbutton as a BLE reset button. But not 100% sure that will work.
     
    The other design choice was placing the BLE112 at the very bottom, I did this to keep the antenna away from other boosterpacks as much as possible. I'm specifically looking to drive the RePaper e-paper boosterpack on top of this one.
     
    Please let me know your questions, suggestions or criticism This is only my 2nd board, ever, and still taking my first steps into Eagle thanks to the great tutorials at Dangerous Prototypes and others, so I really appreciate all insight.
     
    Cheers,
     
    Jose
     
     
     
     
     
     
     
    BLE112Boost.pdf
    BLE112Boost.brd
  3. Like
    jmarcelino got a reaction from spirilis in Bluegiga BLE112 Bluetooth Low Energy BoosterPack   
    Tough crowd! Anyway I went ahead with making the board and happy to report it works very well with the Launchpad and Energia (just uses Serial)
     
    Only nitpick is if I set P1.3 HIGH in software by mistake - P1.3 is connected to the BLE112 module RESET pin, active low - the module stops working until
    I manually reset it.
     
    Setting P1.3 low or pressing S2 works just fine in resetting the module, though. Maybe I should have added a diode to stop such coding mistakes happening?
    Not sure what's the right thing to do or choose, any help would be great.
     
    Anyway here's a photo of it working, showing the blue LED lit which means my iPhone connected to it over Bluetooth Low Energy and is accepting data sent via serial.
     
    All the pins except the P1.1 and P1.2 UART are free for other uses, so I used stackable pins to other add BoosterPacks on top.
     
    I'm happy to share this with the community if there's interest. Currently I'm working on the firmware for the BLE112 module and IOS CoreBluetooth that should make this really easy to use.
     

  4. Like
    jmarcelino got a reaction from bluehash in Hello from Newcastle, UK   
    Good idea. Was just being a bit shy before stepping right into the main arena ;-)
    But I've posted there now.
     
    Cheers
×
×
  • Create New...