Sunday, July 18, 2010

Install Dual LED Flash for HTC Diamond2 camera

HTC Touch Diamond2 T5353 phone has a very good camera. It is also better than some cheap compact cameras too.
But it has no flash. So it cannot takes photo in the dark.
So I try to install flash for it.

I use dual LED AGILENT/AVAGO HSMW-C191. It costs 15 THB per each.
Advantage:
- It can uses up to 3.9 Volt maximum of power supply, which equals to Diamond2 battery. No need to drop the voltage.
Disadvantages:
- It produces less light compare to LED flash on newer camera phone.
- It produces too much purple.

I'll try to change LEDs later.

Circuit (Maybe???)



Flash was used in the totally dark place.


Flash was used.


Flash was not used.


[See all photos]

Friday, April 23, 2010

Repair Linksys WAG200G wireless router

Sorry. This post was not available in English.
คลิกที่ เพื่ออ่านบทความเป็นภาษาไทย

Monday, November 2, 2009

If you lost your driver CD or Unknown Device

If you lost your driver CD, and cannot remember its model name.
You can get VID,PID,VEN, and DEV, then find them in any search engines.


[See all photos]

Saturday, July 18, 2009

Pen Video Recorder

Yesterday my mom got her new USB "Pen" drive.
It's Pen Video Recorder with 4GB memory, 1300 BHT.

[See all photos]

Sunday, June 28, 2009

Embed Subtitle into Output VDO with AviSynth

If you want to embed *.srt subtitle into output VDO by using AviSynth:

1. Download VSFilter from http://www.animereactor.dk/aegisub/
2. Extract vsfilter.dll to folder C:\Program Files\AviSynth 2.58\plugins\
3. Add these commands into *.avs file:
LoadPlugin("C:\Program Files\AviSynth 2.58\plugins\VSFilter.dll")
TextSub("filename.srt")


If audio and video are not sync'ed together, use these commands to split them, and then adjust audio delay.
V = DirectShowSource("video.mp4",fps=25.0,convertfps=true)
A = DirectShowSource("audio.aac", video=false)
AudioDub(V, A)
DelayAudio(-0.500)

Sunday, June 21, 2009

Induction Cooker


I've just bought an induction cooker from BigC. It's Hanabishi HIC-20EA 2000 watts, 1700 BHT.
My sister bought another induction cooker from Lotus for only 900 BHT. It's AJ brand. Sooooo cheap (T_T)

You can find more information about the induction cooker from Google.
http://en.wikipedia.org/wiki/Induction_cooker
http://www.google.co.th/search?hl=th&q=induction+cooker

Sunday, May 17, 2009

Tuesday, March 31, 2009

Power Amp Class-D (part 2)

I went to Baanmooh today gain.
At first I am going to buy two of Power Amp Class-D 20W
But I saw this, Power Amp Class-D 12+12W, 690 BHT.



12W+12W CLASS D
Specifications
1. 12W/CH, 8 Ohms Load at 15 Vcc
2. No Heatsink
3. 32 Step DC Volume
4. Vcc 8-18 V
5. Imax 2 A at Po 12 W
6. Shutdown 160 uA


It uses digital volume control to adjust both level simultaneously.
So there will be no noise generated when the volume got dirt.

No pop/click sound generated when turning on/off power switch.
(The same as 20W.)

I have measured its power consumption:
- No sound, 15 mA
- Playing at normal level, 25 mA
- Driving SubWoofer speaker, 125 mA




[See all photos]

Friday, March 20, 2009

Modify Car MP3 Player (part 2)

Oops! I did it again... errr... I mean I bought it again.

A Car MP3 Player, 220 baht, with a new circuit design. (But the same crap sound quality)
So I added an antenna and 2 capacitors to add more treble.
Now its sound quality is better than some radio stations. ;-)

- Antenna, use thin wire about 36 cm. long.
Then soldered at ANT label.
(I forgot to take the photo)

