January 22, 200422 yr >p.s.>I'm still testing this project by Mike Smits similar to a redec but it >allows two encoders with 4 ICs, I still don't know if it is a building >error or not but my board works exactly the opposite way as the redec: >when you twist the rotary the circuit is opened, while normally it is >closed. Do you think it is normal?No, I don't think this is normal. Which ICs do you use?The x2 increase is a bug of ver 2.0.3 and upwards. It doesn't occur on ver 2.0.2.George DorkofikisAthens, Greece
January 22, 200422 yr >No, I don't think this is normal. Which ICs do you use?I'm using 3 x 74hc00 (some are philips 74hc00n and some st74hc00b1) and 1 x philips hef4066bp (they sold it to me as an equivalent to 74hc4066)>The x2 increase is a bug of ver 2.0.3 and upwards. It doesn't occur on ver 2.0.2.So there is no way to fix this problem? I have to unistall version 2.0.3 and install version 2.0.2?thanks
January 22, 200422 yr I've just found this on philips website, but I'm a bit confused about terms such as high,low,vdd,vss. Can you help me?_____________The HEF4066B has four independent bilateral analogue switches (transmission gates). Each switch has two input/output terminals (Y/Z) and an active HIGH enable input (E). When E is connected to VDD a low impedance bidirectional path between Y and Z is established (ON condition). When E is connected to VSS the switch is disabled and a high impedance between Y and Z is established (OFF condition).The 74HC4066 and 74HCT4066 are high-speed Si-gate CMOS devices and are pin compatible with the HEF4066B. They are specified in compliance with JEDEC standard no. 7A.The 74HC4066 and 74HCT4066 have four independent analog switches. Each switch has two input/output pins (pins nY or nZ) and an active HIGH enable input pin (pin nE). When pin nE = LOW the belonging analog switch is turned off.___________________________does this mean that the the ic I'm using (hef4066b) do exactly the opposite of the 74hc4066?thanks
January 22, 200422 yr I'm not aware of the circuit design you are using but I find it strange to use 74xx series chips in conjuction with 40xx series chips.The 74xx are TTLs and the 40xx CMOS. No big deal, but they have different operating voltages. Usually the 74xx need 5V minimum while the 40xx will work with 3.3V minimum.So the design you use is completely different than the Redec09b that I use. The Redec uses 4011s using NAND gates to decode and debounce the input. The 4066 is the same.It's getting too technical but I think that the design you use is wrong and not compatible with the FSBUS input.As for the x2 Increase, no. Dirk must look into it and fix it. It works ok with ver 2.0.2 although some goodies are missing from that version.George DorkofikisAthens, Greece
January 22, 200422 yr I'm not an electronics expert but I think the design I'm using (it's by mike smits, look in "alternate to redec09b" topic) is similar to redec. Altough it seems to to have an inverse logic (normally closed circuit) it works well. The only problem I found is that the 100nF capacitors used for noise eliminations cause that both cw and ccw circuits are closed when a rotary is twisted. But if you eliminate the capacitors it works well, and in overall I think it may be better than redec because it allows two rotary with only 4 ICs on one pcb.For the x2 bug I don't know what to do, I'm currently using ver 2.0.8beta, and the only other version I can find is 1.3! Can you tell me where I can download ver. 2.0.2?Thanksp.s.I've tried the "div" fix on fsif.ini but doesn't work.
January 22, 200422 yr Also tried the DIV in the fsif.ini and it doesn't do anything!As for the redec, my design also uses 4 ICs for 2 rotaries.The only thing is that I don't have a fully tested PCB yet. I have designed it but haven't actually edged it (run out of PnP sheets) to see if it's ok. But it works fine on vero board.Contact me privately if you want.George DorkofikisAthens, Greece
January 22, 200422 yr George:"The 74xx are TTLs..."Well, no... the 74 series technology is specified by the letters after the '74' like "LS","HC"... I know of at least 3 families of technologies that are used in making 74series chips. most common are the LS (TTL),HC and HCT (both CMOS, but the latter has TTL compatible voltage levels,so it can replace TTLs in most cases [it has different drive/sink/source capabilities])there's also ECL, but rarely used.There must be at least 10 to 15 kinds of letters that can stand for the "XX" in 74XX.the 40xx series CMOS is older than the CMOS versions of the 74 chips.i think the voltage levels are different for the 40xx series and they are not as power efficeint as the newer CMOS stufftralluccio:The 74HC4066 and the 74HCT4066 should be functionally equivalent, but if you can exchange them in that particular application, i don't know.Vss,Vdd,Vcc... Vss is the "Ground" for CMOS, Vdd is the "+5V" or positive supply voltage for CMOS. Vcc is the supply for TTL.Active High/Low:active High is when something is "on" or "enabled" or "active" when the input is High.active low is just the other way around. eg something is enabled when the appropriate input is low.Active High seems more "logical" to human brains... :-)Manuel
January 23, 200422 yr Manuelthanks. So it seems that 74hc4066 and hef4066 are equivalent for this application. However as said before also if the design I'm using has apparently an inverse logic (circuit normally closed) it seems to work well with fsbus.bye
January 23, 200422 yr The "ALPS" refers to a specific alps rotary that does separate pin output depending on direction, and it is "active low" if I understood correctly the explanation above. I know since I sent a few the rotaries to Dirk after acquiring a bunch. It does not mean you should use "Alps" mode if you have "Alps" brand phase-shifted rotaries with REDEC for example. It's just one variant of how engineers can envision encoders :) Another "Alps" model (maybe the one sold by ELFA?) might also be active high, which makes it knitter-equivalent, so one should probably use the "Knitter" mode with it. The "Knitter" mode is apparently what the redec circuit emulates, with phase-shifted rotaries.I guess "try all and see if any of them works" :)Tuomas
January 24, 200422 yr Hi tuomaswhat you say seems logical, but I've tried all modes and the only one that works is "alps". I can't understnad how this can happen.????bye ;)
January 28, 200422 yr Hi George,Sorry for the delay.To make it simple :subID 0 : Pins 1 - 2 subID 1 : Pins 3 - 4subID 2 : Pins 5 - 6subID 3 : Pins 7 - 8subID 4 : Pins 15-16subID 5 : Pins 13-14subID 6 : Pins 11-12SubID 7 : Pins 9 -10Does it mean that you only can connect 4 rotary's via a redec to one key pcb, because there are to out's at the redec for each rotary?When it's true than you need a lot of key pcb's to get the thing at work.Kind regards Jan.
January 28, 200422 yr Negative.Currenty, you can connect 2 rotary encoders (via redec) to each BANK/ROW.That gives you a maximum of 16 rotary encoders per key card.If Dirk fixes the way the encoders via redec work in the software, itwould give us double those.BTW, Does anyone know where Dirk is? Is he ok? Haven't heard from him for quite a while although I had sent him noumerous emails!George DorkofikisAthens, Greece
January 28, 200422 yr >you must connect the first one on subIDs 0 and 1 (pins 1-2 & 3-4) and >the other one at subIDs 4 & 5 ( pins 15-16 & 13-14).I'm presently using two rotaries with fsbus 2.0.8beta via a board similar to redec and I connected them in this order:rotary 1 on subID 0 and 1 (pins 1-2-3-4) rotary 2 on subid 2 and 3 (pins 5-6-7-8)They works well except for the x2 bug. As I've said before the board I'm using has an inverse logic compared with redec: circuit is normally closed and temporarly opens when the rotary is twisted. Indeed I had to select the alps rotary type (the mean the rotary pulse switch not the "real" rotary) which they told use the same logic, all other rotary types do not works.For the x2 bug I've tried to twist very slowly and I've noticed that the value is first incremented by 1 in the middle between two detents and then another one when the rotary reaches the next detent, you can achieve x1 increase/decrease by leaving the rotary between the two detents. I'm sure my rotaries are 24pulse/24detents so it is not a case of a pulse/detent ratio of 2/1. I think that for each open/close cicle both "up event" and "down event" are considered while only one should be. Unfortunately this parameter is not configurable as for the switches.bye
January 28, 200422 yr I'm in direct communication with Dirk about this. I found the cause, and hopefully he will fix it in no time.BTW, the happy ones now are those using 30/15 detents!... It works perfect for them! I suggested a solution to Dirk to make everybody happy.Just wait, and we shall see the light!George DorkofikisAthens, Greece
January 29, 200422 yr Hello everybody,long time ago i posted something in this forum. Somebody feared, i disappeared. Some news about current state of fsbus:1. my own cockpit grows and grows. My first flight was done! 2. FSBUS grows too. The rotary problem with REDec will be fixed, when i get one. My greek friends promised to send it.3. The long awaited stepper controller will be launched at dutch simbuilders meeting in Lelystad 13+14th march. I will share a stand with my dutch friend Aart Vos. 4. The automation feature, which was first planned with basic language, makes great efforts. It's a graphic editor, with which you combine logical operations. A beta will be in the next version.It should solve all special control problems, which otherwise requires hard coding by me.I will use it in my cockpit for:- auto throttle motor control- many overhead controls, which are not handled by MSFS- voice output, dependent on alt over ground - control the bass pump in seat depending on surface, on ground flag- ...*** before you read the next issue, please sit down and fasten seat belts ***5. Next controllers (stepper) will no longer made with PIC's. Don't worry, all your controllers will continue to work.The new processor i choosed, has many, many advantages, i could't resist. It is the Atmel AVR series (AT90S2313).The benefits:- price is ~2,50 EUR- codeset is a lot more powerfull than PIC- execution time is more than 4 times faster- more I/O pins- analog support can later replace the difficult to get ADC converter.- excellent development system. - Easy flash hardware and software available in internet. The most simple flasher is a special cable, connected to LPT port.Since this controller supports serial decoding by hardware, the assembler code looses its timecritical touch. I will then make the sourcecode of microcontrollers public.*** you may now release seat belts ***6. I added support for fdsconnect.7. I improved the fsclient to control more aspects of pc's with glasscockpit displays. It allows a synchronized start of many pc's in a resonable sequence. It allows a fsbus controlled reset of a pc if the glass software crashes during flight.The next version will be available, when the REDec problem is fixed. project continues ...kind regards Dirk
Create an account or sign in to comment