I completed, to the point of testing, the UBitx's receiver late last night. There is little for the builder to assemble and since the board/raduino minus a few discrete components such as the rotary encoder was tested prior to shipping if something was to be amiss it is likely to be associated with the discrete components added by the builder.
?
Something is amiss. The push button feature of the encoder was not properly engaging the menus associated with the raduino. The rotary feature of the encoder was not properly resulting in the portion of the spectrum being listened to having undergone change. Specifically a single push on the encoder's shaft resulted in the display reading, "Band Select ?" and a subsequent or follow up push on the encoder's shaft resulted in "Press to Confirm" being displayed in the LCD screen. One more push brought the display back to "LSB A: 7.150.050" being displayed and any rotary motion applied to the encoder's shaft saw little or no change in the frequency being displayed or heard. It should be noted that the receiver seems to be fine because on a few occasions rotary input resulted in changes that led to several stations in the 40 meter band being heard.
?
I suspected an issue with the encoder and performed a simple voltage test of the encoder's pin outs. The output associated with the black wire showed voltage changing high/low as expected. The output associated with the brown wire was not as expected for it was a constant high or near 5 volts when the shaft was rotated. The output associated with the red wire was changing high to low when the encoder shaft was pushed but in a manner that was erratic.
?
At this point, knowing the main boards were tested prior to shipping, I am assuming the rotary encoder is defective. It also should be noted that wiring the rotary feature of the encoder backwards would only see a change in direction of up the band versus down the band being displayed/tuned by rotating the encoder shaft, so miss wiring is not the cause of the issue.
?
Late last night I ordered 5 rotary encoders, they are fragile, that match what came with the kit from the parts supplier, Digi Key. I also have the 40 meter version of the kit arriving soon that I can borrow an encoder from. My plan is to replace the rotary encoder.
?
?The encoder is more or less meant to be installed on a board with traces much like an IC and is rather fragile. I am thinking that when I make the change/swap that I will first mount the encoder on a bit of board that has foil traces leading to each pin out so as to prevent the pin outs from being damaged during the soldering of the wires leading back to the raduino.
?
Once the swap has occurred I hope to see that the radio is responding to input at the rotary encoder but electronics and micro controllers, not being in the domain of my field, lead me to ask if there is anything that I have overlooked that might be the cause of the issue that I experienced??
Incidentally, the BitX40 arrived today, so I will try sealing out the encoder and report back on the result. Also, the Digi Key part number isPEC11R-4020F-S0012-ND and runs $1.68 each.
Thanks, any useful information on this issue will be welcomed.
Mike
|
Well, I opened the box for the BitX40 thinking I could borrow its rotary encoder until my replacements came in for the full band uBitX radio I am having an issue with. Lo and behold the single band radio uses a 10K potentiometer for tuning, so I will build it and wait for the new rotary encoder to arrive. After this one is assembled I want to explore the idea of tuning the uBitX with an alternative method aside from the encoder. Any ideas out there?
toggle quoted message
Show quoted text
On Fri, May 18, 2018, 1:01 PM Mike aka KC2WVB < rb5363@...> wrote: I completed, to the point of testing, the UBitx's receiver late last night. There is little for the builder to assemble and since the board/raduino minus a few discrete components such as the rotary encoder was tested prior to shipping if something was to be amiss it is likely to be associated with the discrete components added by the builder.
?
Something is amiss. The push button feature of the encoder was not properly engaging the menus associated with the raduino. The rotary feature of the encoder was not properly resulting in the portion of the spectrum being listened to having undergone change. Specifically a single push on the encoder's shaft resulted in the display reading, "Band Select ?" and a subsequent or follow up push on the encoder's shaft resulted in "Press to Confirm" being displayed in the LCD screen. One more push brought the display back to "LSB A: 7.150.050" being displayed and any rotary motion applied to the encoder's shaft saw little or no change in the frequency being displayed or heard. It should be noted that the receiver seems to be fine because on a few occasions rotary input resulted in changes that led to several stations in the 40 meter band being heard.
?
I suspected an issue with the encoder and performed a simple voltage test of the encoder's pin outs. The output associated with the black wire showed voltage changing high/low as expected. The output associated with the brown wire was not as expected for it was a constant high or near 5 volts when the shaft was rotated. The output associated with the red wire was changing high to low when the encoder shaft was pushed but in a manner that was erratic.
?
At this point, knowing the main boards were tested prior to shipping, I am assuming the rotary encoder is defective. It also should be noted that wiring the rotary feature of the encoder backwards would only see a change in direction of up the band versus down the band being displayed/tuned by rotating the encoder shaft, so miss wiring is not the cause of the issue.
?
Late last night I ordered 5 rotary encoders, they are fragile, that match what came with the kit from the parts supplier, Digi Key. I also have the 40 meter version of the kit arriving soon that I can borrow an encoder from. My plan is to replace the rotary encoder.
?
?The encoder is more or less meant to be installed on a board with traces much like an IC and is rather fragile. I am thinking that when I make the change/swap that I will first mount the encoder on a bit of board that has foil traces leading to each pin out so as to prevent the pin outs from being damaged during the soldering of the wires leading back to the raduino.
?
Once the swap has occurred I hope to see that the radio is responding to input at the rotary encoder but electronics and micro controllers, not being in the domain of my field, lead me to ask if there is anything that I have overlooked that might be the cause of the issue that I experienced??
Incidentally, the BitX40 arrived today, so I will try sealing out the encoder and report back on the result. Also, the Digi Key part number isPEC11R-4020F-S0012-ND and runs $1.68 each.
Thanks, any useful information on this issue will be welcomed.
Mike
|
Mike, It appears to be doing what it's supposed to do when you press it.? Post a photo of the back showing how you have it wired. Daniel, W2DLC
|
Thanks for addressing this issue, Daniel
I would show a picture of the encoder but I removed it. It's only a few wires with yellow being a raduino ground that goes to the middle pin out on the three pin out side. Yellow also goes to the top pin out when viewing the encoder from its non-shaft side and the two pin outs are on the left side of the encoder. Red then attaches below yellow on the two pin out side and the remaining black and brown wires attach to the top and bottom pin outs on the three pin out side. Here it really does not matter because if you switch black and brown you get reverse direction but I placed black on top and brown on the bottom when looking at the encoder from behind and with the three pin outs on the right side.?
However, remember even if the push feature was perfect the rotary feature of the encoder was only operating half correctly. I.e. the pin out for the brown wire stayed at a constant high state while rotating the shaft in any direction. I think it was 4.54 volts dc.
The push feature under a voltage test was erratic, so much so that I don't really know how to easily verbalize its behavior. Regardless, I should have something other than strictly two items that read "Band Select" without an ability to select a band and "Press to Confirm" which is not meaningful if a band is not able to be selected when the encoder shaft is pushed inward. As a matter of fact there is a host of menu items that are selectable by the encoder but it is not presumably letting me in.
I am 99% certain the encoder that came with the kit was meant to be in the manufacturers trash pile and I will know for certain the encoder is the only issue my kit has when the new encoders arrive, most likely, Monday.
I am building the sister radio, BitX 40, now. It does not use a rotary encoder to tune the radio, rather it uses a 10K potentiometer. I suppose this is because it being a single band radio needs not a menu function that allows the operator to make changes. I am thinking, until the new encoder arrives I can probably get some tuning along the band its stuck on, ie 40 meters, by using a 10K potentiometer in lieu of the encoder. What do you think of the Idea??
Thanks for your interest.
Mike
toggle quoted message
Show quoted text
On May 18, 2018 2:03 PM, "Daniel Conklin" < danconklin2@...> wrote: Mike, It appears to be doing what it's supposed to do when you press it.? Post a photo of the back showing how you have it wired. Daniel, W2DLC
|
Mike it appears that your encoder was setup properly as you described. With the first press of the encoder get you into the menus at this point if you rotate the encoder knob you will step through various selections. At this point you will need to press the encoder again to select that menu item using your example of band select if you rotate the encoder knob now it will step through the bands/frequencies in large steps the upper line will say Press to Confirm while the lower line will change with each step. Press the encoder knob now will save the selection on the lower line of the display. I hope this will help but sorry to hear you already removed the encoder.
toggle quoted message
Show quoted text
On May 18, 2018, at 15:07, Mike aka KC2WVB < rb5363@...> wrote: Thanks for addressing this issue, Daniel
I would show a picture of the encoder but I removed it. It's only a few wires with yellow being a raduino ground that goes to the middle pin out on the three pin out side. Yellow also goes to the top pin out when viewing the encoder from its non-shaft side and the two pin outs are on the left side of the encoder. Red then attaches below yellow on the two pin out side and the remaining black and brown wires attach to the top and bottom pin outs on the three pin out side. Here it really does not matter because if you switch black and brown you get reverse direction but I placed black on top and brown on the bottom when looking at the encoder from behind and with the three pin outs on the right side.?
However, remember even if the push feature was perfect the rotary feature of the encoder was only operating half correctly. I.e. the pin out for the brown wire stayed at a constant high state while rotating the shaft in any direction. I think it was 4.54 volts dc.
The push feature under a voltage test was erratic, so much so that I don't really know how to easily verbalize its behavior. Regardless, I should have something other than strictly two items that read "Band Select" without an ability to select a band and "Press to Confirm" which is not meaningful if a band is not able to be selected when the encoder shaft is pushed inward. As a matter of fact there is a host of menu items that are selectable by the encoder but it is not presumably letting me in.
I am 99% certain the encoder that came with the kit was meant to be in the manufacturers trash pile and I will know for certain the encoder is the only issue my kit has when the new encoders arrive, most likely, Monday.
I am building the sister radio, BitX 40, now. It does not use a rotary encoder to tune the radio, rather it uses a 10K potentiometer. I suppose this is because it being a single band radio needs not a menu function that allows the operator to make changes. I am thinking, until the new encoder arrives I can probably get some tuning along the band its stuck on, ie 40 meters, by using a 10K potentiometer in lieu of the encoder. What do you think of the Idea??
Thanks for your interest.
Mike
|
Mike, Before you throw the encoder away is it sealed or does it have an opening somewhere? You could try flushing it with WD40 to see if one of the mechanical switches is hanging and just needs a little cleaning. Blow it out good with air and let it dry for a while and then test it again. BTW, I did take one apart several years ago. It wasn't hard. I never bothered to put it back together again tho! tim ab0wr On Fri, 18 May 2018 15:07:00 -0400 "Mike aka KC2WVB" <rb5363@...> wrote: Thanks for addressing this issue, Daniel
I would show a picture of the encoder but I removed it. It's only a few wires with yellow being a raduino ground that goes to the middle pin out on the three pin out side. Yellow also goes to the top pin out when viewing the encoder from its non-shaft side and the two pin outs are on the left side of the encoder. Red then attaches below yellow on the two pin out side and the remaining black and brown wires attach to the top and bottom pin outs on the three pin out side. Here it really does not matter because if you switch black and brown you get reverse direction but I placed black on top and brown on the bottom when looking at the encoder from behind and with the three pin outs on the right side.
However, remember even if the push feature was perfect the rotary feature of the encoder was only operating half correctly. I.e. the pin out for the brown wire stayed at a constant high state while rotating the shaft in any direction. I think it was 4.54 volts dc.
The push feature under a voltage test was erratic, so much so that I don't really know how to easily verbalize its behavior. Regardless, I should have something other than strictly two items that read "Band Select" without an ability to select a band and "Press to Confirm" which is not meaningful if a band is not able to be selected when the encoder shaft is pushed inward. As a matter of fact there is a host of menu items that are selectable by the encoder but it is not presumably letting me in.
I am 99% certain the encoder that came with the kit was meant to be in the manufacturers trash pile and I will know for certain the encoder is the only issue my kit has when the new encoders arrive, most likely, Monday.
I am building the sister radio, BitX 40, now. It does not use a rotary encoder to tune the radio, rather it uses a 10K potentiometer. I suppose this is because it being a single band radio needs not a menu function that allows the operator to make changes. I am thinking, until the new encoder arrives I can probably get some tuning along the band its stuck on, ie 40 meters, by using a 10K potentiometer in lieu of the encoder. What do you think of the Idea??
Thanks for your interest.
Mike
On May 18, 2018 2:03 PM, "Daniel Conklin" <danconklin2@...> wrote:
Mike, It appears to be doing what it's supposed to do when you press it. Post a photo of the back showing how you have it wired. Daniel, W2DLC
-- tim ab0wr
|
Follow the three steps of mechanical diagnostics.
If it's stuck, hit it with a hammer.
If it breaks, it needed replacement anyway.
If you're going to throw it away, taking it apart won't do any more damage.
toggle quoted message
Show quoted text
On 5/18/2018 4:38 PM, Tim Gorman wrote: Mike,
Before you throw the encoder away is it sealed or does it have an opening somewhere? You could try flushing it with WD40 to see if one of the mechanical switches is hanging and just needs a little cleaning. Blow it out good with air and let it dry for a while and then test it again.
BTW, I did take one apart several years ago. It wasn't hard. I never bothered to put it back together again tho!
tim ab0wr
On Fri, 18 May 2018 15:07:00 -0400 "Mike aka KC2WVB" <rb5363@...> wrote:
Thanks for addressing this issue, Daniel
I would show a picture of the encoder but I removed it. It's only a few wires with yellow being a raduino ground that goes to the middle pin out on the three pin out side. Yellow also goes to the top pin out when viewing the encoder from its non-shaft side and the two pin outs are on the left side of the encoder. Red then attaches below yellow on the two pin out side and the remaining black and brown wires attach to the top and bottom pin outs on the three pin out side. Here it really does not matter because if you switch black and brown you get reverse direction but I placed black on top and brown on the bottom when looking at the encoder from behind and with the three pin outs on the right side.
However, remember even if the push feature was perfect the rotary feature of the encoder was only operating half correctly. I.e. the pin out for the brown wire stayed at a constant high state while rotating the shaft in any direction. I think it was 4.54 volts dc.
The push feature under a voltage test was erratic, so much so that I don't really know how to easily verbalize its behavior. Regardless, I should have something other than strictly two items that read "Band Select" without an ability to select a band and "Press to Confirm" which is not meaningful if a band is not able to be selected when the encoder shaft is pushed inward. As a matter of fact there is a host of menu items that are selectable by the encoder but it is not presumably letting me in.
I am 99% certain the encoder that came with the kit was meant to be in the manufacturers trash pile and I will know for certain the encoder is the only issue my kit has when the new encoders arrive, most likely, Monday.
I am building the sister radio, BitX 40, now. It does not use a rotary encoder to tune the radio, rather it uses a 10K potentiometer. I suppose this is because it being a single band radio needs not a menu function that allows the operator to make changes. I am thinking, until the new encoder arrives I can probably get some tuning along the band its stuck on, ie 40 meters, by using a 10K potentiometer in lieu of the encoder. What do you think of the Idea??
Thanks for your interest.
Mike
On May 18, 2018 2:03 PM, "Daniel Conklin" <danconklin2@...> wrote:
Mike, It appears to be doing what it's supposed to do when you press it. Post a photo of the back showing how you have it wired. Daniel, W2DLC
|
I have almost the exact same issue with my uBitx!!!! I spend many hours trying to diagnose this problem at the end you can narrow it down to this:
- Disconnect the raduino board from the main board
- Disconnect the main connector
- Power it with a USB cable
- Measure voltage between pin 4 and 6 (Yellow to Red)
- It should read 5 Volt
It it doesn't read 5 Volt your Raduino board is bad and you have to replace it. So I ordered a new one ($35 shipping from India shigh..). Meantime bought a generic and will attempt to replace the failed one. Who knows I might have it working before the orignal board arrives.
|
Hi Skip,
Thanks for the reply.?
I described what it should be doing. The point is- It is not behaving as I described? and that is why I removed the encoder and ordered a replacement plus 4 spares. Mike
toggle quoted message
Show quoted text
On Fri, May 18, 2018, 4:27 PM Skip Davis via Groups.Io <skipnc9o= [email protected]> wrote: Mike it appears that your encoder was setup properly as you described. With the first press of the encoder get you into the menus at this point if you rotate the encoder knob you will step through various selections. At this point you will need to press the encoder again to select that menu item using your example of band select if you rotate the encoder knob now it will step through the bands/frequencies in large steps the upper line will say Press to Confirm while the lower line will change with each step. Press the encoder knob now will save the selection on the lower line of the display. I hope this will help but sorry to hear you already removed the encoder. On May 18, 2018, at 15:07, Mike aka KC2WVB < rb5363@...> wrote: Thanks for addressing this issue, Daniel
I would show a picture of the encoder but I removed it. It's only a few wires with yellow being a raduino ground that goes to the middle pin out on the three pin out side. Yellow also goes to the top pin out when viewing the encoder from its non-shaft side and the two pin outs are on the left side of the encoder. Red then attaches below yellow on the two pin out side and the remaining black and brown wires attach to the top and bottom pin outs on the three pin out side. Here it really does not matter because if you switch black and brown you get reverse direction but I placed black on top and brown on the bottom when looking at the encoder from behind and with the three pin outs on the right side.?
However, remember even if the push feature was perfect the rotary feature of the encoder was only operating half correctly. I.e. the pin out for the brown wire stayed at a constant high state while rotating the shaft in any direction. I think it was 4.54 volts dc.
The push feature under a voltage test was erratic, so much so that I don't really know how to easily verbalize its behavior. Regardless, I should have something other than strictly two items that read "Band Select" without an ability to select a band and "Press to Confirm" which is not meaningful if a band is not able to be selected when the encoder shaft is pushed inward. As a matter of fact there is a host of menu items that are selectable by the encoder but it is not presumably letting me in.
I am 99% certain the encoder that came with the kit was meant to be in the manufacturers trash pile and I will know for certain the encoder is the only issue my kit has when the new encoders arrive, most likely, Monday.
I am building the sister radio, BitX 40, now. It does not use a rotary encoder to tune the radio, rather it uses a 10K potentiometer. I suppose this is because it being a single band radio needs not a menu function that allows the operator to make changes. I am thinking, until the new encoder arrives I can probably get some tuning along the band its stuck on, ie 40 meters, by using a 10K potentiometer in lieu of the encoder. What do you think of the Idea??
Thanks for your interest.
Mike
|
Thanks Tim, for the reply.
It is sealed and the size of a dime. If a replacement and extra extras were not coming in the mail and arriving Monday I would try to open her up but I'll wait and assemble the BitX40 as I wait.?
I may give the BitX40's 10K potentiometer running method a go on the UBitX as I wait. It should work on the band the radio is stuck on because of presumably a defective encoder.
Thanks Mike
toggle quoted message
Show quoted text
On Fri, May 18, 2018, 4:38 PM Tim Gorman < tgorman2@...> wrote: Mike,
Before you throw the encoder away is it sealed or does it have an
opening somewhere? You could try flushing it with WD40 to see if one of
the mechanical switches is hanging and just needs a little cleaning.
Blow it out good with air and let it dry for a while and then test it
again.
BTW, I did take one apart several years ago. It wasn't hard. I never
bothered to put it back together again tho!
tim ab0wr
On Fri, 18 May 2018 15:07:00 -0400
"Mike aka KC2WVB" <rb5363@...> wrote:
> Thanks for addressing this issue, Daniel
>
> I would show a picture of the encoder but I removed it. It's only a
> few wires with yellow being a raduino ground that goes to the middle
> pin out on the three pin out side. Yellow also goes to the top pin
> out when viewing the encoder from its non-shaft side and the two pin
> outs are on the left side of the encoder. Red then attaches below
> yellow on the two pin out side and the remaining black and brown
> wires attach to the top and bottom pin outs on the three pin out
> side. Here it really does not matter because if you switch black and
> brown you get reverse direction but I placed black on top and brown
> on the bottom when looking at the encoder from behind and with the
> three pin outs on the right side.
>
> However, remember even if the push feature was perfect the rotary
> feature of the encoder was only operating half correctly. I.e. the
> pin out for the brown wire stayed at a constant high state while
> rotating the shaft in any direction. I think it was 4.54 volts dc.
>
> The push feature under a voltage test was erratic, so much so that I
> don't really know how to easily verbalize its behavior. Regardless, I
> should have something other than strictly two items that read "Band
> Select" without an ability to select a band and "Press to Confirm"
> which is not meaningful if a band is not able to be selected when the
> encoder shaft is pushed inward. As a matter of fact there is a host
> of menu items that are selectable by the encoder but it is not
> presumably letting me in.
>
> I am 99% certain the encoder that came with the kit was meant to be
> in the manufacturers trash pile and I will know for certain the
> encoder is the only issue my kit has when the new encoders arrive,
> most likely, Monday.
>
> I am building the sister radio, BitX 40, now. It does not use a rotary
> encoder to tune the radio, rather it uses a 10K potentiometer. I
> suppose this is because it being a single band radio needs not a menu
> function that allows the operator to make changes. I am thinking,
> until the new encoder arrives I can probably get some tuning along
> the band its stuck on, ie 40 meters, by using a 10K potentiometer in
> lieu of the encoder. What do you think of the Idea??
>
> Thanks for your interest.
>
> Mike
>
> On May 18, 2018 2:03 PM, "Daniel Conklin" <danconklin2@...>
> wrote:
>
> Mike, It appears to be doing what it's supposed to do when you press
> it. Post a photo of the back showing how you have it wired.
> Daniel, W2DLC
>
--
tim ab0wr
|
Wow, thanks for all the hard work figuring this issue out. I'll pull the Raduino off the main board and power it up with a micro USB connector later tonight and check to see if it reads 5 volts across the pins that you indicated.
I believe I have a new Nano Arduino in the box somewhere but if I need to replace it I think I will order new as you did and if that is the case I'll drop you a note asking how to contact India so as to order the new Raduino.
Thanks again, you may have saved me a ton of hair pulling on a head that went bald 15 years ago.?
Best wishes,?
Mike
toggle quoted message
Show quoted text
On Fri, May 18, 2018, 5:55 PM kj6etl < pa1zz@...> wrote: I have almost the exact same issue with my uBitx!!!!
I spend many hours trying to diagnose this problem at the end you can narrow it down to this:
- Disconnect the raduino board from the main board
- Disconnect the main connector
- Power it with a USB cable
- Measure voltage between pin 4 and 6 (Yellow to Red)
- It should read 5 Volt
It it doesn't read 5 Volt your Raduino board is bad and you have to replace it. So I ordered a new one ($35 shipping from India shigh..). Meantime bought a generic and will attempt to replace the failed one. Who knows I might have it working before the orignal board arrives.
|
Mike and Rogier, You may be interested in loading and running the diagnostic software I am writing.? It covers the encoder,? keyer and PTT inputs for now. Since you will have to reload a software in the new Nano this is not much extra work and I would be interested to get some feedback on the results we get with the diagnostic software and that would also definitely tell you what the Arduino sees internally. /g/BITX20/files/uBitx%20Diagnostic%20software%20by%20VK2ETA/ubitx-Diagnostic%20-%20Version%20B0.2-2018-04-28.zip
Usage is:
1. Compile and upload software to Arduino
2. Open the "Serial Monitor" by CRTL-SHIFT-M or via the menu "Tools" / "Serial Monitor"
3. In Serial Monitor, ensure "Autoscroll" is enable, Line ending is on "Newline" and the speed is 57600 baud.
4. Commands are entered in the top data entry box of the Serial Monitor.
?
If you select the Encoder test, the two encoder inputs as read by the Arduino internally are shown as horizontal bar, under a scale from zero to 5V, printed every time the input value changes.?
So you can either rotate the encoder if connected or simply short the yellow and brown or yellow and black wires and check if the display gets updated with a new input (should go from 5V to zero on the displayed bar).
When the encoder is read properly the words "incrementing" and "decrementing" should be displayed as well every few samples.
Thanks and 73,
John (Vk2ETA)
|
Thanks John. I very well may do as suggested and report back to you my test drive of your diagnostic software.
Right now I am camped out at a vacation home in the Catskill Moutains. We recently acquired 4G cellular service and up till then internet here was the same as in the sixties. I have to find my laptop and a hotspot and once I do I'll start to download what is required.
Mike
toggle quoted message
Show quoted text
On May 18, 2018 7:31 PM, "John" < vk2eta@...> wrote: Mike and Rogier,
You may be interested in loading and running the diagnostic software I am writing.? It covers the encoder,? keyer and PTT inputs for now.
Since you will have to reload a software in the new Nano this is not much extra work and I would be interested to get some feedback on the results we get with the diagnostic software and that would also definitely tell you what the Arduino sees internally.
/g/BITX20/files/uBitx%20Diagnostic%20software%20by%20VK2ETA/ubitx-Diagnostic%20-%20Version%20B0.2-2018-04-28.zip
Usage is:
1. Compile and upload software to Arduino
2. Open the "Serial Monitor" by CRTL-SHIFT-M or via the menu "Tools" / "Serial Monitor"
3. In Serial Monitor, ensure "Autoscroll" is enable, Line ending is on "Newline" and the speed is 57600 baud.
4. Commands are entered in the top data entry box of the Serial Monitor.
?
If you select the Encoder test, the two encoder inputs as read by the Arduino internally are shown as horizontal bar, under a scale from zero to 5V, printed every time the input value changes.?
So you can either rotate the encoder if connected or simply short the yellow and brown or yellow and black wires and check if the display gets updated with a new input (should go from 5V to zero on the displayed bar).
When the encoder is read properly the words "incrementing" and "decrementing" should be displayed as well every few samples.
Thanks and 73,
John (Vk2ETA)
|
Thanks Mike, your feedback will be appreciated.
In the mean time enjoy the view from the mountains.
All the best,
73, John
|
Sounds like you are already well on the way to figuring it out.? Let us know when you try the new encoder. Daniel, W2DLC
|
Mike,
I tried to use your software and it appears to work fine up to the menu. When I make a selection, including help, it just sits there. I am using autoscroll, newline and 57600 baud. I am using 1.8.5 IDE for compiling under Ubuntu 17.10. I tried it on another Nano that is known to be good and same results.
Thanks for your hard work and if I can be of assistance, please let me know. I have a bit of a software background myself, so I can truly appreciate your efforts. -- 72 and God bless KD4EPG
|
Hello,
Sorry if I state the obvious, but you have to select the data entry line at the top of the serial monitor window to allow typing of command. The characters you type should show in that field.
73, John (VK2ETA)
|
-- yes, I understand that..that I how I do it..
72 and God bless KD4EPG
|
Since you can upload the software, the USB connection is working and I specifically used the same baud rate as the upload to avoid any speed issue on the serial link.? I re-downloaded the diagnostic software from the files section to make sure, and it works on my unit. So I can't see where the problem is coming from. Here are two screenshots of what to expect. Screenshot one shows the main menu displayed at serial monitor launch, and after sending a "2" for the "Input tests".  Screenshot two shows the display when turning the encoder up and down.  Please note that in the main menu only options 1 and 2 are currently working. 73, John (VK2ETA)
|
I can think of one error that would result in what you measured... If the ground was connected to one side of the switches instead of the common, then that side would show voltage changes but the other side would never connect to ground. You may want to verify that the connector end is wired correctly.
With all three lines disconnected, power up the system. One line should be at ground, it should be the common connection of the switches. The other lines should be near Vcc.
Let us know what you find out!
Bob, N3FM
toggle quoted message
Show quoted text
On May 19, 2018 3:48 PM, "John" < vk2eta@...> wrote: Since you can upload the software, the USB connection is working and I specifically used the same baud rate as the upload to avoid any speed issue on the serial link.?
I re-downloaded the diagnostic software from the files section to make sure, and it works on my unit.
So I can't see where the problem is coming from.
Here are two screenshots of what to expect.
Screenshot one shows the main menu displayed at serial monitor launch, and after sending a "2" for the "Input tests".

Screenshot two shows the display when turning the encoder up and down.
 Please note that in the main menu only options 1 and 2 are currently working.
73, John (VK2ETA)
|