Category Archives: Customer Projects

Controlling Gestures with the Gest Glove

With the adjustable palm strap, it is easy to fit the Gest Glove on to any hand and you simply slip on the four moldable mounts on the fingers. The Gest Glove offers the best efforts so far for improving on the human-to-computer interface presently in use all over – the keyboard and mouse combination. The Glove provides gesture controls similar to those depicted in Minority Report. The Gest is a four-finger glove-like design from Apotact Labs, allowing control of a computer and mobile devices with hand movements.

Apotact Labs describes Gest as a digital toolkit with two components – the gesture controller to slip on to your hand, and an SDK or Software Development Kit to allow building new applications for the platform. The gesture controller has four moldable finger mounts and fits any hand because of its adjustable palm strap. With 15 distinct sensors on each hand, two Gests may allow typing on any surface. Each finger has the same standard magnetometer, gyroscope and accelerometer combination found in most smartphones, contributing to its controller’s finer precision and accuracy.

The Gest has software to allow sensing small movements. That allows the software to create a personalized model based on monitoring and learning the movements of a user’s hands. The software adapts to a user over time, with the model being unique to each user. According to Apotact Labs, Gest offers highly accurate and precise gesture control.

There are other gesture controls available in the market. One of them is the Myo armband manufactured by Thalmic Labs. This device utilizes extensive gestures from muscle-controls to control a large number of devices. Another is the Leap Motion controller, which is smaller. This device uses infrared cameras and rays to create a model from your hand movements. Compared to the above, the Gest Glove from Apotact Labs offers a higher degree of accuracy using smaller movements. That will certainly appeal to designers and artists looking for more precision.

For example, you can use the Gest Glove right out of the box, as it will come built-in with a five standard gesture library for use with the Adobe Photoshop. A twitch of a finger allows switching between apps. The mouse cursor moves along when you point your finger at the screen and move it. You can adjust the Photoshop sliders with a simple twist of your palm. If you have 3D objects on the screen, just grab them and rotate them in your hand – they will rotate on the screen as well.

Designers who do not want to use the skeletal models and motion-processed data custom-built into Gest, can access its raw sensor data. With the Java and Python APIs provided, designers can use the raw sensor data to create their own models. Future generations of the Gest may make use of a typing proof-of-concept being worked on at the Apotact Labs. This is likely to use a neural net to handle word prediction. The concept will use tow Gest Gloves, one on each hand, allowing the user to turn any surface into a keyboard. However, this is still in the experimental stages.

An SSD Shield for the Raspberry Pi

CSB502SSD is a multifunction storage shield for the Raspberry Pi or RBPi 2, model B. A Rhode Island based startup, Pi2Design has designed the shield and makers of the embedded modules, Cogent Computer Systems have manufactured it. The designers have targeted the shield for a variety of industrial, medical, data storage and embedded applications.

Earlier, Pi2Design had offered the PiDrive SSD expansion card to users with a 128GB mSATA solid-state drive. The CSB502SSD plugs in directly into one of the USB ports of the RBPi and similar to the PiDrive, the CSB502SSD sips power from the RBPi. Therefore, it does not completely deplete the RBPi of power, leaving enough for other peripherals.

For both products, users do not need to buy a powered USB hub for plugging in the standalone SSD – that makes them more portable. The PiDrive is a simple storage-only device and powered via its USB connection to the RBPi. More fully featured and equipped with an onboard DC/DC converter, the CSB502SSD accepts inputs from 8 to 25VDC. The shield comes with a 2A, 12VDC wall-plugin power brick. Although the price does not include the SSD, the CSB502SSD supports up to 1TB models. You also get a microUSB-B to USB-A patch cable, a Wi-Fi antenna and mounting posts with the kit. For an extra amount, you can upgrade the power brick to one of 5A rating.

The CSB502SSD has many features. Its supply powers both itself and the RBPi, including additional features such as a temperature sensor, a real time clock or RTC, a Wi-Fi radio and much more. There is also a four-port USB hub, of which two hubs are free to use – one port is for connecting to SATA and the other for connecting to the Wi-Fi. Communication between the RBPi and the CSB502SSD is via GPIO and the I2C interfaces.

