The personal website of Scott W Harden
September 19th, 2020

Deleted from The Wayback Machine

This week my website was removed from the Wayback Machine. The Wayback Machine is an impressive website that lets you view what a website looked like years ago. As part of Archive.org Internet Archive, this website is truly impressive and holds entertainingly-old versions of most webpages. Just look at Amazon.com in the year 2000 for a good laugh.

I started this blog as a child twenty years ago and after seeing what the Wayback Machine pulled-up I realized that it may be best that the thoughts I had as a child stay in the past. I have personal copies of all my old blog posts, but with the wisdom of age and hindsight I'd much prefer that that material stay off the internet. Luckily I was able to get my website removed from the Wayback Machine, and this post documents how I did it.

For those of you wanting to do the same, this is how I did it: I sent an email to info@archive.org stating the following:

Please remove my website [MY URL] from the Wayback Machine. [MY URL]/robots.txt has been updated to indicate I do not wish this website to be archived.

https://lookup.icann.org/ shows that [MY URL] points to [HOSTING COMPANY] nameservers, and I have attached a recent invoice from [HOSTING COMPANY] as evidence that I own this domain.

If additional evidence or action is required (e.g., DMCA takedown notice) please let me know.

Thank you!
Scott

I'm not sure if editing robots.txt was necessary, but I felt it gave credence to the fact that I had control over the content of this domain. That file contains the following text. In the past I read this was all it took to get your website de-listed from the wayback machine, but I added this same file to another domain name of mine and it has not been de-listed.

User-agent: archive.org_bot
Disallow: /

User-agent: ia_archiver
Disallow: /

I attached an invoice from the present year showing a credit card payment to my hosting company for the domain as a PDF. Interestingly I did not have to show a history of domain ownership. I downloaded the invoice from my hosting company's billing page that day, and it displays my home address but not my email address.

Six days later, my site was removed. This is the email I received:

FROM: Office Manager (Internet Archive)

Hello,

The following has now been submitted for exclusion from the Wayback Machine at web.archive.org: [MY SITE]

Please allow up to a day for the automated portions of the process to run their course and for the changes to take effect.

– The Internet Archive Team

I reviewed a lot of websites before reaching my strategy. I was surprised to see some people using issuing DMCA takedown notices notices to Archive.org, and was happy to find this was not required in my case. Here are some of the resources I found helpful:

⚠️ WARNING: This may not be permanent. I'm not sure what will happen if I lose my domain name (and robots.txt file) in the future. It is possible that my site is still being archived, while not being available on the wayback machine, and that some time in the future my site will be re-listed.

If you have updated information send me an email so I can update this page! In the mean time, I hope this information will be useful for others interested in curating their historical online presence.

Markdown source code last modified on January 18th, 2021
---
title: How I Deleted my Site from the Wayback Machine
date: 2020-09-19
---

# Deleted from The Wayback Machine

