Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
W8TEE pending software release and port(?)
#w8tee
Jack Purdum
All:
On Monday I will be releasing version 1.07 of the software for the BITX40 transceiver. The only visual difference is that there are provisions in the code for a DS3234 RTC module, as seen in the following photo. (Smaller display sizes fold the UTC directly under the local time.) The plans for the additions (e.g., AGC, speech compression, S-meter, and CW mode with contest keyer) are still on hold. Dennis (W6DQ) is the EE talent behind the mods and he is currently wrapped up
?
moving from LA and setting up his shack and lab. I honestly don't know when he will shake loose and I don't have the EE brains to finish it.
?
So, my thought is to keep the PCB with the TFT display, VFO, and the Mega 2560 Pro Mini, but add some of Allard's code to implement many of the features that are unrealized at the present. I am more than willing to work on the software end of things to help my code "talk" to the hardware. The main advantage of such a port is that, compared to the Nano, the Mega has a boatload of resources available. Indeed, I am amazed at everything that Allard's packed into the Nano and the "library diet" that helped make it possible. You can compare their resource bases at: . An important difference not listed is that the Mega has 5 external interrupt vectors compared to only 2 for the Nano.
?
?
?
The PCB that we did forms an Arduino "sandwich" with the TFT display on the bottom, the PCB and its components in the middle, and the AD9850 DDS and Mega on the top. Here's an image of the bare board. As you can see, most of the 54 I/O pins are brought out for experimenting. The pins dedicated to the display are not brought out. The size of the display can be 2.4" up to 3.95". The recent increase in the USPS Parcel Post rate raises the domestic shipping cost to $3. I'm selling the board for $8, and that includes domestic shipping. Foreign buyers, I'm not sure what to do. The USPS charges about $14 minimum to send a parcel outside the US. If there's a group in the EU and it offers some advantage, perhaps one person could serve as a clearing house for the group; same for the Pacific Rim countries.
?
Anyway, I apologize for not bringing out the mods in a timely fashion. I am still going to work on them as I think Dennis' design is first rate and is more than worth the effort it takes to complete his design. I have already uploaded the latest version of the manual to the group's site. It also includes a small trouble shooting section to reflect several of the questions that have come up over time. Take a look at the manual and see if you might want to help port Allard's code over to the Mega platform. I'll be happy to help those who would like to do so.
?
Jack, W8TEE |
||||
¿ªÔÆÌåÓýCan't see the image
Jack. Thanks for picking up the RTC suggestion. Bill, VK7MX On 1/10/2017 7:38 AM, Jack Purdum via
Groups.Io wrote:
|
||||
Jack Purdum
I posted the images to my W8TEE album. Jack, W8TEE From: William R Maxwell <wrmaxwell@...> To: [email protected] Sent: Saturday, September 30, 2017 6:26 PM Subject: Re: [BITX20] W8TEE pending software release and port(?) #w8tee Can't see the image
Jack. Thanks for picking up the RTC suggestion.
Bill, VK7MX
On 1/10/2017 7:38 AM, Jack Purdum via
Groups.Io wrote:
All:
On Monday I will be releasing version 1.07 of the
software for the BITX40 transceiver. The only visual difference
is that there are provisions in the code for a DS3234 RTC
module, as seen in the following photo. (Smaller display sizes
fold the UTC directly under the local time.) The plans for the
additions (e.g., AGC, speech compression, S-meter, and CW mode
with contest keyer) are still on hold. Dennis (W6DQ) is the EE
talent behind the mods and he is currently wrapped up
?
moving from LA and setting up his shack and lab. I
honestly don't know when he will shake loose and I don't have
the EE brains to finish it.
?
So, my thought is to keep the PCB with the TFT
display, VFO, and the Mega 2560 Pro Mini, but add some of
Allard's code to implement many of the features that are
unrealized at the present. I am more than willing to work on the
software end of things to help my code "talk" to the hardware.
The main advantage of such a port is that, compared to the Nano,
the Mega has a boatload of resources available. Indeed, I am
amazed at everything that Allard's packed into the Nano and the
"library diet" that helped make it possible. You can compare
their resource bases at: . An important
difference not listed is that the Mega has 5 external interrupt
vectors compared to only 2 for the Nano.
?
?
?
The PCB that we did forms an Arduino "sandwich" with
the TFT display on the bottom, the PCB and its components in the
middle, and the AD9850 DDS and Mega on the top. Here's an image
of the bare board. As you can see, most of the 54 I/O pins are
brought out for experimenting. The pins dedicated to the display
are not brought out. The size of the display can be 2.4" up to
3.95". The recent increase in the USPS Parcel Post rate raises
the domestic shipping cost to $3. I'm selling the board for $8,
and that includes domestic shipping. Foreign buyers, I'm not
sure what to do. The USPS charges about $14 minimum to send a
parcel outside the US. If there's a group in the EU and it
offers some advantage, perhaps one person could serve as a
clearing house for the group; same for the Pacific Rim
countries.
?
Anyway, I apologize for not bringing out the mods in a
timely fashion. I am still going to work on them as I think
Dennis' design is first rate and is more than worth the effort
it takes to complete his design. I have already uploaded the
latest version of the manual to the group's site. It also
includes a small trouble shooting section to reflect several of
the questions that have come up over time. Take a look at the
manual and see if you might want to help port Allard's code over
to the Mega platform. I'll be happy to help those who would like
to do so.
?
Jack, W8TEE
|
||||
¿ªÔÆÌåÓýAh, seems I wasn't signed in, somehow. Now found the photo. Nicely implemented, Jack. Bill, VK7MX On 1/10/2017 12:49 PM, Jack Purdum via
Groups.Io wrote:
|
||||
Jack Purdum
Check my photo album at the site, then. Jack, W8TEE From: "dm5tu@..." <dm5tu@...> To: [email protected] Sent: Sunday, October 1, 2017 1:59 PM Subject: Re: [BITX20] W8TEE pending software release and port(?) #w8tee Hi Jack, sorry but my feedback is the same... no ?inline picture on the side. I am even logged in. TNT fer all . sTef DM5TU es 72/3`s |
||||
Hi Jack,
I'm still waiting for my BitX kit (I fear it may have gone missing) but I have all the parts for the VFO and will start construction using the new manual. I would like to vote for split mode (I think this is already implemented in Raduino with PTT sense mod?) and CAT for digi modes using WSJT-X, etc.? Thanks, Paul KG6QGE |
||||
Some do take longer than others to arrive:
toggle quoted message
Show quoted text
? ??/g/BITX20/message/22442 This tidbit from the first post in that thread might be informative: "I had an email exchange with hfsignals at gmail dot com. ?They said if deemed not deliverable, it should come back to them. ?And that the package labels are directly printed from the PayPal system and covered with clear protective tape. ?I've verified that the address is correct in the email I got from PayPal." IndiaPost tracking numbers (you may have one from HFSigs or PayPal) can be tracked by a USPS postal clerk if you ask nicely and they aren't swamped with work. ?Maybe ask at a small rural post office sometime you have a chance. ?The publicly accessable tracking system for IndiaPost knows nothing once the package leaves India. Jerry On Sun, Oct 1, 2017 at 02:42 pm, <paul@...> wrote: I'm still waiting for my BitX kit (I fear it may have gone missing) |
||||
¿ªÔÆÌåÓýI think it is the "inline" reference that is causing the confusion. Bill, VK7MX On 2/10/2017 5:04 AM, Jack Purdum via
Groups.Io wrote:
|
||||
Vince Vielhaber
Here's what they say in the Arduino docs about the pullups:
toggle quoted message
Show quoted text
----------------------------------------------------------------------- On the digital pins: There are 20K pullup resistors built into the Atmega chip that can be accessed from software. These built-in pullup resistors are accessed by setting the pinMode() as INPUT_PULLUP. This effectively inverts the behavior of the INPUT mode, where HIGH means the sensor is off, and LOW means the sensor is on. The value of this pullup depends on the microcontroller used. On most AVR-based boards, the value is guaranteed to be between 20k¦¸ and 50k¦¸. On the Arduino Due, it is between 50k¦¸ and 150k¦¸. For the exact value, consult the datasheet of the microcontroller on your board. And on the analog pins: The analog pins also have pullup resistors, which work identically to pullup resistors on the digital pins. They are enabled by issuing a command such as digitalWrite(A0, INPUT_PULLUP); // set pullup on analog pin 0 Be aware however that turning on a pullup will affect the values reported by analogRead(). ----------------------------------------------------------------------- Vince. On 10/01/2017 05:55 PM, Jerry Gaffke via Groups.Io wrote:
Some do take longer than others to arrive: --
Michigan VHF Corp. |
||||
On Sun, Oct 1, 2017 at 04:01 pm, Vince Vielhaber wrote:
On the digital pins:This is absolutely INCORRECT. pinMode(xx, INPUT) and pinMode(xx, INPUT_PULLUP) only enable/disable the internal pull up resistors. They DON'T invert the behaviour of the input! 73 Allard PE1NWL |
||||
Vince Vielhaber
As I stated when I put it there, it came from the Arduino docs.
toggle quoted message
Show quoted text
Vince. On 10/01/2017 07:38 PM, Allard PE1NWL wrote:
On Sun, Oct 1, 2017 at 04:01 pm, Vince Vielhaber wrote: --
Michigan VHF Corp. |
||||
Vince Vielhaber
Wait a minnit. I think I understand what they're so horribly trying to say. When input pullup is NOT used, a floating connection is low (or presumably low). So in order to get it to do something your sensor has to pull it high. When the pullup IS used, your sensor has to pull the pin low.
toggle quoted message
Show quoted text
Vince. On 10/01/2017 07:54 PM, Vince Vielhaber wrote:
As I stated when I put it there, it came from the Arduino docs. --
Michigan VHF Corp. |
||||
From p66 section 14.11.6 of the datasheet at: ?
toggle quoted message
Show quoted text
" If the input buffer is enabled and the input signal is left floating or have an analog signal level close to VCC/2, the input buffer will use excessive power." That's typical of CMOS input pins. ?If you leave them floating (no pullup or pulldown resistor, and no signal actively driving it) then the input voltage is undefined. ?And if it happens to be right in the middle somewhere (the transition region) the input cell can't decide and that circuitry can start getting hot. ?Or you might get an oscillation going. ?Some chips will have "keeper" circuits that will tend to hold them in their previous state. ?The ATmega328p doesn't have keepers, but allows us to specify pullups (but not pulldowns) for each individual input pin. ? Don't leave pins defined as inputs just "floating". ? Probably won't blow up (at least on this chip) but might have weird things happening. Why is that "effectively inverts" thing in the Arduino docs? Cuz it was written by a CS major, not an EE. Jerry On Sun, Oct 1, 2017 at 04:59 pm, Vince Vielhaber wrote: When input pullup is NOT used, a floating connection is low (or presumably low). |
||||
Jack Purdum
Put a switch on an I/O pin and use INPUT_PULLUP with pinMode(). When a NO pushbutton is pushed, the line is pulled LOW, which changes its state. Jack, W8TEE From: Vince Vielhaber <vev@...> To: [email protected] Sent: Sunday, October 1, 2017 7:59 PM Subject: Re: [BITX20] W8TEE pending software release and port(?) #w8tee Wait a minnit.? I think I understand what they're so horribly trying to say.? When input pullup is NOT used, a floating connection is low (or presumably low).? So in order to get it to do something your sensor has to pull it high.? When the pullup IS used, your sensor has to pull the pin low. Vince. On 10/01/2017 07:54 PM, Vince Vielhaber wrote: > As I stated when I put it there, it came from the Arduino docs. > > Vince. > > > > On 10/01/2017 07:38 PM, Allard PE1NWL wrote: >> On Sun, Oct 1, 2017 at 04:01 pm, Vince Vielhaber wrote: >> >>? ? On the digital pins: >> >>? ? There are 20K pullup resistors built into the Atmega chip that can >>? ? be accessed from software. These built-in pullup resistors are >>? ? accessed by setting the pinMode() as INPUT_PULLUP. This effectively >>? ? inverts the behavior of the INPUT mode, where HIGH means the sensor >>? ? is off, and LOW means the sensor is on. >> >> This is absolutely INCORRECT. >> pinMode(xx, INPUT) and pinMode(xx, INPUT_PULLUP) only enable/disable the >> internal pull up resistors. >> They DON'T invert the behaviour of the input! >> >> 73 Allard PE1NWL >> > -- ? Michigan VHF Corp.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? |
||||
I inquired at two post offices and at the second discovered that the package had arrived there about 1.5 hrs before I got there! I couldn't pick it up as it had already been sorted for delivery. I should get it later today if this info is correct. If so, that would be 38 days since it left Mumbai. I would love to know where it passed though along the way but USPS doesn't seem keen to reveal that information for some reason.?
Paul KG6QGE |
||||
Jack Purdum
I used to have a cabin in Canada and I mailed a package to myself in the States. Even the Canadians make fun of their postal service, saying that 90% of their relatively high postal rates is for storage. Still, after several weeks it had not shown up. It finally did show up, 9 months later! The envelop was covered in "floor oil", like you had slid it across the floor of a Jiffylube garage. I'm sure that when it was being sorted someone missed a bag and it slid across the floor and under a desk or something. Jack, W8TEE From: "paul@..." <paul@...> To: [email protected] Sent: Tuesday, October 3, 2017 5:18 AM Subject: Re: [BITX20] W8TEE pending software release and port(?) #w8tee I inquired at two post offices and at the second discovered that the package had arrived there about 1.5 hrs before I got there! I couldn't pick it up as it had already been sorted for delivery. I should get it later today if this info is correct. If so, that would be 38 days since it left Mumbai. I would love to know where it passed though along the way but USPS doesn't seem keen to reveal that information for some reason.? Paul KG6QGE |
to navigate to use esc to dismiss