Description
|
Unit/Price (RM)
|
Quantity (pc)
|
Price (RM)
|
Donut board
|
4.50
|
1
|
4.50
|
SILICON LABS TOOLSTICK850-B-SK
|
44.00
|
1
|
44.00
|
LCD 16x2
|
20.00
|
1
|
20.00
|
Crystal 11.0592 MHz
|
1.60
|
1
|
1.60
|
Crystal 33 MHz
|
1.60
|
1
|
1.60
|
Capacitor 30pF
|
0.30
|
2
|
0.60
|
Resistor 330 Ω
|
0.15
|
1
|
0.15
|
Resistor pack
|
2.00
|
1
|
2.00
|
Capacitor 10 uF
|
0.15
|
1
|
0.15
|
Pushbutton switch
|
1.00
|
1
|
1.00
|
7805 IC 5V voltage regulation
|
1.50
|
1
|
1.50
|
Capacitor 4.7 uF
|
0.15
|
2
|
0.30
|
Resistor 330 Ω
|
0.15
|
1
|
0.15
|
RTC DS1307
|
4.00
|
1
|
4.00
|
3v Battery
|
4.00
|
1
|
4.00
|
3v Battery holders
|
2.15
|
1
|
2.15
|
Buzzer
|
1.80
|
1
|
1.80
|
Bread board
|
16.00
|
1
|
16.00
|
|
|
TOTAL
|
RM105.5
|
|
|
TOTAL with 6% GST
|
RM111.8
|
Friday, 18 December 2015
Project Run Successfully
This is the latest video for our School bell time that was mention by my partner Arif Syazwan from the previous post. Alhamdulillah, everything was run smoothly. Last, we would like to thanks our lecturer Dr Zulkhairi for giving us so much knowledge and giving us the opportunity to try using new hardware replacing the PIC8051 that is the Silicon Lab Toolstick850. It was hard at the beginning because it was new to all the students but with Dr Zulkhairi guidance, we manage to make this project successfully.
In the end, we would like to apologize to Dr Zulkhairi if we ever did anything wrong and thank you so much Dr Zulkhairi. May Allah bless all of us.
Thursday, 17 December 2015
SUCCCED
The last post is about the program problem but after figure the problem why the program some time have problem to operate according to the code and jump to starting again and again.
This problem happen because there a watch built-in in TOOLSTICK. This watchdog/watchdog timer is a hardware timer that automatically generates a system reset if the main program neglects to periodically service it. It is often used to automatically reset an embedded device that hangs because of a software or hardware fault.
So to remove this watchdog timer, i have to direct supply the TOOLSTICK with 5V.
and i have change the PIN for PORT 1.2 to PORT 1.4 because
"This example code takes and averages 2048 analog measurements from input
P1.2 (Potentiometer input) using ADC0. This measurement can be viewed by
halting the example, or by connecting the device's UART to a UART receiver."
the potentiometer effect the I/O P1.2
Below is THE SUCCESS video
This problem happen because there a watch built-in in TOOLSTICK. This watchdog/watchdog timer is a hardware timer that automatically generates a system reset if the main program neglects to periodically service it. It is often used to automatically reset an embedded device that hangs because of a software or hardware fault.
So to remove this watchdog timer, i have to direct supply the TOOLSTICK with 5V.
and i have change the PIN for PORT 1.2 to PORT 1.4 because
"This example code takes and averages 2048 analog measurements from input
P1.2 (Potentiometer input) using ADC0. This measurement can be viewed by
halting the example, or by connecting the device's UART to a UART receiver."
the potentiometer effect the I/O P1.2
Below is THE SUCCESS video
Saturday, 12 December 2015
TESTING USING RTC
IN THIS PROGRAM, you can see it like there are some problem. So i trying to figure out why is this happening.
Friday, 11 December 2015
TESTING AFTER FLASH PROGRAM
AFTER DETECT THE PROBLEM
AFTER CLICK ON THE HAMMER ICON AND FLASH THE ICON
This testing is without using RTC
Thursday, 10 December 2015
INTERFACING WITH TOOLSTICK
Today we will Program the flash to toolstick.
The code must be change at
The code must be change at
Using keil, we using
#include <reg51.h>
but in Simplicity Studio we ne to change it to
#include <SI_C8051F850_Register_Enum.h>
#include "InitDevice.h"
so that the toolstick know each port we are using.
There are also different at void main() section
We must include this code before flash the program
IF we do not add this code, the code will not sent output to I/O port.
enter_DefaultMode_from_RESET();
This code also IMPORTANCE before flash the program.
PS;/ This code have been tested with example with or without the require code.
Wednesday, 9 December 2015
FLASH PROGRAM TO TOOLSTICK
To program the TOOLSTICK first connect the USB adapter
and connect the kit at the back of the USB adapter
HOW I FLASH PROGRAM TO TOOLSTICK
Firstly, i open the code that i want to burn
Second, focus on the top icon
the USB must detect the KIT before we can flash the program. If the program detect on my computer,
Before i flash the program WE MUST click this icon first,
Then, click on the second icon to transfer the code to TOOLSTICK
EXAMPLE FOR FIRST TRY WITHOUT CLICK THE HAMMER ICON
HOW I FLASH PROGRAM TO TOOLSTICK
Firstly, i open the code that i want to burn
Second, focus on the top icon
Before i flash the program WE MUST click this icon first,
Then, click on the second icon to transfer the code to TOOLSTICK
After FINISH the flash..DISCONNECT the USB and PLUG the USB adapter back in to receive the POWER.
PS;/ IF you miss to CLICK the HAMMER ICON , the toolstick will HAVE PROBLEM to understand the program.
EXAMPLE FOR FIRST TRY WITHOUT CLICK THE HAMMER ICON