- Use 2 small 0.0068uF capacitors, then soldered into the space as shown in photos.
(I found only the big one from my spare)

- Use cutter to cut the plastic filter between LCD display and infrared receiver.
(Don't know what's that filter for)




[See all photos]

Saturday, March 14, 2009

Sigma 18-200 F3.5-6.3 DC OS lens

Sorry. This post was not available in English.
คลิกที่ เพื่ออ่านบทความเป็นภาษาไทย

Sunday, January 11, 2009

Delete unused COM ports

1. Click Start -> Run -> type cmd
2. Type set devmgr_show_nonpresent_devices=1 then press Enter
3. Type devmgmt.msc then press Enter
4. Click View -> Show hidden devices
This will display devices that are not connected to your computer.
You can right-click, then select Uninstall to remove them.

Credit: http://www.mp3car.com/vbulletin/software-software-development/110742-delete-unused-com-ports-say-inuse.html

Friday, January 9, 2009

Modify Windows Vista to obtain IP address automatically

To resolve this issue, disable the DHCP BROADCAST flag in Windows Vista. To do this, follow these steps:

1. Click Start, type regedit in the Start Search box, and then click regedit in the Programs list.
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{GUID}
In this registry path, click the (GUID) subkey that corresponds to the network adapter that is connected to the network.
3. On the Edit menu, point to New, and then click DWORD (32-bit) Value.
4. In the New Value #1 box, type DhcpConnEnableBcastFlagToggle, and then press ENTER.
5. Right-click DhcpConnEnableBcastFlagToggle, and then click Modify.
6. In the Value data box, type 1, and then click OK.
7. If the DhcpConnForceBroadcastFlag is 1, double-click and modify it to 0.
8. Close Registry Editor.

By setting this registry key to 1, Windows Vista will first try to obtain an IP address by using the BROADCAST flag in DHCP Discover packets. If that fails, it will try to obtain an IP address without using the BROADCAST flag in DHCP Discover packets.

MORE INFORMATION
If you know the router or the non-Microsoft DHCP server does not support the DHCP BROADCAST flag, you can set the following registry entry as follows instead of using the DhcpConnEnableBcastFlagToggle registry key.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{GUID}

Value name: DhcpConnForceBroadcastFlag
Value type: REG_DWORD
Value data: 0
Note A data value of 0 disables this registry entry. You can use this registry entry to prevent Windows Vista from using the DHCP BROADCAST flag. After you set this registry entry, Windows Vista never uses the DHCP BROADCAST flag.

Credit http://support.microsoft.com/kb/928233


How to get GUID value?
1. Click Start, type cmd, press Enter.
2. type ipconfig /all, then look for Physical Address of your adapter.
3. type getmac, then you'll get the Transport Name as GUID value.


But if the IP address is still unable to be obtained, the only way to do is to fix IP address, Gateway, and DNS address in Windows Vista.

Thursday, December 11, 2008

It's NOT my birthday

When I say I'm gonna buy cake, why people always ask me "Whose birthday???"
I just wanna eat cake. That's it!

This is vanilla baby cake from 7-11, 52 BHT.




[See all photos]

Tuesday, December 2, 2008

Cold & Cool!

Live from Fang, Chiang Mai.

Sunday, November 16, 2008

OOTOYA - A Japanese Restaurant

Tonight I had a dinner at Ootoya Esplanad, a Japanese restaurant.


They cooked using charcoal.


Ice green tea. Very similar to green tea in Japan.


Hot green tea.


Katsudon pig with rice, 200 BHT.
Served with bottle gourd soup, pickle cucumber, and Miso soup.
I was too full to had another ice-cream. :'(


Pickle cucumber. Not too sour.


PS. All photos, except the brochures, were taken by hTC Touch Diamond Pocket PC.

[See all photos]

Friday, November 7, 2008

Low Voltage Setting for PIC microcontroller

My Slave Flash didn't fire with camera's flash, don't know why.
So I developed a new flash controller using PIC microcontroller.

