Home  |   Forum  |   Projects  |   Blogs  |   Code Library  |   About Me  |   FAQ  | 
Active Topics | Members | Online Users | Avatar Legend | Search
 All Forums
 8085 Projects Downloads & Doubts
 Doubts in My Projects
 Automatic Night Lamp with Morning Alarm

                
   Only Administrators can post NEW topics in this forum
   All users can reply to topics in this forum
Previous Page | Next Page
 Reply to Topic |  Send Topic to a Friend | Bookmark this Topic Bookmark Topic |  Printer Friendly
Author  Topic 
Page: of 4

shrutika
Starting Member

 Posted - 10/01/2008 :  6:47:16 PM  Show Profile  Email Poster  Reply with Quote
I m using Vinytics kit.I checked the port addresses before using them.What is this monitor program???I used my own delay program but still alarm did not ring???


 Country: India  ~  Posts: 8  ~  Member Since: 10/10/2007  ~  Last Visit: 21/01/2008 Go To Top Of Page

binu_ji
Forum Admin

 Posted - 10/01/2008 :  10:05:20 PM  Show Profile  Email Poster  Reply with Quote
Check the Alarm by moving FF to the port directly by a instruction.

Monitor programs are inbuilt programs which are loaded by the kit manufacturer. please go through the manual of the kit.

 Country: India  ~  Posts: 470  ~  Member Since: 01/06/2007  ~  Last Visit: 01/07/2008 Go To Top Of Page

shrutika
Starting Member

 Posted - 22/01/2008 :  6:28:46 PM  Show Profile  Email Poster  Reply with Quote
I m still not getting the delay!!!

0019 4113 0E 14 MVI C,14H ;call delay routine for 10sec
0020 4115 2A FF FF SEC: LHLD 0FFFFH
0021 4118 3E 09 MVI A,09
0022 411A CD 05 00 CALL 0005
0023 411D 0D DCR C
0024 411E C2 15 41 JNZ SEC

what is there at FFFF address that is loaded into HL registers???
0005 is for inbuilt display,that is,display of microprocessor???if yes, then why r we displaying 09 again and again??

 Country: India  ~  Posts: 8  ~  Member Since: 10/10/2007  ~  Last Visit: 21/01/2008 Go To Top Of Page

binu_ji
Forum Admin

 Posted - 22/01/2008 :  7:54:23 PM  Show Profile  Email Poster  Reply with Quote
CALL 0005 is an inbuilt monitor routine of VI micro systems trainer kits. before calling the 0005 the value A=09 is for delay program and HL holds the value for the delay.

If you are using some other trainer kit check for the monitor routines, and if there is no monitor routine for delay use your own program for delay.

If you can't create your own delay program post it here and i can help you.

 Country: India  ~  Posts: 470  ~  Member Since: 01/06/2007  ~  Last Visit: 01/07/2008 Go To Top Of Page

valaiya
Starting Member

 Posted - 27/01/2008 :  06:55:16 AM  Show Profile  Email Poster  Reply with Quote
how to connect to trainer kit? can i connect it directly to 8085? how to build simple trainer kit?

hai

 Country: Malaysia  ~  Posts: 15  ~  Member Since: 25/01/2008  ~  Last Visit: 22/04/2008 Go To Top Of Page

binu_ji
Forum Admin

 Posted - 28/01/2008 :  4:52:13 PM  Show Profile  Email Poster  Reply with Quote
No you cant connect the circuit directly to the 8085 microprocessor.
check here for a 8085 microprocessor kit
http://www.kmitl.ac.th/~kswichit%20/mtk-85/index.html

 Country: India  ~  Posts: 470  ~  Member Since: 01/06/2007  ~  Last Visit: 01/07/2008 Go To Top Of Page

valaiya
Starting Member

 Posted - 30/01/2008 :  10:03:30 AM  Show Profile  Email Poster  Reply with Quote
how to connect with the kit?
can i have the blueprint?
connection between 8255 and the kit?