Among the specifications for the CSB502SSD is a single-wire Dallas/Maxim DS18B20 temperature sensor. With this, you can monitor the health of the SSD using the I2C interface and a unique ID of 64-bits for managing assets. The DS1339 RTC from Dallas/Maxim has a programmable alarm powered by a coin cell battery backup – this ensures proper time keeping even when the network access is lacking. The 802.11b/g/n Wi-Fi module from Ogemray, the GWF-3M08, has a Soft-AP Mode support, providing 150Mbps and an on-module IPEX connector for antenna placement.

The mSATA socket can handle up to 1TB SSD storage and because of the Prolific PL2571 SATA II bridge controller, offers great Linux support for USB to SATA. The two USB 2.0 ports can provide up to 1.5A power per port and the 40-pin mating connector can let you plug the shield directly on the RBPi 2.

Onboard the CSB502SSD is a 5V, 10A supply to power all peripherals in addition to the RBPi, which can take up to 2.5A. With the multi-function CSB502SSD shield, users can create a low cost, high-performance networked storage device for embedded systems. With the powerful combination of the RBPi 2 and the CSB502SSD, users can take advantage of the ever-expanding RBPi 2 ecosystem and applications.

Track Mobile Assets with this 4G LTE Router

Organizations with fleets of vehicles to manage do not find it an easy task. It is important for them to focus on the bottom line without sacrificing service, response time and customer experience. Tracking mobile assets is a complex issue for fleet management that organizations in numerous verticals have to grapple with every day.

Saving operating costs can help pay for an investment in fleet management solutions. A good solution provides savings with optimized vehicle utilization, operator compliance and lowers training costs, besides saving fuel and maintenance costs through Information – the key to reducing costs. Typically, a fleet manager has to know whether drivers are operating safely, choosing efficient routes while staying within authorized boundaries; whether any vehicle is being used for unauthorized purposes, is under-utilized or idling needlessly; whether a vehicle will need preventive maintenance to avoid expensive repairs; location of the vehicle closest to an urgent call that just came in; when an older vehicle should be cycled out; which vehicles do not use fuel economically, etc.

You can monitor all this and more with the 4G LTE router and associated tools from CalAmp. Their flagship router, the LMU-5000LTE has support for a broad range of wireless connection options. It comes equipped with interfaces for all types of vehicles, including light and heavy-duty vehicles and it can monitor the vehicle status, location and behavior of the driver. With the Programmable Event Generator, PEG, which is the industry-leading on-board alert engine, the fleet manager has access to real-time information. With this, he can define rules that enable the application to take action as values exceed a threshold that he has specified.

Running embedded Linux on a 400MHz ARM9 processor, the LMU-5000LTE features fleet tracking and the user-programmable PEG monitoring software. It is equipped with multiple IO, a 5-channel GPS, EVDO, HSPA, and LTE routers. LMU-5000LTE is a cellular router and gateway for AT&T networks.

If you are looking for greater flexibility in designing your solution, CalAmp has the LMU-4230. This includes an even greater set of fleet features using cellular, Wi-Fi, Bluetooth and option for satellite connectivity. A three-axis accelerometer assesses Vehicular performance such as impacts, aggressive acceleration or hard braking. An optional interface, the JPOD ECU or Engine Control Unit allows reading and transmitting heavy-duty engine conditions and performance data. This includes engine temperature and fault codes to provide the optimum real-time picture of the health of your vehicle.

With the LMU-5000LTE, organizations can set up managed cellular networks via AT&T’s mobile broadband network working on 4G LTE. The device combines gateway, routing and M2M monitoring functions. According to CalAmp, the unit supports remote monitoring and control, enterprise fleet management, industrial and energy remote asset management, point-of-sale applications and workforce automation.

The Linux-based firmware on the device and CalAmp’s PEG alert engine monitors external conditions and responds to exception-based rules defined by the user. The user gets a feedback on violation of any threshold such as time, date, motion, location, geo-zone and inputs. CalAmp also provides PULS or Programming, Update and Logistics System for management and maintenance for over-the-air devices.

Papirus E-HAT Supports Multiple Display Sizes on Raspberry Pi

You can transform regular paper into almost anything – write on it, make origami or even change it into paper-mache. Similarly, e-paper is also proving to be a platform for realizing incredible and versatile projects. E-paper has amazing properties such as excellent visibility, paper like readability and very low energy consumption. That makes e-paper a perfect platform for making phones, accessories and digital signs.

