HD Zoom HDZ300 RadioHD Radio Component Tuner Kit
|
·
HD/AM/FM Component Tuner
·
3 Line Display
·
Backlit LCD Display
·
Display Shows: Station, Artist, Song Title, as well as corrsponding
HD2 Channel
·
Tuning Range: -FM 87.9 - 107.9 -AM 530 - 1710kHz
·
Manual and Seek Tuning Capabilities
·
20 Memory Presets -10 AM -10 FM
·
Stereo RCA Line Output
·
Built-In FM Modulator
·
Connects through Car Antenna
·
IR Remote Control
·
Power/Ground Cables Included
|
Cable Interface | Pin DIN | Función | Pin RS232 | | | 1 | 3 | RX | 2 | 6 | TX | 3 | 2 | DTR (/POWERON)* | 4 | 5 | Ground | 5 | | | 6 | 4 | RTS (MUTE)* | 7 | | | 8 | 1 | Vcc +5V |
|
| |
* pin 4 (DB9) to pin 2 (DIN) join through a transistor view circuit detail. * pin 4 (DIN) to pin 7 (DB9) join through a 20K resistor
PWR.ON is inverted, when is 0V the radio turns on. This circuit simple invert DTR signal from RS232. HD Radio Turns on when DTR is active.
How Do I mine?- get a apple serial printer cable (Din8M), I had one in my old stuff... ( or buy one )
- cut it to half (so you can make up to two cables),
- identify wires, each cable has a different color, write down the color and pin number,
- get a rs232 female connector,
- solder directly the pins 3, 5 and 6 to rs232 connector and put a 20K 1/4w resistor between pin 4 and 7 (see table above)
- now you have two options here:
- if you wanna the easy version and you planned make your own software them simple solder pin 4 (DB9) to pin 2 (DIN) through a 20K resistor.
- else get the parts in the circuit above (two resistors and one transistor), i soldered the parts to the rs232 connector is not elegant but works, or you can make a simple pcb.
- ready to have some fun!
Comunication ProtocolRS232 Serial 115.200 baud 8 bit data no parity 1 stop bit (115200 N,8,1) <header><length><data><cheksum>
<header> | always 0xA4 (hex) | <length> | total bytes of <data><checksum> | <data> | <command> 2 bytes <operation> 2 bytes <band> 4 bytes <constants> 4 bytes | <checksum> | modular sum of all unsigned bytes of <header><length><data> discarding overflow bits | | |
COMMAND | BYTES | power | 0x01, 0x00 | mute | 0x02, 0x00 | signal strength | 0x01, 0x01 | tune | 0x02, 0x01 | seek | 0x03, 0x01 | volume | 0x03, 0x04 | bass | 0x04, 0x04 | treble | 0x05, 0x05 |
OPERATION | BYTES | set | 0x00, 0x00 | get | 0x01, 0x00 | reply | 0x02, 0x00 |
BAND | BYTES | fm | 0x01, 0x00, 0x00, 0x00 | am | 0x00, 0x00, 0x00, 0x00 |
CONSTANTS | BYTES | up | 0x01, 0x00, 0x00, 0x00 | down | 0xFF, 0xFF, 0xFF, 0xFF | one | 0x01, 0x00, 0x00, 0x00 | zero | 0x00, 0x00, 0x00, 0x00 |
Example commands:Tune FM 88.9 command: 0xA4 0x10 0x02 0x01 0x00 0x00 0x01 0x00 0x00 0x00 0x79 0x03 0x00 0x00 ------ ------ --------- --------- ------------------- ---------------------- header length cmmd_tune op_set band: FM frecuency 0x379 (889)
0x00 0x00 0x00 0x00 0x34 -------------------- ---- ctte zero checksum = 0xA4+0x10+0x02+0x01+0x01+0x79+0x03 = 0x34
For each success command send there are a response:
0xA4,0x10,0x02,0x01,0x02,0x00,0x01,0x00,0x00,0x00,0x79,0x03,0x00,0x00,0x00,0x00,0x00,0x00, 0x36
Here a video showing HD Radio working: (youtube)
* information based in
from DYNAMIC BITS http://andy.dynamicbits.com/hdradio/
and
Helpfully C++ Library: HD Radio Controller (c) Hal Vaughan 2008 Licensed under the Free Software Foundations General Public License 2.0
5
6 Control protocols provided by Paul Cotter.
7
8 HD Radio Controller (HDRC) is a C++ library that makes it possible to communicate with various HD and satellite radios.
Ready to use Cable from mitchjs |
|