hai

 Country: Malaysia  ~  Posts: 15  ~  Member Since: 25/01/2008  ~  Last Visit: 22/04/2008 Go To Top Of Page

binu_ji
Forum Admin

 Posted - 30/01/2008 :  12:38:17 PM  Show Profile  Email Poster  Reply with Quote
all trainer kits will have connectors to connect the external circuits, you should have to connec through it. Please search for some 8085 trainer kit manual over the web.

 Country: India  ~  Posts: 470  ~  Member Since: 01/06/2007  ~  Last Visit: 01/07/2008 Go To Top Of Page

shrutika
Starting Member

 Posted - 30/01/2008 :  6:21:15 PM  Show Profile  Email Poster  Reply with Quote
the program is now working..thanx for ur inputs!!!there is only 1 error which I m not able to rectify....At the beginning, if I cover the LDR(for night)then lamp switches on..alarm is also working properly.......But after delay when alarm switches off,if again LDR is covered, first the alarm rings and then after the given delay,lamp glows,whereas for day switching between lamp and alarm is ok.

I came to the conclusion that output of 555 rapidly changes from high to low, but it is takes time to go from low to high...during this time,8255 reads it as low and alarm rings...What should I do to make switching from alarm to lamp also faster???

 Country: India  ~  Posts: 8  ~  Member Since: 10/10/2007  ~  Last Visit: 21/01/2008 Go To Top Of Page

binu_ji
Forum Admin

 Posted - 30/01/2008 :  6:28:07 PM  Show Profile  Email Poster  Reply with Quote
Put some delay program and check the output.also Change the delay as per the 8255 reads after the IC555 goes from low to high.

 Country: India  ~  Posts: 470  ~  Member Since: 01/06/2007  ~  Last Visit: 01/07/2008 Go To Top Of Page

valaiya
Starting Member

 Posted - 01/02/2008 :  4:16:50 PM  Show Profile  Email Poster  Reply with Quote
if i dont want to use training kit, what i should do?


hai

 Country: Malaysia  ~  Posts: 15  ~  Member Since: 25/01/2008  ~  Last Visit: 22/04/2008 Go To Top Of Page

binu_ji
Forum Admin

 Posted - 02/02/2008 :  10:37:45 AM  Show Profile  Email Poster  Reply with Quote
you should design a circuit which should have the following
1. Microprocessor (8085)
2. RAM to store temporary datas
3. ROM to store the program
4. 8255 to connect the circuit.

 Country: India  ~  Posts: 470  ~  Member Since: 01/06/2007  ~  Last Visit: 01/07/2008 Go To Top Of Page

valaiya
Starting Member

 Posted - 02/02/2008 :  12:47:00 PM  Show Profile  Email Poster  Reply with Quote
thank you so much..
i saw 40 pins for 8255, but in your diagram 24 only.

http://en.wikipedia.org/wiki/Intel_8255


hai

 Country: Malaysia  ~  Posts: 15  ~  Member Since: 25/01/2008  ~  Last Visit: 22/04/2008 Go To Top Of Page

binu_ji
Forum Admin

 Posted - 02/02/2008 :  12:49:54 PM  Show Profile  Email Poster  Reply with Quote
The 24pin is not the IC, its a connector of the trainer kit which connects to the 8255 port pins.

 Country: India  ~  Posts: 470  ~  Member Since: 01/06/2007  ~  Last Visit: 01/07/2008 Go To Top Of Page

valaiya
Starting Member

 Posted - 02/02/2008 :  1:10:54 PM  Show Profile  Email Poster  Reply with Quote
what type of connector is it?
thanks

hai


 Country: Malaysia  ~  Posts: 15  ~  Member Since: 25/01/2008  ~  Last Visit: 22/04/2008 Go To Top Of Page
 Topic   
 Reply to Topic |  Send Topic to a Friend | Bookmark this Topic Bookmark Topic |  Printer Friendly
Previous Page | Next Page

Snitz Forums 2000