Pi Supply is now offering Papirus, a display HAT supporting e-paper displays up to 2.7-inches on the Raspberry Pi or RBPi Single Board Computer. Although another e-paper HAT is also available from Percheron Electronics, Papirus is priced lower than the Percheron e-paper HAT.

According to Pi Supply, Papirus is optimized for the RBPi Models A+, B+ and the RBPi 2 Model B. However, Papirus works well with any SBC running on 3.3 or 5V logic and power, provided the SBC includes I2C and SPI interfaces. Therefore, apart from the RBPi, you can use Papirus with Arduino, BeagleBone and possibly, the RBPi-Zero.

Similar to the Percheron e-paper HAT, Papirus also offers the three options of Pervasive Display. These options include displays of 1.44-in. 128×96 pixels, 2-in. 200X96 pixels and 2.7-in. 264X176 pixels. Papirus has optional slim-line switches.

The display on Papirus is supported by on-board 32Mbit flash memory. As the display is in the form of Hardware on Top or HAT, it has the necessary EEPROM to make it plug and play with the RBPi. A battery-backed RTC allows keeping real time. The on-board digital temperature sensor and thermal watchdog provide a safeguard against unnatural temperature excursions.

Papirus interfaces with the RBPi through its GPIO connector. Pi Supply offers users an optional GPIO breakout board and an optional reset pin header for a wake on alarm with RTC. Other optional offers are a pogo pin and four slim-line switches, which the user can solder on top of the board.

Currently, one can use Papirus with rePaper, the free software offering from Pervasive. Pi Supply is planning to add enhancements above the free offering. According to Pi Supply, this could be in the form of an Easy Installer and include example scripts, which will help to push the Raspbian desktop to the e-paper screen. Another possibility is the addition of a web application for remote screen management.

Functionally, E-paper is similar to ordinary paper. When jotting down something on ordinary paper, your pen leaves well-defined lines or text. Electronic paper displays give the same crispness and high-readability of their contents. However, the method of displaying contents on an e-paper display is different from that used by Liquid Crystal Displays.

E-paper uses e-ink technology for displaying its contents. Electronic paper display is actually made up of millions of capsules within a thin film. Each capsule contains a clear fluid in which there are several tiny particles of black and white colors and with different electric charges. On each capsule are two transparent electrodes on its top and bottom sides. Applying a positive or a negative electric field to an individual electrode makes particles with the corresponding charge move to either the top or the bottom of the capsule. The surface of the e-paper display on the capsule now appears to be either black or white.

Predict Solar Eclipses with Wolfram on Raspberry Pi

Wolfram Research shows how the Wolfram language, used on a Raspberry Pi or RBPi, can help visualize solar eclipses. With this combination, you can view past and present solar eclipses. The most astounding aspect is the solar eclipses you visualize can be not only total or partial, but also as if seen from Earth, Mars or Jupiter.

Depending on your present geographical location, you may or may not be able to witness a solar eclipse. To recapitulate, solar eclipses are events where the Moon blots out the Sun to observers on the Earth. The Moon may be so positioned it blocks out the entire Sun or a part of it. If the Moon blocks out a part of the Sun, the incident is termed a partial eclipse. In a total eclipse, an observer on the Earth will only see the corona of the Sun as a halo around the Moon as it covers the Sun entirely.

By mathematically tracking heavenly bodies, it is possible to predict when a solar eclipse is likely, if it will be visible from a specific location and whether it will be partial or total. Usually, the media drums up a small hype of the event, predicting local weather conditions, telling people how and when to observe the eclipse while including other relevant details. However, this is only if the eclipse is visible in your area.

For people on the Wolfram Community, geographical hurdles do not exist. Novices, experienced users and developers from all over the world share data and knowledge. The Community discusses the latest solar eclipse with anticipation, observation and data analysis. They also participate in the computations for future and extraterrestrial eclipses.

For example, consider the total solar eclipse that occurred on March 20, 2015. Before the event, Jeff Bryant and Fransisco Rodriguez from Wolfram explained how the community could compute the geographical locations from where the eclipse would be totally or partially visible. Fransisco used GeoEntities to highlight with green those countries that would witness at least partial solar eclipse on the date.

