www.mcu.hk Microcontrollers Made Easy
Creativity is only limited by imagination

Home

Products

Download

Experiments

Support

Chips Layouts

Links

About Us

Gallery



Warning:
1. Incorrect power connection to any electronic and electrical equipment may seriously damage them or even cause a fire hazard or explosion. Users must take care to identify the correct pins and supply an acceptable voltage to operate them safely. A good quality power supply unit with short circuit protection is highly recommended.
2. Be careful with the current load when conducting tests with motors. You can use an ampmeter to find out the total current. Heatsinks must be fitted to protect the voltage regulators from overheating.
3. Since the L293D motor controller IC is able to take 600mA of current per channel, so, be cautious not to exceed it's limit. SN754410 is a perfect substitute which can deliver upto 1A per channel.
4. Since all the outputs of ULN2003 IC will be ON initially , therefore, when conducting tests for (common VCC) unipolar motors, DO NOT connect the Common lead to the +6V terminal until the program is running, just to avoid excess current load.
5. Because of the working mechanism of the Video Camcorder, the 7-Segments and LEDs in the videos look flickering, but, in reality, they are not!

Reference:
TinyC, Operating Manual


Click this link to see MT-SC13SQ Servo Sequencer in action, http://www.mcu.hk/SQ.php

Selected experiments with MicroBoard and MT chips
Experiment Description
Involved functions / Notes
Program Listing
Video / Demo
Refreshing 7-Segments by using the Timer Interrupt
This feature is impossible from our competitors!
7Seg.prg
7Seg.mpg
2x16 LCD control and display demo
A native LCD implementation in TinyC
lcd1.prg
lcd1.mpg
MT Motor Controller in TinyC
Implementation of the MT protocol in TinyC
mctrl.prg
mctrl.mpg
Displaying characters
writes()
writes.prg
writes.mpg
A random number generator
writei(), random()
random.prg
random.mpg
Displaying numbers in different radix
writei()
writei.prg
writei.mpg
Displaying a raw byte
writeb()
writeb.prg
writeb.mpg
Showing LED trains
toggle(), delay()
led-1.prg,led-2.prg,led-3.prg
led-1.mpg,led-2.mpg,led-3.mpg
A number counter
writei()
counter.prg
counter.mpg
TinyC implementation of quicksort algorithm
Just to show the power of TinyC
qsort.prg
Test input keys
scankey(), getkey(), writec()
key.prg
key.mpg
Bits complement test
writeb()
comp.prg
comp.mpg
Factorial recursion test
writei()
fact.prg
fact.mpg
IR decoder
ircode()
ircode.prg
ircode.mpg
Analogue to digital conversion
readadc()
adc.prg
Digital to Analogue conversion
sys()
dac.prg
Real Time Clock
sys(), readsys(), writec()
rtc.prg
Digital Clock (by using Timer Interrupt)
timer interrupt, writec()
clock.prg
Testing interrupts
Interrupts in TinyC
isr.prg
Serial communication with PC
setcomm(), readm(), writem()
comm.prg
comm.mpg
Serial communication with PC (with USB-COM)
setcomm(), sys()
4xCOM.prg
Making a time-bar
getkey(), delay(), toggle()
time-bar.prg
time-bar.mpg
Sound generation
sound(), delay()
sound.prg,music.h
sound.wav
Making a piano
sound(), getkey(), pinhigh()
piano.prg,music.h
piano.wav
EEPROMs tests
readm(), writem(),writes()
e2prom.prg
Test all the EEPROMs, 7-Segments, LED bars and speaker
pinlow(), pinhigh(), sound(), delay(), readm(), writem(), writes()
systest.prg
Driving a unipolar stepper motor
pinlow(), pinhigh(),delay()
stepm.prg
stepm.mpg
Driving a unipolar stepper motor with speed control
pinlow(),pinhigh(),delay(),pinstate()
stepm-1.prg
stepm-1.mpg
Driving a bipolar stepper motor
pinlow(), pinhigh(),delay()
stepm-2.prg
stepm-2.mpg
Move a servo by numeric keys
servo(),writec(), getkey()
servo-1.prg
servo-1.mpg
Move a servo repeatedly
servo(),writei()
servo-2.prg
servo-2.mpg
Move servos individually and simultaneously
servo(), delay()
servo-3.prg
servo-3.mpg, photo
   
Robotics Experiments  
Control motors by numeric keys
getkey(),pinlow(), pinhigh(),delay()
run-key.prg,motor.h
run-key.mpg
Control motors by IR remote control
ircode(),pinlow(), pinhigh(),delay()
run-rc.prg,motor.h
run-rc.mpg
Control motors by serial comms.
setcomm(),readm(),pinlow(),pinhigh(),delay()
run-comm.prg,motor.h
run-comm.mpg
A black-line following robot
pinstate(),pinlow(),pinhigh(),delay()
run-line.prg,motor.h
triangle.mpg,race-track.mpg
A light-seeking robot
pinlow(),pinhigh(),delay(),I/O interrupt
run-light.prg,motor.h
run-light.mpg
An autonomous object-avoiding robot
ircode(),pinstate(),pinlow(),pinhigh(),delay()
run-isr.prg,motor.h
An autonomous object-avoiding robot+IR+4-Steps
ircode(),pinstate(),pinlow(),pinhigh(),delay()
run-auto.prg,motor.h
run-auto.mpg,photo, Video1,Video2


Home

Products

Download

Experiments

Support

Chips Layouts

Links

About Us

Gallery

Copyright © 2007 MicroTech Systems Limited. All rights reserved.