The personal website of Scott W Harden
May 27th, 2010

AJ4VD Gator Spotted in MA

That's over 1,00 miles on a few milliwatts! The transmitter is the ridiculously simple one pictured below. I'm blown away! It was seen on running QRSS VD software! Awesome!!

Markdown source code last modified on January 18th, 2021
---
title: AJ4VD Gator Spotted in MA
date: 2010-05-27 11:24:17
tags: qrss, old
---

# AJ4VD Gator Spotted in MA

__That's over 1,00 miles on a few milliwatts!__ The transmitter is the ridiculously simple one pictured below. I'm blown away! It was seen on [ running ](http://w1bw.org/drupal/grabber)[QRSS VD](http://www.SWHarden.com/qrssvd/) software! Awesome!!

<div class="text-center img-border img-medium">

![](map.jpg)

[![](gatorSeen_thumb.jpg)](gatorSeen.jpg)
[![](actual_thumb.jpg)](actual.jpg)
[![](IMG_3456_thumb.jpg)](IMG_3456.jpg)

</div>

May 27th, 2010

AJ4VD Gator Chomps its way into Belgium!

Yeah, that's over 4,500 miles away! The following image was captured from ON5EX's QRSS grabber in Belgium! Amazing. I don't have the equipment to measure its power output, but it's running on USB power and I'd assume it's putting out less than 100mW. Very cool!

Markdown source code last modified on January 18th, 2021
---
title: AJ4VD Gator Chomps its way into Belgium!
date: 2010-05-27 21:38:03
tags: qrss
---

# AJ4VD Gator Chomps its way into Belgium!

__Yeah, that's over 4,500 miles away!__ The following image was captured from [ON5EX's QRSS grabber](http://www.on5ex.be/grabber/grabber.html) in Belgium! Amazing. I don't have the equipment to measure its power output, but it's running on USB power and I'd assume it's putting out less than 100mW. Very cool!

<div class="text-center img-border">

[![](aj4vd_gator_belgium_thumb.jpg)](aj4vd_gator_belgium.jpg)

</div>

May 24th, 2010

Solar Powered QRSS Transmitter

Haray! I'm making awesome progress with my QRSS transmitter design. Because my current transmitter (previous few posts) was randomly freezing-up (likely due to the oscillator stopping its oscillating due to being overloaded) so I moved the oscillator from in-chip to an external oscillator. It's been made small enough to fit in an Altoids tin, and I already tested it with the solar panel and it works! Awesome! Here are some photos. Again, when I perfect the design I'll post final schematics.

Sticking out are wires for power and an antenna on each side. The goal is to hang the device between two trees by its own antenna. That's my new chip development board. I made it with what I needed on it. It's so convenient! It uses 5v of power from the USB port too! Altogether I've tested the device and confirmed it transmits radio when the solar panel is illuminated. I'm thinking of making it more effective by adding more panels... but that's it for now!

Markdown source code last modified on January 18th, 2021
---
title: Solar Powered QRSS Transmitter
date: 2010-05-24 07:47:01
tags: qrss
---

# Solar Powered QRSS Transmitter

__Haray!__ I'm making awesome progress with my QRSS transmitter design. Because my current transmitter (previous few posts) was randomly freezing-up (likely due to the oscillator stopping its oscillating due to being overloaded) so I moved the oscillator from in-chip to an external oscillator. It's been made small enough to fit in an Altoids tin, and I already tested it with the solar panel and it works! Awesome! Here are some photos. Again, when I perfect the design I'll post final schematics.

<div class="text-center img-border">

[![](DSCN0532_thumb.jpg)](DSCN0532.jpg)

</div>

<div class="text-center img-border img-small">

[![](DSCN0533_thumb.jpg)](DSCN0533.jpg)
[![](DSCN0535_thumb.jpg)](DSCN0535.jpg)
[![](DSCN0537_thumb.jpg)](DSCN0537.jpg)
[![](DSCN0539_thumb.jpg)](DSCN0539.jpg)

</div>

__Sticking out__ are wires for power and an antenna on each side. The goal is to hang the device between two trees by its own antenna. __That's my new chip development board.__ I made it with what I needed on it. It's so convenient! It uses 5v of power from the USB port too! __Altogether__ I've tested the device and confirmed it transmits radio when the solar panel is illuminated. I'm thinking of making it more effective by adding more panels... but that's it for now!
May 22nd, 2010

First QRSS Spot!

I'm so excited! This little transmitter I made and programmed to transmit my call sign (AJ4VD) and a picture of a gator got its first spotting tonight! I'm so excited. It was reported by W4HBK in Pensacola, FL. It's only 300 miles away, but it's a start! I'm keeping my fingers crossed and maybe someday soon I'll hear from Europe.

Markdown source code last modified on January 18th, 2021
---
title: First QRSS Spot!
date: 2010-05-22 22:47:03
tags: qrss
---

# First QRSS Spot!

__I'm so excited!__ This little transmitter I made and programmed to transmit my call sign (AJ4VD) and a picture of a gator got its first spotting tonight! I'm so excited. It was reported by [W4HBK](http://www.qsl.net/w4hbk/W4HBKgrabber.html) in Pensacola, FL. It's only 300 miles away, but it's a start! I'm keeping my fingers crossed and maybe someday soon I'll hear from Europe.

<div class="text-center img-border">

[![](spotNice_thumb.jpg)](spotNice.jpg)

[![](simple_qrss_transmitter_thumb.jpg)](simple_qrss_transmitter.jpg)

</div>

May 22nd, 2010

Debut of the AJ4VD QRSS Gator

I re-wrote the code from the previous entry to do several things. Once of which was to make a gator rather than a fish. It's more appropriate since I'm planning on housing the transmitter at the University of Florida. To do it, I drew a gator in paint and wrote a python script to convert the image into a series of points. I'll post it later. One thing to note was that size was a SERIOUS issue. I only have two thousand bytes of code, and every point of that gator was a byte, so it was a memory hog. I helped it dramatically by using repeating segments wherever possible, and some creative math to help out the best I could (i.e., the spines on the back) Here's what it looks like, and the code below it...

#include <avr/io.h>
#include <util/delay.h>

// front top LED - PA0
// inside top LED - PA1
// inside bot LED - PA2
// front bot LED - PA3

unsigned long int t_unit; // units of time
const int tDit = 100;     //units for a dit
const int tDah = 255;     //units for a dah
char fsk;                 // degree of frequency shift to use for CW
char fsk2;                // degree of frequency shift to use for HELL

char light = 0; // which lights are on/off

void delay()
{
    _delay_loop_2(t_unit);
}

void blink()
{
    return;
    if (light == 0)
    {
        PORTA |= (1 << PA0);  //on
        PORTA |= (1 << PA1);  //on
        PORTA &= ~(1 << PA2); //off
        PORTA &= ~(1 << PA3); //off
        light = 1;
    }
    else
    {
        PORTA |= (1 << PA2);  //on
        PORTA |= (1 << PA3);  //on
        PORTA &= ~(1 << PA0); //off
        PORTA &= ~(1 << PA1); //off
        light = 0;
    }
}

void tick(unsigned long ticks)
{
    while (ticks > 0)
    {
        delay();
        delay();
        ticks--;
    }
}

void pwm_init()
{
    //Output on PA6, OC1A pin (ATTiny44a)
    OCR1A = 0x00;  //enter the pulse width. We will use 0x00 for now, which is 0 power.
    TCCR1A = 0x81; //8-bit, non inverted PWM
    TCCR1B = 1;    //start PWM
}

void set(int freq, int dly)
{
    OCR1A = freq;
    tick(dly);
}

void fish()
{
    char mult = 3;

    char f2[] = {2, 3, 4, 5, 6, 7, 4, 3, 7, 4, 7, 7, 6, 5, 4, 3, 2, 2, 2, 3, 3, 3, 2, 2, 2, 3, 3, 3, 2, 2, 2, 3, 4, 5, 6, 7, 8, 4, 9, 5, 9, 6, 9, 6, 9, 6, 9, 8, 8, 7, 7, 6, 5, 4, 3, 3, 3, 4, 5, 5};

    for (int i = 0; i < sizeof(f2); i++)
    {
        OCR1A = f2[i] * mult;
        blink();
        tick(20);
        OCR1A = 1 * mult;
        blink();
        tick(20);
    }

    char f3[] = {1, 2, 3, 4, 3, 2};

    char offset = 0;
    while (offset < 9)
    {
        for (char j = 0; j < 3; j++)
        {
            for (char i = 0; i < sizeof(f3); i++)
            {
                char val = (f3[i] + 5 - offset) * mult;
                if (val < mult || val > 10 * mult)
                {
                    val = mult;
                }
                OCR1A = val;
                blink();
                tick(20);
                OCR1A = 1 * mult;
                blink();
                tick(20);
            }
        }
        offset++;
    }
}

void id()
{
    char f[] = {0, 0, 1, 2, 0, 1, 2, 2, 2, 0, 1, 1, 1, 1, 2, 0, 1, 1, 1, 2, 0, 2, 1, 1, 0, 0};
    char i = 0;
    while (i < sizeof(f))
    {
        blink();
        if (f[i] == 0)
        {
            OCR1A = 0;
            tick(tDah);
        }
        if (f[i] == 1)
        {
            OCR1A = fsk;
            tick(tDit);
        }
        if (f[i] == 2)
        {
            OCR1A = fsk;
            tick(tDah);
        }
        blink();
        OCR1A = 0;
        tick(tDit);
        i++;
    }
}

void slope()
{
    char i = 0;
    while (i < 25)
    {
        OCR1A = 255 - i;
        i++;
    }
    while (i > 0)
    {
        i--;
        OCR1A = 255 - i;
    }
}

int main(void)
{
    DDRA = 255;
    blink();
    pwm_init();
    t_unit = 1000;
    fsk = 10;
    id(); // set to fast and ID once
          //fsk=50;//t_unit = 65536; // set to slow for QRSS
    t_unit = 60000;

    while (1)
    {
        ;
        fish();
        id();
    }

    return 1;
}
Markdown source code last modified on January 18th, 2021
---
title: Debut of the AJ4VD QRSS Gator
date: 2010-05-22 18:41:54
tags: qrss, old
---

# Debut of the AJ4VD QRSS Gator

__I re-wrote the code__ from the previous entry to do several things. Once of which was to make a gator rather than a fish. It's more appropriate since I'm planning on housing the transmitter at the University of Florida. To do it, I drew a gator in paint and wrote a python script to convert the image into a series of points. I'll post it later. One thing to note was that size was a SERIOUS issue. I only have two thousand bytes of code, and every point of that gator was a byte, so it was a memory hog. I helped it dramatically by using repeating segments wherever possible, and some creative math to help out the best I could (i.e., the spines on the back) Here's what it looks like, and the code below it...

<div class="text-center img-border">

[![](aj4vd_gator_thumb.jpg)](aj4vd_gator.png)

</div>

```c
#include <avr/io.h>
#include <util/delay.h>

// front top LED - PA0
// inside top LED - PA1
// inside bot LED - PA2
// front bot LED - PA3

unsigned long int t_unit; // units of time
const int tDit = 100;     //units for a dit
const int tDah = 255;     //units for a dah
char fsk;                 // degree of frequency shift to use for CW
char fsk2;                // degree of frequency shift to use for HELL

char light = 0; // which lights are on/off

void delay()
{
    _delay_loop_2(t_unit);
}

void blink()
{
    return;
    if (light == 0)
    {
        PORTA |= (1 << PA0);  //on
        PORTA |= (1 << PA1);  //on
        PORTA &= ~(1 << PA2); //off
        PORTA &= ~(1 << PA3); //off
        light = 1;
    }
    else
    {
        PORTA |= (1 << PA2);  //on
        PORTA |= (1 << PA3);  //on
        PORTA &= ~(1 << PA0); //off
        PORTA &= ~(1 << PA1); //off
        light = 0;
    }
}

void tick(unsigned long ticks)
{
    while (ticks > 0)
    {
        delay();
        delay();
        ticks--;
    }
}

void pwm_init()
{
    //Output on PA6, OC1A pin (ATTiny44a)
    OCR1A = 0x00;  //enter the pulse width. We will use 0x00 for now, which is 0 power.
    TCCR1A = 0x81; //8-bit, non inverted PWM
    TCCR1B = 1;    //start PWM
}

void set(int freq, int dly)
{
    OCR1A = freq;
    tick(dly);
}

void fish()
{
    char mult = 3;

    char f2[] = {2, 3, 4, 5, 6, 7, 4, 3, 7, 4, 7, 7, 6, 5, 4, 3, 2, 2, 2, 3, 3, 3, 2, 2, 2, 3, 3, 3, 2, 2, 2, 3, 4, 5, 6, 7, 8, 4, 9, 5, 9, 6, 9, 6, 9, 6, 9, 8, 8, 7, 7, 6, 5, 4, 3, 3, 3, 4, 5, 5};

    for (int i = 0; i < sizeof(f2); i++)
    {
        OCR1A = f2[i] * mult;
        blink();
        tick(20);
        OCR1A = 1 * mult;
        blink();
        tick(20);
    }

    char f3[] = {1, 2, 3, 4, 3, 2};

    char offset = 0;
    while (offset < 9)
    {
        for (char j = 0; j < 3; j++)
        {
            for (char i = 0; i < sizeof(f3); i++)
            {
                char val = (f3[i] + 5 - offset) * mult;
                if (val < mult || val > 10 * mult)
                {
                    val = mult;
                }
                OCR1A = val;
                blink();
                tick(20);
                OCR1A = 1 * mult;
                blink();
                tick(20);
            }
        }
        offset++;
    }
}

void id()
{
    char f[] = {0, 0, 1, 2, 0, 1, 2, 2, 2, 0, 1, 1, 1, 1, 2, 0, 1, 1, 1, 2, 0, 2, 1, 1, 0, 0};
    char i = 0;
    while (i < sizeof(f))
    {
        blink();
        if (f[i] == 0)
        {
            OCR1A = 0;
            tick(tDah);
        }
        if (f[i] == 1)
        {
            OCR1A = fsk;
            tick(tDit);
        }
        if (f[i] == 2)
        {
            OCR1A = fsk;
            tick(tDah);
        }
        blink();
        OCR1A = 0;
        tick(tDit);
        i++;
    }
}

void slope()
{
    char i = 0;
    while (i < 25)
    {
        OCR1A = 255 - i;
        i++;
    }
    while (i > 0)
    {
        i--;
        OCR1A = 255 - i;
    }
}

int main(void)
{
    DDRA = 255;
    blink();
    pwm_init();
    t_unit = 1000;
    fsk = 10;
    id(); // set to fast and ID once
          //fsk=50;//t_unit = 65536; // set to slow for QRSS
    t_unit = 60000;

    while (1)
    {
        ;
        fish();
        id();
    }

    return 1;
}
```

Pages