Introduction
Theory of Operation
This stage provides the control interface between the hardware SDR and a PC that is running the appropriate SDR software which can provide I2C (Inter Integrated Circuit) bidirectional control signals over a USB connection. There are two lines in the I2C bus: the clock (SCL) and the date (SDA). For a more in-depth discussion of the I2C protocol, see the formal Specification.
The heart of the control circuit is U3, an ATTiny85-20PU 8 bit AVR Microcontroller (caution! the pdf for this device is over 4MB). The unit is powered off of the PC's USB 5 Vdc bus and provides a 6 bit bi-directional I/O port. It draws less than 10mA. The two zeners are to protect the PC USB port, not the AVR chip, as that runs off a 5V supply. They are there with R1 and R3 to limit the USB signals to the PC to nominal level of 3.6v maximum.
R6 and R7 are pullup resistors that keep the control pins (SCL and SDA) of the Si570 at 3.3V. The AVR pulses them low when it communicates.
U3 uses and comes pre-loaded with the
- Accept control signals via the pins 2 and 3 of the Universal Serial Bus (USB)
- Translate input signals into I2C control signals (bi-directional SDA and input-only SCL lines) for the Si570 programmable Oscillator
- Translate output I2C signals from the Si570 back to USB signals to the PC
- Translate incoming bandswitching commands into appropriate signals to J3 (for control of the new HF-BPF board.
- Future: new firmware for U3 is being developed to implement automatic band switching of the new HF-BPF switchable BPF.
Update
Several builders have experienced issues with the voltages on the USB-2 and USB-3 lines and diodes D2 and D3. Following a long series of messages on the Softrock Yahoo Group, Jan G0BBL and Tony KB9YIG have decided to address the issue as follows:
- Each new kit will be packed with two each of the BZY55 3.3 volt and 3.6 volt zener diodes in place of the two 1N5227B zener diodes for the D2 and D3 locations.
- Builders are advised to try the 3.6 volts BZY55 zener pair for D2 and D3 first, (marked on the glass body with 3V6), and if they still have USB communications reliability problems then go to the 3.3 volt BZY55 zener pair.
- Problems recognizing USB: Nico ZS1KT reports that a commonly experienced problem, where builders have completed their rigs and they have been working and then suddenly the USB device is no longer recognized, was due to poor solder joint(s) on the socket for the AVR (ATTinyxx) chip. In his case, the ground pin (4) was not well-soldered and the chip could not see a good ground. This often happens because builders are using the same heat setting they use on the sensitive SMT parts. This turns out in many cases to be insufficient to provide a good, permanent solded joint onto the ground plane.
Schematic
This is a subset of the overall schematic. Note: red dot indicates resistor testpoints (hairpin, top, or left-hand lead)Bill of Materials
Designation | Value | Color/Code | Orientation | Category | Notes |
---|---|---|---|---|---|
C06 | 0.1uF | SMT 1206 | black marked strip | ||
C07 | 0.1uF | SMT 1206 | black marked strip | ||
C08 | 0.1uF | SMT 1206 | black marked strip | ||
FL1 | ferrite filter | SMT 1206 | |||
FL2 | ferrite filter | SMT 1206 | |||
FL3 | ferrite filter | SMT 1206 | |||
FL4 | ferrite filter | SMT 1206 | |||
FL5 | ferrite filter | SMT 1206 | |||
D2 | 1N5227B,3.6v | N-S | do not use | ||
D3 | 1N5227B,3.6v | S-N | do not use | ||
D2 | BZY55,3.3v | N-S | See "Update" note in Introduction Section, above. | ||
D3 | BZY55,3.3v | S-N | See "Update" note in Introduction Section, above. | ||
D2 | BZY55,3.6v | N-S | Use this. See "Update" note in Introduction Section, above. | ||
D3 | BZY55,3.6v | S-N | Use this. See "Update" note in Introduction Section, above. | ||
C05 | 4.7uF | 475 | ceramic | ||
R01 | 68 1/6W | S-N | |||
R03 | 68 1/6W | S-N | |||
R05 | 4.7k 1/6W | E-W | |||
R02 | 1M 1/6W | S-N | |||
R04 | 2.2k 1/6W | S-N | |||
R06 | 1k | S-N | |||
R07 | 1k | S-N | |||
U2 | ATTiny45-20PU | with socket | |||
J3 | 2 pin header | ||||
cable1 | USB | 4 wire shielded USB cable with USB male on 1 end |
Summary Build Notes
- Install Zener diodes D2 and D3 (top)
- Install resistors and C5 ceramic cap (top)
- Install U2 and socket (top)
- Install J3 (top)
- Install and connect USB cable (top)
- Test the Stage
- Install SMT capacitors and ferrite filters (bottom)
Detailed Build Notes
In other stages, we prefer to begin with the bottom side of the board. However, in this stage, the thru-holes for the topside coponents are very close together and are just begging to get solder splashed into them if we were to install the SMT components first. Thus, in this stage, we have reversed the bottom-then-top sequence.
Top of the Board
Install Zener Diodes
Several builders have experienced issues with the voltages on the USB-2 and USB-3 lines. Jan G0BBL and Tony KB9YIG have decided to address the issue as follows:
- Each new kit will be packed with two each of the BZY55 3.3 volt and 3.6 volt zener diodes in place of the two 1N5227B zener diodes for the D2 and D3 locations.
- Builders are advised to try the 3.6 volts BZY55 zener pair for D2 and D3 first, (marked on the glass body with 3V6), and if they still have USB communications reliability problems then go to the 3.3 volt BZY55 zener pair.
The two zener diodes are mounted hairpin style, with the cathode (banded) lead forming the hairpin.
Designation | Value | Color/Code | Orientation | Category | Notes |
---|---|---|---|---|---|
D2 | BZY55,3.6v | N-S | Use this. See "Update" note in Introduction Section, above. | ||
D3 | BZY55,3.6v | S-N | Use this. See "Update" note in Introduction Section, above. |
Install Resistors and ceramic capacitor C5
Note: 1/6W resistors are used due to the tight spacing of the resistors on the board.Designation | Value | Color/Code | Orientation | Category | Notes |
---|---|---|---|---|---|
C05 | 4.7uF | 475 | ceramic | ||
R01 | 68 1/6W | S-N | |||
R02 | 1M 1/6W | S-N | |||
R03 | 68 1/6W | S-N | |||
R04 | 2.2k 1/6W | S-N | |||
R05 | 4.7k 1/6W | E-W | |||
R06 | 1k | S-N | |||
R07 | 1k | S-N |
Install U2 Socket
Install the socket for U2. Note the orientation on the notch, which should face eastward on the board
Take care to be sure you are using adequate heat in soldering the socket pins. Tis is especially true for the ground pin (pin 4). Tx to Nico ZS1KT for this hint.
Install J3
J3 is reserved for a future use to provide control signals to the new HF_BPF (electronically switched bandpass fiters) kit. Note: J1 through J3 all mount on top of the circuit board with the short pins through the board for soldering the connector in place.Designation | Value | Color/Code | Orientation | Category | Notes |
---|---|---|---|---|---|
J3 | 2 pin header |