Embedded Computing
  • About
  • Blog
  • Hardware
    • Which Platform?
    • Controller Platforms >
      • Adafruit Platform >
        • Adafruit Feather M0
      • Arduino Plaform >
        • Arduino Primo and Primo Core
        • Arduino Uno
        • Arduino M0 Pro
        • Arduino mini Pro
        • Arduino Zero
        • Arduino Tian
        • Shields for Arduino Uno
      • BBC micro:bit
      • chipKIT Plaform >
        • chipKIT Uno32 and uC32
        • chipKIT WF32 and WiFire
        • Compatibility
        • chipKIT PGM Programmer-Debugger
        • 4D Systems PICadillo-35T
        • Shields for chipKIT Uno32
      • 4D Systems Platform >
        • 4D Systems PICadillo-35T
        • 4D Systems gen4-IoD-28T
      • DFRobot Platform >
        • DFRobot BLuno
        • DFRobot Wido
      • ESP8266 Platform >
        • ESP8266-01
        • NodeMCU Board
        • 4D Systems gen4-IoD-28T
      • LaunchPad Plaform >
        • LaunchPad MSP430G2
        • Standalone MSP430G2955
        • LaunchPad MSP430FR2331
        • LaunchPad MSP430FR2433
        • LaunchPad MSP430FR4133 and MSP430FR6989 with LCD
        • LaunchPad MSP430FR5529
        • LaunchPads MSP430FR5969 Pins Maps
        • LaunchPad MSP432: RTOS for Everyone
        • MSP432P4111 LaunchPad Pins Map
        • Stellaris LM4F120 LaunchPad
        • LaunchPad TM4C123 Tiva C Series
        • Connected LaunchPad TM4C129 Tiva C Series
        • LaunchPad CC1310 Sub-1 GHz
        • LaunchPad CC3200 WiFi
        • LaunchPad CC3220 S - SF WiFi
        • LaunchPad CC3235 S - SF WiFi
        • LaunchPad Hercules
        • LaunchPad MSP430FR5994
        • SensorTag CC1350
        • Launchpad SensorTag kit CC1352R Pins Maps
      • Microduino Plaform >
        • Microduino
      • Microsoft Azure IoT DevKit
      • Particle Platform >
        • Particle Core
        • Particle Photon
        • Particle Tools
      • Protostack Platform >
        • Protostack Boards
      • Teensy Plaform >
        • Teensy 3.0
        • Teensy 3.1
    • Computer Platforms >
      • BeagleBone Platform >
        • BeagleBone Green Wireless
      • Mediatek Platform >
        • Mediatek LinkIt One
        • Mediatek LinkIt Smart 7688 Duo
      • UDOO Platform >
        • UDOO Neo
    • Legacy Platforms >
      • Cosa, an Alternative Framework for AVR Boards
      • Digistump Platform >
        • Digispark
        • Oak
      • Intel Platform >
        • Intel Curie with Neural Network
        • Intel Edison
      • LightBlue Bean
      • Little Robot Friends
      • Maple Plaform >
        • LeafLabs Maple
      • RedBear Platform >
        • RedBearLab CC3200
        • RedBearLab WiFi Mini
        • RedBear Duo
      • Wiring Plaform >
        • Wiring S
        • Wiring Play Shield
    • Boards and Plugs
    • I²C Logic Level Converter
    • Peripherals >
      • BoosterPacks for LaunchPads >
        • iMeter BoosterPack
        • Anaren CC110L AIR BoosterPack
        • CC2650 BLE BoosterPack
        • CC3100 WiFi LaunchPad
        • Audio BoosterPack
        • Breadboard BoosterPack
        • BoosterPack Pins
        • Capacitive Touch BoosterPack
        • CapTIvate Development Kit
        • CapTIvate Touch Keypad BoosterPack
        • Educational BoosterPack MK-II
        • Fuel Tank BoosterPack MK-II
        • Grove BoosterPack
        • Pervasive Displays e-Paper EPD Extension Kit Gen 2
        • LCD 2.2" With Touch BoosterPack
        • Nokia 7110 LCD BoosterPack
        • microSD-Card BoosterPack
        • 4D Systems BoosterPack Adaptor
        • Universal 1.8" Colour LCD BoosterPack
      • Shields
      • Grove System
      • Sensors >
        • Serial GPS Unit
        • I²C Voltage-Current-Power INA219 Sensor
        • I²C Inertial Measurement Unit
        • I²C True Colour Sensor >
          • Arduino Hardware
          • Arduino Software
          • Arduino TX-C Digital Two Bits Connection
          • Robo Pro Program and Results
          • True Colour Sensor Calibration
          • True Colour Sensor Integration
          • Extensive Tests: Hardware
          • Extensive Tests: Software
          • Extensive Tests: Results
          • Step-by-Step Instructions
        • Pressure Sensor
      • Actuators >
        • I²C Stepper Motor Controller
        • I²C Haptic Controller
    • Displays >
      • General Purpose 3.5" Screen
      • Pervasive Displays e-Paper Screens >
        • Pervasive Displays e-Paper BWY Screens
        • Pervasive Displays e-Paper BWR Screens
        • Pervasive Displays e-Paper EPD Extension Kit Gen 2
        • Pervasive Displays e-Paper EPD Extension Kit
        • FRAM-based E-Paper Screen Controller
      • Kentec 3.5" LCD with Touch BoosterPack for Stellaris
      • Sharp Memory LCD BoosterPack 128
      • Universal 1.8" Colour LCD BoosterPack
      • The 2.2" LCD with Touch BoosterPack
      • The 2.8" HY28A LCD Screen
      • High-Definition 480x320 3.5" Screen With Touch and Fonts
      • Kentec 3.5" LCD SPI with Touch BoosterPack
      • 4D Systems Intelligent Screens >
        • 4D Systems gen4-uLCD-35DCT-CLB​
        • 4D Systems μLCD-32PT (SGC) Screen
        • 4D Systems uLCD-32WPTU Screen
        • 4D Systems Arduino Adaptor
        • 4D Systems BoosterPack Adaptor
      • East Rising 5" LCD with RA8875, Touch, Fonts, Flash and SD-card
      • East Rising 5" LCD with SSD1963, Touch, Flash and SD-card
  • Software
    • The IDE Question >
      • The Battle of IDEs
      • More IDE Options
      • Looking for a Better IDE
      • Assessing the Next Generation of IDEs
    • Exploring RTOS with Galaxia >
      • Event Library
      • Semaphore Library
      • Mailbox Library
      • Timer Library
      • Clock Library
      • SWI Library
      • Task Library
    • Ultra-Low Power with EnergyTrace >
      • Ultra-Low Power with MSP430
      • Ultra-Low Power with Energia MT and Galaxia
    • Using Integers Instead of Reals
  • IoT
    • IoT Platforms: Which Hardware?
    • IoT Services: Which Solution? >
      • Recommended IoT Solutions >
        • IoT with Node-RED
        • IoT OTG with Blynk
        • IoT BLE with Blynk and CC2650 BoosterPack
        • Private IoT with Blynk on Local Server
        • Plug-and-Play IoT with dweet and freeboard
        • IoT with Sparkfun Data and analog.io
        • Advanced IoT Data Processing with ThinkSpeak
        • IoT Hub with Zapier
        • Send Mail with SMTP2GO
      • Platform-Specific IoT Solutions >
        • IoT with Particle
        • IoT with LightBlue Bean and Node-RED
        • IoT with LinkIt One
      • Other IoT Solutions >
        • IoT with Sub-1 GHz Sensor Network
        • IoT with Project Things by Mozilla
        • IoT with Losant
        • IoT with Exosite
        • Data and Action IoT with Xively and Zapier
        • IoT with PubNub and freeboard
        • IoT Hub with Temboo
        • IoT with Cayenne MQTT
      • Not tested IoT Solutions >
        • IoT with Microsoft Azure
        • IoT with IBM Bluemix
        • IoT with MQTT and 2lemetry
        • IoT with Parse
      • Notification Solutions
    • Get Date and Time from Internet with NTP
    • Fast and Easy WiFi Connection with QR-Code
  • Tools
    • How to Start?
    • Reference >
      • Asking for Help
      • LaunchPads and BoosterPacks Pins Maps
      • Ruler
      • Standards for Connectors
    • Training >
      • Texas Instruments Workshops
      • Embedded Systems: Shape The World — MOOC edX UTAustinX UT.6.02x
      • Embedded Systems - Shape The World: Microcontroller Input/Output — MOOC edX UTAustinX UT.6.10x
      • Embedded Systems - Shape The World: Multi-Threaded Interfacing — MOOC edX UTAustinX UT.6.20x
      • Real-Time Bluetooth Networks: Shape the World — MOOC edX UTAustinX UT.RTBN.12.01x
      • Systems Thinking with Texas Instruments Robotics System Learning Kit
    • Books >
      • Getting Started with the MSP430 LaunchPad
      • Getting Started with Arduino
      • Arduino Cookbook
    • IDEs >
      • Texas Instruments Code Composer Studio 6
      • Texas Instruments Code Composer Studio Cloud
      • Energia
      • Tools for Documentation
    • Equipment >
      • Saleae Logic Analyser >
        • First Generation Logic Analyser
        • Second Generation Analog and Logic Analyser
        • Logic Software
      • Rigol DS1102E Oscilloscope
      • XDS110 Debug Probe with EnergyTrace​
      • Segger J-Link Programmer-Debugger >
        • Segger J-Link EDU Programmer-Debugger
        • Segger J-Link EDU mini Programmer-Debugger
        • Segger J-Link Software
        • Connecting to Boards >
          • Segger J-Link with Arduino Due​
          • Segger J-Link with LaunchPad MSP432
          • Segger J-Link with Adafruit Feather M0
          • Segger J-Link with Adafruit Feather nRF52
          • Segger J-Link with Arduino Primo Core
    • The 404 Collection
  • Projects
    • Libraries >
      • Master I²C Software Library
      • Date and Time Library
      • LCD_screen Library Suite >
        • Concepts and Scope >
          • Compatibility with Serial_LCD
          • Integers Only
          • Fast SRAM Support
          • Supported Screens
          • Turning an Image into a C-Array
          • Roadmap
        • Training Video
        • LCD_graphics Library >
          • LCD_graphics — Clock
          • LCD_graphics — Gauge
        • LCD_GUI Library >
          • LCD_GUI — Label
          • LCD_GUI — Button
          • LCD_GUI — Area
          • LCD_GUI — Dialog Window
          • LCD_GUI — Menu
          • LCD_GUI — Slider
          • LCD_GUI — Text Box
        • Download Library
        • Install Libraries on Energia 1.6.10E18
        • Examples >
          • Life Game
          • Digital Micrometer on VGA Display
          • Touch Screen GPS
      • Others Libraries
    • smartDevices >
      • I²C smartColours Smart Sensor
      • I²C smartRFID Smart Sensor
      • I²C smartLED Display
      • I²C smartControls Smart Device
      • I²C smartWiFi Smart Device
      • I²C smartBLE Smart Device
      • I²C smartNode Smart Device
    • IoT Projects >
      • Low Power Home Network Weather Monitoring
      • Weather and Security Station with Blynk
      • SensorTag to Blynk Using Node-RED
      • Pervasive Reporting
    • Other Projects >
      • FRAM-based E-Paper Screen Controller
      • General Purpose 3.5" Screen
      • Colour Recognition with Neural Network
      • A Low Power Weather Station
      • Digital Volt-Amp-Watt Meter
      • Mobile Measurement with LCD Display
      • Screen with SRAM for GUI
      • Volt-Amp-Watt-Meter for Grove
      • Multi-Touch Project with CapTIvate

