Keyboard Shortcuts
Likes
- BITX20
- Messages
Search
Re: JackAl Board Debut
Jack
toggle quoted message
Show quoted text
Need a few more details for the display Info from you: 5" ($34) or 7" ($44) touch screen displaying (using the RA8875 controller chip Questions from vendor Interface Power supply type Touch panel type SD card interface Font chip Want to get parts while you finish board. Realize you are traveling. When you can Art N2AJO On May 20, 2018, at 11:17 PM, Jack Purdum via Groups.Io <jjpurdum@...> wrote: |
Re: Coding for JackAl
Jack Purdum
Al is the brains behind the filters, so I'll let him respond: Thanks for the suggestion.? We have this sort of documentation ready for the user Manual, describing the filter topology, etc.? Our filters are based on digital BiQuad filters, which are sampled at 44.1Khz. This allows for a potential bandwidth of 22KHz.? While interesting for experimenters, this sort of detail is beyond normal marketing data.? We will be creating several articles and White Papers on the methods used once we get the product in production.? We will let everyone know when the material is ready. Thanks, Al Peter AC8GY
On Tuesday, May 22, 2018, 1:22:38 PM EDT, bobh_us <rwhinric@...> wrote:
Thanks Jack. Not what you¡¯ve already done. But for something I could add. Are your filters running at 44.1K or 8K sps for example. You might have a connection graph of your flow from that visual designer. Like below. You are probably very busy and I won¡¯t take up more of your time. thanks |
Re: Raduino CAD Files
I've also been contemplating replacing the Nano with one of the STM32F103 "Blue Pill" Boards in the uBITX. I don't have the uBITX board dimensions but if you are interested I do have the Blue Pill board schematic icon and footprint in my public KiCAD repository at github.com/celeritous as well as schematic icons and footprints for several of the TFT displays with SPI interface.
I've also got an STM32F103 STM32CubeMX sample project in the repository as well as some other STM32 module boards that are released under the CERN OSH license. There is a 50mm x 50mm STM32F745 board with Ethernet interface, dual USB and uSD card and a low power STM32L151/152VDx processor? 50mm square board with USB abnd an optional uSD card and ESP07 WiFi module on it.? These both use 2 dual row 34 Pin 100 mil headers to bring out a lot of I/O. There are sample STM32CubeMX files with them.? There is also a 2.8" TFT LCD user interface board with 2 rotary encoders and 12 pushbutton array that I'm currently testing. It uses some passive and active de-bouncing so not a lot has to be done in software. I'm also working on a board similar in size to the blue pill board that uses the STM32L152CCx processor which is lower power, 32MHz and has 256K of memory. It should be out in the next few days.? This is the one I was really intending to target the uBITX with. It was originally developed for a GPSDO project using the SIliabs SI534x Synthesizers with Holdover.? I've just been waiting on some enclosures from China to verify the size on everything before ordering some test boards.? I should also have some STM32CubeMX? HAL compatible libraries for release soon for the ILI9341 and similar displays as well as the MCP23017 I2C digital IO expander and 25AA02 MAC EEPROM. I found most of the Adafruit ports to the STM32 lacking unless you use the Arduino environment. We primarily use the STM32CubeMX to generate the initialization code and Atollic True Studio (Now free since ST acquired them) which is a good little development environment with actual hardware debugging. I've never really liked the Arduino and mBed style environment that don't provide for real hardware debugging.? I've been doing embedded design now for going on 40 years beginning with the Z80. I hope that the more adventurous wanting to move to platforms with more than 32K of memory and faster speeds will find these of use. I did do some graphics tests with the ILI9341 driver and TFT displays on the blue pill boards and it is not hard to exceed the 64K (or even occasional 128K) memory on them with a few graphics and fonts. Allen K5ABL |
Re: pin 2 of raduino board seems to have gone to CW TX full time after boot message.
.5% is not great accuracy, most crystals are 10x better and a heck of a lot more stable.
However for a CPU its about all you need. I'll box up the Raduino as then radiated spurs have less a change to propagate.? If they are not in a ham band I'll be very happy.? It is rare to find a radio without spurs causing birdies even in the expensive commercial world. The only way to avoid that in superhet radios is serious shielding, filtering,, and bypassing.? That makes radios heavy and expensive.? The alternate is direct conversion image reject architecture and that has headaches as well. Allison |
Re: #ubitx #ubitx-help
#ubitx-help
#ubitx
david todd
The fuse can be looked at two ways. 1.it provides over current protection.
toggle quoted message
Show quoted text
2.it won't provide polarity protection. Some techs prefer to put the diode before the fuse as a practice to keep positive voltage off the ground plane. Now the diode installed after the fuse will do the same but if you miswire anything after the fuse,then you will be holding a really neat looking paper weight. The diode only conducts one way and I personally have used this method to protect some of my equipment. A fuse is a fuse. Only protects from current. I prefer to protect my equipment from reverse polarity before it gets into the ground side. I do this because I have repaired many rigs with fuse first, and the owner hooked up the pwr source wrong. You can also wire it in series with ur power cord externally .some chips will fry before u get the display to glow. - 5 or - 12 is a whole lot of hurt to a static sensitive chip. Just my two cents worth. Everyone has their own way. 73s Have fun David ka9koj Sent from Yahoo Mail. Get the app -------------------------------------------- On Tue, 5/22/18, Jerry Gaffke via Groups.Io <jgaffke@...> wrote:
Subject: Re: [BITX20] #ubitx #ubitx-help To: [email protected] Date: Tuesday, May 22, 2018, 10:36 AM No mention of "fuse" here:?? What looks like a fuse at the top left of the schematic is labeled "ON/OFF", so I take that to be the power switch on the volume pot. The 26 gauge stranded wire in the wiring harness might be considered an adequate fuse by some. Unfortunately that comes after the shunt protection diode.? As you so rightly pointed out.? ;-) Jerry On Tue, May 22, 2018 at 03:13 am, ajparent1/KB1GMX wrote: For the life of me I do not understand why the diode is before the fuse. The fuse should always be first as it needs to operate for all faults even reverse polarity. |
Re: boosting the power on 28 MHz
#ubitx
to18, can.? I've likely said that every time I"ve written 2n2222A
The only SMT is Q90 and maybe a 2n2222a is better there but I went with a 2n2369A. FYI: you need other changes like farhan's cap mod, the choke in series with r86, and so on. as just throwing 2n22222A against it only helps a little with no other changes.? I haven't decided if this is the best way or can it be done using cheaper transistors.?? Allison |
Re: ubitx code version 4.3 for review, testing
I've been running it for a while today.? I had to turn off the cwKeyer code as the nano
developed a bad A6 port/pin. I have a few on the way.? Cat will not be tested as I'm not using it. The code works better, havent hit any bugs and the tuning and menu system behaves better.? I'll speak up if it shows any bugs.? Right now it makes doing the power amp chain easier. Allison |
Re: Coding for JackAl
Thanks Jack.
Not what you¡¯ve already done. But for something I could add. Are your filters running at 44.1K or 8K sps for example. You might have a connection graph of your flow from that visual designer. Like below. You are probably very busy and I won¡¯t take up more of your time. thanks |
Re: Raduino Pill
Didn't mean to start another topic right then and there. This was in response to Joe's note. The original topic was Raduino CAD
My present layout (on the screen now) extends the Raduino width about an inch or so to the right (inside). The Pill board is set in toward the left about 1.5", leaving room on the right for a very short USB pigtail from the Pill USB connector that solders to the Raduino board. There's a Micro USB connector on the Raduino board that connects to all the USB signals from the pigtail, but has a breakout for a Schottky diode in the 5V path. All of this should fix the dual-power problem while allowing an unmodified Pill to be used. I'm providing a couple connectors for the I2C bus and the SPI bus, and all the unused Pill I/O's will go to yet another connector. I'm putting a capacitor coupled DC voltage divider on one of the Pill analog inputs for audio input to drive my software S-meter. Perhaps there should be optional voltage dividers on other analogs? For now, I'm calling this the "Raduino Pill". Comments/Suggestions? Joe W3JDR |
Re: Raduino Pill
Joe,
Great. "Raduino Pill" sounds good too and may require another topic. The main thing the Pill brings is speed, memory, and low cost. The whole Raduino Pill brings I/O. Who will provide the firmware and support ? Firmware is the key to all future projects. I would like to see: 1) analog inputs for a SWR/Power board using AD8307 parts. 2) analog input for LiPo internal battery voltage 3) interface to a small color TFT touchscreen via an SPI interface. You said you would provide SPI. 4) full blown keyer support with memories, etc similar to what K3NG offers?? 5) plenty of I2C interfaces. You said you had several !2C.? 6) I guess if you bring out more I/O there are other opportunities, I'm sure others will provide input. 7) please keep the overall costs down 8) keeping the Si5351 on the Raduino Pill is fine with me.....analog RF board and a digital control board. 73 Kees K5BCQ |
Re: Socketing a Nano to the other side of the Raduino
Might be able to dampen those birdies by fiddling with si5351 output drive levels,
toggle quoted message
Show quoted text
which determines how hard the diode mixers are driven. It's also possible these birdies are due in part to crosstalk between the three clocks coming out of the si5351.? ?(Which would be affected by the drive level selected.) If so, could be addressed by a better Raduino using something other than a single si5351.?? On Tue, May 22, 2018 at 09:34 am, Jerry Gaffke wrote:
But lots of other birdies, strong and pure, clearly heard with an antenna?connected, |
Re: Socketing a Nano to the other side of the Raduino
I butchered mine, have the Nano socketed into the back of the Raduino as suggested,
hanging over the radio.? Works fine, and no mechanical conflicts.? Not much RFI either. Difficult to cut the old Nano free using diagonal cutters, I wound up shredding the Nano into tiny little pieces.? Maybe better to use a Dremel tool using a mini angle grinder: ? ? Then remove what's left on the black plastic from that header? and pluck the pins out from that black plastic side of the board while heating them one at a time with a soldering iron. Don't pull the cut side of the pin through the board, the ragged ends of the pins where they were cut will rip up the pads. Clean the board well with alcohol when done, a little bit of metalic grit in the wrong place will cause big trouble. LED's on the Nano are no longer visible, but I seldom look for them.? Only need them when programming, and even then not much.? And since the Nano is socketed, you can pop the Nano out of there when programming and get full access if you wish. This also gives access to the reset switch, though the reset comes out to that unused 6 pin programming header on one end of?the Nano, could add a second reset switch there. Here's a schematic of the Chinese Nano Clones: ? ?? With the USB cable from the host not plugged into the Nano, I see no 12mhz? on the CH340's resonator.? When a USB cable is plugged in, I see 5v pk-pk there, would? expect that to be causing all sorts of havoc. But curiously enough, only a very faint raspy little bird, in my case around 12.05mhz. That can vary by 100khz from the nominal 12mhz, as the ceramic resonators are not very accurate.? Not much evidence of the dreaded 16mhz oscillator either, just a very faint bird when tuning around without an antenna.? Signals from those 12 and 16mhz resonators can be identified by bringing your finger near the resonator, the frequency will change by several khz.? Since the 16mhz resonator is now hidden, I brought a wire out from the ATMega328P pin 8 (TOSC2, drives the resonator) where I could touch it.? Under one volt pk-pk there, the Nano is apparently programmed to use the low power oscillator.? But lots of other birdies, strong and pure, clearly heard with an antenna?connected, and clearly harmonics of something?since they?zip by much faster than?I am tuning. These don't move when I put my finger on the Nano's resonators, I haven't tried to? identify exactly where they are coming from. The (minor) downside of an?unshielded radio that doesn't bother with the extra $100 of sheet metal.? And of course, I can hear the?BFO quite well too.? Would be very interesting to get one of those Nano's that was? creating all the obnoxious audio tones, see exactly what's going on.? A possible fix might be to program the Nano to use the internal RC oscillator instead of the 12mhz? resonator.? Factory default for the Atmel chip is around 8mhz using the RC oscillator, this can be trimmed to most anything you want via flash bits. Here's the Atmel datasheet: ?? ########## Programming the Nano through a CP2102 instead of the onboard CH340: The 12mhz CH340 resonator may not be an issue, it's disabled when no cable to the host is plugged into the Nano's mini-USB port, and even when plugged in I didn't hear much of it when tuning the radio around 12mhz.? However, I was able to verify that a CP2102 adapter such as this: ? ?? worked fine with the Nano under the Arduino IDE.? So I'll document that here in case it's of interest: The Nano's CH340 has series 1k resistors on the?TXD and RXD UART lines to the ATMega328P's D0,D1.? So when the CH340 is not plugged?into a USB host and is quiet, we can drive D0,D1 from the external CP2102.? ? Hookup is as follows:? CP2102 GND to Nano GND CP2102 5v to Nano 5v CP2102 RXD to Nano TXD (D0) CP2102 TXD to Nano RXD (D1) The 5v pin from the CP2102 is there to supply power to our Nano, about 100ma max I believe. The 3.3v pin from the CP2102 is there to provide 3.3v if you need it, we don't. The CP2102 chip from SiLabs runs on 3.3v, and so drives TXD to a max of 3.3v but?that is sufficient to work with the RXD input of our 5v Nano. The CP2102 chip has 5v tolerant inputs, so the 5v TXD from the Nano is perfectly fine. Verify that your operating system sees the CP2102, and select the correct port within the Arduino IDE. (Doing that was trivial under Ubuntu, but you and google are on your own here.) Hold the Nano reset button down, click Upload in the Nano IDE, wait till the compile is complete, release the button. Should just load exactly as it did with the CH340. You can avoid messing with the Nano's reset button if you hook the CP2012 DTR line to one of the RST pins on the Nano through a series capacitor.? The cap is typically 0.1uF, but I found that not to be sufficient, probably because the 0.1uF cap to the CH340 on the Nano was sucking away much of the DTR's attempt at reset.? Bumping that series cap in the DTR from the CP2102 up to a 3.3uF cap worked for me. You could also use one of the very popular FTDI cables in a similar manner. Try to get a real one, avoid the clones, as FTDI is now engaging in defensive driver writing, disabling any clones it sees. They got tired of most calls to their product support team turning out to be a problem with a clone. I'm speaking here of devices that pretend to be an FTDI chip, the CH340 is not an FTDI clone. ######### Jerry, KE7ER ? |
Re: Coding for JackAl
Jack Purdum
We have several graphs of the filters and the equalizer. For example: Specifically what are you looking for? Jack, W8TEE
On Tuesday, May 22, 2018, 11:44:24 AM EDT, bobh_us <rwhinric@...> wrote:
On Tue, May 22, 2018 at 07:34 am, Jack Purdum wrote: JackAl uses the audio board and its library, so, yes, very much so.Outstanding.? Will comply. At what sample rate is the processing done? Do you have a jpg of the audio graph in the deliverable? ...so I can get a head start :-) |
Re: Coding for JackAl
Jack Purdum
Hi Daniel: No, I haven't. One reason is because I have tried to keep all function prototypes, globals, and symbolic constants in one place. When you eventually see that header file, you will also find that I've tried to keep all of those files and variables in alphabetical order within the header file. If users write functions that belong in setup() rather than loop() (or elsewhere), I would call such a function MyExtensionsInitializations() rather than use the word setup in its name. This makes it easy to locate the setup() function using the search function in the IDE editor. It would also make it easier to find your initialization routine. Also, programs that can search multiple files for a certain string (e.g., grep, wingrep, powergrep) work better, too. Obviously, this is a style issue and there are a bazillion permutations possible. Pick one you like and use it consistently. Jack, W8TEE
On Tuesday, May 22, 2018, 11:52:16 AM EDT, D. Daniel McGlothin KB3MUN <kb3mun@...> wrote:
Jack,
Have you considered directly provisioning for this by making an "empty" extensions header/code file, perhaps named MyExtensions.h & MyExtensions.cpp, and including these files in the framework.? I'd go so far as to include a MyExtensionsSetup() function called from setup(), and a MyExtensions() function called from the loop(). Anyway, that is how I'd start with an adaptation of your (or anyone else's) codebase. Daniel |
Re: Coding for JackAl
¿ªÔÆÌåÓýJack,
Have you considered directly provisioning for this by making an "empty" extensions header/code file, perhaps named MyExtensions.h & MyExtensions.cpp, and including these files in the framework.? I'd go so far as to include a MyExtensionsSetup() function called from setup(), and a MyExtensions() function called from the loop(). Anyway, that is how I'd start with an adaptation of your (or anyone else's) codebase. Daniel |
Re: Knob adapter sleeve (6mm ID, 1/4 inch OD)
I hit this problem last night. The difference between 6 mm and 0.25" is only 0.014". I had a piece of 7 mil copper foil. I rolled it out flat then cut a tiny shim rectangle. I wrapped that around the 6 mm shaft and installed the knob. Works fine - no obvious wobble. If you have 3 mil foil, use 2 wraps. With the 7 mil foil, I actually used just a 180 degree half wrap place opposite the set screw.
73, Paul K2AYZ |
Re: Socketing a Nano to the other side of the Raduino
Jack Purdum
Some displays might be configured to work with the SPI interface, too. Jack, W8TEE
On Tuesday, May 22, 2018, 7:22:37 AM EDT, Rod Davis <km6sn@...> wrote:
Allison and all, with the KD8CEC firmware you can opt for a I2C
display Rod KM6SN
On 05/21/2018 07:23 PM,
ajparent1/KB1GMX wrote:
Why not remote it some from the mainboard and put a box around the back of it |