27 Aug 2012

Wall-E Robot (object/face recognition, sound recognition, AI)




[ 27/08/2012 ] Test 1 - Colour Tracking




[ 05/09/2012 ] Test 2 - Servos and motor driver






[ 08/09/2012 ] Test 3 - Controlling Wall-E from PC




[ 11/09/2012 ] Test 4 - Speech Recognition





=============================================

Flow chart

          commands
PC -------->-------->--------> Robot (Arduino)
PC < ------<--------<------- Camera (wireless)
               video


PC -----> Bluetooth ------> Air -----> Bluetooth -----> Arduino
     Serial
  communication


7 Aug 2012

First Android App controls android via bluetooth LEDs

A fairly simple one. I will only describe how the seek bar works, and part of how commands are recognized by arduino (arduino code). I will do another one about bluetooth another day.




31 May 2012

Weibo Security System (IR sensor, arduino, php, VB)



23/05/2012


I am renting at the moment but doors have no locks, so i am planning to build a system that sends me a warning whenever the doors is cracked open. I am think to use Weibo (twitter in China), and email. it will also activate the CCTV system and start recording.


The following is the diagram that roughly explains how it works.



现在租房,但门没有锁所以打算做个微博警报器,门要是一打开,电脑就会发微博并 @梁小航OSCAR (我)。原理大概像这图吧,画得不好。最难的部份:用第三方软件发微博的代码已经拼出来了,下一步就是写 PHP 跟 VB 的 interface,最后就写 Arduino跟sensor的代码。。






18 Feb 2012

[C++] Fast Trigonometric Functions

Why?

To improve algorithm performance, one direct way is to shorten calculation time. The part that consumes the most computation power would be the trig functions.

The built-in trig functions are generally very good in terms of accuracy. But we don't need that level of precision, so we can sacrifice accuracy to achieve faster speed.

We only use SIN, COS, ACOS and ATAN in our algorithm, so this post will describe only these functions.


21 Jan 2012