But the problem is,
PIC 16F628A will work on at least 4.3 volt of power supply.
2 cells of rechargable battery can only provide up to 2.4 volt.
After asking on Pantip's webboard, I got the answer from Professor.
I should tried setting Brown out reset=Disable, and it works!!!
It works even at 1.7 volt. :D

To set Brown out reset=Disable in Mikroelektronika mikroC,
Click on Project -> Edit Project, then place checkmark on BOREN_OFF.
If you don't use crystal higher than 4 MHz, you can remove checkmark on HS_OSC,
and place checkmark on XT_OSC to reduce power comsumption.

Wednesday, November 5, 2008

Panasonic DMC-FZ18 1.05 & 1.08 Firmware

I bought Panasonic DMC-FZ18 in the middle of 2008.
It's 1.04 firmware at first.
Then I upgraded to 1.05, and now it's 1.08. No problem found yet.

*** Warning!!! ***
You MUST check your current firmware version before upgrading.
- If it's newer or the same as here, don't upgrade.
- If it's older, then it's up to you.



Firmware version checking
http://regex.info/exif.cgi
Take any photo at the smallest size. Then upload to this website.
You'll see your camera's firmware version.


Blue Band testing
http://fz18.ruudabeln.nl/blueband.htm
Most FZ18 cameras sold before June 2008 have the Blue Band problem.
Only Panasonic service center can fix it.


Panasonic DMC-FZ18 firmware 1.0.5
http://rapidshare.com/files/160871066/fz18_firmware1_05.rar
Upgrading procedure is included.


Panasonic DMC-FZ18 firmware 1.0.8
http://rapidshare.com/files/160873300/fz18_firmware1_08.rar
Upgrading procedure is included.


WARNING! - DO AS YOUR OWN RISK!!!


***** Firmware_History *****

<Ver 1.08>
* Improved horizontal noise, in starry sky scene mode / manual exposure mode.
(The noise may appear when shutter speed is set to around 15 sec. by the camera.)

<Ver 1.07>
* Improved blue band may appear on a picture taken slightly and
need three components change on the MAIN PCB.

<Ver 1.06>
* Improved detecting speed faster for the face detection.
* Improved AWB function.
* Improved the date information may not correctly printed (PictBridge).

<Ver 1.05>
* Improved detecting time faster for the face detection.
* Improved an over ISO sensitivity gain.
* Improved out of focus at 1m, in the tele-macro mode.


*** If you see a yellow "!" instead of Lumix logo when turning off ***


After finishing the procedure, when you turn off the camera a yellow "!" insted of the lumix logo will appear. It is dued to the world factory setting to be not setted. It's not vital for the camera functionality but is "noisy" for me :P

To remove it do the following and BE CAREFUL NOT TO SELECT NONE(JAPAN) or (P)NORTH AMERICA settings (when asked) because this change will not be reversible, even with a new firmware update ! (your camera will be JAPAN or NORTH AMERICA FOR EVER !). You will understand it reading on.

BACKUP ANY PICs FROM THE CAMERA INTERNAL MEMORY OR YOU WILL LOOSE IT !

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

• Step 1. The temporary cancellation of initial setting:
Set the mode dial to “[ P ]”.
While keep pressing [ AF macro/Focus switch ] button and “[ Upper arrow Cursor ] button” simultaneously, turn the Power on.
• Step 2. The cancellation of initial setting:
Set the mode dial to “[ Playback ]”.
Press [ AF macro/Focus switch ] button and “[ Upper arrow Cursor ] button” simultaneously, then turn the Power off.
• Step 3. Turn the Power on:
Set the mode dial to “[ P ]”, and then turn the Power on.
• Step 4. Display the INITIAL SETTING:
While keep pressing [ MENU ] and “[ Right arrow Cursor ] button” simultaneously, turn the Power off.

The camera WILL NOT SHUT OFF and a selection menu will appear.
BE CAREFUL HERE, DO NOT SELECT NONE(JAPAN) OR P(NORTH AMERICA) OTHERWISE YOU WILL NOT BE ABLE TO CHANGE IT IN THE FUTURE !

