Category Archives: Raspberry Pi

Raspberry Pi Display and Buttons

I really liked the next gadget from PiFace, PiFace Display and Control.
Most of the time I use Raspberry Pi connecting to it via ssh, so no display and keyboard. It is a lot handy to have a screen and few buttons in order to interact with the Python code, you play with. So I was wondering if I can make a my own design. In the same time I wanted to be fully compatible with examples and code from PiFace. I did a research and found this article PIFace Control & Display Tear Down using the MCP23S17 (SPI I/O Expander), which was the kickstart of my next project.
Here is the result:

Raspberry Pi Display and Buttons

Raspberry Pi Display and Buttons

Raspberry Pi Display and Buttons

Raspberry Pi Display and Buttons

Namaste!

Raspberry Pi and BLE DEV.N

It was interesting to see if we can use Raspberry Pi to connect to the BLE DEV.N board. Here is initial hardware setup BLE DEV.N board  + Raspberry Pi + CSR 4.0 dongle:

Raspberry Pi with BLE DEV.N

Raspberry Pi with BLE DEV.N

Bluetooth stack is updated to the latest 5.7.

Raspberry Pi with latest Bluez 5.7 stack

Raspberry Pi with latest Bluez 5.7 stack

Scanning returns the board name (LED). Currently dev board is flashed with the LED example.

Finding the LED BLE DEV.N board

Finding the LED BLE DEV.N board

Connecting to discovered tag LED. Here is interesting to mention that I needed to use –random option, because of random generated addresses (no need if you are connecting to the TI SensorTag).

Connecting to discovered tag LED

Connecting to discovered tag LED

Discovering of the characteristics

Discovering LED board characteristics

Discovering LED board characteristics

It is a Happy day of coding!