Although they predicted the visibility of the solar eclipse, neither Jeff or Fransisco was able to see even the partial solar eclipse, as the former is in the US and the latter in Peru. In their prediction, the intense red area shows the regions from where the total eclipse would be visible, while the lighter red areas depict regions of visibility of the partial eclipse. Another total solar eclipse is predicted in the next decade, of which, at least a partial phase will be visible from almost all countries of the world.

Wolfram now has a new language function, the TimeLinePlot. This is a great way to visualize a chronological event such as a solar eclipse. With TimeLinePlot, you can specify the last few years and the next few years to plot territories and countries from where a total solar eclipse will be visible. TimeLinePlot complies with ISO 3166-1 when depicting territories and countries. Using the incredible powers of computational info-graphics, Wolfram predicts a spectacular total solar eclipse spanning the US from coast to coast on August 21, 2017.

Let Raspberry Pi Track Bats for You

If you live in an area that has fruit trees around, it is likely bats share your space. Bats are furry mammals that flit about at night, feasting on insects and fruits. Although they are not gifted with good eyesight, they locate prey and avoid obstacles using echolocation. They are expert fliers and it is difficult to observe them since they are so silent.

Although humans cannot hear bats, it does not mean these creatures make no noise. In fact, using the process of echolocation, bats produce a considerable amount of sound. However, humans cannot hear them because the sound bats produce has a frequency range beyond human hearing capabilities. Depending on age, humans can hear sounds produced in the frequency range between 20 Hz and 15-20 KHz. Bats can hear and produce sound up to about 110 KHz. That is why a Raspberry Pi or RBPi is necessary to collect process and graphically represent bat calls.

An analysis of bat calls shows the sounds they produce are quite loud and not limited to just one tone. Different breeds of bats produce a variety of sounds, differing just as bird chirping does. For example, their tone may sweep down from a high frequency to a low one, or move around a specific frequency.

Holger and Henrike Korber from Germany have used an RBPi to make a bat detection device. To collect the sound produced by bats, they use an inexpensive microphone of high sensitivity capable of responding to high frequencies. The algorithm they use allows not only a graphical representation of the calls, but also identification of the bat species as well. Additionally, the software allows manipulation of the calls to bring them into frequencies within the human hearing range and create histories of bat activity.

On their site, which translates to Bat Conservation in English, the Korbers offer a list of bat literature. If you can know the German language, you will find a treasure of information on echolocation and acoustic identification of bat species. To read in English, pass the page through Google Translate.

Details of their new WLAN-Raspi-Bat detector are available here. The detector, based on the RBPi Model B+, is wirelessly connected to an external notebook. That allows easy manipulation of the configuration and wireless recording of data. The RBPi bat project uses a UMTS stick for WLAN communication and a modified image of the RBPi OS.

The WLAN-Raspi-Bat detector sends SMS text messages automatically and at freely configurable times. For example, this could be just after the RBPi has booted or just before it shuts down. As the detector is portable, it is important to save on power consumption and data space on the SD Card. To keep the arrangement simple, the Korbers use a simple clock timer to start and shut down the RBPi. As bats venture out only at night, the RBPi can sleep during the day along with the bats.

As the detector communicates wirelessly, there are numerous applications. For example, it is able to operate at locations hard to access, such as in trees up to the canopy and in buildings with difficult access.

The RemotePi Board for the Raspberry Pi

If you have designed a mediacenter system around a Raspberry Pi or RBPi, you would also want to control it remotely, just as commercial mediacenters allow. You can do that with the RemotePi Board. Added atop your RBPi, the RemotePi acts as an intelligent infrared remote controlled power switch and remotely controls to power on/off your mediacenter system.

The RemotePi does not need a special IR remote, as it can learn to decipher the IR code of almost any commercial remote – it works with a standard GPIO IR receiver. This allows you to switch off or on the power safely to the RBPi with any TV remote or a pushbutton. The RemotePi is available in two versions, the 2015 version for fitting on older RBPi models A or B, and the Plus 2015 version for fitting on the newer RBPi models A+, B+ or the 2. Two versions of RemotePi are necessary as the RBPi models differ in their physical dimensions as well as in the position of their connectors and mounting holes. For example, the RBPi models A and B have only two mounting holes, while RBPi models A+, B+ and 2 have four mounting holes on each corner.

