Hi All,
Please excuse my simply request for information. I am very new to PICAXE and programming, but I consider myself a fast learner.
I am trying to operate 2 sets of 4 relays that control 2 RF attenuators that will give me from zero to 121 dB off attenuation in 1dB steps. I have worked out the relay sequence table and manually programmed an EPROM that delivers the required output from a set of input thumbwheel switches, this works.
However I am keen to explore the use of a 20x2 and use only 2 up/down switches which will be units and tents, this will get me to 121. I an going to drive a basic Serial LCD display to show attenuation, simple and over the top.
My question is, how does one add basic pre-defined values (fixed look up table) which is an attenuation value based on the specific attenuator values used. The attenuator values are 1, 2, 4, 4 and 10, 20, 40, 40 dB, total 121 dB.
Regards
Gerald
moved to Active Forum
Please excuse my simply request for information. I am very new to PICAXE and programming, but I consider myself a fast learner.
I am trying to operate 2 sets of 4 relays that control 2 RF attenuators that will give me from zero to 121 dB off attenuation in 1dB steps. I have worked out the relay sequence table and manually programmed an EPROM that delivers the required output from a set of input thumbwheel switches, this works.
However I am keen to explore the use of a 20x2 and use only 2 up/down switches which will be units and tents, this will get me to 121. I an going to drive a basic Serial LCD display to show attenuation, simple and over the top.
My question is, how does one add basic pre-defined values (fixed look up table) which is an attenuation value based on the specific attenuator values used. The attenuator values are 1, 2, 4, 4 and 10, 20, 40, 40 dB, total 121 dB.
Regards
Gerald
moved to Active Forum
Last edited by a moderator: