Search results

  1. M

    Encoder

    that helps ! thank you
  2. M

    Encoder

    Sorry about the delay. atttached is a copy of the Data sheet. again if you have an encoder that you know will work I will find one.
  3. M

    Encoder

    I am currently connected to the COMs 1 and 2 where should the other two wires from the encoder connect on the HAT?
  4. M

    Encoder

    Also if you have a recommendation for an encoder that would be helpful.
  5. M

    Encoder

    My simple code.
  6. M

    Encoder

    https://github.com/MGKLove/RPi_4rel4in_encoder/tree/main
  7. M

    Encoder

    Cant copy my code here but I have everything else working do you have any sample code I could look at. I have set_encoder_cfg(1,0) and (1,1) if i set to (1,1) I get an repeating 1 and same with 0. looking for 32 bit
  8. M

    Encoder

    No luck attached is my Python code simple just to get a feel of how it should work
  9. M

    Encoder

    Maybe I will try to set that before my while loop
  10. M

    Encoder

    I did use set_encoder_cfg. tried (1,0). And (1,1)
  11. M

    Encoder

    I am struggling to get an encoder reading with the 4rel4in HAT. I have the "a"encoder wired to the IN1-com and "b" to the IN2-com. I am powering from another source. I can get the Relays to turn on and off so I know i have the library loaded. I am trying to have the encoder count for me or just...
  12. M

    Help loading 4rel4in as HAT layer 1

    ok thanks let me try that
  13. M

    Help loading 4rel4in as HAT layer 1

    also have this Error >> import sm_4rel4in >>> rel = sm_4rel4in.SM4rel4in(0) Traceback (most recent call last): File "/home/ryanpimg/4rel4in-rpi/python/sm_4rel4in/sm_4rel4in/__init__.py", line 46, in __init__ self._card_rev_major = bus.read_byte_data(self._hw_address_...
  14. M

    Help loading 4rel4in as HAT layer 1

    ryanpimg@raspberrypi:// $ git clone https://github.com/SequentMicrosystems/4rel4in-rpi.git fatal: could not create work tree dir '4rel4in-rpi': Permission denied ryanpimg@raspberrypi:// $ ls bin dev home lost+found mnt proc run srv tmp var boot etc lib media opt root sbin...
  15. M

    Sequent sells a HAT that can read a rotary encoder

    Sorry to bother again but I can not install as the second board on the Pi(or stack 1) jumper in position 1 error below >>> rel = sm_4rel4in.SM4rel4in(1,7) Traceback (most recent call last): File "<stdin>", line 1, in <module> File...
  16. M

    Sequent sells a HAT that can read a rotary encoder

    Thank You for your help
  17. M

    Sequent sells a HAT that can read a rotary encoder

    I have the Industrial Automation 8 Layer HAT on the PI (layer 0)now and would like to add the 4 relay/4 input on top as layer 1
  18. M

    Sequent sells a HAT that can read a rotary encoder

    Thank you the 4 relay/4 inputs looks prefect but will I be able to stack in on my current V3 HAT. I didnt know that you could combine different HATs
  19. M

    Sequent sells a HAT that can read a rotary encoder

    do you know if Sequent sells a HAT that can read a rotary encoder and can I stack different HATs (I am currently using a V3 ).I tried to have the encoder directly to the inputs and I think due to the speed of the encoder the PI misses pulses as the speed goes up. Thanks<ken
  20. M

    Triac commands not working

    Thank You!
Top