**This week my website was removed from the Wayback Machine.** The [Wayback Machine](https://archive.org/web/) is an impressive website that lets you view what a website looked like years ago. As part of [Archive.org](https://archive.org/) Internet Archive, this website is truly impressive and holds entertainingly-old versions of most webpages. Just look at [Amazon.com in the year 2000](https://web.archive.org/web/20000601000000*/amazon.com) for a good laugh.

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

[![](delete-waybackmachine_thumb.jpg)](delete-waybackmachine.png)

</div>

**I started this blog as a child twenty years ago** and after seeing what the Wayback Machine pulled-up I realized that it may be best that the thoughts I had as a child stay in the past. I have personal copies of all my old blog posts, but with the wisdom of age and hindsight I'd much prefer that that material stay off the internet. Luckily I was able to get my website removed from the Wayback Machine, and this post documents how I did it.

**For those of you wanting to do the same, this is how I did it:** I sent an email to `info@archive.org` stating the following:

> Please remove my website [MY URL] from the Wayback Machine. 
[MY URL]/robots.txt has been updated to indicate I do not wish 
this website to be archived.
<br><br>
https://lookup.icann.org/ shows that [MY URL] points to 
[HOSTING COMPANY] nameservers, and I have attached a recent 
invoice from [HOSTING COMPANY] as evidence that I own this domain.
<br><br>
If additional evidence or action is required (e.g., DMCA takedown 
notice) please let me know.
<br><br>
Thank you!
<br>
Scott


**I'm not sure if editing `robots.txt` was necessary, but I felt it gave credence to the fact that I had control over the content of this domain.** That file contains the following text. In the past I read this was all it took to get your website de-listed from the wayback machine, but I added this same file to another domain name of mine and it has not been de-listed.

```
User-agent: archive.org_bot
Disallow: /

User-agent: ia_archiver
Disallow: /
```

**I attached an invoice** from the present year showing a credit card payment to my hosting company for the domain as a PDF. Interestingly I did not have to show a history of domain ownership. I downloaded the invoice from my hosting company's billing page that day, and it displays my home address but not my email address.

**Six days later, my site was removed.** This is the email I received:

> FROM: Office Manager (Internet Archive)
<br><br>
Hello,
<br><br>
The following has now been submitted for exclusion from the 
Wayback Machine at web.archive.org: [MY SITE]
<br><br>
Please allow up to a day for the automated portions of the process
to run their course and for the changes to take effect.
<br><br>
&#8211; The Internet Archive Team

**I reviewed a lot of websites** before reaching my strategy. I was surprised to see some people using issuing [DMCA takedown notices](https://www.dmca.com/faq/What-is-a-DMCA-Takedown) notices to Archive.org, and was happy to find this was not required in my case. Here are some of the resources I found helpful:

* [Archive.org forums](https://archive.org/iathreads/forums.php) - many recent discussions about how to have websites removed. Ironically posting on a public forum may draw _more_ attention to a sensitive website before it is shut down, so this doesn't seem like a great strategy. However, it does seem to work for some.

* [How to Block Your Website From The Wayback Machine](https://www.fightcyberstalking.org/how-to-block-your-website-from-the-wayback-machine/) - uses `robots.txt` which worked in ~2018 but is no longer sufficient.

* [3 Easy Steps To Removing Your Site From Archive.org Wayback Machine](https://blog.imincomelab.com/remove-site-wayback-machine-archive/) - suggests creating a `robots.txt`, issuing DMCA takedown notice, then sending email.

* [How to Delete Your Site from the Internet Archive](https://www.joshualowcock.com/tips-tricks/how-to-delete-your-site-from-the-internet-archive-wayback-machine-archive-org/) - suggests creating a `robots.txt`, issuing DMCA takedown notice, sending historical records of domain ownership, then sending email.

> **⚠️ WARNING:** This may not be permanent. I'm not sure what will happen if I lose my domain name (and robots.txt file) in the future. It is possible that my site is still being archived, while not being available on the wayback machine, and that some time in the future my site will be re-listed.

**If you have updated information** send me an email so I can update this page! In the mean time, I hope this information will be useful for others interested in curating their historical online presence.
September 13th, 2020

Leaving WordPress

After fifteen years using WordPress, I'm leaving it for a simpler alternative: flat markdown files. There were several reasons behind why I made the change. First, I was disappointed with how frequently I had to update WordPress (and upgrade my database) to stay current with security updates. Second, I didn't like how abstract post content was. The text of posts was stored in SQL tables and references to image URLs weren't easily accessible (posts point to content IDs, the URLs of which were stored in another table), and images and media were scattered all over the filesystem because the default image placement changed several times over the years. Finally I found that logging in to a web front-end just to write a post was a bit of a barrier that prevented me from writing more frequently.

I have been very active on GitHub over the last few years and used their platform to share my code instead of this website. Lots of code and notes belong in repositories there, yes, but sometimes I create neat things which would be better represented as one-off posts on my personal website. Some of my repositories have collected notes like these, so I look forward to migrating a lot of that content here. My hope is that the new system I put together will make it easier to share content by writing it in Markdown using the editors I'm already working in every day.

Dynamic Markdown Parsing with PHP

The system I'm using now is pretty simple. Every post is a folder, and each folder contains a markdown file along with all of the images and files that post references. At the top of the markdown file is a little header which has information like title, date, and categories (tags). I use a PHP script route HTTP requests and if a requested folder lacks index.html but has index.md, I serve that using Parsedown to convert it to HTML. I also add a few tweaks to do things like convert YouTube links to embedded videos and add syntax highlighting to code blocks. Backups are easy (I just zip the folder), and the website could be committed to source control. I'm leaning away from this because it's about 1GB (lots of images), but I'll consider it. Also, the URL is just the path to the folder.

There's a clear path toward generating a static site. If a folder lacks index.html, index.md is parsed and served. Switching to and from a static site can be achieved just by pre-converting all the markdown files to html and deleting them. I'll probably keep working on refining the PHP script until the conversions are reliably processing like I desire, then convert most of the old pages to static files. The cool thing about this method is that it lets me serve some posts statically but others dynamically.

Wordpress (slow) Markdown (fast)

Performing the Conversion

The conversion from WordPress to Markdown was semi-automated, but still labor-intensive.

  • I first dumped the database to a SQL file, parsed-out the content and metadata (url, title, date, and privacy status), then created the filesystem and markdown files.

  • I then had to manually inspect every markdown file and reformat it, converting inline HTML to markdown (mostly images, galleries, and divs for alignment formatting). In many cases code formatting was damaged over the years, so lots of my old code was run through an autoformatter.

  • I also had to hunt-down the media (images, MP3s, ZIP files, etc.) for every post, copy it to the same folder, and update the URLs to be relative. This was especially hard for galleries which only point to meta content IDs (stored in a separate database table), and my database had gotten damaged somewhere along the way over the years so I really struggled to find the right content sometimes.

  • I also added tags to indicate categories, carefully reviewing content and code and marking posts as "old" if they contained out of date examples (lots of Python 2 code) or code that I deemed today to be of very poor quality. Part of me wanted to delete (hide) old posts with bad code, but I decided to leave them up. It's a reminder of how long I've worked in improving my craft, and my revulsion to code I wrote in the past is an indication of how much I've learned since.

  • This process took me about 10 hours a day for 3 days in a row.

Along the way I had a few laughs at the ridiculousness of some of my old content. I think it's probably a good thing to encourage teenagers to have personal websites, but I also encourage professionals and employers not to give too much credence to ramblings written by a person decades ago that Google happens to remember. I didn't delete any content, but I marked most of the posts I made as a teenager as private and only exposed the ones that discuss this website.

History of this Blog

After reviewing all of my posts I now have a really good understanding of the evolution of the technologies I used to serve my website over the years. Here's a summary of the major events:

  • It started as a blog on GeoCities, with the oldest surviving post dating to June 2001. Back then adding content meant editing HTML files and using FTP to upload changes.

  • In 2002 I started hosting my website from a server at my house. Initially it was served with Windows/IIS using ASP for comments pages. On October 19, 2002 I switched to FreeBSD/Apache using PHP for comments pages.

  • I started using the Movable Type (a flat-file PHP-based CMS) on Aug 25, 2003.

  • I migrated to WordPress (a CMS that stored posts in a database) in 2005.

  • In 2020 I converted all my posts to Markdown using PHP to dynamically generate HTML (with an avenue to generate flat-file output).

Markdown source code last modified on September 12th, 2021
---
title: Leaving WordPress
date: 2020-09-13 18:15:00
Tags: php
---

# Leaving WordPress

**After fifteen years using WordPress, I'm leaving it for a simpler alternative: flat markdown files.** There were several reasons behind why I made the change. First, I was disappointed with how frequently I had to update WordPress (and upgrade my database) to stay current with security updates. Second, I didn't like how abstract post content was. The text of posts was stored in SQL tables and references to image URLs weren't easily accessible (posts point to content IDs, the URLs of which were stored in another table), and images and media were scattered all over the filesystem because the default image placement changed several times over the years. Finally I found that logging in to a web front-end just to write a post was a bit of a barrier that prevented me from writing more frequently. 

<div class="text-center">

[![](github_thumb.jpg)](github.png)

</div>

**I have been [very active on GitHub](https://github.com/swharden) over the last few years** and used their platform to share my code instead of this website. Lots of code and notes belong in repositories there, yes, but sometimes I create neat things which would be better represented as one-off posts on my personal website. Some of my repositories have collected notes like these, so I look forward to migrating a lot of that content here. My hope is that the new system I put together will make it easier to share content by writing it in Markdown using the editors I'm already working in every day.

## Dynamic Markdown Parsing with PHP

**The system I'm using now is pretty simple.** Every post is a folder, and each folder contains a markdown file along with all of the images and files that post references. At the top of the markdown file is a little header which has information like title, date, and categories (tags). I use a PHP script route HTTP requests and if a requested folder lacks index.html but has index.md, I serve that using [Parsedown](https://github.com/erusev/parsedown) to convert it to HTML. I also add a few tweaks to do things like convert YouTube links to embedded videos and add syntax highlighting to code blocks. Backups are easy (I just zip the folder), and the website could be committed to source control. I'm leaning away from this because it's about 1GB (lots of images), but I'll consider it. Also, the URL is just the path to the folder.

**There's a clear path toward generating a static site.** If a folder lacks index.html, index.md is parsed and served. Switching to and from a static site can be achieved just by pre-converting all the markdown files to html and deleting them. I'll probably keep working on refining the PHP script until the conversions are reliably processing like I desire, then convert most of the old pages to static files. The cool thing about this method is that it lets me serve some posts statically but others dynamically.

<div align="center">

Wordpress (slow) | Markdown (fast)
---|---
<div style='text-align: center;'><img src="benchmark-slow.png"></div> | <div style='text-align: center;'><img src="benchmark-fast.png"></div>

</div>

## Performing the Conversion

The conversion from WordPress to Markdown was semi-automated, but still labor-intensive. 

* I first dumped the database to a SQL file, parsed-out the content and metadata (url, title, date, and privacy status), then created the filesystem and markdown files. 

* I then had to manually inspect every markdown file and reformat it, converting inline HTML to markdown (mostly images, galleries, and divs for alignment formatting). In many cases code formatting was damaged over the years, so lots of my old code was run through an autoformatter.

* I also had to hunt-down the media (images, MP3s, ZIP files, etc.) for every post, copy it to the same folder, and update the URLs to be relative. This was especially hard for galleries which only point to meta content IDs (stored in a separate database table), and my database had gotten damaged somewhere along the way over the years so I really struggled to find the right content sometimes. 

* I also added tags to indicate categories, carefully reviewing content and code and marking posts as "old" if they contained out of date examples (lots of Python 2 code) or code that I deemed today to be of very poor quality. Part of me wanted to delete (hide) old posts with bad code, but I decided to leave them up. It's a reminder of how long I've worked in improving my craft, and my revulsion to code I wrote in the past is an indication of how much I've learned since.

* This process took me about 10 hours a day for 3 days in a row.

Along the way I had a few laughs at the ridiculousness of some of my old content. I think it's probably a good thing to encourage teenagers to have personal websites, but I also encourage professionals and employers not to give too much credence to ramblings written by a person decades ago that Google happens to remember. I didn't delete any content, but I marked most of the posts I made as a teenager as private and only exposed the ones that discuss this website.

## History of this Blog

After reviewing all of my posts I now have a really good understanding of the evolution of the technologies I used to serve my website over the years. Here's a summary of the major events:

* It started as a blog on GeoCities, with the [oldest surviving post](../2001-06-16-geocities-hardentechnologies-1) dating to June 2001. Back then adding content meant editing HTML files and using FTP to upload changes. 

* In 2002 I started hosting my website from a server at my house. Initially it was served with Windows/IIS using ASP for comments pages. On October 19, 2002 I switched to FreeBSD/Apache using PHP for comments pages.

* I started using the [Movable Type](https://en.wikipedia.org/wiki/Movable_Type) (a flat-file PHP-based CMS) on Aug 25, 2003.

* I migrated to [WordPress](https://en.wikipedia.org/wiki/WordPress) (a CMS that stored posts in a database) in 2005.

* In 2020 I converted all my posts to [Markdown](https://en.wikipedia.org/wiki/Markdown) using PHP to dynamically generate HTML (with an avenue to generate flat-file output).
August 3rd, 2019

USB Frequency Counter

I built a frequency counter with a USB interface based around a 74LV8154 32-bit counter, FTDI FT230XS (USB serial adapter), and an ATMega328 microcontroller. I've used this same counter IC in some old projects (1, 2, 3, 4, 5) this time I decided to I design the circuit a little more carefully, make a PCB, and use all surface-mount technology (SMT).

The micro USB port provides power and PC connectivity, and when running the device sends frequency to the computer every second. All the parameters can be customized in software, and source code is on the USB-Counter GitHub page.

I also added support for a 7-segment LED display. The counter works fine without the screen attached, but using the screen lets this device serve as a frequency counter without requiring a computer. This display is a MAX7219-driven display module which currently runs for $2 each on Amazon when ordered in packs of 5.

Precision Frequency Measurement

One advantage of this counter is that it is never reset. Since this circuit uses 32-bit counter IC, and every gate cycle transmits the current count to the computer over USB. Because every input cycle is measured high precision measurements of frequency over long periods of time are possible. For example, 1000 repeated measurements with a 1Hz gate allows frequency measurement to a precision of 0.01 Hz.

Internal or External Gating

An optional external 1PPS gate can be used for precise timing. The microcontroller is capable of generating gate cycles in software. Precision is limited to that of the TCXO used to clock the microcontroller (2.5 PPM). For higher-precision gating a resistor may be lifted and an external gate applied (e.g., 1PPS GPS signal).

TCXO Driving a Gate in Software

By clocking the microcontroller at 14.7456 MHz with a temperature-compensated crystal oscillator (TCXO) I'm able to communicate with the PC easily at 115200 baud, and with some clever timer settings and interrupts I'm able to toggle an output pin every 14,745,600 cycles to produce a fairly accurate 1PPS signal.

Maximum Counting Frequency

According to the SN74LV8154 datasheet the minimum expected maximum input frequency (fMAX) is 40 MHz. To count higher frequencies, a high-speed prescaler could be added to the input to divide-down the input signal to a frequency this counter can range. This was [discussed]() in the original issue that kicked-off this project, and Onno Hoekstra (PA2OHH) recommended the SAB6456 divide-by-64/divide-by-256 prescaler which supports up to 1 GHz input frequency. However, present availability seems to be limited. A similar chip, or even a pair of octal flip-flops that work in the GHZ range could achieve this functionality.

Design

By populating one of two input paths with components this device can serve as a sensitive frequency counter (with a small-signal amplifier front-end) or a pulse counter (with a simple 50 ohm load at the front-end).

Optional RF Amplifier Front-End

An optional amplifier front-end has been added to turn weak input into strong square waves suitable for driving the TTL counter IC. It is designed for continuously running input, and will likely self-oscillate if it is not actively driven.

⚠️ WARNING: There is an error in this schematic. The protection diodes should be the other way around.

This simulation shows a small 1 MHz signal fed into a high impedance front-end being amplified to easily satisfy TTL levels. The 1k resistor (R3) could be swapped-out for a 50 Ohm resistor for a more traditional input impedance if desired. LTSpice source files are in the GitHub repository in case you want to refine the simulation.

Components

PCB

Changes from rev 1.0

  • improved RF amplifier design
  • alternate path to bypass RF amplifier
  • corrected counter pin connections
  • free a MCU pin by making the status LED the gate
  • add a header for the serial LED display
  • run MCU at 14.7456 MHz
    • allows much faster serial transmission
    • no longer accepts external 10MHz reference
    • may still accept external gate
  • added screw holes
    • they're floating (not grounded) - should they be grounded?
  • switched to micro USB (from mini USB)

Build Notes

  • didnt have 27 ohm resistors. used 22 ohm.
  • I used a 500mW rated R15
  • I used a 500mW rated R13
  • make hand solder version of usb
  • make oscillator fit less awkwardly
  • Add a 7805 so 12V can be applied or USB. Use a 78L33 (not the reg on the FTDI chip) to power everything else.
  • This device doesn't work when plugged into a wall USB cord (power only, no data). It seems an active USB connection is required to cause the 3.3V regulator (built into the FTDI chip) to deliver power. The next revision should use a discrete 3.3V regulator.
  • For a standalone (LED) device no USB connection is needed. Make a version that accepts 12V and displays the result on the LED. Make the optional external gate easy to access. Break-out the TX pin so PC logging is still very easy.

Resources

Markdown source code last modified on December 13th, 2022
---
title: USB Frequency Counter
date: 2019-08-03 21:15:00
tags: circuit
---

# USB Frequency Counter

**I built a frequency counter with a USB interface** based around a [74LV8154](https://www.ti.com/lit/ds/symlink/sn74lv8154.pdf) 32-bit counter, FTDI [FT230XS](https://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT230X.pdf) (USB serial adapter), and an [ATMega328](https://www.microchip.com/wwwproducts/en/ATmega328) microcontroller. I've used this same counter IC in some old projects ([1](https://swharden.com/blog/2011-03-14-frequency-counter-finished/), [2](https://swharden.com/blog/2011-02-12-wideband-receiver-works/), [3](https://swharden.com/blog/2011-02-09-minimal-radio-project-continues/), [4](https://swharden.com/blog/2011-02-04-frequency-counter-working/), [5](https://swharden.com/blog/2011-01-28-home-brew-transceiver-taking-shape/)) this time I decided to I design the circuit a little more carefully, make a PCB, and use all surface-mount technology (SMT).

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

[![](curved2_thumb.jpg)](curved2.jpg)

</div>

**The micro USB port provides power and PC connectivity,** and when running the device sends frequency to the computer every second. All the parameters can be customized in software, and source code is on the [USB-Counter GitHub page](https://github.com/swharden/USB-Counter). 

<div class="text-center">

[![](DSC_0132_thumb.jpg)](DSC_0132.jpg)

</div>

**I also added support for a 7-segment LED display.** The counter works fine without the screen attached, but using the screen lets this device serve as a frequency counter without requiring a computer. This display is a MAX7219-driven display module which currently runs for [$2 each on Amazon](https://www.amazon.com/s?k=max7219+segment) when ordered in packs of 5.

### Precision Frequency Measurement

**One advantage of this counter is that it is never reset.** Since this circuit uses 32-bit counter IC, and every gate cycle transmits the current count to the computer over USB. Because every input cycle is measured high precision measurements of frequency over long periods of time are possible. For example, 1000 repeated measurements with a 1Hz gate allows frequency measurement to a precision of 0.01 Hz.

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

[![](2019-08-04-output_thumb.jpg)](2019-08-04-output.png)

</div>

### Internal or External Gating

**An optional external 1PPS gate can be used for precise timing.** The microcontroller is capable of generating gate cycles in software. Precision is limited to that of the TCXO used to clock the microcontroller (2.5 PPM). For higher-precision gating a resistor may be lifted and an external gate applied (e.g., 1PPS GPS signal).

### TCXO Driving a Gate in Software

**By clocking the microcontroller at 14.7456 MHz with a temperature-compensated crystal oscillator (TCXO)** I'm able to communicate with the PC easily at [115200 baud](http://ruemohr.org/~ircjunk/avr/baudcalc/avrbaudcalc-1.0.8.php), and with some [clever timer settings](https://eleccelerator.com/avr-timer-calculator/) and interrupts I'm able to toggle an output pin every 14,745,600 cycles to produce a fairly accurate 1PPS signal.

### Maximum Counting Frequency

**According to the SN74LV8154 datasheet** the minimum expected maximum input frequency (f<sub>MAX</sub>) is 40 MHz. To count higher frequencies, a high-speed prescaler could be added to the input to divide-down the input signal to a frequency this counter can range. This was [discussed]() in the original issue that kicked-off this project, and [Onno Hoekstra (PA2OHH)](https://www.qsl.net/pa2ohh/) recommended the [SAB6456](https://doc.lagout.org/electronics/doc/ic_various/SAB6456.PDF) divide-by-64/divide-by-256 prescaler which supports up to 1 GHz input frequency. However, present availability seems to be limited. A similar chip, or even a pair of octal flip-flops that work in the GHZ range could achieve this functionality.

## Design

**By populating one of two input paths** with components this device can serve as a sensitive frequency counter (with a small-signal amplifier front-end) or a pulse counter (with a simple 50 ohm load at the front-end).

<div class="text-center">

[![](schematic_thumb.jpg)](schematic.png)

</div>

### Optional RF Amplifier Front-End

**An optional amplifier front-end** has been added to turn weak input into strong square waves suitable for driving the TTL counter IC. It is designed for continuously running input, and will likely self-oscillate if it is not actively driven.

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

![](front-end.jpg)

</div>

> ⚠️ **WARNING: There is an error in this schematic.** The protection diodes should be the other way around.

**This simulation** shows a small 1 MHz signal fed into a high impedance front-end being amplified to easily satisfy TTL levels. The 1k resistor (R3) could be swapped-out for a 50 Ohm resistor for a more traditional input impedance if desired. LTSpice source files are in the GitHub repository in case you want to refine the simulation.

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

![](front-end-wave.jpg)

</div>

### Components
* all passives are 0805 (~$1)
* [SBAV99WT1G SC-70 dual diode](https://www.mouser.com/ProductDetail/ON-Semiconductor/SBAV99WT1G?qs=%2Fha2pyFaduhs9dhfVWP8oT%252BsAj5t0ZSYddkb6PuTtd0%3D) 215 mA ($0.29)
* [14.7456MHz TCXO](https://www.mouser.com/ProductDetail/Fox/FOX924B-147456?qs=sGAEpiMZZMt8oz%2FHeiymADfzZKRiEXclvcmWd5jLzoM%3D) 2.5 PPM, 14.7456MHz ($2.36)
* [SN74LV8154](https://www.mouser.com/ProductDetail/Texas-Instruments/SN74LV8154PWR?qs=sGAEpiMZZMtdY2G%252BSI3N4aQvQNXOTGN6Ghdjz%252BkScFE%3D) ($0.99) TSSOP-20
* [FT230XS-R](https://www.mouser.com/ProductDetail/FTDI/FT230XS-R?qs=sGAEpiMZZMtv%252Bwxsgy%2FhiIaF6qCroMVR1i2pEQA5UpU%3D) ($2.04) SSOP-16
* [ATMega328](https://www.mouser.com/ProductDetail/Microchip-Technology-Atmel/ATMEGA328PB-AU?qs=sGAEpiMZZMvc81WFyF5EdrSRAEYMYvHlMc95YQj%2FArE%3D) ($1.38)
* [mini-USB jack](https://www.mouser.com/ProductDetail/CUI/UJ2-MBH-1-SMT-TR?qs=sGAEpiMZZMu3xu3GWjvQiLfiCTO8RP%252Bk%252BIiwpoT5qew%3D) ($0.49)
* [micro-USB jack](https://www.mouser.com/ProductDetail/Hirose-Connector/ZX62D-B-5PA830?qs=sGAEpiMZZMulM8LPOQ%252Byk6r3VmhUEyMLT8hu1C1GYL85FtczwhvFwQ%3D%3D) ($0.70)
* [SMA connector](https://www.mouser.com/ProductDetail/LPRS/SMA-CONNECTOR?qs=sGAEpiMZZMuLQf%252BEuFsOrkd7M7rmHNHidLMZ%2Ftb%252B0T1YCJLScw0qLA%3D%3D) ($1.08)
* [SPI-driven 8-digit 7-segment display module](https://www.amazon.com/dp/B07CL2YNJQ) ($13 for 4)


### PCB

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

[![](pcb-dsn_thumb.jpg)](pcb-dsn.png)

</div>

<div class="text-center">

[![](pcb-rndr_thumb.jpg)](pcb-rndr.png)

</div>

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

[![](DSC_0128_thumb.jpg)](DSC_0128.jpg)

</div>

### Changes from rev 1.0
* improved RF amplifier design
* alternate path to bypass RF amplifier
* corrected counter pin connections
* free a MCU pin by making the status LED the gate
* add a header for the serial LED display
* run MCU at 14.7456 MHz
  * allows much faster serial transmission
  * no longer accepts external 10MHz reference
  * may still accept external gate
* added screw holes
  * they're floating (not grounded) - should they be grounded?
* switched to micro USB (from mini USB)

### Build Notes
* didnt have 27 ohm resistors. used 22 ohm.
* I used a 500mW rated R15
* I used a 500mW rated R13
* make hand solder version of usb
* make oscillator fit less awkwardly
* Add a 7805 so 12V can be applied or USB. Use a 78L33 (not the reg on the FTDI chip) to power everything else.
* This device doesn't work when plugged into a wall USB cord (power only, no data). It seems an active USB connection is required to cause the 3.3V regulator (built into the FTDI chip) to deliver power. The next revision should use a discrete 3.3V regulator.
* For a standalone (LED) device no USB connection is needed. Make a version that accepts 12V and displays the result on the LED. Make the optional external gate easy to access. Break-out the TX pin so PC logging is still very easy.

## Resources
* [USB-Counter](https://github.com/swharden/USB-Counter) on GitHub
* [Revision 1.0 build notes](https://github.com/swharden/USB-Counter/tree/master/builds/1.0)
* [Revision 1.1 build notes](https://github.com/swharden/USB-Counter/tree/master/builds/1.1)
* [GitHub issue](https://github.com/swharden/AVR-projects/issues/1) where this topic was first discussed
July 31st, 2019

Upgraded Amplifier

The design is similar (CMOS buffer driving an IRF510) but I used perfboard to make this one and placed it in an enclosure. There's no low-pass filter on the amplifier itself, but I put a 30m low-pass filter in-line the coax before the antenna. It's currently outputting 20PPV into 50 ohms (1 watt).

Old Amplifier

New Amplifier

Right after hooking it up I saw my signal looking nice on the air:

AJ4VD Spotted in Ontario, Canada (VA3ROM)

AJ4VD Spotted in the Canary Islands (EA8BVP1)

Markdown source code last modified on January 18th, 2021
---
title: Upgraded Amplifier
date: 2019-07-31 21:00:00
tags: qrss, circuit
---

# Upgraded Amplifier

The design is similar (CMOS buffer driving an IRF510) but I used perfboard to make this one and placed it in an enclosure. There's no low-pass filter on the amplifier itself, but I put a 30m low-pass filter in-line the coax before the antenna. It's currently outputting 20PPV into 50 ohms (1 watt).

### Old Amplifier

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

[![](2019-07-30-old-amp_thumb.jpg)](2019-07-30-old-amp.jpg)

</div>

### New Amplifier

<div class="text-center">

[![](schematic_thumb.jpg)](schematic.png)

</div>

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

[![](2019-07-31-new-amp_thumb.jpg)](2019-07-31-new-amp.jpg)

</div>

Right after hooking it up I saw my signal looking nice on the air:

### AJ4VD Spotted in Ontario, Canada (VA3ROM)

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

[![](VA3ROM.1907311950.549006f9e5_thumb.jpg)](VA3ROM.1907311950.549006f9e5.jpg)

</div>

### AJ4VD Spotted in the Canary Islands (EA8BVP1)

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

[![](EA8BVP1.1907311940.821b800321_thumb.jpg)](EA8BVP1.1907311940.821b800321.jpg)

</div>
July 29th, 2019

SMT QRSS Spots

This page documents interesting grabs of the signal from my SMT QRSS Transmitter

2019-07-29

Nova Scotia, Canada (VE1VDM)

I was really strong on VE1VDM's grabber last night, but I found it interesting to see such a strong signal in the middle of the day (11AM).

Stack (average of 13 grabs)

2019-07-30

I spotted my signal across the Atlantic. It's pretty weak, but you can just make out the unique shape on EA8BVP's grabber in the Canary Islands (4,000 miles away).

2019-08-03

I spotted my signal in Sweden. This hint of my transmitter was captured by SA6BSS in Slutarp, Sweden at 12:30AM last night.

2019-09-02

I spotted my signal in Switzerland

Bill (W4HBK) emailed the QRSS Knights a grab of my signal from a KIWI SDR captured at HB9EHO in Ittigen, Switzerland.

Markdown source code last modified on January 18th, 2021
---
title: SMT QRSS Spots
date: 2019-07-29 21:00:00
tags: qrss
---

# SMT QRSS Spots

This page documents interesting grabs of the signal from my [SMT QRSS Transmitter](https://swharden.com/blog/2019-07-26-smt-qrss-design/)

## 2019-07-29

### Nova Scotia, Canada (VE1VDM)

I was really strong on VE1VDM's grabber last night, but I found it interesting to see such a strong signal in the middle of the day (11AM).

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

[![](VE1VDM.1907290830.35415d51dc_thumb.jpg)](VE1VDM.1907290830.35415d51dc.jpg)

</div>

### Stack (average of 13 grabs)

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

[![](VE1VDM.1907290940_thumb.jpg)](VE1VDM.1907290940.jpg)

</div>

## 2019-07-30

I spotted my signal across the Atlantic. It's pretty weak, but you can just make out the unique shape on EA8BVP's grabber in the Canary Islands (4,000 miles away).

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

[![](EA8BVP1.1907302050_thumb.jpg)](EA8BVP1.1907302050.jpg)

</div>

## 2019-08-03

I spotted my signal in Sweden. This hint of my transmitter was captured by SA6BSS in Slutarp, Sweden at 12:30AM last night.

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

[![](SA6BSS-AJ4VD_thumb.jpg)](SA6BSS-AJ4VD.jpg)

</div>

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

[![](globe_thumb.jpg)](globe.png)

</div>

## 2019-09-02

I spotted my signal in Switzerland

[Bill (W4HBK)](https://www.qsl.net/w4hbk/) emailed the [QRSS Knights](https://groups.io/g/qrssknights) a grab of my signal from a KIWI SDR captured at HB9EHO in Ittigen, Switzerland.

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

[![](HB9EHO_thumb.jpg)](HB9EHO.jpg)

</div>
Pages