The selection menu is made of 3 screens, choose the right option for your country following this list:

a) DMC-FZ18 (Japan domestic model) NTSC Japanese Year/Month/Date (DO NOT USE THIS ONE unless you have a japanese model)
b) DMC-FZ1P/PC/PL NTSC English Month/Date/Year (DO NOT USE THIS ONE unless you have an American model)
c) DMC-FZ18EB/EG/E/GC/GN/SG PAL English Date/Month/Year
d) DMC-FZ18EF PAL French Date/Month/Year
d) DMC-FZ18EE PAL Russian Date/Month/Year
e) DMC-FZ18GK PAL Chinese (simplified) Year/Month/Date
h) DMC-FZ18GT NTSC Chinese (traditional) Year/Month/Date
h) DMC-FZ18GD NTSC Korean Year/Month/Date

You can know which is the one for your camera looking for the following logo letters under the camera plastic case :

VCI = None(Japan) model
FC UL SA = P/PC models
V C E dve = EB/EF/EG/E/GN models
PCT = EE model
full model number (with suffix) = GD/GK/GT models
none of the above = PL/GC/SG models

I have an european model and I have selected the EB model without any problem !

That's all ! Other firmware versions are welcome !

Credit: http://www.flickr.com/groups/panasoniclumixdmcfz18/discuss/72157603940934243/

Friday, October 24, 2008

Mute System Volume on Shutting Down

1. Download NirCmd,then extract to C:\Program Files\NirCmd


2. Click Start -> Run, then type gpedit.msc


3. Go to Computer Configuration -> Windows Settings -> Scripts (Startup/Shutdown), then double click on Shutdown


4. Click Add button, type C:\Program Files\NirCmd\nircmd.exe into Script Name.
And type mutesysvolume 1 into Script Parameters.
Click OK and close the Group Policy window.


To unmute system volume, click on Volume at System Tray, then uncheck the Mute.
Or you can also press a Mute/Unmute function key on your laptop.

Thursday, October 16, 2008

Mini Pre-microphone

Have you ever tried to use dynamic microphone with PC?
If you have, you'll know that it won't work.
So a microphone amplifier is needed.
And I've found one at Baanmooh, it's 200 BHT, very small.
The sensitivity can be adjusted.
It can operate at 0.9 Volt 0.8 mA.
If you use a 1.5 Volt 800 mAh button cell battery,
it'll last for 1000 hours, or 41 days!!!












[See all photos]

Tuesday, October 7, 2008

Power Amp Class-D

Today I got a power amp from NPE.
It's Class-D Power Amp 20W, 665 BHT



20 WATTS CLASS D
Specifications
1. 20W at 8 ohms 16 Vcc
2. No Heatsink
3. Short Circuit Protection
4. Vcc 9-18 V
5. Imax 1.3 A at Po 20 W
6. Shutdown 1 uA

Can't believe that it requires no heat sink.
I used to do 2W power amp, it's very hot and have to use heat sink.
And also can't believe that it requires only 1.5A transformer.
Most 30W power amp requires 5-6A transformer.

But when I tested it to drive a subwoofer speaker, powered by very cheap 1A transformer.
It's soooo amazing!!!
After continuous using about 4 hours, no heat generated at all. Like it's not operating.
This very cheap 1A transformer is not enought to supply the AA battery charger.
But this power amp powered by that transformer can shake my door!

ClassEfficiency
A25% (theoretical)
ABless than 78.5% (theoretical)
D80-95% (practical)
(Credit http://en.wikipedia.org/wiki/Electronic_amplifier)

[Sat 11 Oct 2008]
Finally, I put my power amp class-D in an (antiquated) box.
Althought it's looked uninterested, but it can shake the room, no heat generated.





If you want a subwoofer filter, try this. Subwoofer Filter

[ดูรูปภาพทั้งหมด]