So its been a busy day here in the workshop. Caps arrived today and we set about to making low pass filters for the transmitter. I started by sticking in the caps and then in turn winding the inductors for each of the 3 filters, 80, 40 and 20m bands and giving them a test by feeding in a square wave from my it makes nice distortion signal generator.
80m Low Pass Filter Under Test
The output was fed into the spectrum analyzer on the Red Potato. The spurs either side of the fundamental are crud from my signal gen, it does that when you start to turn up the output. This was a 10 volt peak 3.6mhz square wave being fed into filter and I through up a few cursors to get some levels, first harmonic is -60dBm down on the fundamental. That should be more than good enough.
I did the same for the 40m and 20m filter, again -60db down on the first harmonic, the above image being for the 40m band.
Something I was worried about was isolation on the relays. These are no uber doober premium rf relays, no no no, they are 10 for $1 Chinesium Grade floor sweepings and seconds off Ebay. So we stick the signal in the in port and connected the 100meg Hantek scope up to the other end and turned the volts per division down to the noise floor and looked for signal leakage. Nothing, maybe a couple of microvolts but that might have been an aberration. Either way, good enough for the kinds of girls i go out with.
Final board all together and soldered up.
A bit of an idea of how its all going to go together as a stack. I think things might actually work ok after all. Touch wood. Tomorrows job is to program an ATMEGA IC to work as an iambic keyer, add in some switching and buffering to get the transmitter up and working. Not sure if i am going to have an external PA yet, or just use a couple of BD139’s and get 3 or 4 watts out. Will see how we go.
I watch a bit of blacksmithing on youtube and something these guys often say when they are building something is Need A Tool, Make A Tool. Its a good way to think about life, why run to the store when you can make something now and do the job you are trying to do now.
So, with my breadboard setup, I am wanting to monitor the current demands of everything I am hanging off the one micro as it will eventually be running off solar and batteries and I need to make sure i have a few days of battery supply and enough solar to charge everything up within a days daylight. Don’t want my things turning off and losing precious data.
So i grabbed an Oled display i could not get working out of the box and got it chooching, a voltage and current sensor that i had doing nothing and made them all talk together with some software and she is skookum as frig. So all i gotta do now is wire it up with a nano stick it in a tiny box with some banana sockets and put it in between my power supply and my breadboard and I will always know how much current we are drawing.
So after procrastinating about this for such a long time I finally got around to porting the code over to make it work with the 3.2 inch TFT Display. And seeing as it was pretty much a huge code rewrite, while i was there I added in come new functionality to improve usability. All input functions will now accept the <BACKSPACE> key to erase mistakes. Still to be done, create and use a new logfile and add in some WWFF specific items like park to park and my park details. All in all I am rather please with how this has come along. Each time I spend some time on it, it comes out much more improved.
Arduino Logger TFT Edition Code: TFT_Arduino_logger
Here is a break down of the stack. 3.2inch TFT on the top, followed by the MEGA2560 and underneath it, the shield board with sd card, real time clock and ps2 keyboard interface. Not my cleanest work, but much cleaner than the last build LOL.
And this is the log file data from the video below. Nice clean ADIF that should by rights allow for importing into any other logging application.
And here is a video of the thing in action. Next on the agenda is boxing it up with a 5000mah single cell Liop, charge controller, BMS and Boost converter to make 5 volts, then add in the new code features and this choocher should be awesome as frig.
I have done a fair bit today and got some of code actually working. Here is a quick video of what it can do currently. Not Much LOL.
EDIT: 1/3 Done.
I have made a little progress with the Arduino Logger updating the previous mess i had made in a box, to something that is going to be neat and tidy and use a TFT display where i can show more data than i could on the 20×4 lcd display.
Everything is now built into the shield that sits below the Mega. SD card will be accessible now without taking off the lid. The real time clock is in the shield board now and hidden from view. Next job will be to wire up a 1 Cell lipo battery pack, charger and boost converter to make 5v to run the thing, Oh and convert the software.
It is a bit of a power hungry thing, close to 200ma.
You know when you are working on some grand Arduino implementation and you only have 2 available Gnd or Vcc pins and you need to then run a ground and power bus just to service the one extra module you are trying to add. It a pain in the arse for sure. But alas poor Yorick not everything is rotten in the state of Arduino, help is at hand. If you have a few vacant digital or analog pins, turn them into outputs and make them either VCC ot GND with a couple of lines of code and pull a pin either low or high. Code is better than hardware. Obviously current limits on pins apply and you cannot pull 100ma, but if the sensor or modules current limits are sparrow fart, then this is a nice way to solve a common problem.
A Ground Pin
A Vcc Pin
<a href="http://vk4ffab.info/wp-content/uploads/2017/04/IMG_20170422_172842.jpg"><img class="alignnone size-large wp-image-2137" src="http://vk4ffab.info/wp-content/uploads/2017/04/IMG_20170422_172842-1024x768.jpg" alt="" width="863" height="647" /></a>
And here it is in action with a RTC.