¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Bourns Encoder for Pocket Tutor

 

Here are side views
Ken

On Tue, Aug 11, 2020 at 12:35 PM Ken KM4NFQ <km4nfq@...> wrote:

Thanks Ken WB2ART,

What does it look like with all the layers together, including the
battery pack layer?
Aren't there something like three layers?
Can you take a snapshot of a side view?
What kind of paddle do you use with yours? TIA.

Regards,
Ken, KM4NFQ "Not Fully Qualified"
/g/w8bhMorseTutor

On Tue, Aug 11, 2020 at 11:58 AM Ken Kaplan <wb2art@...> wrote:

Hi Ken
I've attached 2 pics.
Ken WB2ART

On Tue, Aug 11, 2020 at 10:42 AM Ken KM4NFQ <km4nfq@...> wrote:

Thanks Ken WB2ART,

I believe you are the first one to build a Pocket Tutor besides Bruce W8BH?
That information will certainly be helpful to others who build it.
I would like to see a snapshot of your Pocket Tutor, if possible. TIA.

Regards,
Ken, KM4NFQ "Not Fully Qualified"
/g/w8bhMorseTutor

On Tue, Aug 11, 2020 at 9:19 AM Ken Kaplan <wb2art@...> wrote:

In my last post, I had the incorrect number for the encoder.
The correct p/n is: PEC11R-4215K-S0024-ND
The JST battery connector and short female headers can be ordered from Adafruit.
Ken WB2ART




Re: Bourns Encoder for Pocket Tutor

 

Thanks Ken WB2ART,

What does it look like with all the layers together, including the
battery pack layer?
Aren't there something like three layers?
Can you take a snapshot of a side view?
What kind of paddle do you use with yours? TIA.

Regards,
Ken, KM4NFQ "Not Fully Qualified"
/g/w8bhMorseTutor

On Tue, Aug 11, 2020 at 11:58 AM Ken Kaplan <wb2art@...> wrote:

Hi Ken
I've attached 2 pics.
Ken WB2ART

On Tue, Aug 11, 2020 at 10:42 AM Ken KM4NFQ <km4nfq@...> wrote:

Thanks Ken WB2ART,

I believe you are the first one to build a Pocket Tutor besides Bruce W8BH?
That information will certainly be helpful to others who build it.
I would like to see a snapshot of your Pocket Tutor, if possible. TIA.

Regards,
Ken, KM4NFQ "Not Fully Qualified"
/g/w8bhMorseTutor

On Tue, Aug 11, 2020 at 9:19 AM Ken Kaplan <wb2art@...> wrote:

In my last post, I had the incorrect number for the encoder.
The correct p/n is: PEC11R-4215K-S0024-ND
The JST battery connector and short female headers can be ordered from Adafruit.
Ken WB2ART



Re: Bourns Encoder for Pocket Tutor

 

Hi Ken
I've attached 2 pics.
Ken WB2ART

On Tue, Aug 11, 2020 at 10:42 AM Ken KM4NFQ <km4nfq@...> wrote:

Thanks Ken WB2ART,

I believe you are the first one to build a Pocket Tutor besides Bruce W8BH?
That information will certainly be helpful to others who build it.
I would like to see a snapshot of your Pocket Tutor, if possible. TIA.

Regards,
Ken, KM4NFQ "Not Fully Qualified"
/g/w8bhMorseTutor

On Tue, Aug 11, 2020 at 9:19 AM Ken Kaplan <wb2art@...> wrote:

In my last post, I had the incorrect number for the encoder.
The correct p/n is: PEC11R-4215K-S0024-ND
The JST battery connector and short female headers can be ordered from Adafruit.
Ken WB2ART


Re: Bourns Encoder for Pocket Tutor

 

Thanks Ken WB2ART,

I believe you are the first one to build a Pocket Tutor besides Bruce W8BH?
That information will certainly be helpful to others who build it.
I would like to see a snapshot of your Pocket Tutor, if possible. TIA.

Regards,
Ken, KM4NFQ "Not Fully Qualified"
/g/w8bhMorseTutor

On Tue, Aug 11, 2020 at 9:19 AM Ken Kaplan <wb2art@...> wrote:

In my last post, I had the incorrect number for the encoder.
The correct p/n is: PEC11R-4215K-S0024-ND
The JST battery connector and short female headers can be ordered from Adafruit.
Ken WB2ART


Bourns Encoder for Pocket Tutor

 

In my last post, I had the incorrect number for the encoder.
The correct p/n is: PEC11R-4215K-S0024-ND
The JST battery connector and short female headers can be ordered from Adafruit.
Ken WB2ART