LightBlue Bean 

The LightBlue Bean by Punch Though Design is another board with  an ATmega328 and a CC2540 BLE radio, like the DFRobot BLuno, but in a very compact form.

The board comes into a match-box sized package and proudly claims Designed in California — Made in Korea.

If the app is installed on a iOS device, the LED goes on.

I've edited my initial review, as many irritating details have beed addressed by the Light Blue team.

Punch Through Design announced in June 2018 it stops selling the Bean boards.
Picture
Picture
Picture
Picture
Picture
The ATmega328P and the CC2540 BLE radio
The CR2032 coin battery

The board is powered by a CR2032 coin battery and features 8 GPIOs only. However, standard ports as SPI and I²C are available. 

The serial port is connected to the Bluetooth radio.
Picture
Official map from Punch Through Design

Out-of-the-Box with iOS device

The recommended out-of-the-box experience is with an iOS device with Bluetooth 4.0 or BLE implemented. 

The procedure is very easy and error-proof:
  • Download the app
  • Switch Bluetooth on
  • Launch the app and 
  • Select the Bean device.
Picture
Picture
Picture
The battery only lasted one week. I was really surprised, since I used it on a very episodic way. 

Sure, the ATmega328P is the low power version of the popular ATmega328, but this MCU still requires much more power --1.5mA at 4 MHz, 3V — than the MSP430 from Texas Instruments --230 μA at 1 MHz, 2.2 V.

