Do you have a question about the MCP6004 and is the answer not in the manual?
Questions and answers
Subscribe to Our Youtube Channel
Summary of Contents for Lucid Technologies MCP6004
Page 1
The information in this manual has been carefully checked and is believed to be accurate. However, Lucid Technologies makes no warranty for the use of its products and assumes no responsibility for any errors which may appear in this document. Lucid Technologies reserves the right to make changes in the products contained in this manual in order to improve design or performance and to supply the best possible product.
Appendix B User Supplied Parts Appendix C Chassis Details Appendix D RS-232 Serial Interface Connector Appendix E RS-232 Communications Setup Appendix F Waveform File Format Appendix G Filter Bank Specifications Appendix H Circuit Board Layout Appendix I Schematics (C) Lucid Technologies...
Gain potentiometer (PCB-J1) - can vary the gain from 0.85 to 2.0. Offset potentiometer (PCB-J7) - can vary the offset ±0.83 volts. POWER PCB connector J2, 5.5 mm diameter with 2.1 mm diameter center pin, center positive. External power, 9 volts DC at 100 mA. (C) Lucid Technologies...
The PIC16F18875 microcontroller, or PIC for short, is designated as U1 on sheet 1 of the schematics. This 40-pin PIC has 8192 words of flash program memory, 1024 bytes of data memory (RAM), 256 bytes of EEPROM memory, a 16-bit timer with prescaler (TMR1), an internal clock (C) Lucid Technologies...
Page 5
During normal operation the PIC holds the Output RAM in Read-mode with output enabled. When it comes time to put a new waveform into the Output RAM, the PIC disconnects the NCO from the NCO output pin, clears the 74HC4040 ripple counter and disables the 6116 output. The (C) Lucid Technologies...
Page 6
To reduce costs, the gain-bandwidth-product (GBP) of the op-amps was matched to the bandwidth requirements of the circuitry. The MCP6004 (U6) is used for DC voltages and the lowest frequency Filter Bank. The MCP604 (U7) is used for the middle frequency Filter Banks. The MCP6024 (U8)
Page 7
Appendix D. U40 is a MAX232A, 5V-powered RS-232 interface with two drivers and two receivers. One receiver/driver pair handles RS-232 data to/from the FGEN1. The other receiver/driver pair receives RTS and sends it back to the host as CTS. RTS is also routed to the RC0 input on the PIC. (C) Lucid Technologies...
An easy way to try out new routines is to activate the debug option on the host communications menu. The debug option in the menu and the jump to the debug option routine are simply “commented out” in the source code. (C) Lucid Technologies...
[U]pload waveform to PIC RAM [C]opy PIC RAM waveform to output RAM [S]tore PIC RAM waveform in EEPROM [D]uplicate EEPROM waveform in PIC RAM [E]rase waveform from EEPROM [F]requency [A]nalog mux [X] Disconnect from host [I]nitialize EEPROM chip (C) Lucid Technologies...
Page 10
(waveform number) in EEPROM. Pressing escape before the write begins will abort the option and return you to the menu. The waveform file will remain in the PIC RAM following the write to the EEPROM. This option will overwrite a file already stored in EEPROM with the same waveform (C) Lucid Technologies...
Page 11
Any entry beyond the frequency range of the FGEN will be limited to maximum (20000 Hz) or minimum (0.1 Hz) as appropriate. The analog MUX setting is not changed by this option. Press ESCAPE to abort. Enter frequency in Hz = (C) Lucid Technologies...
Page 12
This option must be selected before terminating Host Mode. If the RS-232 connection is removed before selecting this option the FGEN will be caught in a loop waiting for a menu selection. If this happens, restarting the FGEN will return it to normal operation. Remove RS-232 cable. (C) Lucid Technologies...
Page 15
The last construction step is to clean the board. If you used organic core solder just rinse the board in warm water. If you used acid core solder try scrubbing it with an old toothbrush and rubbing alcohol. (C) Lucid Technologies...
Page 16
Be sure to check the position of pin 1 when installing the integrated circuits. Pay particular attention to the orientation of Y1 which, because of its symmetry, could be installed in four different orientations; see Figure H2 for the correct orientation. (C) Lucid Technologies...
Grounded when switch is in Bypass position Line Select Toggle Grounded when switch is in up (waveform line) Advance Pushbutton Grounded when button is depressed Increment Pushbutton Grounded when button is depressed GROUND Distributed to all front panel switches. (C) Lucid Technologies...
AC powered 9V DC power supply with a power switch - wired to SW1 - on the front panel. Configuring the layout of the finished FGEN is entirely up to you. (C) Lucid Technologies...
Page 21
APPENDIX B USER SUPPLIED PARTS The FGEN1 kit sold by Lucid Technologies only includes the parts needed to assemble the circuit board, those shown in Appendix A; it does not include all the parts necessary for a operable Function Generator. Lucid Technologies suggests the case, switches, display and other parts listed here.
Page 22
FGEN Digital Pulse Generator #4-40 x 5/8" (16 mm) pan head machine screws #4-40 machine screw nuts #4 standoffs, 0.3" (7.6 mm) (C) Lucid Technologies...
Page 23
CM6-300 works just fine. Figure C1. Front panel layout and dimensions (inches). Front panel thickness is 0.062 inches (1.6 mm). The LCD display module should be mounted with the connection pins at the top. (C) Lucid Technologies...
Page 25
FGEN Digital Pulse Generator Figure C3. Finished front panel. Figure C4. Circuit board and front panel assembly. (C) Lucid Technologies...
Page 26
Transmit data, TD to DCE Data Terminal ready, DTR to DCE Signal ground, SG Data set ready, DSR from DCE Request to send, RTS to DCE Clear to send, CTS from DCE Ring indicator, RI from DCE (C) Lucid Technologies...
Page 27
FGEN Digital Pulse Generator All Lucid Technologies products are designed as DCE devices. They use a 9 pin, female, D connector that is directly compatible with 9 pin COM ports found on personal computers. The pin assignments for this connector are shown below.
Page 28
HyperTerminal you can simply double-click on the file name (FGEN.ht) and HyperTerminal will begin with all the correct settings. Turn on your FGEN and connect the COM-port. When the FGEN detects RTS from the Host (your PC) it will switch to the Host Mode. (C) Lucid Technologies...
Page 29
Valid characters are 0-9, A-F and a-f. For example, 0xA7 will be sent as the two ASCII bytes, "A" (0x41) and "7" (0x37). The two ASCII characters representing one byte may not be split between lines. The data field must be terminated by an ASCII Percent "%" (0x25) character. (C) Lucid Technologies...
Page 30
FGEN Digital Pulse Generator Contents of the file “SINE_2022-08-30.txt”. Sine wave file created by Brian Beard *SINE *2022-08-30 7F8286898C8F9295989B9EA1A4A7AAAD B0B3B6B8BBBEC1C3C6C8CBCDD0D2D5D7 D9DBDDDFE1E3E5E7E9EAECEEEFF1F2F3 F4F6F7F8F9FAFAFBFCFCFDFDFEFEFEFE FEFEFEFEFEFDFDFCFCFBFAFAF9F8F7F6 F4F3F2F1EFEEECEAE9E7E5E3E1DFDDDB D9D7D5D2D0CDCBC8C6C3C1BEBBB8B6B3 B0ADAAA7A4A19E9B9895928F8C898682 7F7C797673706D6A6764615E5B585552 4F4C494644413E3C393634312F2D2A28 2624211F1D1B1A1816141311100E0D0B 0A090807060504040302020201010101 01010101010202020304040506070809 0A0B0D0E1011131416181A1B1D1F2124 26282A2D2F313436393C3E414446494C 4F5255585B5E6164676A6D707376797C (C) Lucid Technologies...
Page 31
Filter Field value of 5; for an output at 10 Hz the waveform would pass through Filter Bank 5 and the Common filter, for frequencies greater than 16 Hz only the Common filter would be in the signal path. (C) Lucid Technologies...
Page 32
5120.1 - Filter Field 1280 Hz 5120 Hz 20000 Hz Common Common Common Common Common Common Common Common Common Common Common Common Common Common Common Common Common Common Common Common Common Ground Ground Ground Ground Ground Ground (C) Lucid Technologies...
Need help?
Do you have a question about the MCP6004 and is the answer not in the manual?
Questions and answers