Download Print this page

Lucid Technologies MCP6004 User Manual

Digital function generator circuit board

Advertisement

Quick Links

FGEN1
DIGITAL FUNCTION GENERATOR CIRCUIT BOARD
USER'S MANUAL
2023.04.06
Lucid Technologies
http://www.lucidtechnologies.info/
Email: info@lucidtechnologies.info
Copyright © 2023 by Lucid Technologies
All rights reserved
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. Lucid Technologies assumes no liability arising out of the
application or use of any product or circuit described herein; neither does it convey any license
under its patent rights, nor the rights of others.

Advertisement

loading
Need help?

Need help?

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.
  • Page 2: Table Of Contents

    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...
  • Page 3: Introduction

    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...
  • Page 4: Circuit Description

    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...
  • Page 8: Software Description

    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...
  • Page 9: Operation

    [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 13: Fgen1 Circuit Board Assembly

    (green-blue-black-brown-brown) __x_ R8 10K, 0.25W, 1% (brown-black-black-red-brown) __x_ R9 2.0K, 0.25W, 1% (red-black-black-brown-brown) __x_ R10 4.12K, 0.25W, 1% (yellow-brown-red-brown-brown) __x_ R11 5.36K, 0.25W, 1% (green-orange-blue-brown-brown) __x_ R12 10K, 0.25W, 1% (brown-black-black-red-brown) __x_ R13 12K, 0.25W, 1% (brown-red-black-red-brown) (C) Lucid Technologies...
  • Page 14 0.015 uFd, radial, 0.1" lead spacing, marked 153 __x_ C22 0.1 uFd, radial, 0.1" lead spacing, marked 104 ____ C23 0.0015 uFd, radial, 0.1" lead spacing, marked 152 ____ C24 0.01 uFd, radial, 0.1" lead spacing, marked 103 (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...
  • Page 17: Installation

    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...
  • Page 18: Customization

    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 19 13.3K, 0.25W, 1% 8.66K, 0.25W, 1% 15.0K, 0.25W, 1% R20, R22 6.8K, 0.25W, 5% (blue-gray-red-gold) 10K, 0.25W, 5% R24,R25,R26,R27 (brown-black-orange-gold) 470, 0.25W, 5% (yellow-violet-brown-gold) 82, 0.5W, 5% (gray-red-black-gold) 5K trim pot 1.1K, 0.25W, 5% R40,R41 (brown-brown-red-gold) R/2R network, 4610X-R2R (C) Lucid Technologies...
  • Page 20 FGEN Digital Pulse Generator Quan. Part Reference ==================================================================== PIC16F18875-I/P, 40-DIP 25LC230, 8-DIP 74HC4040, 16-DIP 74HC573, 20-DIP 6116, 24-DIP MCP6004-I/P, 14-DIP MCP604-I/P, 14-DIP MCP6024-I/P, 14-DIP 74HC4051, 16-DIP 78M05CP, TO-220 U10,U11 MAX232ACPE, 16-DIP 26.8435 MHz oscillator, XO-8 40-DIP (0.6") socket 8-DIP socket...
  • 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 24 LCD mount, upper-left, #4 screw 2.550 2.750 0.125 LCD mount, lower-left, #4 screw 2.550 1.530 0.125 LCD mount, upper-right, #4 screw 5.500 2.750 0.125 LCD mount, lower-right, #4 screw 5.500 1.530 0.125 Figure C2. Front panel labels. (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...
  • Page 33 FGEN Digital Pulse Generator APPENDIX H FGEN1 CIRCUIT BOARD Figure H1. FGEN printed circuit board layout. (C) Lucid Technologies...
  • Page 34 FGEN Digital Pulse Generator Figure H2. Assembled FGEN printed circuit board. (C) Lucid Technologies...
  • Page 35 FGEN Digital Pulse Generator APPENDIX I (C) Lucid Technologies...
  • Page 36 FGEN Digital Pulse Generator (C) Lucid Technologies...
  • Page 37 FGEN Digital Pulse Generator (C) Lucid Technologies...
  • Page 38 FGEN Digital Pulse Generator (C) Lucid Technologies...
  • Page 39 FGEN Digital Pulse Generator (C) Lucid Technologies...
  • Page 40 FGEN Digital Pulse Generator (C) Lucid Technologies...

This manual is also suitable for:

Mcp604Mcp6024