Difference between revisions of "BG7TBL"
Jump to navigation
Jump to search
(→Protocol: fixes) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox signal generator | {{Infobox signal generator | ||
| image = [[File: | | image = [[File:BG7TBL_case.jpg|180px]] | ||
| name = | | name = BG7TBL | ||
| status = planned | | status = planned | ||
| source_code_dir = | | source_code_dir = | ||
Line 18: | Line 18: | ||
* Microcontroller: [http://www.atmel.com/Images/Atmel-2486-8-bit-AVR-microcontroller-ATmega8_L_datasheet.pdf Atmel Atmega 8L] | * Microcontroller: [http://www.atmel.com/Images/Atmel-2486-8-bit-AVR-microcontroller-ATmega8_L_datasheet.pdf Atmel Atmega 8L] | ||
* Wideband Synthesizer: [http://www.analog.com/media/en/technical-documentation/data-sheets/ADF4350.pdf ADF4350] | * Wideband Synthesizer: [http://www.analog.com/media/en/technical-documentation/data-sheets/ADF4350.pdf ADF4350] | ||
* USB to Serial: FTDI FT232RL | * USB to Serial: [http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT232R.pdf FTDI FT232RL] | ||
* Logarithmic Amplifier [http://www.analog.com/media/en/technical-documentation/data-sheets/AD8307.pdf AD8307] | * Logarithmic Amplifier [http://www.analog.com/media/en/technical-documentation/data-sheets/AD8307.pdf AD8307] | ||
* Mixer: [http://www.qsl.net/n9zia/omnitracs/IAM81008.pdf IAM 81008] | * Mixer: [http://www.qsl.net/n9zia/omnitracs/IAM81008.pdf IAM 81008] | ||
Line 26: | Line 26: | ||
<gallery> | <gallery> | ||
BG7TBL pcb top.jpg | |||
BG7TBL pcb bot.jpg | |||
</gallery> | </gallery> | ||
== Protocol == | == Protocol == | ||
Baud 57600, 8n1 | |||
The protocol is | The protocol is binary serial based. | ||
=== Query firmware === | |||
* Send 0x8f+"v" | |||
The answer should be in hex: | |||
* 77 | |||
Where the returned byte is the firmware version, 0x77 = 119. | |||
=== Signal generator === | |||
==== Setting frequency ==== | |||
To set a frequency send: | |||
* 0x8f | |||
Then f and then the frequency divided by 10 with leading zeroes. For example this is the payload for 400MHz. | |||
* 400 000 000 / 10 | |||
* f040000000 | |||
=== Spectrum analyzer === | |||
The protocol is briefly described in the source code here: | |||
https://github.com/DoYouKnow/BG7TBL_Reader |
Revision as of 01:08, 12 October 2015
Status | planned |
---|---|
Frequency (user) | 138MHz-4.4GHz |
Waveforms | sine (fixed) |
Amplitude | ? V |
Connectivity | USB |
The BG7TBL USB RF Signal Generator is a PC-based function generator. It has no external controls, requiring a USB connection to a computer.
Software to run this hardware can be found here http://www.dl4jal.eu/.
This device can be bought on ebay for ca $65. Search for "138MHz-4.4GHz". There is a version with the ADF4351 instead that will give you more range (35MHz-4.4GHz).
Hardware
- Microcontroller: Atmel Atmega 8L
- Wideband Synthesizer: ADF4350
- USB to Serial: FTDI FT232RL
- Logarithmic Amplifier AD8307
- Mixer: IAM 81008
- LDO: AMS1117
Photos
Protocol
Baud 57600, 8n1
The protocol is binary serial based.
Query firmware
- Send 0x8f+"v"
The answer should be in hex:
- 77
Where the returned byte is the firmware version, 0x77 = 119.
Signal generator
Setting frequency
To set a frequency send:
- 0x8f
Then f and then the frequency divided by 10 with leading zeroes. For example this is the payload for 400MHz.
- 400 000 000 / 10
- f040000000
Spectrum analyzer
The protocol is briefly described in the source code here: