1 (Audio FM Link) Senior Design Fall Semester 2001 Team Number: 16, FM Link - Blue Project Sponsor: Dr. Matthew Valenti Manual
10USB – PIC Schematic
11FM Receiver Schematic
12 Transmitter Schematic
13Software List Visual Basic (User Interface) First: Main: main.vbp PIC 16C745 Main: pic.c Packages: usb_main.c ushb_ch9.as s
14Visual Basic ‘First’Code Const SCAN = 1Const TXON = 2Const TXOFF = 3Const GOOD = 11Const BAD = 13Private Sub cmdAuto_Click()frmMain.ShowfrmFirst.H
15End IffrmMain.ShowfrmFirst.HideintMode = SCAN'Sends three bytes to the device and reads two bytes back.ReDim Buffer(2)Buffer(0) = Int(Int(sng
16Visual Basic ‘Main’Code Option ExplicitDim Result As LongDim intMode As ByteDim intModeRtn As ByteDim sngBCFreq As SingleDim Buffer() As ByteDim B
17MsgBox "The AFeL is ready to begin broadcasting", vbOKOnly,"Success"frmMain.cmdBroadcast.Enabled = TrueEnd SubPrivate Sub cmdB
18ElseIf intCommResult = BAD ThenMsgBox "error", vbOKOnlyElseMsgBox "error", vbOKOnlyEnd IfEnd IfElseMsgBox "error", v
19Private Sub cmdIncrement_Click()txtFreq.Text = Round((CSng(txtFreq.Text) + 0.2), 1)If (txtFreq.Text > 107.9) ThentxtFreq.Text = 92.3End IfEnd S
2Table of Contents Contents Page Introduction-------------------------------------------------------------------------3 Circuit Descript
20Resume NextEnd SubPrivate Sub txtFreq_Change()If cmdBroadcast.Enabled = True ThenIf cmdBroadcast.Caption = "Cancel Broadcasting" ThenCal
21PIC Code #include <stdio.h> #include <stdlib.h> #include "usb.h" #include <pic.h> #define SCAN 1 #define TXON 2 #
22 EN =1; CLK = 1; CLK = 0; CLK = 1; CLK = 0; CLK = 1; CLK = 0; CLK = 1; CLK = 0; CLK = 1; CLK = 0; CLK = 1; CLK = 0;
23//SETUP C REG DIN = 0; EN = 0; CLK = 1; CLK = 0; DIN = 1; CLK = 1; CLK = 0; CLK = 1; CLK = 0; DIN = 0; CLK = 1; CLK =
24 CLK = 0; CLK = 1; CLK = 0; CLK = 1; CLK = 0; CLK = 1; CLK = 0; CLK = 1; CLK = 0; CLK = 1; CLK = 0; CLK = 1; CLK =
25 CLK = 0; EN = 0; C_bit=0; for (ctr=0;ctr<=7;ctr++) { asm("rlf _hibyte,f"); DIN = C_bit; CLK = 1; CLK = 0; } fo
26 while(1) { Done = 1; for(mode=0;mode<=3000;mode++){} Done = 0; for(mode=0;mode<=3000;mode++){} } }
27Troubleshooting FCC Rules & Regulations *Please Refer to this section of Manual Completed First check for loose connections between the
28FCC Rules & Regulations Your Rights According to FCC Rules & Regulations, unlicensed FM broadcasting, used by the AFeL, do not have any
29References for Specifications For Specification Sheets on Microchip™ PIC visit Microchip: www.microchip.com For more information on the Ramsey™
3Introduction Welcome to the AFeL Service Manual. In here you will find all the information you will need to completely understand the AFeL’s com
4Circuit Description Power Supply The AFeL DC power supply is originally provided as a part of the Ramsey™ FM-25A kit. 1While a DC power source
5 1Transmitter Once transmitter receives the information from the PIC, the PLL U1 takes the 6MHz crystal frequency and divides it by 60 to obtain
6The FM Link Parts List 1 6 foot USB Cable Cord 1 Radio Shack Black Project Box 7x5x3 1 Shielded stereo audio cable 1 Micro-Controller Circuit
7 1 2Ramsey Electronics, Inc. FM25A Transmitter Kit Capacitors 8 .001µF disc capacitors [C10,C12,C13,C26,C27,C28,C29,C31] 7 .01 µF disc capacit
8(FM25A Kit continued) Semiconductors 1 2N3904 NPN transistor [Q1] 2 2SC2498 or 2570 NPN transistor [Q2,Q3]
9FM25-A Layout NOTE: Items Blocked in RED are not part of AFeL, but are part of Ramsey ™ FM25-A Kit.
Commentaires sur ces manuels