Tuesday, April 27, 2010

Monday, April 26, 2010

Arduino Deuvilova ( :) USB not recognize by WinXP

I had one AtMega168 arduino board, but the usb cannot be recognized by the PC. But when i Plug in external power to it , the USB can be recognized.
After searching around, seem like this problem is due to the FT232RL chip.
The solution is to short Pin 25(TEST) and PIN 26(GND).

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1263958401/3

Monday, April 19, 2010

RapidKL Bus

RapidKL bus location alert:
- update bus location - gps/gsm/wifi/passive/actice element
- user phone apps to monitor certain bus for their route ...
     - distance to users location
    - ETA to users waiting location

* minimizing users waiting time ...
* user get exact time of waiting
* better users time management
* better user usage of public transport .

WINAVR programmer

Development tools for Atmel AVR ... Free for sure ...
http://sourceforge.net/projects/winavr/files/WinAVR/20100110/WinAVR-20100110-install.exe/download

Thursday, April 15, 2010

Service manuals, schematics, documentation, programs, electronics, hobby ....

Service manuals, schematics, documentation, programs, electronics, hobby ....

http://www.eserviceinfo.com/download.php?fileid=21614

RS485 to RS232 converter

http://aquaticus.info/rs485_to_rs232

Popular chip MAX232 is used to convert RS232 signals from/to TTL level. MAX485 converts TTL level signals to RS485 standard. RTS line is used to change transmission mode of MAX485. RTS signal is first converted to TTL level by MAX232 then connected to DE and RE/ pins.

Thursday, April 8, 2010

HOWTO: Specify Serial Ports Larger than COM9

CreateFile() can be used to get a handle to a serial port. The "Win32 Programmer's Reference" entry for "CreateFile()" mentions that the share mode must be 0, the create parameter must be OPEN_EXISTING, and the template must be NULL.

CreateFile() is successful when you use "COM1" through "COM9" for the name of the file; however, the message
INVALID_HANDLE_VALUE
is returned if you use "COM10" or greater.

If the name of the port is \\.\COM10, the correct way to specify the serial port in a call to CreateFile() is as follows:
   CreateFile(
"\\\\.\\COM10", // address of name of the communications device
fdwAccess, // access (read-write) mode
0, // share mode
NULL, // address of security descriptor
OPEN_EXISTING, // how to create
0, // file attributes
NULL // handle of file with attributes to copy
);

NOTES: This syntax also works for ports COM1 through COM9. Certain boards will let you choose the port names yourself. This syntax works for those names as well.

http://support.microsoft.com/kb/115831

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...