For both versions of the RemotePi Board, two variants are available. One has the IR LED and receiver integrated on it, while the other has them connected via a cable. The cable-connected variant is useful if you plan to use the RemotePi Board with a non-transparent case or you intend to mount the RemotePi Board and the RBPi out of line of sight. In this case, you only have to keep the extended IR LED and receiver visible to the users. Although you can buy an acrylic case specifically designed to fit the RemotePi Board piggy backing on the RBPi, most of the readily available cases need only minor modifications to accommodate the two.

When using the RemotePi Board with the RBPi, you need to connect the power to the RemotePi Board and not to the RBPi. The RemotePi routes the power to the RBPi, decided by a micro-controller, which switches the power on or off based on the command it receives from a push-button on top of the board or the infrared remote control.

When you command the power to be switched off, the RemotePi first sends a notification to the RBPi via a signal on the GPIO port. The RBPi has a script running in the background that picks up the signal and initiates a clean shutdown of the operating system, avoiding data corruption.

The RemotePi Board cuts off the power to the RBPi completely, after the RBPi has successfully shut itself down. That reduces the power consumption of the duo to a few mA of standby current.

You must teach the RemotePi software to remember the infrared remote control button you want to use for switching power to the RBPi. For this, the RemotePi software has a learning mode and it stores the button information in its flash memory. Of course, you can make it learn a new button any time you like.

Raspberry Pi and the RTK Motor Control Kit

While building robots, many a time you need a simple motor controller for the RBPi or the Raspberry Pi. The RTK Motor Control Kit fits these requirements very well, is budget-friendly, works using the GPIO pins and needs very little coding. The self-assembly kit of the RTK Motor Control Board allows easy control of DC motors with your RBPi.

Once you have soldered the few components correctly on the board, plug the assembly on top of an RBPi. You can control the GPIO pins of the RBPi with a programming software such as Python, Scratch or any other. Connect power to the motors and you can start driving the motors in either direction simply by toggling the GPIO pin on or off. The board supports PWM or Pulse Width Modulation. With PWM, you can control the speed of each motor separately.

To program the board and drive a motor with it is as simple as turning a pin on or off. The tutorial section has an example code in Python, but you could use Scratch or any other compatible language as well. The pins you need to toggle for Motor 1 are 17 & 18 and for Motor 2 are 22 & 23. To control motors with the kit you will need a working RBPi board with its power source, one or two DC motors and 4.5-12VDC power sources for the motors.

To assemble the kit you will need a soldering iron of 35W minimum rating and a reel of 60/40 solder wire. Before starting assembly, it is advisable to read the assembly instructions included with the kit.

On unpacking the kit, you will find it containing the RTK-000-001 PCB, an H-Bridge driver IC SN754410NE, three two-way terminal screw blocks, three two-way pin headers, one 26-way pin GPIO header and one 16-pin IC socket. Ensure all parts of the kit are present before beginning the assembly.

Switch on the soldering iron and ensure it is hot. Place the PCB with the writing RTK RPi M.C.B. facing up and towards the right. Place the IC socket in the PCB at the label IC1, taking care to match the notch of the socket with the gap in the silkscreen. Hold the IC socket in place, turn the PCB around and solder all the pins. Solder the three terminal blocks in their positions J1, J2 and J3, ensuring the terminal blocks face outwards. Place the two pin headers into the PCB at positions J4, J5 and J6, taking care to insert the shorter side of their pins into the board and solder them in place.

Insert the RBPi GPIO connector from the bottom side of the board and solder the pins to the top side of the board. This is important, as the assembled board will sit on the RBPi with this connector engaging the GPIO pins of the RBPi.

Don your ESD wrist-strap and insert the H-Bridge IC into its IC socket, ensuring the notch on the IC matches with the notch on the socket. Connect the motors and their power supply with the correct polarity. Plug in the RTK Motor Control Board to the RBPI, and power on the RBPi first and then the motors.

An Action Camera for the Raspberry Pi

If you are the type that goes biking into the mountains and all the while recording your adventures on camera while on the trip, you need a camera that is biking-centric, robust and suitable for long-distance trips. Of course, several suitable cameras already exist such as the GoPro, Fly6 and the Sony Action CAM, but they are expensive not accessible to all. On the other hand, an action camera for the Raspberry Pi (RBPi) is not only cheap, it is also open-source and suitable for the purpose.

