Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by rfresh737

  1. R

    CJ25-882010 Encoder/Joystick

    OK, I implemented your instructions. See version 3 schematic attached. That seems to have fixed the joystick problems!! The encoder still works OK. Well, I can't thank all of you enough. I would have NEVER figured all of that out myself. I bought this joystick/encoder because it had all the...
  2. R

    CJ25-882010 Encoder/Joystick

    Brian, My schematics have shown 3.3v going into the MCP3008 at pin 16 VDD and pin 15 VREF. Are you and @FvM saying the 3008 is still getting 5v? (from the X and Y wires coming from the joystick?) OK Brian, I'm implementing your instructions now.
  3. R

    CJ25-882010 Encoder/Joystick

    Ah ha...you were right Brian. 3.3v is not enough light to make the encoder work reliably. So I had to connect to 5v and it seems to work 100% of the time now. So while the encoder now works reliably, the joystick X Y is no longer discrete: X Left == 1023 and Y also shows 1023. Y down == 1023...
  4. R

    CJ25-882010 Encoder/Joystick

    Brian, The joystick seems to be working OK at 3.3v so I'm going to stick with that. I cannot run the 3008 at 5v because the Raspberry Pi GPIO pins are only good for 3.3v. Just for completeness, I'm going to now build a Fritz wiring diagram and will post it next. Thank you... 1615557003...
  5. R

    CJ25-882010 Encoder/Joystick

    I got it all working OK using 3.3v power. The joystick can now move discretely left/right/up/down. For some reason it cannot do that using 5v. My last question is: do I need to add those resistors as shown in the wiring spec (see attachment). If I do, exactly how do I run the A and B wiring to...
  6. R

    CJ25-882010 Encoder/Joystick

    Hi Brian, Thanks for that clarification. I'll go back to connecting to 5v. I do have the rotary encoder connected and it is working fine. I do have the push switch connected and it is working fine. I'm just struggling with trying to get the joystick X and Y pins of the whole CJ25-882010...
  7. R

    CJ25-882010 Encoder/Joystick

    Hi Klaus, Two wiring attachments.
  8. R

    CJ25-882010 Encoder/Joystick

    I am not using any pull ups at this time (as far as I know). I'm using the Raspberry Pi SPI library to connect to the MCP3008. I'm still trying to determine if that library even let's me set a pull up. I think once I can figure out how to eliminate that random voltage drop to zero (which...
  9. R

    CJ25-882010 Encoder/Joystick

    I have not installed any pull up resistors. Which line would I do that with and what res value? I connected the joystick to 3.3v and I'm getting better results, meaning, the left-right and up-down voltages are now discrete so I should be able to code for specific stick positions. The only...
  10. R

    CJ25-882010 Encoder/Joystick

    I bought a CJ25-882010 encoder/joystick to control the moving map display of my desktop flight simulator. I'm using a Raspberry Pi 4 and have i2c and SPI enabled. I'm using an MCP3008 ADC chip (but I'm not sure if I need it with this encoder?). The CJ25-882010 spec sheet says voltages for the...

Part and Inventory Search

Back
Top