Documente Academic
Documente Profesional
Documente Cultură
Webpage: www.magnetcode.com
Budaya perisian industri ?
Software industry trend?
Reka bentuk projek bila-bila masa dan dimana
sahaja
Design Project Anytime and Any Place
Kelebihan Magnetcode
Tanpa komputer
No Need Computer
Tanpa pendawaian
Smartphone / Tablet is No Need Wiring Installation
a Mini Computer
Tanpa masalah penyelenggaraan
No maintenance problem
Android 4.1
and above
Your Smartphone + FREE Magnetcode ==>
Create Apps
Magnetcode
App Projects
Your Smartphone + FREE Magnetcode ==>
Create Apps
Carrot Accessories
+ +
Magnetcode
Automation & Robotics
Projects
Magnetcode Accessories
Magnetcode Projects:
www.youtube.com
(search using 'Magnetcode' keyword.)
Magnetcode For Android 4.1 and above
Download & Install Magnetcode
After all
details are
Clik to filled
(without
start any
mistake)
1st Time Login
Get the
activation
Insert username Open your Email to code from
and password get account your Email
to login activation code
Add Command
Hide / Show All
Commands
Home
Page
Command
Groups
Add Command
Page
LCD_Show = On
LCD_Show_Text = Mr Hoon
LCD_Update
LCD_Text_Size =80
Menu
?
LCD_Align = Middle
Timer = 2 sec
Clear all
LCD_Show_Text = Welcome
LCD_Update
commands in the
Timer = 2 sec 'Home Page'
Goto = 1
Home Page
We will do 3 projects
Timer Timer
2 sec 2 sec
Timer 2 sec
Project 1 Output
Press and hold any
command to add it.
You will see
'Command added' tag.
Command added
Return to
'Home'
page.
Change
background
color to red? Red
2. Timer = 1 sec
1. Background_Color = Red
2. Timer = 1 sec
Timer = 2 sec?
2
Press and hold
How to do this?
Timer Timer
2 sec 2 sec
1. Background_Color = Red 1. Background_Color = Red
2. Timer = 2 sec
3. Background_Color = Green
Press 'Run' to
4. Timer = 2 sec
test.
5. Background_Color = Yellow But stop at yellow
6. Timer = 2 sec color
background?
No Repeat?
1. Background_Color = Red
2. Timer = 2 sec
3. Background_Color = Green
4. Timer = 2 sec
5. Background_Color = Yellow
6. Timer = 2 sec
7. Goto = 1
Always at
the bottom
3. Background_Color = Green
4. Timer = 2 sec
5. Background_Color = Yellow
6. Timer = 2 sec
7. Goto = 1
Brain (Microcontroller):
5VDC, Greenbean, 20MHz
DOUT3
DOUT4
DOUT5
DOUT6
LED
(Light Emitting Diode)
(operating volt: 1.8V to 3.3V)
Power on / off
indicator
Power on / off
switch
5V
GND
APA ITU SIMULASI ?
Litar sebenar
Litar simulasi
SIMULASI – Diod Pemancar Cahaya Berkelip
Litar Sebenar
Litar Simulasi
Litar Simulasi Magnetcode
Simulation Without Simulation With
Programming Programming
Click 'Text' to edit Set color, size and Done? Press 'Run
it content Simulation'
Project 2: On off 1 LED
Dout1
GND
Blink red LED at Dout1
1. Dout1 = On
2. Timer = 2 sec
3. Dout1 = Off
4. Timer = 2 sec
5. Goto = 1
3. Dout1 = Off
4. Timer = 2 sec
5. Goto = 1
Connect your program to
the Carrot project board
Bluetooth pairing PIN: 1234
121600051
Done? Try to save the project
Litar Sebenar
Litar Simulasi
Project 5: LED Berkelip Click
'Run Simulation'
1. Read_Controller
Simulator
2. If C_Din1 = 1
3. Dout1 = On
4. End If
5. If C_Din1 = 0
6. Dout1 = Off
7. End If
8. Goto = 1
Program
Circuit
Project 6: Automatic Light
1. Read_Controller
Simulator
2. If C_Ain1 > 200
3. Dout1 = On
4. End If
Set
5. If C_Ain1 < 200 brightness
6. Dout1 = Off
7. End If Controller I/O
Read_Controller
Dout1=On
8. Goto = 1
Decision
Program If C_Ain1 = 0
End If Circuit
Project 7: LED Traffic Light
Red LED On
Litar sebenar
Litar Simulasi
Project 7: Wiring
DOUT1 DOUT3
DOUT2
GND
Project 7: Traffic Light
4. Dout2 = On
5. Timer = 2 sec
6. Dout2 = Off
7. Dout3 = On
8. Timer = 2 sec
9. Dout3 = Off
10.Goto = 1
Connect your program to
the Carrot project board
121600051
Bluetooth pairing PIN: 1234
Project 7: Upgrade edit
1. Dout1 = On
2. Background_Color=Red RUN
3.Timer = 2 sec
4.Dout1 = Off
5.Dout2 = On
6. Background_Color=Green
7.Timer = 2 sec
8.Dout2 = Off
9.Dout3 = On
10.Background_Color=Yellow
11.Timer = 2 sec
12.Dout3 = Off
13.Goto = 1
Project 7: Upgrade edit
1. Dout1 = On
2. Background_Color=Red RUN
3.Timer = 2 sec
4.Dout1 = Off
5.Dout2 = On
6. Background_Color=Green
7.Timer = 2 sec
8.Dout2 = Off
9.Dout3 = On
10.Background_Color=Yellow
11.Timer = 2 sec
12.Dout3 = Off
13.Text_Speech _Enable =On
14.Text_Speech_Text = Terima Kasih
15.Goto = 1
Free Ebook and Project Videos
Download Magnetcode FREE Ebooks:
www.magnetcode.com