SlideShare a Scribd company logo
1 of 24
USB Controlled Function Generator Design and Implementation by Kent Schonert (Kent.Schonert@sbcglobal.net)
Function Generator Features ,[object Object],[object Object],[object Object],[object Object],[object Object]
Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XR-2206 Monolithic Function Generator ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XR-2206 Controls ,[object Object],[object Object],[object Object]
Silicon Labs C8051F340  ,[object Object],[object Object],[object Object],[object Object],[object Object]
Advantages over using DAC ,[object Object],[object Object],[object Object],[object Object],[object Object]
 
Wave Form Switching Switch Replaced with Resistor  (no distortion) Switch in place to alternate waveform on demand (minimal distortion)
Frequency Range Switching ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Added Resistance Effect on Output Waveform Distortion. ,[object Object],[object Object],[object Object]
PC to Microcontroller Communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Graphical User Interface ,[object Object],[object Object]
USB Data Buffer ,[object Object],[object Object],[object Object],[object Object],[object Object],USB buffer memory on ‘F340, resides in XDATA address space.
USB Data Exchange PC Host Read Request In USB Buffer Out Data PC Host In USB Buffer Out Data Data to Target Device Data From Target Device Packet type/# Information In_Packet[0] Limit(s) Hit In_Packet[1] A/D Conversion In_Packet[2] Port1 Status In_Packet[3] Amp. PCA Value In_Packet[4] Freq. PCA Value     Out_Packet[0] Amp. Hi Byte Out_Packet[1] Amp. Lo Byte Out_Packet[2] Freq. Hi Byte Out_Packet[3] Freq. Lo Byte Out_Packet[4] Freq. Multiplier Out_Packet[5]   Out_Packet[6] Waveform Select
Software on Host
Firmware on `F340 Target
 
 
Cost Analysis Initial Prototype Part Qty Price  each   C8051F340 (Dev Kit) 1 $100 $100 XR-2206CP 1 $3.29 $3.29 CD4016 (Quad Switch) 1 $0.29 $0.29 LM741 (op-amp) 3 $1.10 $3.30 DM7406 (OC inverter) 1 $0.40 $0.40 Capacitors 5 $0.10 $0.50 Resistors <20 low $1.00 Bread Board 1 $3.50 $3.50 Power Supply 1 $15.00 $15.00 Total $127 Surface Mount Technology C8051F340 (SMT Unit) 1 $9.41 $9.41 XR-2206D 1 $10.00 $10.00 Power Supply 1 $15.00 $15.00 Capacitors 11 $0.10 $1.10 Resistors <20 low $1.00 Solid State Relay (2ohm) 1 $5.33 $5.33 PS7113L-2A-A (quad)       LMV934MA-ND 1 $1.66 $1.66 Op amp (quad)       sp0503baht 1 $0.40 $0.40 Diode Pack       PCB Board 1 $4.00 $4.00 Misc Pins/Jumpers x x $4.00 AU-Y1007-R 1 $1.16 $1.16 USB B to PCB Price $53.06 Price (low) $28.65
Future Improvements ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Questions?
Instruction Function Mnemonic Clk Cycles Push double pointer (Hi/Lo) PUSH direct (DPH/DPL) 4 Push A PUSH A 2 increment counter INC direct 2 move counter to A Mov A, direct 2 Subtract max ptr size from counter SUBB A, #data 2 Jump to reset pointer if at max JZ 2 Move offset to Double Pointer (Hi) MOV DPH, direct 2 Move offset to Double Pointer (Lo) MOV DPL, direct 2 Fetch Hi data from code memory MOVC A, @A+DTPR 2 Put Hi data into DAC register MOV direct, A 2 Increment A INC A 1 Fetch Lo byte from code memory MOVC A, @A+DTPR 2 Put Lo byte into DAC register MOV direct, A 2 POP A POP A 2 POP double pointer (Hi/Lo) POP direct (DHP/DPL) 4 Return from interrupt RETI 6 Total: 39 Tolal/48Mhz : 8.125E-07s 50%*1/(20*Update time): 3.08E+04Hz
Full   Schematic XR-2206

More Related Content

What's hot

Multiband Transceivers - [Chapter 3] Basic Concept of Comm. Systems
Multiband Transceivers - [Chapter 3]  Basic Concept of Comm. SystemsMultiband Transceivers - [Chapter 3]  Basic Concept of Comm. Systems
Multiband Transceivers - [Chapter 3] Basic Concept of Comm. SystemsSimen Li
 
Frequency Synthesis and Clock Generation for High Speed Systems - VE2013
Frequency Synthesis and Clock Generation for High Speed Systems - VE2013Frequency Synthesis and Clock Generation for High Speed Systems - VE2013
Frequency Synthesis and Clock Generation for High Speed Systems - VE2013Analog Devices, Inc.
 
Multiband Transceivers - [Chapter 7] Multi-mode/Multi-band GSM/GPRS/TDMA/AMP...
Multiband Transceivers - [Chapter 7]  Multi-mode/Multi-band GSM/GPRS/TDMA/AMP...Multiband Transceivers - [Chapter 7]  Multi-mode/Multi-band GSM/GPRS/TDMA/AMP...
Multiband Transceivers - [Chapter 7] Multi-mode/Multi-band GSM/GPRS/TDMA/AMP...Simen Li
 
C211824
C211824C211824
C211824irjes
 
First order sigma delta modulator with low-power
First order sigma delta modulator with low-powerFirst order sigma delta modulator with low-power
First order sigma delta modulator with low-powereSAT Publishing House
 
09 accelerators
09 accelerators09 accelerators
09 acceleratorsMurali M
 
RTC Interfacing and Programming
RTC Interfacing and ProgrammingRTC Interfacing and Programming
RTC Interfacing and ProgrammingDevashish Raval
 
Direct digital frequency synthesizer
Direct digital frequency synthesizerDirect digital frequency synthesizer
Direct digital frequency synthesizerVenkat Malai Avichi
 
Adc lab
Adc labAdc lab
Adc labxyxz
 
Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...
Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...
Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...IJERA Editor
 
Aihro-1
Aihro-1Aihro-1
Aihro-1AKHIL JOY
 
Mridul_Verma_Intern_Tech_Adityaa_UART
Mridul_Verma_Intern_Tech_Adityaa_UARTMridul_Verma_Intern_Tech_Adityaa_UART
Mridul_Verma_Intern_Tech_Adityaa_UARTMridul Verma
 
Lect2 up400 (100329)
Lect2 up400 (100329)Lect2 up400 (100329)
Lect2 up400 (100329)aicdesign
 
Intermodulation_Measurements_Made_Simple
Intermodulation_Measurements_Made_SimpleIntermodulation_Measurements_Made_Simple
Intermodulation_Measurements_Made_SimpleRobert Kirchhoefer
 
Low pass digital filter using FIR structure of 2nd order
Low pass digital filter using FIR structure of 2nd orderLow pass digital filter using FIR structure of 2nd order
Low pass digital filter using FIR structure of 2nd orderNikhil Valiveti
 
Poster receiver platform-080210
Poster receiver platform-080210Poster receiver platform-080210
Poster receiver platform-080210Bertalan EGED
 
B1 b3 b2_row_b20_b28a_and_b28b_tx_load_pull_matching_tuning
B1 b3 b2_row_b20_b28a_and_b28b_tx_load_pull_matching_tuningB1 b3 b2_row_b20_b28a_and_b28b_tx_load_pull_matching_tuning
B1 b3 b2_row_b20_b28a_and_b28b_tx_load_pull_matching_tuningPei-Che Chang
 
Chip package system apache - publish version
Chip package system  apache  - publish versionChip package system  apache  - publish version
Chip package system apache - publish versionchiportal
 
Surrey dl-4
Surrey dl-4Surrey dl-4
Surrey dl-4ozzie73
 

What's hot (20)

Multiband Transceivers - [Chapter 3] Basic Concept of Comm. Systems
Multiband Transceivers - [Chapter 3]  Basic Concept of Comm. SystemsMultiband Transceivers - [Chapter 3]  Basic Concept of Comm. Systems
Multiband Transceivers - [Chapter 3] Basic Concept of Comm. Systems
 
Frequency Synthesis and Clock Generation for High Speed Systems - VE2013
Frequency Synthesis and Clock Generation for High Speed Systems - VE2013Frequency Synthesis and Clock Generation for High Speed Systems - VE2013
Frequency Synthesis and Clock Generation for High Speed Systems - VE2013
 
Multiband Transceivers - [Chapter 7] Multi-mode/Multi-band GSM/GPRS/TDMA/AMP...
Multiband Transceivers - [Chapter 7]  Multi-mode/Multi-band GSM/GPRS/TDMA/AMP...Multiband Transceivers - [Chapter 7]  Multi-mode/Multi-band GSM/GPRS/TDMA/AMP...
Multiband Transceivers - [Chapter 7] Multi-mode/Multi-band GSM/GPRS/TDMA/AMP...
 
C211824
C211824C211824
C211824
 
First order sigma delta modulator with low-power
First order sigma delta modulator with low-powerFirst order sigma delta modulator with low-power
First order sigma delta modulator with low-power
 
09 accelerators
09 accelerators09 accelerators
09 accelerators
 
RTC Interfacing and Programming
RTC Interfacing and ProgrammingRTC Interfacing and Programming
RTC Interfacing and Programming
 
Direct digital frequency synthesizer
Direct digital frequency synthesizerDirect digital frequency synthesizer
Direct digital frequency synthesizer
 
Adc lab
Adc labAdc lab
Adc lab
 
Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...
Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...
Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...
 
Aihro-1
Aihro-1Aihro-1
Aihro-1
 
Mridul_Verma_Intern_Tech_Adityaa_UART
Mridul_Verma_Intern_Tech_Adityaa_UARTMridul_Verma_Intern_Tech_Adityaa_UART
Mridul_Verma_Intern_Tech_Adityaa_UART
 
Lect2 up400 (100329)
Lect2 up400 (100329)Lect2 up400 (100329)
Lect2 up400 (100329)
 
Intermodulation_Measurements_Made_Simple
Intermodulation_Measurements_Made_SimpleIntermodulation_Measurements_Made_Simple
Intermodulation_Measurements_Made_Simple
 
Low pass digital filter using FIR structure of 2nd order
Low pass digital filter using FIR structure of 2nd orderLow pass digital filter using FIR structure of 2nd order
Low pass digital filter using FIR structure of 2nd order
 
Poster receiver platform-080210
Poster receiver platform-080210Poster receiver platform-080210
Poster receiver platform-080210
 
B1 b3 b2_row_b20_b28a_and_b28b_tx_load_pull_matching_tuning
B1 b3 b2_row_b20_b28a_and_b28b_tx_load_pull_matching_tuningB1 b3 b2_row_b20_b28a_and_b28b_tx_load_pull_matching_tuning
B1 b3 b2_row_b20_b28a_and_b28b_tx_load_pull_matching_tuning
 
Chip package system apache - publish version
Chip package system  apache  - publish versionChip package system  apache  - publish version
Chip package system apache - publish version
 
General/Digital up conversion
General/Digital up conversionGeneral/Digital up conversion
General/Digital up conversion
 
Surrey dl-4
Surrey dl-4Surrey dl-4
Surrey dl-4
 

Viewers also liked

2nd ARM Developer Day - NXP USB Workshop
2nd ARM Developer Day - NXP USB Workshop2nd ARM Developer Day - NXP USB Workshop
2nd ARM Developer Day - NXP USB WorkshopAntonio Mondragon
 
Proposed h1 b visa and its impact on outsourcing
Proposed h1 b visa and its impact on outsourcing Proposed h1 b visa and its impact on outsourcing
Proposed h1 b visa and its impact on outsourcing ValueCoders
 
Basic electronics vocabulary
Basic electronics vocabularyBasic electronics vocabulary
Basic electronics vocabularyVijendrasingh Rathor
 
An Overview Study on USB OTG Device ISP1761
An Overview Study on USB OTG Device ISP1761An Overview Study on USB OTG Device ISP1761
An Overview Study on USB OTG Device ISP1761Premier Farnell
 
Basic op amp circuits
Basic op amp circuitsBasic op amp circuits
Basic op amp circuitsJamil Ahmed
 
Us Election 2016
Us Election 2016 Us Election 2016
Us Election 2016 FootballSky
 
Op amp(operational amplifier)
Op amp(operational amplifier)Op amp(operational amplifier)
Op amp(operational amplifier)Kausik das
 
Guided Reading: Making the Most of It
Guided Reading: Making the Most of ItGuided Reading: Making the Most of It
Guided Reading: Making the Most of ItJennifer Jones
 

Viewers also liked (10)

2nd ARM Developer Day - NXP USB Workshop
2nd ARM Developer Day - NXP USB Workshop2nd ARM Developer Day - NXP USB Workshop
2nd ARM Developer Day - NXP USB Workshop
 
Earthqua k
Earthqua kEarthqua k
Earthqua k
 
Proposed h1 b visa and its impact on outsourcing
Proposed h1 b visa and its impact on outsourcing Proposed h1 b visa and its impact on outsourcing
Proposed h1 b visa and its impact on outsourcing
 
Basic electronics vocabulary
Basic electronics vocabularyBasic electronics vocabulary
Basic electronics vocabulary
 
An Overview Study on USB OTG Device ISP1761
An Overview Study on USB OTG Device ISP1761An Overview Study on USB OTG Device ISP1761
An Overview Study on USB OTG Device ISP1761
 
Basic op amp circuits
Basic op amp circuitsBasic op amp circuits
Basic op amp circuits
 
Us Election 2016
Us Election 2016 Us Election 2016
Us Election 2016
 
Led ppt vgec ec engineering
Led ppt vgec ec engineeringLed ppt vgec ec engineering
Led ppt vgec ec engineering
 
Op amp(operational amplifier)
Op amp(operational amplifier)Op amp(operational amplifier)
Op amp(operational amplifier)
 
Guided Reading: Making the Most of It
Guided Reading: Making the Most of ItGuided Reading: Making the Most of It
Guided Reading: Making the Most of It
 

Similar to Usb Controlled Function Generator

Advanced motion controls dpranir 030a800
Advanced motion controls dpranir 030a800Advanced motion controls dpranir 030a800
Advanced motion controls dpranir 030a800Electromate
 
Advanced motion controls dpranir 060a800
Advanced motion controls dpranir 060a800Advanced motion controls dpranir 060a800
Advanced motion controls dpranir 060a800Electromate
 
Cp1l p081 e1-2_1_csm1004101-ok
Cp1l p081 e1-2_1_csm1004101-okCp1l p081 e1-2_1_csm1004101-ok
Cp1l p081 e1-2_1_csm1004101-okdeividharo
 
Advanced motion controls dzcante 040l080
Advanced motion controls dzcante 040l080Advanced motion controls dzcante 040l080
Advanced motion controls dzcante 040l080Electromate
 
Mini plc-programmable logic controller
Mini plc-programmable logic controllerMini plc-programmable logic controller
Mini plc-programmable logic controllerPrasadPurohit1988
 
Advanced motion controls dpraltr 060b080
Advanced motion controls dpraltr 060b080Advanced motion controls dpraltr 060b080
Advanced motion controls dpraltr 060b080Electromate
 
Honeywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak goraiHoneywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak goraiDEEPAK GORAI
 
Advanced motion controls dpraltr 040b080
Advanced motion controls dpraltr 040b080Advanced motion controls dpraltr 040b080
Advanced motion controls dpraltr 040b080Electromate
 
BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...
BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...
BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...Sagar Mali
 
AN IMPROVED ECG SIGNAL ACQUISITION SYSTEM THROUGH CMOS TECHNOLOGY
AN IMPROVED ECG SIGNAL ACQUISITION SYSTEM THROUGH CMOS TECHNOLOGYAN IMPROVED ECG SIGNAL ACQUISITION SYSTEM THROUGH CMOS TECHNOLOGY
AN IMPROVED ECG SIGNAL ACQUISITION SYSTEM THROUGH CMOS TECHNOLOGYBHAVANA KONERU
 
Advanced motion controls dpraltr 020b080
Advanced motion controls dpraltr 020b080Advanced motion controls dpraltr 020b080
Advanced motion controls dpraltr 020b080Electromate
 
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal TechnologyScaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal TechnologyShivaprasad Tilekar
 
Advanced motion controls dpcantr 015b200
Advanced motion controls dpcantr 015b200Advanced motion controls dpcantr 015b200
Advanced motion controls dpcantr 015b200Electromate
 
Advanced motion controls dprahis 030a800
Advanced motion controls dprahis 030a800Advanced motion controls dprahis 030a800
Advanced motion controls dprahis 030a800Electromate
 
Study of Data sheet of 56824 DSP processors
Study of Data sheet of 56824 DSP processorsStudy of Data sheet of 56824 DSP processors
Study of Data sheet of 56824 DSP processorsEr. Ashish Pandey
 
Advanced motion controls dzcantu 040b080
Advanced motion controls dzcantu 040b080Advanced motion controls dzcantu 040b080
Advanced motion controls dzcantu 040b080Electromate
 
SINGLE LOOP CONTROLLER SERIES
SINGLE  LOOP  CONTROLLER SERIESSINGLE  LOOP  CONTROLLER SERIES
SINGLE LOOP CONTROLLER SERIESAshok Kumar Barla
 
Advanced motion controls dprahir 060a800
Advanced motion controls dprahir 060a800Advanced motion controls dprahir 060a800
Advanced motion controls dprahir 060a800Electromate
 

Similar to Usb Controlled Function Generator (20)

SDH and TDM telecom
SDH and TDM telecomSDH and TDM telecom
SDH and TDM telecom
 
Advanced motion controls dpranir 030a800
Advanced motion controls dpranir 030a800Advanced motion controls dpranir 030a800
Advanced motion controls dpranir 030a800
 
Advanced motion controls dpranir 060a800
Advanced motion controls dpranir 060a800Advanced motion controls dpranir 060a800
Advanced motion controls dpranir 060a800
 
Cp1l p081 e1-2_1_csm1004101-ok
Cp1l p081 e1-2_1_csm1004101-okCp1l p081 e1-2_1_csm1004101-ok
Cp1l p081 e1-2_1_csm1004101-ok
 
Advanced motion controls dzcante 040l080
Advanced motion controls dzcante 040l080Advanced motion controls dzcante 040l080
Advanced motion controls dzcante 040l080
 
Mini plc-programmable logic controller
Mini plc-programmable logic controllerMini plc-programmable logic controller
Mini plc-programmable logic controller
 
Advanced motion controls dpraltr 060b080
Advanced motion controls dpraltr 060b080Advanced motion controls dpraltr 060b080
Advanced motion controls dpraltr 060b080
 
Honeywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak goraiHoneywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak gorai
 
Advanced motion controls dpraltr 040b080
Advanced motion controls dpraltr 040b080Advanced motion controls dpraltr 040b080
Advanced motion controls dpraltr 040b080
 
BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...
BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...
BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...
 
AN IMPROVED ECG SIGNAL ACQUISITION SYSTEM THROUGH CMOS TECHNOLOGY
AN IMPROVED ECG SIGNAL ACQUISITION SYSTEM THROUGH CMOS TECHNOLOGYAN IMPROVED ECG SIGNAL ACQUISITION SYSTEM THROUGH CMOS TECHNOLOGY
AN IMPROVED ECG SIGNAL ACQUISITION SYSTEM THROUGH CMOS TECHNOLOGY
 
Advanced motion controls dpraltr 020b080
Advanced motion controls dpraltr 020b080Advanced motion controls dpraltr 020b080
Advanced motion controls dpraltr 020b080
 
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal TechnologyScaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
 
Advanced motion controls dpcantr 015b200
Advanced motion controls dpcantr 015b200Advanced motion controls dpcantr 015b200
Advanced motion controls dpcantr 015b200
 
AMT-A-501
AMT-A-501AMT-A-501
AMT-A-501
 
Advanced motion controls dprahis 030a800
Advanced motion controls dprahis 030a800Advanced motion controls dprahis 030a800
Advanced motion controls dprahis 030a800
 
Study of Data sheet of 56824 DSP processors
Study of Data sheet of 56824 DSP processorsStudy of Data sheet of 56824 DSP processors
Study of Data sheet of 56824 DSP processors
 
Advanced motion controls dzcantu 040b080
Advanced motion controls dzcantu 040b080Advanced motion controls dzcantu 040b080
Advanced motion controls dzcantu 040b080
 
SINGLE LOOP CONTROLLER SERIES
SINGLE  LOOP  CONTROLLER SERIESSINGLE  LOOP  CONTROLLER SERIES
SINGLE LOOP CONTROLLER SERIES
 
Advanced motion controls dprahir 060a800
Advanced motion controls dprahir 060a800Advanced motion controls dprahir 060a800
Advanced motion controls dprahir 060a800
 

Recently uploaded

Pokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy TheoryPokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy Theorydrae5
 
Dadar West Escorts đŸ„° 8617370543 Call Girls Offer VIP Hot Girls
Dadar West Escorts đŸ„° 8617370543 Call Girls Offer VIP Hot GirlsDadar West Escorts đŸ„° 8617370543 Call Girls Offer VIP Hot Girls
Dadar West Escorts đŸ„° 8617370543 Call Girls Offer VIP Hot GirlsDeepika Singh
 
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...Cara Menggugurkan Kandungan 087776558899
 
March 2023 Recommendations for newsletter
March 2023 Recommendations for newsletterMarch 2023 Recommendations for newsletter
March 2023 Recommendations for newsletterssuserdfec6a
 
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...mitaliverma221
 
February 2024 Recommendations for newsletter
February 2024 Recommendations for newsletterFebruary 2024 Recommendations for newsletter
February 2024 Recommendations for newsletterssuserdfec6a
 
WOMEN EMPOWERMENT women empowerment.pptx
WOMEN EMPOWERMENT women empowerment.pptxWOMEN EMPOWERMENT women empowerment.pptx
WOMEN EMPOWERMENT women empowerment.pptxpadhand000
 
the Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentationthe Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentationbrynpueblos04
 
2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing YogaRaphaël Semeteys
 
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptxSIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptxStephenMino
 

Recently uploaded (10)

Pokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy TheoryPokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy Theory
 
Dadar West Escorts đŸ„° 8617370543 Call Girls Offer VIP Hot Girls
Dadar West Escorts đŸ„° 8617370543 Call Girls Offer VIP Hot GirlsDadar West Escorts đŸ„° 8617370543 Call Girls Offer VIP Hot Girls
Dadar West Escorts đŸ„° 8617370543 Call Girls Offer VIP Hot Girls
 
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
 
March 2023 Recommendations for newsletter
March 2023 Recommendations for newsletterMarch 2023 Recommendations for newsletter
March 2023 Recommendations for newsletter
 
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
 
February 2024 Recommendations for newsletter
February 2024 Recommendations for newsletterFebruary 2024 Recommendations for newsletter
February 2024 Recommendations for newsletter
 
WOMEN EMPOWERMENT women empowerment.pptx
WOMEN EMPOWERMENT women empowerment.pptxWOMEN EMPOWERMENT women empowerment.pptx
WOMEN EMPOWERMENT women empowerment.pptx
 
the Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentationthe Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentation
 
2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga
 
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptxSIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
 

Usb Controlled Function Generator

  • 1. USB Controlled Function Generator Design and Implementation by Kent Schonert (Kent.Schonert@sbcglobal.net)
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 9. Wave Form Switching Switch Replaced with Resistor (no distortion) Switch in place to alternate waveform on demand (minimal distortion)
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. USB Data Exchange PC Host Read Request In USB Buffer Out Data PC Host In USB Buffer Out Data Data to Target Device Data From Target Device Packet type/# Information In_Packet[0] Limit(s) Hit In_Packet[1] A/D Conversion In_Packet[2] Port1 Status In_Packet[3] Amp. PCA Value In_Packet[4] Freq. PCA Value     Out_Packet[0] Amp. Hi Byte Out_Packet[1] Amp. Lo Byte Out_Packet[2] Freq. Hi Byte Out_Packet[3] Freq. Lo Byte Out_Packet[4] Freq. Multiplier Out_Packet[5]   Out_Packet[6] Waveform Select
  • 18.  
  • 19.  
  • 20. Cost Analysis Initial Prototype Part Qty Price each   C8051F340 (Dev Kit) 1 $100 $100 XR-2206CP 1 $3.29 $3.29 CD4016 (Quad Switch) 1 $0.29 $0.29 LM741 (op-amp) 3 $1.10 $3.30 DM7406 (OC inverter) 1 $0.40 $0.40 Capacitors 5 $0.10 $0.50 Resistors <20 low $1.00 Bread Board 1 $3.50 $3.50 Power Supply 1 $15.00 $15.00 Total $127 Surface Mount Technology C8051F340 (SMT Unit) 1 $9.41 $9.41 XR-2206D 1 $10.00 $10.00 Power Supply 1 $15.00 $15.00 Capacitors 11 $0.10 $1.10 Resistors <20 low $1.00 Solid State Relay (2ohm) 1 $5.33 $5.33 PS7113L-2A-A (quad)       LMV934MA-ND 1 $1.66 $1.66 Op amp (quad)       sp0503baht 1 $0.40 $0.40 Diode Pack       PCB Board 1 $4.00 $4.00 Misc Pins/Jumpers x x $4.00 AU-Y1007-R 1 $1.16 $1.16 USB B to PCB Price $53.06 Price (low) $28.65
  • 21.
  • 23. Instruction Function Mnemonic Clk Cycles Push double pointer (Hi/Lo) PUSH direct (DPH/DPL) 4 Push A PUSH A 2 increment counter INC direct 2 move counter to A Mov A, direct 2 Subtract max ptr size from counter SUBB A, #data 2 Jump to reset pointer if at max JZ 2 Move offset to Double Pointer (Hi) MOV DPH, direct 2 Move offset to Double Pointer (Lo) MOV DPL, direct 2 Fetch Hi data from code memory MOVC A, @A+DTPR 2 Put Hi data into DAC register MOV direct, A 2 Increment A INC A 1 Fetch Lo byte from code memory MOVC A, @A+DTPR 2 Put Lo byte into DAC register MOV direct, A 2 POP A POP A 2 POP double pointer (Hi/Lo) POP direct (DHP/DPL) 4 Return from interrupt RETI 6 Total: 39 Tolal/48Mhz : 8.125E-07s 50%*1/(20*Update time): 3.08E+04Hz
  • 24. Full Schematic XR-2206