Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

I want to help in this montage for writing in a language c via mikroc

Status
Not open for further replies.

ismail4mei

Newbie level 3
Newbie level 3
Joined
Mar 12, 2013
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,389
Description:

This device has been designed to control the office (AC, Lamp and door).
Using PIC16F877

When the device get start will ask about the password (the default is 1234)
Then it will open the menu

If the door is closed then it will ask you if want to open the door.

If you click “enter” then it open the door relay for 4 seconds.

When you press “Next” then it will do the same thing with the AC

Then “Next” for the Lamp

Then it will give an option to open all devices at a time.

Then to close all device.

Design: Sans titre.png

the file .hex:

PHP:
:02000000AC2E24
:06000600000000000800EC
:10000C000F3083120313FC004730FD00FD0B0C284E
:0A001C00FC0B0C2800000000080097
:0E002600213083120313FD00FD0B1728080084
:1000340083160313DF1B21288312861123288312BE
:10004400861583165F1B2928831206112B28831219
:1000540006158316DF1A312883128610332883127B
:10006400861483165F1A3928831206103B288312DC
:100074000614831631184128831206164328831266
:1000840006128616032086128316DF194C28831263
:1000940086114E288312861583165F1954288312FD
:1000A40006115628831206158316DF185C2883125E
:1000B40086105E288312861483165F1864288312C0
:1000C4000610662883120614831631186C288312CE
:1000D40006166E28831206128616032086128316CD
:0C00E400311C7628062077281320080025
:1000F0008316031331105E08DF001A2083163114B3
:020100000800F5
:100102009328803083160313DA00A628C030DA0061
:10011200A6289430DA00A628D430DA00A628803047
:10012200DA00A628831603135A08013A0319822813
:100132005A08023A031987285A08033A03198A28E7
:100142005A08043A03198D2890285B03F0005A08D4
:10015200F0077008DA007008DF001A2083163110E9
:10016200DD015D085C07840000080319C0285D08F2
:100172005C0784000008DE007820DD0AB228311412
:02018200080073
:0A0184008312031305148510080010
:10018E008312031308141530FB004B30FC00BE30F5
:10019E00FD00FD0BD028FC0BD028FB0BD028000057
:0401AE00081008002D
:1001B200013083160313DF001A2001308316DA00A0
:1001C2000130DB004830DC00812000302D06031DA9
:1001D200EC2801302C06031DF5280230DA0001302C
:1001E200DB002730DC00812000302D06031DFB28B8
:1001F20002302C06031D17290230DA000130DB0021
:100202002130DC0081202B08013A031D1029023025
:10021200DA000930DB004130DC008120172902308E
:10022200DA000930DB003A30DC00812000302D0694
:10023200031D1D2903302C06031D39290230DA0063
:100242000130DB003230DC0081203008013A031D2E
:1002520032290230DA000930DB004130DC00812033
:1002620039290230DA000930DB003A30DC00812023
:1002720000302D06031D3F2904302C06031D48299A
:100282000230DA000130DB00A030DC0081200030D7
:100292002D06031D4E2905302C06031D5729023059
:0E02A200DA000130DB006630DC00812008004D
:0A02B00083120313051085140800E3
:1002BA008312031388140815881508168816081758
:1002CA00881701308316AB000130B000C720080040
:1002DA008312031308108810081188110812881253
:0C02EA00081388138316AB01B001080054
:1002F600013083160313DF001A2001308316DA005B
:100306000130DB004830DC008120BE01BF01C001A6
:10031600C101C201C301C401C501C601C701003044
:100326002A06031D982900302906031DA329023039
:10033600DA000130DB005930DC008120C220B3290D
:10034600003083162A06031DAA2901302906031D3B
:10035600B329582101308316AC000030AD00D920F6
:0203660008008D
:10036800063083120313FD00FD0BB82900000800B6
:1003780083160313D501D701D8011030D9000430F2
:1003880058020318EA29F0308312870083165909A6
:100398008700032003200F3083120705F000700840
:1003A8008316D60070080319E4295708D5005608A3
:1003B8000319E229D60CD613D50ADB290430D80054
:1003C800D90D59100430D707D80AC3295508F000A9
:0203D80008001B
:1003DA00403083120313F0001F30F100F201F301E1
:0203EA00080009
:1003EC0083120313F801F9011030FC00710DF80DA4
:1003FC00F90D7408F8027508031C750FF90203183F
:10040C000E2A7408F80775080318750FF9070310FE
:0A041C00F00DF10DFC0BFC290800A7
:10042600BC217008D4000F3083120705F0000319B1
:0E0436001E2AB421162A83165408F00008006E
:10044400831603133D08463A031D2B2AA901AA016A
:100454007B210030831603132A06031D332A003040
:100464002906031D8B2A3C303D020318652A80307F
:10047400F000803047067002031D422A4608033C00
:100484000318452A7B213030831603133D02F30001
:100494007308BD004608F0004708F100F00DF10DA7
:1004A40070107008BE3E840073088000840A8001C6
:1004B400C60A0319C70A0230DA0046080A3EDB00FE
:1004C4006430DC0081203F083306031D6B2A3208A8
:1004D4003E06031D8B2A41083506031D732A340882
:1004E4004006031D8B2A43083706031D7B2A360862
:1004F4004206031D8B2A45083906031D832A380842
:100504004406031D8B2A0130A9000030AA007B2178
:1005140008000030831603132A06031D932A0130B2
:100524002906031D602B30303D02F1007108BD0027
:100534007108003A031D9F2AC72083163D08013A1B
:10054400031DAD2A02308312880683162B0801305E
:10055400031D0030AB003D08023A031DBA2A0430E3
:1005640083128806831630080130031D0030B00062
:100574003D08033A031DC12A0830831288068316F6
:100584003D08043A031DC92A1030831288068316D5
:100594003D08053A031DD12A2030831288068316AC
:1005A4003D08063A031DD92A403083128806831673
:1005B4003D08073A031DE12A80308312880683161A
:1005C4003D08083A031DE72A5D2183163D08093AD0
:1005D400031DED2A6D2130303D07F1007108BD0087
:1005E4007108413A031D082B00302D06031DFC2A17
:1005F40001302C06031D022B0630AC000030AD0088
:100604000130AC02031CAD03D92008003D08423A76
:10061400031D1B2B00302D06031D122B05302C0649
:10062400031D162BAC01AD01AC0A0319AD0AD92088
:1006340008003D08433A031D602B00302D06031DBE
:10064400252B01302C06031D282BC72000308316D0
:100654002D06031D2F2B02302C06031D3A2B0230CE
:100664008312880683162B080130031D0030AB006B
:1006740000302D06031D402B03302C06031D4B2B8D
:10068400043083128806831630080130031D0030BD
:10069400B00000302D06031D512B04302C06031D21
:1006A400542B5D21003083162D06031D5B2B053072
:0E06B4002C06031D5E2B6D21D92008000800C6
:1006C20083120313FB01FA01F901F801A001730D72
:1006D200F80D7408F8027508031C750FF902760804
:1006E200031C760FFA027708031C770FFB02000146
:1006F200031C0130A002F30D0730FC00730DF80D4E
:10070200F90DFA0DFB0DA00D7408731C9A2BF8025B
:100712007508031C750FF9027608031C760FFA029E
:100722007708031C770FFB020001031C0130A002B3
:10073200AB2BF80775080318750FF907760803182D
:10074200760FFA0777080318770FFB0700010318E3
:100752000130A007F30DFC0B7F2B720DF80DF90D84
:10076200FA0DFB0DA00D7408731CC92BF802750855
:10077200031C750FF9027608031C760FFA0277083C
:10078200031C770FFB020001031C0130A002DA2BCD
:10079200F80775080318750FF90776080318760F1E
:1007A200FA0777080318770FFB07000103180130D7
:1007B200A007F20D0730FC00720DF80DF90DFA0DCD
:1007C200FB0DA00D7408721CF82BF8027508031CAF
:1007D200750FF9027608031C760FFA027708031CDC
:1007E200770FFB020001031C0130A002092CF8075D
:1007F20075080318750FF90776080318760FFA07BC
:1008020077080318770FFB07000103180130A007D0
:10081200F20DFC0BDD2B710DF80DF90DFA0DFB0D30
:10082200A00D7408721C272CF8027508031C750FA2
:10083200F9027608031C760FFA027708031C770F79
:10084200FB020001031C0130A002382CF8077508D6
:100852000318750FF90776080318760FFA07770859
:100862000318770FFB07000103180130A007F10DF1
:100872000730FC00710DF80DF90DFA0DFB0DA00DFE
:100882007408711C562CF8027508031C750FF902C6
:100892007608031C760FFA027708031C770FFB0217
:1008A2000001031C0130A002672CF8077508031829
:1008B200750FF90776080318760FFA0777080318F9
:1008C200770FFB07000103180130A007F10DFC0BA5
:1008D2003B2C700DF80DF90DFA0DFB0DA00D7408EF
:1008E200711C852CF8027508031C750FF902760835
:1008F200031C760FFA027708031C770FFB02000134
:10090200031C0130A002962CF80775080318750F16
:10091200F90776080318760FFA0777080318770F96
:10092200FB07000103180130A007F00D0730FC009F
:10093200700DF80DF90DFA0DFB0DA00D7408701C69
:10094200B42CF8027508031C750FF9027608031C13
:10095200760FFA027708031C770FFB020001031CD3
:100962000130A002C52CF80775080318750FF907A6
:1009720076080318760FFA0777080318770FFB0734
:10098200000103180130A007F00DFC0B992C701820
:10099200D82C7408F80775080318750FF90776083C
:1009A2000318760FFA0777080318770FFB0708007A
:1009B200831203132230FC00F801F901FA01FB0152
:1009C200FC0303190F2D0310FB0CFA0CF90CF80CA5
:1009D200F30CF20CF10CF00C031CE12CFC030319D8
:1009E200012D7408F80775080318750FF9077608C2
:1009F2000318760FFA0777080318770FFB07E52C21
:100A02007408F80775080318750FF90776080318B4
:0E0A1200760FFA0777080318770FFB07080026
:100A200083160313D403D4035408003C03181D2D6C
:100A3000D403000000000000142D0000000000009E
:060A4000000000000800A8
:0E0A4600831603132F088A002E088200080072
:100A540083160313861206120610861006118611D9
:100A640083128612061286110611861006100620BD
:100A740006200620861406148616032086120620F5
:100A84008616032086120620861603208612062068
:100A94000610861603208612062086160320861268
:100AA40086108615861603208612062086110614E3
:100AB4008616032086120610861603208612062048
:100AC4008616032086120614861603208612062034
:100AD400061086160320861286150615861406143B
:0E0AE4008616032086120620831631140800A1
:0A0AF200FF3083160313870008008D
:100AFC0083160313BD0113227008BD00700803197F
:100B0C00812D3D080A3C03188E2D3630BD07902DE3
:0A0B1C002F30BD0722227E2D0800B5
:100B2600033083120313FC009730FD00FD0B992D53
:0A0B3600FC0B992D000000000800E0
:100B4000ED21E830F4000330F500F601F701D92477
:100B500070088316D0007108D1007208D2007308A3
:100B6000D3004808F4004908F500F601F7016123B5
:100B700070088316D0007108D1007208D200730883
:100B8000D3007008F5007108F6007208F7007308CA
:100B9000F800F80CF70CF60CF50CF813F80CF70C41
:100BA000F60CF50CF8137508F0007608F1007708DC
:100BB000F2007808F300F30CF20CF10CF00CF313D4
:100BC0007008CC007108CD00ED2183164A08F400AE
:100BD0004B08F500F601F701D92483164C08F900FB
:100BE0004D08FA00FB01FC010330F8007908F4001D
:100BF0007A08F5007B08F6007C08F70078080319EE
:100C0000082EF40DF50DF60DF70D7410FF3EFF2DB7
:100C1000612370088316D0007108D1007208D200D9
:100C20007308D3000A30F4000030F5004C08F000DF
:100C30004D08F100F62170088316CC007108CD0034
:100C400000307102031D262E033070020318292E76
:100C500008003C0884005308003C031D392E52084C
:100C6000003C031D392E5108003C031D392E50084D
:100C7000003C0318742E3B0880044D080319502EC5
:100C8000CE01CF0100304F02031D482E4D084E0209
:100C90000318502ED4011025CE0A0319CF0A422E74
:100CA0004C08D40010253A0880054D080319682E19
:100CB000CE01CF0100304F02031D602E4D084E02C1
:100CC0000318682ED4011025CE0A0319CF0A5A2E14
:100CD0004C08D40010250130D002031CD102031CA3
:0E0CE000D202031CD3022B2E3A088005080016
:100CEE00831603134808BC004908F1000130F000D8
:100CFE0071080319862EF00D7010FF3E802E7008BD
:100D0E00BB00F0097008BA008030480784007008F4
:0A0D1E0080058413700880050800AA
:100D28001A3083120313FC00F830FD00FD0B9A2ED5
:080D3800FC0B9A2E00000800DC
:100D400023258A110A128000840AAE0A0319AF0A09
:080D5000F003031DA02E0800B2
:100D58006027093083160313C8000130C9007726BD
:100D68007030C8000330C900F430CA000130CB002D
:100D7800A025942670308316C8000330C900C830F7
:100D8800CA00CB01A025932570308316C800033014
:100D9800C900C830CA00CB01A025AB01B00185014C
:100DA80006309F008312850101308316B20000309F
:100DB800B3000230B4000030B5000330B600003094
:100DC800B7000430B8000030B9008601FF30831244
:100DD8008600FF30831686008801831288012A2541
:100DE8000130DF001A200C308316DF001A20792525
:0A0DF800AC01AD017B217E25002F28
:100EC000213084004F3083120313F0000630831664
:100ED000AE000730AF00A026A03084000B30F00039
:0E0EE00055308316AE000730AF00A026080084
:0C0E0C0041344334203469347334003422
:100E18004F347034703465346E34203444346F3455
:060E28006F347234003447
:100E2E004C3461346D34703420346934733400348E
:0E0E3E0043346C346F347334653464340034E0
:0E0E4C004F34703465346E34653464340034D1
:100E5A00573465346C3463346F346D3465345434C8
:100E6A006F3420344F3466346634693463346534FD
:020E7A00003442
:100E7C00503461347334733477346F347234643473
:060E8C0020343A3400346A
:040E92002A340034CA
:100E960043346C346F3473346534203441346C34E9
:040EA6006C34003474
:100EAA004F34703465346E34203441346C346C34CD
:020EBA00003402
:040EBC0000340034CA
:02400E004A2F37
:00000001FF

