Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: quakebo on June 16, 2019, 07:16:39 am
-
Will a rotary encoder work with an Ipac 2.
-
Will a rotary encoder work with an Ipac 2.
To be clear, you're talking about one of these, right?
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=368966;image)
The one I ordered from Amazon works well with StefanBurger's Illuminated Spinner (http://forum.arcadecontrols.com/index.php/topic,152868.0.html) firmware on an Arduino. ;D
It should work fine with the optical input pins on the IPac 2 (2015 or newer) as long as you don't hook the wires up wrong.
- IIRC accidently connecting 5v to a data line will damage the encoder.
On the other hand, n3wt0n mentioned here (http://forum.arcadecontrols.com/index.php/topic,151077.msg1657228.html#msg1657228) that the ones he ordered on e-bay didn't work. :dunno
Scott
-
These are the ones I have https://amazon.co.uk/gp/product/B07FYHG2QZ/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&psc=1 (https://.amazon.co.uk/gp/product/B07FYHG2QZ/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&psc=1)
-
Your link is foobared, we can't reach the page.
-
if you right click the link and open in new tab it works.
-
I've used the KY-040 rotary encoder with the mini-pac which is quite similar to the one you linked. So, I would think it should work.
-
What size is your project and how are you planning on using this encoder?
- EC11's are low resolution (24 transitions per rotation IIRC) so they are really not a good choice for an arcade spinner.
- One application where an EC11 might make sense is in a micro-cab where there isn't room for a normal rotary encoder.
(https://images-na.ssl-images-amazon.com/images/I/71PQGRryZ9L._SL1500_.jpg)
If you're looking for a full-size spinner with a small/shallow footprint, check out GGG's TurboTwist Sci-Winder (https://groovygamegear.com/webstore/index.php?main_page=product_info&cPath=86&products_id=416).
Scott
-
I will be using them on a button box for sim racing.
-
I will be using them on a button box for sim racing.
EC11's should work fine for that application.
How many axes will you need?
If you need more than 2 (X-axis and Y-axis) you'll probably need another optical (mouse) encoder.
Scott
-
My plan was to use 4 EC11S.
-
My plan was to use 4 EC11S.
OK.
First two EC11's on X-axis and Y-axis via the IPac's trackball pins -- no problem. ;D
You'll need another optical (mouse) encoder for the other two axes because the IPac's normal button inputs (apply ground to the input ==> IPac outputs a keystroke) won't translate the EC11's output quadrature waveforms into mouse axis movements.
(https://www.alps.com/prod/info/E/image/Switch/Encoder/EC11/EC11_C_21.GIF)
An Ultimarc U-HID Nano or an Arduino Pro Micro with a slightly-modified (i.e. not using X- or Y-axis) mouse sketch/firmware should be able to translate EC11's three and four into mouse axis movements for your racing sim. :cheers:
Depending on how inputs are handled by the sim, Z-axis (scroll wheel) can cause the 4:1 problem in Windows.
- Instead of outputting 1 step per transition, Windows outputs 4 steps per Z-axis (scroll wheel) transition.
If possible, use X-Ro (X-Rotation) and Y-Ro (Y-Rotation) axes for three and four.
Scott
-
Thanks for that. now I already have a Arduino Pro Micro I was going to use but wanted to know if a Ipac2 would work.