Some notes on the Pocket Tutor build

 

?The encoder Bruce used is oot of stock at Digikey.
I used this one:

ROTARY ENCODER MECHANICAL 24PPR

?PEC11R-4225F-S0024-ND?

It works fine.
Since I did not want to use knobs, this one has a fluted shaft, like the volume
control. It is a split shaft however. So, I put a small sliver of a?popsicle stick in the slot,
then put some heat-shrink on the shaft. Now it looks pretty much like?the volume
control, and a very close height match.

For the key and headphone jacks, I actually elongated the holes in the pcb.
This moved the jacks pretty close to the pcb edge.
I used the fattest plug I had, and then filed away a bit of the pcb, so the plug
fit all the way.

Ken WB2ART
?
?


Re: Annotated pcb for Pocket Tutor

 

Hi Ken
Well, the pcb's were $23.40, as I used DHL express shipping at $17.50.
(I do have 2 pcb's I'd want to sell).

The speaker volume is a bit low, not at all like the original morse tutors.
But the headphone volume is ear-splitting!!!

Parts were $33.14 + shipping from Digikey. I did not order the battery
connector, as I had one already.
I substituted a different encoder, as they were out of the one Bruce used.

I only have extra resistors and caps, the cheap stuff...hi...hi
I only have through hole parts in the 'junk box'.

I really like the pocket tutor, as it's small, and battery powered.
Need to get a case. I have people from my microcontroller club that
have 3d printers, so I may press one of them into printing a case.

If you know of anyone who wants to purchase the old morse tutors
(built and working),
I have 4 to sell. 2 with esp32 and 2.2 in display, and 2 with the
larger display.

73
Ken WB2ART

On Sat, Aug 8, 2020 at 3:37 PM Ken KM4NFQ <km4nfq@...> wrote:

Hello Ken W*2ART,

That looks very helpful Ken.
Thanks for making it.

I have never worked with an SMD speaker before. How does it sound?

Also, since you are one of the first ones to complete a PocketTutor,
about how much did it cost you, total, including the PCBs? I usually
order at least ten of each component to get a small discount on each
part. I usually order from Mouser Electronics. Also, I would imagine
that you already had some common resistors and capacitors in your junk
box. So a ballpark estimate would be fine, if you please. It is always
helpful to hear from early adopters. 8^D

Regards,
Ken, KM4NFQ "Not Fully Qualified"
/g/w8bhMorseTutor

On Sat, Aug 8, 2020 at 2:30 PM Ken Kaplan <wb2art@...> wrote:

When I built the Pocket Tutor, I had never worked with mcu's, audio chips and speakers.
So I have attached an annotated pcb just to assist if your confused on part orientation, like I was.
Ken WB2ART


Re: Annotated pcb for Pocket Tutor

 

Hello Ken W*2ART,

That looks very helpful Ken.
Thanks for making it.

I have never worked with an SMD speaker before. How does it sound?

Also, since you are one of the first ones to complete a PocketTutor,
about how much did it cost you, total, including the PCBs? I usually
order at least ten of each component to get a small discount on each
part. I usually order from Mouser Electronics. Also, I would imagine
that you already had some common resistors and capacitors in your junk
box. So a ballpark estimate would be fine, if you please. It is always
helpful to hear from early adopters. 8^D

Regards,
Ken, KM4NFQ "Not Fully Qualified"
/g/w8bhMorseTutor

On Sat, Aug 8, 2020 at 2:30 PM Ken Kaplan <wb2art@...> wrote:

When I built the Pocket Tutor, I had never worked with mcu's, audio chips and speakers.
So I have attached an annotated pcb just to assist if your confused on part orientation, like I was.
Ken WB2ART


Annotated pcb for Pocket Tutor

 

When I built the Pocket Tutor, I had never worked with? mcu's, audio chips and speakers.
So I have attached an annotated pcb just to assist if your confused on part orientation, like I was.
Ken WB2ART


Re: W8BH Pocket Tutor

 

Yes, the speaker is smd.
It has contacts on the side.
Pretty easy to desolder, if you can get underneath it, which I did.
Ken

On Fri, Aug 7, 2020 at 4:27 PM Ken KM4NFQ <km4nfq@...> wrote:

Hello Ken WB2ART,

That Pocket Tutor looks great! I'm glad to hear that you were able to
fix the small mistakes made while building it. Is the speaker an SMD
component?

Regards,
Ken, KM4NFQ "Not Fully Qualified"
/g/w8bhMorseTutor

On Fri, Aug 7, 2020 at 12:00 PM Ken Kaplan <wb2art@...> wrote:

Hi guys.
I finished the Pocket Tutor this morning.
The Pocket Tutor software works great.

I did make a change to the defaults.
Changed the default code speed to 21, the default call to my call and usepaddles=true.

The build went well, with not too many mistakes.
I did end up installing the volume control where the encoder should be.
A quick vacuum desoldering and that was corrected.
I also installed the speaker upside down. That was also desoldered and corrected.

I would suggest reading Bruce's soldering smd pdf, on his website.

I was not at all familiar with the mcu or audio amp chips. I had to refer to the
pcb picture in PocketTutor6.pdf, to see how the chips lined up.

I did make an annotated picture of the pcb, with the proper orientations of the chips and speaker.
I will put a copy in the files section when I'm satisfied with it.

I'd be happy to answer any questions, if I can, on my build.

73
Ken Kaplan WB2ART


Re: W8BH Pocket Tutor

 

Hello Ken WB2ART,

That Pocket Tutor looks great! I'm glad to hear that you were able to
fix the small mistakes made while building it. Is the speaker an SMD
component?

Regards,
Ken, KM4NFQ "Not Fully Qualified"
/g/w8bhMorseTutor

On Fri, Aug 7, 2020 at 12:00 PM Ken Kaplan <wb2art@...> wrote:

Hi guys.
I finished the Pocket Tutor this morning.
The Pocket Tutor software works great.

I did make a change to the defaults.
Changed the default code speed to 21, the default call to my call and usepaddles=true.

The build went well, with not too many mistakes.
I did end up installing the volume control where the encoder should be.
A quick vacuum desoldering and that was corrected.
I also installed the speaker upside down. That was also desoldered and corrected.

I would suggest reading Bruce's soldering smd pdf, on his website.

I was not at all familiar with the mcu or audio amp chips. I had to refer to the
pcb picture in PocketTutor6.pdf, to see how the chips lined up.

I did make an annotated picture of the pcb, with the proper orientations of the chips and speaker.
I will put a copy in the files section when I'm satisfied with it.

I'd be happy to answer any questions, if I can, on my build.

73
Ken Kaplan WB2ART


W8BH Pocket Tutor

 

Hi guys.
I finished the Pocket Tutor this morning.
The Pocket Tutor software works great.

I did make a change to the defaults.
Changed the default code speed to 21, the default call to my call and usepaddles=true.

The build went well, with not too many mistakes.
I did end up installing the volume control where the encoder should be.
A quick vacuum desoldering and that was corrected.
I also installed the speaker upside down. That was also desoldered and corrected.

I would suggest reading Bruce's soldering smd pdf, on his website.

I was not at all familiar with the mcu or audio amp chips. I had to refer to the
pcb picture in PocketTutor6.pdf, to see how the chips lined up.

I did make an annotated picture of the pcb, with the proper orientations of the chips and speaker.
I will put a copy in the files section when I'm satisfied with it.

I'd be happy to answer any questions, if I can, on my build.

73
Ken Kaplan WB2ART










Re: W8BH pocket tutor--has anyone bought pc boards or made a 3D enclosure?

 

Hi Jim
I have 3 extra boards.
How many do you need?
73
Ken Kaplan WB2ART?

On Wed, Aug 5, 2020, 2:21 AM Jim Pruitt <jpruitt67@...> wrote:
I am wondering if anyone on the list ordered and received any pc boards for Bruce's pocket tutor and would be willing to share?

Also has anyone found or made a 3D case for it?? If so,? are the 3D files shared somewhere?

Thank you.

Jim Pruitt
WA7DUY


W8BH pocket tutor--has anyone bought pc boards or made a 3D enclosure?

 

¿ªÔÆÌåÓý

I am wondering if anyone on the list ordered and received any pc boards for Bruce's pocket tutor and would be willing to share?

Also has anyone found or made a 3D case for it?? If so,? are the 3D files shared somewhere?

Thank you.

Jim Pruitt
WA7DUY


How to configure Arduino for the Blue Pill

 

A few people have asked me how to configure Arduino IDE for the Blue Pill and other STM32 microcontrollers.? I am not an Arduino expert, but here are some instructions for anyone interested:



Bruce


Re: New software to the Old Tutor

 

A slow screen update is often from using a wrong library.? ?For example, if you compile using the "official" STM32 board package, the display is about 10x slower than if you use Roger Clark's code.? I use the package URL to load Roger's code.

I will double-check my uploaded .bin files to make sure they are correct.

Bruce


On Thu, Jul 23, 2020 at 11:24 AM John Kristiansen <john.k@...> wrote:

Hello Bruce

?

Now I have picked up your new software for the ¡¯old¡¯ tutor.

And it¡¯s seems to Work fine. I can change colours and preselect the wanted exercise . Very nice.

But I find that the screen update is to slow! An examble. In ¡¯Copy Two¡¯, the scrolling freq. is so low, that I have to wait quite a while before the next cw/text is shown. Have I forgotten anything? I have tried to find a proper delay in your program that I can change, but without luck ?

Can you help, please?

?

BR OZ1QZ / John

?

?

?

?

Sendt fra til Windows 10

?


New software to the Old Tutor

 

¿ªÔÆÌåÓý

Hello Bruce

?

Now I have picked up your new software for the ¡¯old¡¯ tutor.

And it¡¯s seems to Work fine. I can change colours and preselect the wanted exercise . Very nice.

But I find that the screen update is to slow! An examble. In ¡¯Copy Two¡¯, the scrolling freq. is so low, that I have to wait quite a while before the next cw/text is shown. Have I forgotten anything? I have tried to find a proper delay in your program that I can change, but without luck ?

Can you help, please?

?

BR OZ1QZ / John

?

?

?

?

Sendt fra til Windows 10

?


Re: Morse tutor

 

¿ªÔÆÌåÓý

Thanks Bruce.

Good information.

On my displays, there is a driver transistor, Q1, a J3Y = S8050, with a 1k resistor at the base, and the other end of the resistor to the LED pin. So that must be the componenets you refer to.

I haven¡¯t downloaded you new BP program yet, so I don¡¯t know the PWM pin number. But that, I¡¯m sure, could be seen in the program or in another of the GitHub files.

?

OZ1QZ / John

?

Sendt fra til Windows 10

?

Fra: Bruce Hall
Sendt: 19. juli 2020 14:18
Til: [email protected]
Emne: Re: [w8bhMorseTutor] Morse tutor

?

Hello John,

?

Nice to hear from you again!

?

I have all of the software on GitHub.? I updated the software for the 'old' tutor,?which is here:

?

The display updates will work on your old STM32 device, except for backlight control.? ? I have not updated the ESP32 code yet.

?

For backlight control, the?old tutor requires a hardware change.? The first step in the procedure is to look at the back of the display pcb, where the components are mounted, and determine if there is a driver transistor for the backlight circuit.? It will consist of a 3-pin transistor (SOT23 package) and adjacent 1K resistor.? I have discovered that some displays have this driver.? Other displays connect the backlight LEDs directly to the backlight pin.? If you need help locating this transistor I can send you a photo of it.

?

The new code controls the backlight by varying the duty cycle of a PWM signal.? ?If there is a transistor driver, we can solder a single wire from the PWM signal to the backlight pin and we are done.? ?If there is no transistor driver on-board, the backlight current (about 90mA) is too much for the.microcontroller to handle.? ?In that case we would need to add our?own transistor driver.? ?The pocket tutor pcb has a transistor driver, which can be bypassed if not needed.

?

Does that help at all?? ?

?

Bruce

?

On Sun, Jul 19, 2020 at 5:37 AM John Kristiansen <john.k@...> wrote:

Hello Bruce

?

You did it again! Nice work with the portable tutor and the documentation. Top class!

I hope to get the new software implemented to my 'old' tutor, and need a hint for the display improvement. Can I find it in your Githup account?

?

BR OZ1QZ / John

?


Re: Morse tutor

 

Hello John,

Nice to hear from you again!

I have all of the software on GitHub.? I updated the software for the 'old' tutor,?which is here:


The display updates will work on your old STM32 device, except for backlight control.? ? I have not updated the ESP32 code yet.

For backlight control, the?old tutor requires a hardware change.? The first step in the procedure is to look at the back of the display pcb, where the components are mounted, and determine if there is a driver transistor for the backlight circuit.? It will consist of a 3-pin transistor (SOT23 package) and adjacent 1K resistor.? I have discovered that some displays have this driver.? Other displays connect the backlight LEDs directly to the backlight pin.? If you need help locating this transistor I can send you a photo of it.

The new code controls the backlight by varying the duty cycle of a PWM signal.? ?If there is a transistor driver, we can solder a single wire from the PWM signal to the backlight pin and we are done.? ?If there is no transistor driver on-board, the backlight current (about 90mA) is too much for the.microcontroller to handle.? ?In that case we would need to add our?own transistor driver.? ?The pocket tutor pcb has a transistor driver, which can be bypassed if not needed.

Does that help at all?? ?

Bruce