Thank you my brothers.
 

Is there who has experience in writing program mikroc
The typed, I need this program.

- - - Updated - - -

Is there who has experience in writing program mikroc
The typed, I need this program.
 

I have experience in writing mikroC Pro PIC projects but your menu code will be a little complex. You have to clearly explain what each menu displays and how you navigate between different menus.
 

This is a montage of program ''proteus pro 7.10'' with file.hex




- - - Updated - - -

Description:

This device has been designed to control the office (AC, Lamp and door).
Using PIC16F877

message 1: ''welcometo office password'' the password (the default is 1234)
Then it will open the menu

message 2: ''welcometo office oppen door'' If the door is closed then it will ask you if want to open the door.

If you click “enter” then it open the door relay for 5 seconds.

When you press “Next”
message 3: ''welcometo office AC is closed''
If you click “enter” the AC is opened ''welcometo office AC is opened''
If you click ''enter'' the AC is cleced ''welcometo office AC is closed''

When you press “Next”
message 4: ''welcometo office LAMP is closed''
If you click “enter” the LAMP is opened ''welcometo office LAMP is opened''
If you click ''enter'' the LAMP is cleced ''welcometo office LAMP is closed''

When you press “Next”
message 5: ''welcometo office oppen all''
If you click “enter” (lamp,ac,door) is oppen

When you press “Next”
message 6: ''welcometo office cl all''
If you click “enter” (lamp,ac,door) is oppen

When you press ''F'' The program dates back to the beginning

- - - Updated - - -

ismailhdled@gmail.com
 

I want one of the experts that the typed language c via mikroc pro, I'm not that good at this language
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top