28 November 2008

Inside Terminator's eye

Don't panic. After you've seen the optical receiving system, the transmitter will look horrible.

The plate is a CD-ROM player cover, bent upwards to hold a clothes peg. The transmitting LED is loaded there. The 488 Hz tone is generated with the usual XTAL+divider chain that drives a 2N2222A (the metallic cylindrical "thing").


In the center of the board there is a current generator (TO-220 transistor, the white cube, two red LEDs in place of a zener) with a jumper to provide two drive levels.

No tilt/turn controls were mounted since the path didn't require any precise beaming. Moreover the LED has a wide beam, so a simple tilt screw might be enough. No need for micrometric adjustments.

26 November 2008

Terminator's eye

Finally we've made it! Simone and I could arrange a first complete equipment test.

The OPT201 receiver had been boxed (plastic) and prepared with a 31.8mm standard mount for telescopes. The MCW transmitter was simply mounted on a CD player cover (no picture available yet).

Since I could easily provide a circa 200m path, instead of looking for a dark grass field at <0°c, we decided to stay near the warmth of my place. When Simone looked out of the window was about to ask where the transmitter was. Then he said: "Oh, gosh, there it is! It looks like Terminator's eye!" A 10mm red LED looks pretty bright at 200m. I would compare it to a red light on the back of a car (5W@12V).



Simone brought the "antenna": a tripod and a modified half binocular (dia 50mm, F 300mm). Being experienced at looking for stars he pointed it in the right direction in a couple of minutes, then replaced the ocular with the receiver. Given the strength of the signal we tried staying inside and reducing ambient light (produced by a CFL, by the way) to minimize reflections on the window glass.
The 488 Hz tone was extremely strong and steady, effectively masking out any AC line harmonic. The screenshot below shows more than 50dB over background noise (look at the upper part). The screenshot was taken while my daughter was playing with the laptop keyboard and touchpad sitting on her Ikea drawing desk.


Then I recorded few seconds of signal for postprocess. Since the transmitter was square-wave modulated, many other harmonics were visible:


Note how weak even harmonics are, while odd ones are rather strong, in all the available recorded bandwidth.

Since Simone still had some time available we tried aiming at cars and stars (actually planets, Jupiter and Venus), but nothing could be heard.

Next test will be on a longer distance with some modulated information. Either one way in beacon mode or two-way, if a second CW operator is found. The quest for a proper field is open!

25 November 2008

FT817 keypad - real memories, not presets

It is still beta-code, but the keypad is now able to remember your favorite frequencies rather than offer you my factory programmed presets.

The ATtiny2313 has 2kB of program memory, 128bytes of RAM for program volatile variables and 128bytes of EEPROM for long term variables.

In the latter memory space, a program can write data that will survive power off of the microcontroller. This means the program can read something and store it for future use.

In the keypad application, the beta code allows to read the currently selected VFO frequency/mode and write it to a long-term memory area. Then with two keystrokes you can QSY back there. Even days or months after the keypad has not been in use.

Freq/mode information take 5 bytes, so we could store up to 128/5 = 25 memories. Since key combinations are limited and managing them "costs" code memory, I will probably implement these sequences:

- # followed by * followed by any other key assigns current freq/mode to that key
- # followed by any key recalls the assigned freq/mode, except for "#*"

So 15 custom memories will be available. Please note that only frequency and mode will be stored, nothing more. Not even the narrow filter setting.

One thing I noticed. In the BCB band (88-108 MHz) where WFM is the only allowed mode, recalling a memory will hang the radio requiring removal of power (not power-off, total unplug even from internal batteries). This is because I first set the mode, then the frequency. Doing viceversa might result in a different frequency if a change from SSB to CW is performed. Should be worth spending some code to set frequency, mode and then frequency again to avoid these situations, shouldn't it?

[that's why it is still beta code...]

20 November 2008

FT817 keypad - automatic whistle

Two more functions have been tested:
- up/down scan (mimics microphone up/dn buttons), with stop too
- "quick tune" for automatic antenna tuners

The up/down scan allows you to scan through the band at the normal scan speed. Takes two buttons, and a third if you also want a "stop" control. Otherwise scanning can be halted with a quick PTT press, or a touch on the morse key.

The "quick tune" sets the mode in FM and keys the PTT for 5 seconds (need more? need less? no problem!), then returns to receive in the original mode. With this function you must take care of the output power level and antenna choice (front/rear) in order to preserve your RF finals' health. No more no less how you'd do it by hand. This function can be assigned to a key or, for safety reasons, to a submenu (ie. within presets or mode combinations).

These two functions can be loaded on customized firmware and replace other functions: you still have got 16 keys and 2k limit on the program!

17 November 2008

FT817 keypad - the homepage is out

Finally, the keypad has a homepage.

User's Manual and schematic diagram have been published, as well as a side-by-side comparison of similar FT-817 accessories.

The firmware is available on request (see the User's Manual for details).

15 November 2008

Keypad - Saturday afternoon fever

For a few days I did not look at the keypad code. Then I realised I could do one more optimization and... Now it fits all 16 QRP presets with mode, mode change, VFO toggle, VOX toggle, power level and meter mode. And direct frequency dial, of course.
Now it does not miss a thing!

12 November 2008

FT817 keypad - how it looks

After a lot of monologue about the keypad, here it is! As you can see, it is real.



On the left of the picture you see the simple parallel port programmer. The keypad pictured is not connected to the radio or power supply.

I might shoot a video of the keypad at work...

07 November 2008

FT817 Keypad: good and bad news

Hooray!
The GOOD news: I have been able to control power level, meter mode and vox.
The bad news: as expected, all functions don't fit. So mode change had to be dropped (but it has dedicated buttons on the radio).

73!