On Sun, Jul 19, 2020 at 5:37 AM John Kristiansen <john.k@...> wrote:
Hello Bruce

You did it again! Nice work with the portable tutor and the documentation. Top class!
I hope to get the new software implemented to my 'old' tutor, and need a hint for the display improvement. Can I find it in your Githup account?

BR OZ1QZ / John


Re: Pocket Tutor - hardware update

 

Thanks for the tips.
Ken

On Sun, Jul 19, 2020, 7:59 AM Bruce Hall <bhall66@...> wrote:
Hello Ken

If you are having trouble compiling, there are a few places to look:
a) the STM32 "toolchain".
b) the libraries.
c) the board settings.

For a), I've had the best luck with the toolchain at , as described at the beginning of this video:

The official STM32 toolchain works, but the display speed suffers horribly.

The libraries I use are from Adafruit.? ?If you get an error related to one of the libraries, it could be an incompatible version.
I am using recent versions.? Probably not the most recent.? I will get you version numbers if this proves to be the problem.

Double-check your board settings & make sure they correspond to what I list in the builder's guide.

Did you try compiling your way through the software tutorials, which start at??? ?If you can't find?any issue with your settings, go sequentially through the software tutorials (which start with blink) and see where the compiler error pops up.? That should help you narrow down where the problem lies.

You can avoid the Arduino IDE and compiler altogether by flashing your chip with the binaries.? ?I really like ST-LINK.
One word of advice: make sure you power your device before connecting a ST-LINK clone.? And disconnect the dongle before you switch off your device.? If you don't, the device will consume current from ST-LINK and eventually burn out its tiny 3.3V power regulator.? I burned out a few before I figured out the problem.

Bruce



On Sat, Jul 18, 2020 at 10:27 PM Ken Kaplan <wb2art@...> wrote:
Okay,? I'll review this when I get to the build.
I will go over the parts list tomorrow.?
Probably build at least 2 units.
Got my st- link today. Have yet to try it.
I did have some trouble compiling the ino a few days ago. I could compile a simple blink program for the stm32,? but try your software,? it said I could not compile for the stm32.? I have tried this on 2 different computers, and got the same result. I most likely have some thing set wrong
?I'll look into it in the next few days.
Ken

On Sat, Jul 18, 2020, 6:29 PM Bruce Hall <bhall66@...> wrote:
Ken,

Excellent!? I hope you enjoy your build as much as I did.

One last thing:? I've been using headphones a lot with my Pocket Tutor.? ?If you intend to use headphones too, you will?notice that output from the external speaker jack can be overwhelming.? (It creates room-filling sound with a 2W speaker.)? ?Will you get to the audio circuit, there are a few options to consider:

a) Use the circuit as is, and keep the volume control near zero.? ?It works, but you can do better.??

b)? Increase R13 to a larger value? (Easy fix, but reduces the range of the on-board speaker); or

c)? Add a series resistor between the amplifier circuit and the S-pin (sleeve) of the speaker jack.? This is mechanically trickier to do, but will be more satisfying.? I suggest a value of around 150-330 ohms.? With my headphones, 150 ohms is about right.

d) Make a short adapter cable with a series resistor in it.? ?Easy but clunky.

Bruce

On Sat, Jul 18, 2020 at 5:28 PM Ken Kaplan <wb2art@...> wrote:
Yes, I just printed the shared cart.
Will take some time and see if I need to adjust anything.
Ordered the boards from jclpcb.?
Ken

On Sat, Jul 18, 2020, 5:18 PM Bruce Hall <bhall66@...> wrote:
Ken,

I put a shared cart on the builder's guide, which will create a single DigiKey order for most of the parts.? ?
When I order I get lots of extras, so please review and adjust the?quantities of each item you?want.? Of course, if you prefer Mouser or another distributor, you will need to order them separately.

Bruce

On Sat, Jul 18, 2020 at 5:04 PM Ken Kaplan <wb2art@...> wrote:
Thanks for the hints.
I'm going to get boards and parts ordered, probably tomorrow.
73
Ken
WB2ART?

On Sat, Jul 18, 2020, 4:59 PM Bruce Hall <bhall66@...> wrote:
I have a few tips for anyone building the Pocket Tutor:

1.? The power supply needs a decoupling capacitor across the battery.? You should solder an additional 10uF cap across the pins of the battery jack J1.

2.? The audio and key jacks are recessed by about a millimeter.? Normally this isn't a problem, but one my plugs fails to make good contact.? ?So, when soldering these jacks, please situate them as close as possible to the board edge.? The extra-large soldering pads give you some leeway.

I updated the builder's guide to reflect these two changes.

Bruce