Installation on Mac

Installation of the software on a Mac implies three steps:
  • Download and install the Arduino 1.0.5 IDE under the 
    /Applications folder. Other releases 1.5 or 1.6 don't work.
  • Download and install the Bean Loader App.
  • Run the Bean Loader App and call the menu Bean Loader > Associate, select the Arduino IDE.

Contrary to initial release, the installation was easy and fast.

The Bean Loader is available for Mac OS X and Windows, and even for iPhone and iPad on iOS.

Picture

Software

The IDE is the standard Arduino IDE version 1.0.

All the peripherals are managed through the Bean object. sleep() is recommended instead of wait().

accel = Bean.getAcceleration();
temp = Bean.getTemperature();
Bean.setLed(red, green, blue);

Bean.setLedGreen(green);
ledGreen = Bean.getLedGreen();

Bean.sleep(1000);

Once the sketch is ready, press Verify or Upload. The IDE compiles the sketch and then launches the uploader.

First Connect the device and then select Program Sketch to upload. Upload is done over-the-air through Bluetooth. A virtual serial /tmp/tty.LightBlue-Bean is also available through Bluetooth.

The Bean Loader App for OS X is actually is full app, unfortunately hidden deep inside the modified Arduino IDE. 
Picture
Picture
Picture
The LightBlue Bean is now fully supported on embedXcode. Once compilation ends, the LightBlue Bean uploader opens automatically, with the reference to the executable ready to upload.

