http://www.htc.com/www/product/touchdiamond/overview.html
Saturday, August 9, 2008
First photo from HTC Touch Diamond
Taken by a Pocket PC phone. Most of them have a crap camera, but not this one. ;-)
http://www.htc.com/www/product/touchdiamond/overview.html
http://www.htc.com/www/product/touchdiamond/overview.html
Auto Fish Feeder
PIC 16F627A microcontroller was used.
There are ROM 1kB , RAM 256 bytes.
Can choose frequency per day (1-6 times a day).
Can choose feeding level (1-10 level).
The food in syringe is enought for about 1-1.5 month.




[See all photos]
There are ROM 1kB , RAM 256 bytes.
Can choose frequency per day (1-6 times a day).
Can choose feeding level (1-10 level).
The food in syringe is enought for about 1-1.5 month.




[See all photos]
Wednesday, July 16, 2008
Modify Car MP3 Player (part 1)
I had nothing to do tonight. So I modified Car MP3 Player.
Its volume level is too low. And the sound quality is not good enought.
Here is its specitication:
- 350 BHT
- LCD display for text and graphic with blue backlight.
- Display song name in English
- Play MP3 file from SD Card (or micro SD Card in SD adapter)
- Play MP3 file from USB Drive
- Receive analog sound from line-in, such as Laptop, iPod, GPS Navigator, etc.
- Frequency selectable from 87.5-108 MHz.
- Full functional infrared remote control
- 5 presets equalizer


To improve sound quality:
A very pointed soldering iron is needed. Because the circuit is very small.
Disassemble it. Then remove 2 resisters, and 2 capacitors.
And then short the connectors of 2 resisters that were removed.
The sound will be louder and little more treble.

If you want to use it with your laptop,
then you have to supply the power via USB port, instead of car charger.
You need to find an unused USB cable.
Then connect red and black wires to the circuit.
Plug USB into laptop's USB port, and Line-in cable into laptop's headphone port.

If you want to gain the range of broadcasting,
you can connect a small and long wire to the circuit's antenna (green wire).


If you got a new one with difference circuit layout, see here.
Its volume level is too low. And the sound quality is not good enought.
Here is its specitication:
- 350 BHT
- LCD display for text and graphic with blue backlight.
- Display song name in English
- Play MP3 file from SD Card (or micro SD Card in SD adapter)
- Play MP3 file from USB Drive
- Receive analog sound from line-in, such as Laptop, iPod, GPS Navigator, etc.
- Frequency selectable from 87.5-108 MHz.
- Full functional infrared remote control
- 5 presets equalizer


To improve sound quality:
A very pointed soldering iron is needed. Because the circuit is very small.
Disassemble it. Then remove 2 resisters, and 2 capacitors.
And then short the connectors of 2 resisters that were removed.
The sound will be louder and little more treble.

If you want to use it with your laptop,
then you have to supply the power via USB port, instead of car charger.
You need to find an unused USB cable.
Then connect red and black wires to the circuit.
Plug USB into laptop's USB port, and Line-in cable into laptop's headphone port.

If you want to gain the range of broadcasting,
you can connect a small and long wire to the circuit's antenna (green wire).


If you got a new one with difference circuit layout, see here.
Monday, June 9, 2008
Very slow SSH logging in
If logging in to SSH is sooooo sloooooow.
From http://ubuntuforums.org/showthread.php?t=422907
- Type
- Add this line into that file, and then save, and exit
- Type
From http://ubuntuforums.org/showthread.php?t=422907
- Type
| vi /etc/ssh/sshd_config |
- Add this line into that file, and then save, and exit
| UseDNS no |
- Type
| service sshd restart |
Sunday, June 8, 2008
Auto-Block SSH Intruder on Fedora7
From เมื่อถูก Brute-Force Attack ที่ sshd
Log in as root and type:
Then DenyHosts will do its job. No need for maintenance.
You can view the blocked IP at:
Activity log file is here:
The configuration of denyhosts is here:
Log in as root and type:
| chmod 604 /var/log/secure yum -y install denyhosts service denyhosts start chkconfig denyhosts on |
Then DenyHosts will do its job. No need for maintenance.
You can view the blocked IP at:
| /etc/hosts.deny |
Activity log file is here:
| /var/log/secure |
The configuration of denyhosts is here:
| /etc/denyhosts.conf |
Saturday, May 31, 2008
MP3 Auto-Volume Level
I have found this useful software MP3Gain
It can adjust the volume level of MP3 files, without losing quality or embedded tag (artist, art work, lyric).
To use the MP3Gain:
1. Drag MP3 file(s) or folder, and drop into MP3Gain window.
2. Edit Target “Normal” Value to 97.0
(It equals to -12.5 dB in Sony SoundForge.)
3. Click on Track Analysis button. MP3Gain will calculate how much dB will be increased or decreased.
4. Click on Track Gain button to apply the calculated dB.
Finished…

The MP3Gain developer also builds AACGain too, which can adjust the volume level of AAC files.
It also available for Linux and Mac users.
It can adjust the volume level of MP3 files, without losing quality or embedded tag (artist, art work, lyric).
To use the MP3Gain:
1. Drag MP3 file(s) or folder, and drop into MP3Gain window.
2. Edit Target “Normal” Value to 97.0
(It equals to -12.5 dB in Sony SoundForge.)
3. Click on Track Analysis button. MP3Gain will calculate how much dB will be increased or decreased.
4. Click on Track Gain button to apply the calculated dB.
Finished…

The MP3Gain developer also builds AACGain too, which can adjust the volume level of AAC files.
It also available for Linux and Mac users.
Subscribe to:
Posts (Atom)

