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. Jay.slovak

    Jay.slovak Active Member

    Joined:
    Jan 11, 2005
    Messages:
    1,726
    Likes:
    5
    Ok, do as you want. You feel pretty confident with yourself :)
     
  2. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    Yeah, check the which come first post: confidence is the primary asset for building a project :lol: ...
     
  3. Jay.slovak

    Jay.slovak Active Member

    Joined:
    Jan 11, 2005
    Messages:
    1,726
    Likes:
    5
    Yep, that's true
     
  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

    :oops: ... Do u think I'm wrong :roll: :?:
     
  6. Jay.slovak

    Jay.slovak Active Member

    Joined:
    Jan 11, 2005
    Messages:
    1,726
    Likes:
    5
    Hmm, I think you are right (talking about confidence)
     
  7. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    No, I meant abt switching from assembly to BASIC...
     
  8. Jay.slovak

    Jay.slovak Active Member

    Joined:
    Jan 11, 2005
    Messages:
    1,726
    Likes:
    5
    I don't think that is a smart move, especialy if you started with it.. :lol:
     
  9. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    Though I was very confident of Basic Pro... It turned out 2 be the same blocks :cry: :!: :!:
    My Code:
     
  10. Jay.slovak

    Jay.slovak Active Member

    Joined:
    Jan 11, 2005
    Messages:
    1,726
    Likes:
    5
    I still think you have HW problem. So why don't you post us the photo of the device???
     
  11. Roboticinfo

    Roboticinfo New Member

    Joined:
    Jan 15, 2005
    Messages:
    1,037
    Likes:
    0
    Location:
    USA, California
    reply

    Did you etch a board or did you use a breadboard?
     
  12. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    It WORKED :lol: :lol: :lol: :!: :!: :!:
    2day, it worked... Now I don't think I have a problem with the LCD anymore (I hope so)...
    The keypad now arises...
    I can't use nigel's tutorials cause i'm using PIC BASIC, and the keypad, which was supposed to work as Nigel AND my teacher said, is NOT working like that!!! What the matter?
    The keypad is a 4 x 3 (0 - 9 with # and *)...
     
  13. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    Really weird: I connected a LED to +5V from one end and to a 10k resistor from the other. I have the keypad connected to ground from one of its connectors (There are 7, 3 cols & 4 rows) and to the resistor from another... No logical pattern appeared! It's completely not like Nigel and my teacher said and not how it's supposed to be :? ... I got the following intersections:
    Row 1 has connector 2 as common
    Row 3 has connector 6 as common
    Row 4 has connector 4 as common
    Col 1 has connector 3 as common
    Col 2 has connector 1 as common
    Col 5 has connector 5 as common

    Someone can interpret this???
     
  14. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    I got it right...
    The columns got the odd pins, and the rows, the even ones, except the last one, which is odd... The keypad worked great, but it seems the row of 4-5-6 is corrupt: nothing is happening... The project was left in the laboratory, so as soon as I get it, I'll post its picture...
     
  15. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    Meanwhile, here's my code, in PIC BASIC to run the program...
     
  16. Jay.slovak

    Jay.slovak Active Member

    Joined:
    Jan 11, 2005
    Messages:
    1,726
    Likes:
    5
    Sorry, I am the ASM guy, I can't help you with that.
     
  17. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    Hehe, rn't u the Binary Guy???
     
    Last edited by a moderator: Dec 26, 2013
  18. Agent 009

    Agent 009 New Member

    Joined:
    May 28, 2003
    Messages:
    522
    Likes:
    0
    Location:
    Lebanon
    Anyway, my code is working 8) man!!! I'm posting it just to help others 8) :lol: ... It's working because I've tried it, download it on the PIC, AND made a final project presentation abt it... I have a small memory problem, though... Last time I ran the prog, the PIC didn't seem to be memorizing any code at all :? ...
     
  19. pasanlaksiri

    pasanlaksiri Member

    Joined:
    Aug 28, 2006
    Messages:
    328
    Likes:
    4
    Location:
    Sri Lanka
  20. pasanlaksiri

    pasanlaksiri Member

    Joined:
    Aug 28, 2006
    Messages:
    328
    Likes:
    4
    Location:
    Sri Lanka

Share This Page