Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

programming a pic to read inputs from a joystick

LiltLilt Member Posts: 7
Hello,

I was wondering, do you know anything about programming joysticks or building pcb's.

I'm trying to program a PIC 16F876 to read the inputs of a joystick. the joystick is supposed to act as a gear (like you have in cars). if the pic takes a particular reading from the joystick, it then does something.

Actually, i have the pic also connected to a speech synthesizer which says whether an input is right or wrong. For instance, if i wanted that every time the pic reads 20ohms from the joystick, the speech synthesizer should say "gear 1 entered" else it should say "wrong entry", how do i go about doing it. I look forward to your reply. (Please programming should be in PicC or machine code)

Thank you.

Comments

  • bosebonasbosebonas Member Posts: 87

    hi ,
    you can use the A/d converter of your pic .
    or write me so that we can build an extermal simple converter and write the code .
Sign In or Register to comment.