Keyboard Shortcuts
Likes
- W8bhMorseTutor
- Messages
Search
Re: LCMETER displaying wrong colours ?
Hi bruce
toggle quoted message
Show quoted text
The invert display did the trick. I have another issue - the screen is not starting at 0,0 and I have 1 line of pixels on top and 3 lines of pixels on the left side . On Mon, May 1, 2023 at 3:01?PM Bruce Hall <bhall66@...> wrote:
|
Re: LCMETER displaying wrong colours ?
Jason, You are right:? not all displays use the same RGB organization.? ?Here are three suggestions: 1). The simplest suggestion:? add the line tft.invertDisplay(true); to the bottom of the initDisplay() routine.? If you are very lucky, this single extra line will do the trick. If not, you will need to experiment and the fixes are more involved. 2) The next thing to try is changing the tft initialization.? Replace the line "tft.init()"? with one of the following; ?? tft.initR(INITR_BLACKTAB); ? ? ?// Init ST7735S chip, black tab ?- or - tft.initR(INITR_GREENTAB); ? ? ?// Init ST7735S chip, green tab ?- or - tft.initR(INITR_144GREENTAB);? ?// Init ST7735R chip, green tab These three initializations account for the most common LCD varieties. 3)? If none of the above works, you can specify your desired colors as a 16-bit hex value.? Find the following lines in the code: #define C_COLOR ? ? ? ?TFT_YELLOW ? ? ? ? ? ? // color for capacitance screen #define L_COLOR ? ? ? ?TFT_CYAN ? ? ? ? ? ? ? // color for inductance screen #define CAL_COLOR ? ? ?TFT_GREEN ? ? ? ? ? ? ?// color of calibration screen #define STARTUP_COLOR ?TFT_WHITE ? ? ? ? ? ? ?// color of startup screen #define BATT_COLOR ? ? TFT_WHITE ? ? ? ? ? ? ?// color of battery icon and change the values to whatever 16-bit value produces the color you want.? ?For example, change the value of C_COLOR to TFT_BLUE (which won't be blue on your display) or 0xE9B2 or some other 16-bit value.? Feel free to experiment! Bruce On Mon, May 1, 2023 at 8:40?AM 9H5BM <jmcservv@...> wrote: Hi? |
LCMETER displaying wrong colours ?
Hi?
Have build the lcmeter bn49 and have the following screens intro screen is black with white text calibration should be green but its pink? capacitor test is currently blue? inductance test is currently red? Has anyone encountered this error i tried tft library v16 abd 17? but no go so far? seems some displays are organised bgr instead of rgb !? 73;s Jason? 9H5BM |
Re: Morse Tutor update
On rechecking, the ATmega328P is out of stock at?Digikey. Bruce On Fri, Apr 28, 2023 at 8:49?AM Bruce Hall <bhall66@...> wrote:
|
Re: Morse Tutor update
You are right: the software update is intended for the Blue Pill version of Morse Tutor, not Pocket Tutor. The Pocket Tutor MCU (STM32F103CB) is available at Digikey in quantity.? ?But they are still charging twice what it's worth. The ATmega328P is also available in quantity at Digikey () for $2.89. Bruce On Fri, Apr 28, 2023 at 2:55?AM Jim Pruitt WA7DUY <jpruitt67@...> wrote:
|
Re: Morse Tutor update
¿ªÔÆÌåÓýBruce does this also apply to your pocket tutor (even though it mounts the mcu directly on your board and not any module)?? I assume not since it does mount the mcu on the pc board rather than using a Blue Pill module like the original.? I am building one of each.? Is the MCU now readily available or is it still hard to find like the ATMega328P in dip format is hard to find?? I was looking for a source of several ATMega328P last night.? Jameco had a few and Digikey has none and Mouser has none but expecting some in late June. I could not even find the dip version (ATMega328P-PU) on Microchip site last night.? The 32 pin smt version is there but not the dip version.Thank you. Jim Pruitt WA7DUY On 4/27/2023 10:15 AM, Bruce Hall
wrote:
|
Re: Morse Tutor update
toggle quoted message
Show quoted text
|
Morse Tutor update
Morse Tutor Update The current update does NOT add any features.?? Read no further if your Morse Tutor is working well.?? ?So why an update? 1.????? The original Morse Tutor was written using Roger Clark¡¯s core for the Maple/Blue Pill microcontroller.?? It is an excellent and highly optimized core.?? But Roger Clark no longer develops it.??? In the meantime, STMicroelectronics, manufacturer of STM32 microcontrollers, has developed their own series of core libraries.?? These libraries are actively supported and support a much wider range of MCUs. 2.????? Very few Blue Pills (if any) use genuine STM32 microcontrollers from STMicroelectronics.?? Most use knockoff clones which skimp on available flash memory.?? Because of the memory issue, many Morse Tutors cannot store their configuration settings.?? Some do not work at all. The latest update is rewritten for the official STM32 core library.? And, it has a ¡°FAKE_CHIP¡± setting which sidesteps the memory issues plaguing many Blue Pills.? ?The new code works on a Blue Pill which previously refused to run Morse Tutor. There is one disadvantage with the official STM32 core:? screen refreshes are slower, which is noticeable when the entire screen is being redrawn. ???Morse Tutor is not otherwise affected. I¡¯ve posted 3 new files on my GitHub page in the MorseTutor_STM32 directory: 1.????? MorseTutor_STM32.ino ¨C source code for use with the official STM32 core, version 2.5.0 2.????? MorseTutor_STM32.FAKE_64K_MCU ¨C compiled code for Blue Pills with fake 64K MCUs 3.????? MorseTutor_STM32.GENUINE_F103C8 ¨C compiled code for STM32F103C8 or STM32F103CB microcontrollers See: Bruce |
Re: Eu version of triple TFT GPS clock
#stm32
The file has had a slight update. As EU turned to summer time, the time zone designation changed from CET to the 4-letter code CEST. But as one changes between UTC and CEST, the final T was not overwritten resulting in UTCT. A few spaces in the UTC string fixed that.?
See? |
Re: maybe not new.
¿ªÔÆÌåÓýBruce, thanks for the reply.
On 3/14/2023 5:40 AM, Bruce Hall wrote:
Yes
yes I put the above in the File>Preferences? the file did appear in the folder called Arduino15 but then how do you get it to appear in the "tools board window"? and the? "tools board window" appeared once and the file was in it but now i don't see it?. and lastly with out that file appearing any where i can't change the TFT_eSPI file, although what has to be changed in it?
|
Re: maybe not new.
Hi Dave. I assume you are talking about this article: And are you referring to this reference? "Copy the following URL into your Arduino Boards Manager list.? " Did I get that right?? If so, there is a place in the Arduino 1.8.x IDE where you can enter the above URL.? In a?Windows?environment, it?is under File>Preferences. Finally, User_Setup.h file is found in the TFT_eSPI library itself.? ?Not everyone's computer setup is the same, so it's hard to tell you exactly where the file is.? ?But on my computer, I go to the folder containing my sketches.? It contains a folder called "Libraries".? ?In "Libraries" you should find the TFT_eSPI folder, where you will find the User_Setup.h file.? ?Keep in mind that you will lose your edits any time you update the library.? So I suggest making a copy somewhere else, and only updating the library when necessary. Bruce On Tue, Mar 14, 2023 at 12:04?AM David Alexander <oldbeeman@...> wrote: I have a couple of questions about the program setup for the NTO clock on the arduino program. |
maybe not new.
I have a couple of questions about the program setup for the NTO clock on the arduino program.
1. you say at one point to copy an address fron the pdf file. it might be the pdf program itself but i am not able to copy from the file. 2. even it i could copy the address from the pdf i still don't know where to place it in the arduino program. this file is the one for the esp32 card. 3. you say that i must edit the User_Setup.h. where do i find it? thanks dave k7da |
Eu version of triple TFT GPS clock
#stm32
I cloned the very nice clock and the well-documented code for the TFT GPS clock and modified it in two ways.
First there is a backwards compatible version which can be Europeanized with formats for date and units. It also has possibility for removing battery icon, when run from a USB supply. New boolean variables to set:
Sverre https://la3za.blogspot.com/ |
LC Meter with Modification Jacks
With several Hams in Holland we have Build the LC Meter MOst components are no problems. Only the Entry Jacks are not available with stores in Holland. So we did make a minor modification so we can use more common Jacks See our solution in the attachments.. With Regards Cor Struyk, PA0GTB LCmeter PCB Modification.pdf
LCmeter PCB Modification.pdf
![]()
LC Meter with Modification.jpg
![]()
LC Meter in Enclosure.png
|
Thanks for the quick reply, Bruce.
I bought a batch of your boards, but getting the surface mount components, and then actually installing them on the board is beyond my current capabilities. However, I will find my boards and check on current parts availability. I have a friend that is equipped for surface mount construction (video microscope, hot air station, etc. etc.) who might construct it for me. I was hoping someone had done a board with modules, then it would be an easy build. Mitch W4OA Opelika, AL |
Mitch, For my PCB, see page 5 of? You should also reach out to Dino?VE7XDT for information on his build. Bruce On Mon, Sep 26, 2022 at 8:23 PM Mitch W4OA <w4oa@...> wrote:
|
NTP Clock build - 3d printed enclosure
I thought I would share some pictures my latest build for the NTP Clock. This is my second build, I wanted to try out Bruce's 3d printed case??. I printed the case on an 'original' Ender 3 printer. I bought the printer in late 2019 and have made a few hundred prints using it. (I now have a small printer 'garden', 6 printers, 4 Enders and 2 Anets.) Of all my printers, the original Ender 3 gives consistently the best results. I mounted a usb c female connector in one of the existing holes on the side of the case. I used some brass standoffs of the right height and the universal builder equipment and material, a hot glue gun. I connected the usb c female to a usb micro male which plugs into the ESP8266 module. I also used a dab of hot glue to give some strain relief where the wires are soldered to the usb connectors. Here is the finished side view of the connector. Notice how smooth the side is, the small blemishes at the join line are from slips with the hot glue gun. Here is the front of the finished clock, taken with no flash, so it looks much dimmer than it really is. The tft and pcb were hot glued to the front of the case.? Even though I have made 300-400 prints, what I have determined is that 3d printing is as much of an art as it is a science. I just recently discovered/developed a technique which results in really good results for me. My technique is super simple, too! If Bruce gives me the ok, I will make a post with pictures showing my technique, since it is somewhat off topic.? Below is a picture of the back of the clock showing how smooth the finish is. The back was the side on the surface of the 3d print bed. If you are 3d printing, you will appreciate how smooth and blemish free the surface is. (I couldn't avoid the flash reflection.) You can see the overall smoothness of the sides in the pictures above. A big THANKS to Bruce for sharing his designs, and special thanks for the box design. Putting a build into a nice enclosure has been my building nemesis for decades! Good building! Of course, if you 3d print, YMMV!? Mitch W4OA Opelika, AL |
Re: NTP Clock problem
Well Cor, that's really strange... I didn't edit the user_setup.h file before I compiled after doing the include for library version 2.2.14. However, it compiled, uploaded, and the clock display is now active and correct. The 'Hello World' snippet also compiled and has the correct display. Library manager still shows I am using version 2.2.39.
Why it is now working after including 2.2.14 but showing 2.3.39 with my editing of user_setup.h last night in the Arduino library folder --- well, I have no explanation. Ah, the mysteries of Arduino libraries???? Thanks for pointing that out, it might surely help someone struggling with library versions. Mitch W4OA Opelika, AL |
Re: NTP Clock problem
That did it Bruce. Downloaded the link, went to manage libraries, went to Sketch, Include Library, added zip of 2.2.14, compiled and uploaded. Instant success!!! Thanks for the super quick response. I can put everything in a box and send it off to him. He will be very pleased! Mitch W4OA Opelika, AL ps I have a couple of more NTP clock boards.?If anyone is interested in one, send me a pm. |