Saturday, September 17, 2011

The Action Machine


The Action Machine is completely built around the timeboxing concept, so it works because it's simple to understand and use, and it ties together the three key motivating elements that push your brain to take action (we talked about these earlier):


It turns your daily actions/tasks into mini-goals - As we discussed earlier, our brains love goals, big or small, because they're built to be goal-achieving machines. Give your brain a goal, and it immediately goes to work finding ways to reach it.
It allows you to quickly and easily assign each mini-goal a specific timeframe or deadline - Once your brain has a goal, a deadline is the fuel that motivates it act! The shorter the deadline, the more revved up your brain gets.
It shows you the BIG picture of your day with a level of clarity that helps you believe you can get it all done - Instead of getting poor results because your day is an overwhelming, uncontrollable, cloudy mess of stuff you need to do, this system breaks your day down into small, manageable pieces that you actually see yourself getting done with ease. When you believe you can, you will!

Download link: http://www.mediafire.com/?cttbqxa2j6kctjm

Thursday, September 8, 2011

3D Stereo Image capturing system based on OV3640


Long time ago I already develop 3D stereo capturing system by using OV3640 CMOS cameras.

The following pictures my implementation of 3D capture system.

Our system is consists of several parts:

Embedded board : Main microprocessor is made by Samsung S3C6410. Its 32-bit ARM11 RISC microcontroller.

Image capturing system: OV3640 CMOS camera modules, DC Servo motors and Stepper motor with motor drivers.

Display system: 3D Auto-stereoscopic LCD module(3D0-700S-2010-1-ES, 7 inch). Main LCD panel is Samsung LMS700KF05.

Next time more detail explain :).



CAN-BUS-Multi training system

Vehicles are now frequently equipped with electronic sensors and actuators to reduce the environmental impact and to increase the safety and the comfort. In order to reduce the amount of wiring, the weight of the necessary wiring harnesses and the service costs, many middle or top range vehicle types, lorries, buses and tractors are nowadays interconnected by the CAN BUS – a common two-wire connection.

The CAN-BUS training system developed by ELWE helps to study the structure, action and diagnosis of CAN-BUS systems safely and clearly in a relatively short time and without long setting-up times. The system is equipped exclusively with original body electronics components of VAG middle range cars.

The CAN BUS fault simulator enables you to set various invisible faults to systematically and practically train the field of fault
diagnosis.

The OBD II interface allows you to transmit and receive CAN BUS data protocols, so that it is also possible to obtain a detailed knowledge on the CAN BUS.

http://www.elwe.com/gb/produkte/kfzelek/can-bus.php

Wednesday, August 10, 2011

TAXI Framework documentation

TAXI Framework documentation

Welcome to the Taxi documentation website ! Here you will find a variety of resources to learn about what is Taxi is all about, how it works, and more importantly, how you can use it to change the world !

TAXI is a software developped at the IMARA Lab from INRIA. It is used as plateform for our automated vehicles, the CyberCars (http://www.lara.prd.fr/). It targets both engineers who want to prepare demos, test new hardware, check if the vehicles are operational, etc., and researchers who want a quick way to implement and test new algorithms, designs, solutions.

TAXI provides an abstraction to access sensors and actuators.
TAXI implements communication tools like Zeroconf or XML-RPC for vehicle collaboration and remote control.
TAXI allows finally to build demonstration by wrapping together various algorithms.

http://lara.inria.fr/doc/taxi/

Wednesday, August 3, 2011

WaitForSingleObject_example.cpp

//#include "stdafx.h"
//#include

//#include

int _tmain(int argc, _TCHAR* argv[])
{

DWORD ThreadID, dwRet;

HANDLE hTh;
// Creates a thread to execute within the virtual address space of the calling process
hTh=CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)ThreadMain,(LPVOID)10,0,&ThreadID);
if(hTh==NULL)
{
wprintf(L"CreateThread() failed, error %u\n", GetLastError());
return 1;
}
else
wprintf(L"CreateThread() is OK, thread ID %u\n", ThreadID);
// Blocks/wait till thread terminates
// Waits until the specified object is in the signaled state or
// the time-out interval elapses.
// The INFINITE parameter make the function return only when the object is signaled
wprintf(L"Waiting the child thread terminates/signaled...\n");
dwRet = WaitForSingleObject(hTh,INFINITE);
wprintf(L"WaitForSingleObject() returns value is 0X%.8X\n", dwRet);

switch(dwRet)
{
case WAIT_ABANDONED:
wprintf(L"Mutex object was not released by the thread that\n" L"owned the mutex object before the owning thread terminates...\n");
break;
case WAIT_OBJECT_0:
wprintf(L"The child thread state was signaled!\n");
break;
case WAIT_TIMEOUT:
wprintf(L"Time-out interval elapsed, and the child thread's state is nonsignaled.\n");
break;
case WAIT_FAILED:
wprintf(L"WaitForSingleObject() failed, error %u\n", GetLastError());
ExitProcess(0);
}

if(CloseHandle(hTh) != 0)
wprintf(L"hTh's child thread handle was closed successfully!\n");
else
wprintf(L"Failed to close hTh child thread handle, error %u\n", GetLastError());

wprintf(L"Main process & thread ready to exit...\n");

return 0;

}

The WaitForSingleObject() Example

Create a new empty Win32 console application project. Give a suitable project name and change the project location if needed.

Then, add the source file and give it a suitable name.



Project file created:

The following source codes to add and build:

#include "stdafx.h"
#include

#include

// Thread counts till PassVal

void ThreadMain(LONG PassVal)
{
LONG i;
for(i=0;iApplication testing:



How can i install winxp in Compaq Presario CQ62 ?

You change the bootdisk in the BIOS to the cd. Then boot from the XP CD. And press a key when it tells you to. However, this will wipe Windows 7. So, if you want anything copy everything you want (except programs), before you format the hard drive.

Also, NOTE: XP doesnt have drivers for most of whats on the system (LAN/Sound/Card reader etc). So, if this is the only computer you've got, go to the HP site search for this laptop, download the drivers and copy them to something. Before you start. Or you wont get back on the internet..

Also NOTE: If the hard drive in this is SATA, you'll have to disable AHCI in the BIOS (change it to IDE mode). Or XP will crash before you get to the setup screen. Unless you download the SATA drivers, unzip/extract them and add them when it says to press F6 (on a floppy).

The XP CD doesn't have SATA drivers on it either. If you dont add the SATA drivers during the install, DON'T change it back to AHCI after you install XP. Or it'll crash

Also, make sure you've got an XP key. A windows 7 key wont work

download winxp drivers the following links:

http://laptop-driver.blogspot.com/2010/11/compaq-presario-cq62-windows-xp-driver.html

In my case: my notebook model is Presario CQ62-303u

I try to change SATA driver mode to IDE mode, but my notebook BIOS doesn't have that choice.

The following link have some discuss of SATA driver problem in winxp installation.

http://h30434.www3.hp.com/t5/Notebook-Operating-systems-and/SATA-drivers-for-XP-solution-on-0x0000007B-BSOD/td-p/114120

1. You download CPU-Z

2. You should check chipset of notebook.

3. You should download manuals for SATA problem.

4. You download nlite

5. Read manual (3) and create winxp boot CD/DVD.

6. Intsall winxp.