Daryl Leung's Electronic Homepage
梁沛賢的電子世界
I am 36 years old living in Hong
Kong and am indulged in eletronic hobby more than 20 years. This webpage shows
my "achievement" in my hobby. There is no gimmick in my webpage as
my objective is just to show my projects to those electronic hobbyists and I
would like to share my experience in making the eletronic projects. Below show
some of my projects:
Current Project: The Human-Like Robot
This is my first human-like robot called
"Silver Warrior". He is a 350mm tall of weight about 2kg. He consists
of 19 moving joints (2x5 for legs, 2x4 for hands and 1 for head) which are all
driven by RC servos. 10 high torque servos ranging from 6.5 to 9 kg-cm are used
to provide sufficient power to drive the leg. The control unit of the robot
consists of 4 nos. of 89c51 together with a RS 232 wireles module. 3 nos. of
89c51 are programmed to generate signal pulses to control the servos. The remaining
89c51 and the wireless RS 232 module are used for RS 232 communication. The
power of the robot consists of a 9v battery for the control unit and a 6v 600mAH
NiCd battery for all the joints. The operation time is about 5 minutes. The
robot is connected to a PC and controlled by Visual Basic. Data from PC is first
transferred to a transmitter via USB and the transmitter transfers the signal
to the robot via wireless RS232. Below shows some of the robot photos:




Wireless RS 232 module


The control unit

Photo of the transmitter

Some Video
Latest Project: Voice Record Module
This voice module can record and play back
the sound. It contains an Audio IC (Part number is not known) and a static 32k
static Ram. The sampling rate is controlled by a 200k variable resistor. It
can record voice up to 30s depends on the sampling rate selected.
More Photos:
Latest Project: The "Star"
LED Display
I called it the "Star" as the
LEDs are arranged in star-like pattern. This is my second generation of LED
display using micro-computer control (89C51). The LED display pattern is programmed
by a PC-computer software communicating via USB/Serial Port. The LEDs are driven
by 4 TTL IC (74LS 374). As each LED can be programmed individually to turn On
or Off and hence any patterns can be created.
More Photo:
The PC software to programme the LED display
is written by Visual Basic 6.0. The template is as shown below. The pattern
is edited by clicking the "ciricles" which represent the LEDs to turn
them On or Off. The patterns can be saved to and loaded from the files.
Latest Project: The Tiltmeter
This device is to measure the angle of
any inclined surfaces. The operation is as follows: Rest the device on any inclined
surface and then press the button and the LCD display shows the angle. To achieve
angle measurement, a gravity pendulum is used (See view 2). A battery is used
to act as a weight and the fixed point is connected to a potentiometer. The
pendulum swings uner different inclined angles as the weight (battery) always
point to the ground due to gravity and thus the resistance in the potentiometer
changes. This resistance / voltage changes will send to the MPU via an AD converter
(AD 0804).
More Photo:
Latest Project: Robot No.1
It is actually a programmed car. The car
can be programmed to move in any directions and durations. It consists of a
MPU (89C51), an EEPROM (93C66) to memorize the steps, LCD panel to display the
steps and durations as well as 6 relays to control the motors.
More Photo:
Previous Project: 8255 Card
It is a 8255 card plug in ISA slot. It
provides 3 nos of 8-bits bi-directional ports. The card can be controlled by
programs such GW basic and C++. The address to activiate it is 300H.

More Photos:
Previous Project: Software for Robot
Arm Kit
It is written by Visual Basic to control
the robot arm kit that I bought it from Japan. The arm is controlled by pressing
the buttons in the template. The software can also record the steps and then
play back.

Previous Project: PC Scope
It is a single channel PC-scope. This PC-scope
consists of an A-D converter CA3306, static RAM 6116 and several logic ICs.
It is connected to the ISA slot and the address is 300H. The sampling rates
are ranging from 200Hz to 8MHz. A PC software writtern by Visual Basic is used
to view the waveform.
More Photo:
Previous Project: The Clock
It is a "strange" clock. To read
the time as follows: The top row is the hour. The second and third rows are
second and first digits of the minute. The most left LED is "1" and
the second most left is "2" and then so on. The 50Hz from AC power
source is used for the precised time based for the clock.
More Photo:
Old Project: The "Heart"
I called it the "Heart" as the
LEDs are arranged in heart-like pattern. The display pattern is as follows:
The LEDs turn on one by one starting from the top in clockwise direction. When
all LEDs turn on, all LEDs then turn off and the cycle again. The dip switch
is used to select the songs (2 music ICs attached) and speed of the pattern.
More Photo:
Old Project: The Signal Generater
This signal generater can generate square,
triangle and sine waves of frequency ranging from several hertz to 500 kHz.
The heart of this generater is IC 8038.

More Photos:
Very Old Project: The Regulater
This regulater can provide voltages ranging
from 3v to 12v with current up to about 3A. The large current is driven by 2N3055
attached in the heat sink.

Very Old Project: The Ear-Phone Amplifier
This ear-phone amplifier uses more than
20 transisters and printed PCB board. The output is less than 1W / per channel.

Others: My Gear Box
This stepped motor gear box will be used
in my future Robots. I have not yet proved whether these gear boxes are functionable
or not!!

Thank you for browsing my first webpage.
If you have interested in some of the above projects or you would like to build
them, you can E-mail to me and I will try my best to give you all relevant information
such as the circuits, assembly programs and visual basic programs etc.