Conclusion

At USD30, the LightBlue Bean offers a nice introduction into the Internet of Things. The compact form factor and low-energy make it perfect for projects where size is key.

As always with the Internet of Things projects, the difficult part isn't programming the device but developing the application on the smartphone. Does the iOS app include a programming tool as the screen pictured on the right? I've found nowhere documentation about this feature. 

When the first review was conducted, software was only available for Mac OS X and iOS. Windows and Android were planned later on, according to the development schedule. The Windows version is now available with the Modern UI interface.

If the iOS app provides a great out-of-the-box experience, the IDE has been dramatically improved over the initial release. It is now fast and easy.

The main surprise I've experimented was the autonomy of the battery, one week only. Although the ATmega328P is a low power version of the ATmega328, more modern MCUs like the MSP430 from Texas Instruments offer ultra low power, with lower consumption and thus longer battery life.

The Light Blue team has done a great job on addressing the irritating details I mentioned on my initial review. The more spectacular improvement is programming the Light Blue from an iPad!

The LightBlue Bean has now an amazing extension with specific Node-RED modules. Read IoT with LightBlue Bean and Node-RED!
Picture

Pros

  • Nice iOS app
  • True plug-and-play 
  • Over-the-air upload and serial console
  • Mac OS X and Windows
  • iOS for iPhone and iPad

Cons

  • Still a 8-bit micro-controller
  • 8 GPIOs

Wrap-Up

  • Perfect to start with Bluetooth Low Energy
  • Requires Bluetooth BLE computer or device
  • Great improvements done by responsive team

Links

  • Punch Through Design page
  • LightBlue Bean page
  • Software
  • Forum
Picture
Picture
This platform is supported by embedXcode, embedded computing on Xcode.

Posted:
Updated: Aug 28, 2018

Powered by Create your own unique website with customizable templates.