TechnoLabsz: 2012

TechnoLabsz: Explore Open Source Technology

TechnoLabsz is a hands-on technology journal covering OpenCV, robotics, programming, electronics projects, GNU/Linux, Arduino, computer tips, Python, hacking and mobile phones. Browse the topic labels below to jump straight into the tutorials and project write-ups you care about.

Stay connected with the community:

Follow on Twitter Join us on Facebook Home

Popular Posts

Eye blink detection demo using OpenCV
Eye blink detection with OpenCV
RGB to HSV conversion illustration
RGB to HSV conversion
mbed NXP LPC1768 embedded board
mbed ARM board
Cubieboard embedded board
Cubieboard overview
Learning Robotics using Python book cover
Learning Robotics using Python
XAMPP and CMS configuration screenshot
XAMPP and CMS setup
Social robot final year project diagram
Social robot project
ROS robotics book cover
New ROS book
C++ function pointer example
C++ function pointers

Latest Tutorials and Project Notes

How to open and close a process from a Python script

This walkthrough shows how a Python script can launch an external process and then stop it again. Two scripts are used: a master script that starts a slave script, and the slave script that keeps running until the master terminates it after about five seconds.

Master script:

#!/usr/bin/python
import time
import subprocess

#starting process python while.py
proc = subprocess.Popen(["python","while.py"],shell=False)

#5 sec delay
time.sleep(5)

#killing process
subprocess.call(["kill","-9","%d" % proc.pid])

#waiting for killing
proc.wait()
print 'poll = ',proc.poll()

Slave script:

#!/usr/bin/python
while 1:
    print "hello"

The output prints "hello" for up to five seconds, after which the process stops and the final message is shown.

Screenshot of the Python process control example
Process control output

Read the full post · View the screenshot · Leave a comment

Email This Edit Post Share by Email Share to Blog Share to X Share to Facebook Share to Buzz

Controlling Android phones using Python and Linux

A short tutorial on controlling an Android phone from a PC over Wi-Fi using Python. On the phone you need the Wi-Fi ADB application, a tool for Android debugging over Wi-Fi, plus SL4A and Python for Android. On the PC, Ubuntu 12.04 is used. Start Wi-Fi ADB, then start a private server using SL4A.

Read the full post · Get Wi-Fi ADB · Wi-Fi ADB tutorial · SL4A downloads · Continue reading · Leave a comment

Email This Edit Post Share by Email Share to Blog Share to X Share to Facebook Share to Buzz

New Arduino Due

A newcomer has joined the Arduino board family: the Arduino Due, notable for using an ARM-based controller. Key specifications include the AT91SAM3X8E microcontroller, 3.3V operating voltage, recommended input voltage of 7-12V (limits 6-20V), 54 digital I/O pins (12 with PWM), 12 analog input pins, 2 analog output pins (DAC), 130 mA total DC output current on all I/O lines, 800 mA DC current for the 3.3V pin and 800 mA for the 5V pin, 512 KB flash memory, 96 KB SRAM (two banks of 64KB and 32KB) and an 84 MHz clock speed.

Arduino Due board
Arduino Due

Read the full post · View the board image · Leave a comment

Email This Edit Post Share by Email Share to Blog Share to X Share to Facebook Share to Buzz

Speech recognition on Arduino

A library for running speech recognition on Arduino is available. Its features include letter-based recognition, a small memory footprint, Arduino compatibility, no training required, fixed-point arithmetic, roughly 30%-40% accuracy when based on phonemes and up to 80% when based on words, and it plugs directly into an analogRead() port.

Read the full post · uSpeech project page · Code on GitHub · Leave a comment

Email This

Working with the LinkSprite UART-WiFi module

An UART-WiFi module purchased from rhydolabsz, tested with the supplied PC tool.

LinkSprite UART-WiFi module
UART-WiFi module

Arduino PID library

A PID library implemented for Arduino is available for reference.

PID controller response illustration
PID response

Cubieboard: a threat to Raspberry Pi

A new embedded board that could compete with the well-known Raspberry Pi: the Cubieboard.

Cubieboard board photo
Cubieboard

ROS and Kinect

A video demonstrating how to interface Kinect with ROS.

How to hack your friends' password in Ubuntu/Linux

An interesting keylogger running on Linux called Linux Keylogger (lkl), which captures all key events and logs them to a file. Installation: extract the zip file, open a terminal in that location, then run ./configure, make and sudo make install.

Keylogger illustration
Keylogger on Linux

Turtlebot simulation using ROS and Gazebo

Instructions for simulating and controlling Turtlebot with ROS and Gazebo: install the ROS and Gazebo packages for Turtlebot from the Synaptic package manager.

mbed: an embedded board based on ARM

The mbed Microcontroller is an ARM processor with a comprehensive set of peripherals and a USB programming and communication interface, provided in a small and practical DIP package. It is a rapid prototyping tool built on industry-standard technology.

mbed NXP LPC1768 board
mbed board

PCB: an open source circuit designer

PCB is free software for designing printed circuit board layouts, with many features and professional-quality output. It runs on UNIX operating systems such as GNU/Linux, Mac OS-X or Cygwin under Windows. PCB was originally written by Thomas Nau of the University of Ulm, Germany, and is now maintained by Harry Eaton of the Johns Hopkins University Applied Physics Laboratory, Laurel, Maryland, USA.

PCB layout designer screenshot
PCB designer

Fritzing: an interactive circuit designer

Fritzing is an interactive circuit designer whose main attraction is that users can include Arduino and many other breakout boards in their designs, saving developer time and boosting productivity.

Fritzing main page screenshot
Fritzing interface

V-REP: an advanced robot simulator

V-REP is described as the Swiss army knife among robot simulators, with a wide range of functions, features and elaborate APIs. It has an integrated development environment and is based on a distributed control architecture: each object or model can be individually controlled via an embedded script, a plugin, a ROS node, a remote API client or a custom solution. This makes V-REP versatile and ideal for multi-robot applications. Controllers can be written in C/C++, Python, Java, Lua, Matlab or Urbi. V-REP is used for fast algorithm development, factory automation simulations, fast prototyping and verification, robotics education and remote monitoring.

V-REP robot simulator scene
V-REP simulator
V-REP simulator screenshot
V-REP view
Screenshot of a robotics tool
Robotics tool screenshot
Screenshot of a robotics tool
Robotics tool screenshot
Kazam screencaster logo
Kazam screencaster
About Kazam screencaster
About Kazam
Screenshot of a desktop tool
Desktop tool screenshot
Screenshot of a desktop tool
Desktop tool screenshot
Screenshot of a tool
Tool screenshot
Git logo
Git
Screenshot of a tool
Tool screenshot
Screenshot of a tool
Tool screenshot
Screenshot of a tool
Tool screenshot
Screenshot of a tool
Tool screenshot
OpenCV logo
OpenCV
OpenCV logo with text
OpenCV
Raspberry Pi board
Raspberry Pi
Verbatim pinstripe 32GB USB drive
USB drive
RSS feed icon
RSS
Twitter icon
Twitter
Facebook icon
Facebook
Email icon
Email