The design of the RBPi action camera is based on off-the-shelf components. It is very easy to build this project if you have access to a soldering iron and a 3D printer. Of all the models of the RBPi series, model A+ consumes the lowest amount of power, which is an important factor to consider since you will be running it on batteries.

If you are trying out the camera for the first time with an RBPi, using an open-source case is advised.

For an RBPi camera meant to be used for biking, three design goals must be met: the project must have a long battery life, be capable of wireless communication and its enclosure must be simple and made of durable material.

Apart from using the RBPi model A+, meeting the first requirement means using a large battery, especially if your rides are going to be multi-hour long. For the second requirement, it is necessary to have both Wi-Fi and Bluetooth, to make it easy to communicate with the camera. The last goal contributes to the first two, therefore, it must be given due consideration. Since the action camera is meant for outdoor use, making every port available outside the case would have reduced the structural integrity and its dust/water resistance.

To package everything into a small enclosure and ensure their working, you may need to work on the Wi-Fi dongle first, as that sticks out more than anything else does. For this, you may need to remove the USB jack and then remove the adapter from its plastic case. You can solder the wires directly to the board. The Bluetooth module may be placed on top of the RBPi and a ribbon cable used to connect it to the headers underneath. Next, make a support for the battery and its charger/booster so they fit snugly under the RBPi. You may need a few spacers to ensure the protruding headers do not puncture the battery.

Place the camera as close to the side of the RBPi and design the case to around all the components along with the RBPi. Usually, the case will be in two parts, with the camera module mounted on the top. Keep the camera module within the case and mount it in place with screws.

Use two buttons, with which the RBPi will start and stop the recording sessions. This may require you to use special scripts (you can use those by Alex Eames) for the RBPi to listen to a button press to start the camera and another button press to stop recording. Communication with the RBPi is done primarily through ssh.

A Slice of the Raspberry Pi

The Compute Module of the credit card sized popular single board computer, RBPi or the Raspberry Pi, is not an end-user product. Manufacturers can use the device when they require an ARM-based platform to build their devices on and sell. Therefore, computing hobbyists will find it difficult to get their hands on the Module if they want to evaluate it.

The RBPi itself is readily available to anyone who wants to buy and use it for projects. However, this Compute Module is not sold as such to hobbyists and for evaluating the Compute Module, it is necessary to get hold of a real product based upon it.

Five Ninjas, some people from the RBPi Foundation and the Pi-friendly accessories seller Pimoroni has a compact media player based on this Compute Module. Their product – Slice – was the result of inspiration based on the original Apple TV.

The first Apple TV was based on the x86 and was silver colored. This was eminently hackable, unlike the later iOS running black box that Apple made. People ripped out the custom Mac OS X installed, replacing it with a Linux desktop. They then added a more open, flexible media center, which ran XBMC.

The FiveNinjas Slice Media Player turned out to be more powerful than the modified x86 version of the Apple TV. The first few Slices have just left the Sheffield assembly plant of Pimoroni. Each has a custom motherboard with a single Compute Module in a DIMM-slot.

The Slice looks like a small metal box that has a translucent plastic spacer running all round the middle. The metal of the box is anodized aluminum in one of choice of three colors – red, gunmetal and black. The entire device feels and looks very stylish. Although you cannot see inside the box through the spacer, Slice puts out a very cool light through it. The light comes from Slice’s 25 NeoPixels. These are individually addressable RGB LEDs, with each containing an in-package controller.

The Slice uses these LEDs to create a rainbow of various color sequences. These sequences are triggered as the user interacts with the Slice using its remote control. While Apple had a slimline aluminum remote, Slice has a somewhat thicker one made of plastic.

Slice has 4GB of flash, which allows it to run any Operating System without a hard disk. It actually runs OpenElec, which is a simplified Linux distro capable of booting straight into Kodi, the media application. Therefore, users can simply play video and music files on their NAS or share from their computers.

Internally, Slice has a SATA connector mounted on the underside of the motherboard. Users can put in a small 2.5 inches disk drive and fasten it on to the motherboard within the case. There are four USB ports and users can hook up Slice to their computers to mount as an external drive automatically.

Currently, there is no app to control the display of colors from the LEDs. However, one is in development and will be available soon. The Compute Module uses a powerful 900MHz Broadcom SoC with a graphics core.