A place to exchange information about parts and kits supplied by http://kitsandparts.com
You are not logged in.
I am running into a similar problem another user has mentioned with the encoder. Not sure if it is the encoder or a contact timing issue. I am getting skipping on digits when advancing the pushbutton on the encoder. I wonder if it is the encoder switch or perhaps the code may need tweaking. I suppose trying a different switch would be the first thing to try. Can anyone suggest a substitution?....
I tried to pulse the PD3 data line with a momentary switch with the encoder contacts 4 and 5 disconnected and still the same result (still flaky). Perhaps the port is not seeing a solid low? Is R6 the correct value (620 ohms)?...I noticed the PD2 and PD4 lines have 10k resistors on them.
I have an order going out to Mouser today and am ordering Mouser P/N EN11-HSM1AF15 and P/N PEC11-4220F-S0012. Out of those two will see what works best...if at all...
Bob, W8UUU
Last edited by W8UUU (2010-06-13 17:56:59)
Offline
Hi Bob,
I'm not having a bounce problem on my two working DDS kits.
It may be a flakey encoder.
R6 is correct (620). Purpose to to protect the CPU in case it is programmed as an output
and we do not want to short outputs to ground.
Pleae give feedback on other encoders; and I can send you another one of the mechanical encoders in th kit.
73, Diz
PS: We may try a little debounce software here.
Offline
W8DIZ wrote:
Hi Bob,
I'm not having a bounce problem on my two working DDS kits.
It may be a flakey encoder.
R6 is correct (620). Purpose to to protect the CPU in case it is programmed as an output
and we do not want to short outputs to ground.
Pleae give feedback on other encoders; and I can send you another one of the mechanical encoders in th kit.
73, Diz
PS: We may try a little debounce software here.
Will report back on the switch issue.....I do have another question. Are you going to write code for the I.F. offset? If so then I suppose it will be necessary to burn new code for the offset? There are no user controls to do it on the DDS as designed. I will be ordering another for a transciever design later. Once new code is written I suppose all I will need to do is plug in the values and re-compile. Thanks...
Bob, W8UUU
Offline
W8UUU wrote:
...Are you going to write code for the I.F. offset? Bob, W8UUU
Hi Bob,
Yes...but I'm tied up on another project (not ham radio related).
Once I write the code, I will post it on the FORUM.
The actual offset will need to be "manually " programmed into the chip.
-Diz
Offline
W8DIZ wrote:
W8UUU wrote:
...Are you going to write code for the I.F. offset? Bob, W8UUU
Hi Bob,
Yes...but I'm tied up on another project (not ham radio related).
Once I write the code, I will post it on the FORUM.
The actual offset will need to be "manually " programmed into the chip.
-Diz
Hi Diz,
OK on the offset issue. I just tried two different encoders form Mouser and the skipping on digits is still there. It is random when you push the switch. It will skip a decimal place the continue to work during one cycle then random skip again. I am now thinking it may be the code or a contact bounce issue. The encoders were: Bournes P/N PEC11-4220F-S12 and a BI-Tech P/N EN-11-HSM1AF15. If it is a generic issue I am sure others will experience the same problem. Perhaps the MCU is flakey but I do not have another to try. Thanks for any more help you may provide.
Bob, W8UUU
Offline