pic16f84a

Discussion in 'General Electronics Chat' started by michelle14, Sep 18, 2011.

  1. michelle14

    Thread Starter New Member

    Sep 18, 2011
    8
    0
    hey guys..im new here.. i need help.. i have this project, the vending machine using pic16f84a.. i'll just use sensors for this one.. any help or idea??
    thanx!
     
  2. atferrari

    AAC Fanatic!

    Jan 6, 2004
    2,644
    759
    Say YOUR ideas first. If none yet, think of it a little more.

    It works like that.
     
    michelle14 likes this.
  3. michelle14

    Thread Starter New Member

    Sep 18, 2011
    8
    0
    i want to have a vendo using sensors.. same like with the mcdonalds vending machine.. its just that i'll use 3 sensors.. for instance, i have SMALL, MEDIUM, LARGE cups.. the machine will just sense the height of the cup then it will pump the liquid then closes immediately..
     
  4. debjit625

    Well-Known Member

    Apr 17, 2010
    790
    186
    Don't use PIC16F84A use some other mcu with ADC modules and CCP module which will help you with the sensor part.For example PIC18F4520 from Microchips will be good...

    Good Luck
     
  5. tom66

    Senior Member

    May 9, 2009
    2,613
    213
    I like PIC16F690 for a basic microcontroller, or PIC16F689 if you need less features. I honestly don't know why people still use PIC16F84(A)'s.
     
  6. debjit625

    Well-Known Member

    Apr 17, 2010
    790
    186

    Very simple architecture as it has very limited modules and too many resources is available over the web. Beginners find it very easy to understand. Even when I started with mcu stuff it was with PIC16F84A, it’s not cheap if compared with current PICs.Many people say that PIC16F84A is obsolete but it’s not true it’s still in production from Microchip.

    Good Luck
     
  7. michelle14

    Thread Starter New Member

    Sep 18, 2011
    8
    0
    thanx guys.. but i need to use PIC16F84a as it is the pic requirement for our project..
     
  8. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    Hi Michelle.
    You can use some sort of light sensors to detect both the presence and the hight of the cup. Put some light transmitters/sensors at different heights. By checking which sensors that are blocked or not (by the cups) you will have a way of finding the correct cup size. And hence how much to fill in the cup.
    Good luck with your school project. It look like a nice project. Not that hard, but still much to engineer
     
  9. michelle14

    Thread Starter New Member

    Sep 18, 2011
    8
    0
    thank you t06afre..
    that's what i wanted.. but it looks hard for me finding what to use.. whether pump or what regarding the release of the liquid.. i have 3 sensors now for the cups.. and i still dont have diagram for it..
     
  10. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    You can use a pump that runs for a certain time. Or perhaps use a flow meter, and just gravity. It will depend on what components your school have at hand I guess.
    If I just handed the solution over to you. It would be cheating. Besides you would not have learned anything. So give it some time and draw some circuits ideas. Then we can use that as base for further discussion.
     
  11. michelle14

    Thread Starter New Member

    Sep 18, 2011
    8
    0
    ok.. i will..thank you.. if i had the solution i'll send it to you.. im still making my proposal then if approved i'll start making my project.. then maybe you can be my consultant?? hehe
     
  12. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    Me and the rest of the forum just feel free. But remember I will not give any help other than in the public part of the forum. I do not give help via the PM system or mail...
     
  13. michelle14

    Thread Starter New Member

    Sep 18, 2011
    8
    0
    ok.. thank you.. :D
    good luck to me! aja!
     
  14. michelle14

    Thread Starter New Member

    Sep 18, 2011
    8
    0
    hello.. i've make up my mind.. i'll be using 4 sensors (phototransistor) in this project..
    this sensors are connected directly into the PIC16f84a then it will have an output that will be controlled by a pump or an electronic valve.. anyone who has more bright ideas?? help pls..
     
  15. michelle14

    Thread Starter New Member

    Sep 18, 2011
    8
    0
    i need an INPUT=>PROCESS=>OUTPUT thing..
     
Loading...