1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Need PIC16F84A Cool Project

Discussion in 'Microcontrollers' started by Agent 009, May 22, 2005.

?

On who do your most project ideas depend on?

  1. Self

    0 vote(s)
    0.0%
  2. Friend

    0 vote(s)
    0.0%
  3. Teacher - School

    0 vote(s)
    0.0%
  4. Online Search (Somebody else's idea revisited)

    0 vote(s)
    0.0%
  1. nisrine

    nisrine Member

    Joined:
    Oct 25, 2003
    Messages:
    61
    Likes:
    0
    so can we say that u finally chose a project ????
    :roll:
     
  2. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    No, hehe :wink: ... I'm thinking of the other game... :?
     
  3. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    I think I made up my mind... Game of memory: LCD+Keypad...
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon

    Duplicate Posts

    ... I was sure: the browser freezed, I refreshed: I got a couple of similar posts... I think we should get 2 delete at least the similar posts...
     
  6. Jay.slovak

    Jay.slovak Active Member

    Joined:
    Jan 11, 2005
    Messages:
    1,726
    Likes:
    5
    Re: Duplicate Posts

    Yep, it sucks not be able to delete your own posts :cry:
     
  7. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    Yeah! :cry: But just think that they are forever carved in front of the Internet's World eyes 8) ...
     
  8. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,234
    Likes:
    641
    Location:
    Derbyshire, UK
    Re: Duplicate Posts

    It's not a problem, as moderator I delete any double posts I notice - as you say, it's VERY easy to accidently double post.
     
  9. Someone Electro

    Someone Electro New Member

    Joined:
    Sep 10, 2003
    Messages:
    2,579
    Likes:
    2
    Location:
    A boring village in Europe (slovene)
    are you thinking of an momory game that has 4 butons and thy keep lighting in a seqence and you have to repeat it.

    In that case it wod be more simple to use 4 difrent color LEDs stuck on 4 buttons.

    Or are you thinging of a maching game that you have cards and you have to find pairs.

    In ether cases you need a way to randomize it.This can be done by drving noise on an I/O pin and trying to reed it evry cuple of time this way you get a seris of random 1s and 0s.
     
  10. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    Yes, A memory game: Writing up a sequence of digits (cause my keypad has only digits) and then askin' the user 2 input'em... I just want the functionality of the LCD screen, along with the keypad, not that I'm obliged to use'em...
     
  11. Someone Electro

    Someone Electro New Member

    Joined:
    Sep 10, 2003
    Messages:
    2,579
    Likes:
    2
    Location:
    A boring village in Europe (slovene)
    Oh a nice simple project.

    the PIC simply generates an numbr displays it and waits for the user to input it and it displays more an more numbers
     
  12. Jay.slovak

    Jay.slovak Active Member

    Joined:
    Jan 11, 2005
    Messages:
    1,726
    Likes:
    5
    LOL I wouldn't like to play such game :shock:
     
  13. Someone Electro

    Someone Electro New Member

    Joined:
    Sep 10, 2003
    Messages:
    2,579
    Likes:
    2
    Location:
    A boring village in Europe (slovene)
    yea i wod rathe make an pong game becose its way more fun.

    Or i havent seen a lights out game whith an PIC
     
  14. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    That's very refreshing :shock: ! Hehe, I want now the LCD to work!
    But I have the 16F84A... Not the 16F628, which Nigel based his tutorials on... I took out the comparator line, from the code, and changed the porta/trisa to portb/trisb (cause it's 8-bits) and it didn't work :cry: :!: :!: :!:
     
  15. Someone Electro

    Someone Electro New Member

    Joined:
    Sep 10, 2003
    Messages:
    2,579
    Likes:
    2
    Location:
    A boring village in Europe (slovene)
    You cod try to use an high level compiler becose you have built in libarys that do it all for you and its much fater to make an program in a high level compiler.

    You cod try mikroBasic becose its realy simple
     
  16. Jay.slovak

    Jay.slovak Active Member

    Joined:
    Jan 11, 2005
    Messages:
    1,726
    Likes:
    5
    Why did you change the PortB/TrisB, they are the same for 16F84 and 628.
    Also, make sure that you have oscilator connected to the PIC, because 84 doesn't have internal oscilator.
     
  17. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    Jay, I have an oscillator and everything for the PIC to work: I have previously used it for other programs, so it should be working fine... Now for the PortA/B, I dunno nothing abt the 628, but It looks like it has an 8-Bit PortA, or my 84 just has 5-bits for porta...
     
  18. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    And the 84 has 8-Bits for PortB... That's y I made the change... Still, the LCD is justflashing up blocks of 'liquid crystal', and no characters or anything whatsoever... :?
     
  19. Jay.slovak

    Jay.slovak Active Member

    Joined:
    Jan 11, 2005
    Messages:
    1,726
    Likes:
    5
    OK, that's true. I though you also changed PortB, which is the same for both PICs. You did well with PortA though.
     
  20. Jay.slovak

    Jay.slovak Active Member

    Joined:
    Jan 11, 2005
    Messages:
    1,726
    Likes:
    5
    Do you see both lines with dark blocks?
     
  21. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    Yeah :? ...
     

Share This Page