Difference between revisions of "The MacGuffin Project"

From BATC Wiki
Jump to navigation Jump to search
Line 22: Line 22:
 
MacGuffin Main files.zip
 
MacGuffin Main files.zip
  
Educational material
+
===Educational material===
  
 
These documents describe different aspects of the MacGuffin system. In addition to reading these notes look over the other documents to get a fuller picture of the MacGuffin capabilities.  This will help design your MacGuffin hardware and modify the Arduino sketch.
 
These documents describe different aspects of the MacGuffin system. In addition to reading these notes look over the other documents to get a fuller picture of the MacGuffin capabilities.  This will help design your MacGuffin hardware and modify the Arduino sketch.
Line 31: Line 31:
 
< MacGuffin IO Definition page> IO Port Definition explained by an example
 
< MacGuffin IO Definition page> IO Port Definition explained by an example
  
Here are the things to build or buy.
+
===Here are the things to build or buy.===
  
 
<MacGuffin Hardware page>
 
<MacGuffin Hardware page>
  
Software
+
===Software===
  
 
MacGuffin_Sequencer_V3-0_19FEB2022.ino Arduino sketch to be modified for your system
 
MacGuffin_Sequencer_V3-0_19FEB2022.ino Arduino sketch to be modified for your system
 
I2C_SCANNER.ino Utility for checking the I2C devices addresses to see they are present and correct.
 
I2C_SCANNER.ino Utility for checking the I2C devices addresses to see they are present and correct.
  
Software worksheets Plan and record information for modifying the sketch  
+
===Software worksheets=== Plan and record information for modifying the sketch  
 
MacGuffin Band Assignment .xlsx Record band from the Portsdown setup and your relay configuration  
 
MacGuffin Band Assignment .xlsx Record band from the Portsdown setup and your relay configuration  
 
MacGuffin IO Expander Assignment V2.xlsx Record the IO expander port setup
 
MacGuffin IO Expander Assignment V2.xlsx Record the IO expander port setup
 
MacGuffin User Bit Patterns.xlsx Record user bit patterns for use with the IO expander ports.
 
MacGuffin User Bit Patterns.xlsx Record user bit patterns for use with the IO expander ports.
  
Your files
+
===Your files===
  
 
Generate these files to plan your MacGuffin.
 
Generate these files to plan your MacGuffin.
Hardware
+
===Hardware===
 
Drawing of relay configuration – RF relays and DC control relays
 
Drawing of relay configuration – RF relays and DC control relays
 
Drawing or spreadsheet of IO port connections
 
Drawing or spreadsheet of IO port connections
Software
+
===Software===
 
Band assignment spreadsheet
 
Band assignment spreadsheet
 
IO expander assignment spreadsheet
 
IO expander assignment spreadsheet

Revision as of 17:45, 10 May 2022

The MacGuffin project is a collection of tools used to create an automated multi-band ATV system based on the Portsdown transmitter and the Ryde receiver. An RF path from the Portsdown or the Ryde to an antenna is created by using relays to select the appropriate intermediate equipment. This includes RX preamps, TX drivers and power amplifiers. Transverters may also be a part of the system.

The system automatically connects the components for the band selected by the Portsdown and sequences the transitions between RX and TX. An Arduino Nano and MCP23017 IO expanders are used to generate control signals. They operate the relays used to select the RF paths connecting the components for the various bands. PTT and DC power to the amplifiers is also controlled.

PCBs

PCBs have been designed for the Nano and the MCP23017. The Nano board has circuitry to interface with the Portsdown and other equipment. The IO expander board is designed to easily connect to a 16 relay module from eBay or to user-selected relays through optional drivers or logic level signals. A builder could choose to use modules from eBay instead of the MacGuffin PCBs.

Configurations

There is no standard MacGuffin configuration as it is expected that each builder will be using parts in hand or the parts that are available at the time they are building. The documentation does include examples of various possible configurations and a list a RF relays available at the time the design was started.

The first step in designing the system is to decide which bands will be used. That starts with the setup of the Portsdown. Next a relay configuration can be planned which will switch the RF through the appropriate equipment for each band. Then a basic Arduino sketch is modified to match the builder’s Portsdown configuration and the relay configuration. Modifying the Nano application does not require knowledge of the Arduino programming language. Tables in the sketch determine the control of the relay paths and the text displayed on the LCD.

This block diagram shows the basic structure of a MacGuffin system.

Block diagram McGuffin.png


Files below are contained in these zip files.

MacGuffin Arduino files.zip MacGuffin Main files.zip

Educational material

These documents describe different aspects of the MacGuffin system. In addition to reading these notes look over the other documents to get a fuller picture of the MacGuffin capabilities. This will help design your MacGuffin hardware and modify the Arduino sketch. MacGuffin General Notes V2.docx MacGuffin Sketch Notes V2.docx Information about the Arduino sketch MacGuffin User Bit Patterns.docx User Defined Bit Patterns explained by an example MacGuffin Relay Configurations.pdf Examples to show use of RF relays < MacGuffin IO Definition page> IO Port Definition explained by an example

Here are the things to build or buy.

<MacGuffin Hardware page>

Software

MacGuffin_Sequencer_V3-0_19FEB2022.ino Arduino sketch to be modified for your system I2C_SCANNER.ino Utility for checking the I2C devices addresses to see they are present and correct.

===Software worksheets=== Plan and record information for modifying the sketch MacGuffin Band Assignment .xlsx Record band from the Portsdown setup and your relay configuration MacGuffin IO Expander Assignment V2.xlsx Record the IO expander port setup MacGuffin User Bit Patterns.xlsx Record user bit patterns for use with the IO expander ports.

Your files

Generate these files to plan your MacGuffin.

Hardware

Drawing of relay configuration – RF relays and DC control relays Drawing or spreadsheet of IO port connections

Software

Band assignment spreadsheet IO expander assignment spreadsheet User defined bit pattern spreadsheet(s) if used Modified copy of Arduino sketch





File:MacGuffin Main files.zip

File:MacGuffin Hardware files.zip

File:MacGuffin 6P Example.zip

File:MacGuffin Arduino files.zip