Texas Instruments SensorTag Unboxing, Getting Started with Bluetooth Low Energy in Linux (with a Raspberry Pi)

Texas Instruments CC2541 SensorTag is a Bluetooth Low Energy (BLE) development kit with 6 sensors (IR temperature, humidity, pressure, accelerometer, gyroscope, magnetometer) mainly destined at mobile application developers for iOS, and soon, Android 4.3. I’m interested in BLE, as I expect most new phones with come with BT 4.0 BLE (aka Bluetooth SMART), and this technology may help bring the Internet of things to life, allowing us to interact with sensors, smart appliance (e.g. light switch)… Since it just costs $25 (including international shipping), I decided to buy it, and give it a try. Today, I’ll show some unboxing pictures, and how to communicate with the kit using the Linux command line. TI SensorTag Unboxing I ordered it at the end of May, and receive it by Fedex on the 18th of July, about 7 weeks later, in the package below. Inside we’ve got a Quick Start Guide for iOS […]

DIY Stripboard/Veroboard Enclosure for Raspberry Pi (Part 2)

Rasbperry_Pi_Stripboard_LED_Relay

Following up my previous post entitled “DIY Modular Stripboard / Perfboard Casing for Raspberry Pi (Part 1)” where I explained how I created an modular enclosure made of perfboard, or the overall concept, I’ve now designed two “smart” sides for the enclosure: a 16-LED stripboard side, and a 5V relay stripboard side. Today, I’ll detail how I’ve done this, with details about electronics, soldering, assembly, the Linux distribution (built with Yocto), as well C programs, HTML page, and (CGI) shell scripts used to light up the 16 LEDs, and control a standard 220V lamp with a relay via my phone’s web browser. 16-LED Stripboard Top Schematics, Soldering, and Testing I had decided to design the top board of the enclosure with several LEDs, 3 LEDs on both side, and a Raspberry fruit (6 red LED) and 2 leaves (4 green LED) in the middle. Before getting started, I did some […]

A Preliminary XBMC Image is now Available for Wandboard, GK802

Yesterday, Stephan Rafin left a message on Wandboard mailing list saying he had released a preliminary (Linux) XBMC image that can run on Wandboard Quad development board. GPU and VPU acceleration work, but this is still work in progress, so if you want something that just works, this is not for you. But if you just want to give it a try, it should work on any hardware based on Freescale i.MX6, such as Wandboard Dual or GK802 mini PC, with some minor modifications. If you’ve got a Wandboard Quad board, the installation is straightforward from a Linux machine: Download the SD card image Decompress it with xz or 7x:

Dump the resulting to a 2GB or greater microSD card:

Where /dev/sdx is the sdcard device (e.g. /dev/sdc). You can check with lsblk command. If you’ve got a machine running Windows only, you can use Win32DiskImager for step […]

Freescale SABRE Lite i.MX6 Development Board Unboxing, Wandboard Quad Comparison, and Quick Start Guide

Freescale SABRE Lite is a development board powered by i.MX6 Quad processor with 1GB RAM, SATA, GbE Ethernet, and more. You can get SABRE Lite specifications in my first post about the board. I recently participated in Element14’s “brainteaser” competition for the 4th birthday of their community, where the company offered 9 SABRE Lite development kit to randomly selected participants, and I got lucky. The board can be purchased for $179 from Element14 (MCIMX6Q-SL). I’ll start by showing what in the package, followed by a side-by-side comparison with Wandboard Quad, and show how to getting started by following the Quick Start Guide provided with the board. SABRE Lite i.MX6 Development Kit Unboxing I received the board about 5 days after I provided my address in a large staple carton box with a few goodies. Beside SABRE Lite devkit, the package comes with Element14’s T-Shirt (not my size), double walled tumbler, […]

Hacking MK908 mini PC for Serial Console Access

Thanks to Omegamoon (and this brother) we already have instructions to connect the UART pins on MK808 in order to access the serial console. He’s done it again with MK908 mini PC featuring Rockchip RK3188. Tx and Rx pads are located on the RAM chips side, and he has connected the green wire to Tx (Going to Rx on TTL debug board), and a yellow wire to Rx (Tx on debug TTL board). A ground pad is available on the other side of the board. Since I got a sample for review from Geekbuying, I decided to give a try myself. The pad are quite small, so this may require patience, but it’s perfectly feasible. I wanted to keep the device closed, so I passed the wires through the ventilation holes (enlarging them a bit with a precision screwdriver), put back the main heatsink on RK3188, and reassembled the enclosure. […]

Play HEVC/H.265 Videos and Embed HEVC Streams into MP4 and TS Files with openHEVC and GPAC

I wrote an introduction to H.265 (aka HEVC) at the end of last year, including instructions showing how to encode videos to HEVC using the reference implementation. It worked but since it was not optimized for speed, it was extremely slow. Today I’ve stumbled across openHEVC, a open source compliant HEVC video decoder written in C, created as a fork of Libav. This is supposed to work pretty well as the implementation was used at Roland Garros Tennis tournament to playback an 720p50 HEVC stream transmitted over DVB-T2, IPTV, and MPEG DASH. Today I’ll mainly tried out the instructions provided on openHEVC github repo including: Build the source and playing a raw HEVC stream with hevc utility Build GPAC (open source multimedia framework), to get MP4Box, mp42ts, and MP4Client utilities. Import a raw HEVC stream into MP4 and TS containers, and play it back with GPAC tools. I’ve performed the […]

DIY NAS Enclosure for The Cubieboard

The Cubieboard with a 1GHz processor, 1GB RAM, a SATA port and its low price ($49) is probably one the best available options if you want to make your own ARM based NAS. The hardware is easy to get, most of the software components (Linux, SAMBA/NFS server, Bittorrent client, etc…) are available, but there are no NAS enclosure available for the Cubieboard, so this part may be a little tricky. Cubieforums user Vustus has a pretty neat and cost- effective solution for an enclosure based on off-the-shelf parts. If you want to try it yourself, you’ll need the following parts: 3.5″ USB 2.0 aluminum external dual SATA HDD enclosure ($15) – http://www.geeks.com/details.asp?InvtId=ET-3541S 10″ Flat SATA cable ($2.49) – http://www.newegg.com/Product/Product.aspx?Item=N82E16812119365 SATA Y cable for power ($4.99) – http://www.newegg.com/Product/Product.aspx?Item=N82E16812198015 Power cable for th Cubieboard (taken from PSP power supply, as a cable would cost about $7 according to vustus) ($4.29) – http://www.amazon.com/gp/product/B002TK3GH8 […]

12MB Minimal Image for Raspberry Pi using the Yocto Project

Last year, I wrote instructions and provided a download link about a minimal image for Raspberry Pi based on Raspbian. The compressed image is 84MB, and the good thing about it is that you can just use apt-get to install packages. The problem is that it’s not actually that small as once it is uncompressed the rootfs is still a massive 414 MB. So today, I’ll explain how to create a smaller (and custom) image using the Yocto Project, a platform that let you build an embedded Linux distribution matching exactly your project’s requirements. Other advantages are that the build is configurable with config files, so it’s easily reproducible with a few command lines, and it might turn out to be useful to learn more about the Yocto Project as many boards and SoC are now making use of the framework, including Freescale i.MX6 (Wandboard, Olinuxino-imx233, Sabrelite, etc…), the Beagleboard, […]

UP 7000 x86 SBC