Posts

Showing posts with the label interface

USB FX2 USB 2 0 interface board circuit schematic

Image
USB-FX2 USB-2.0 interface board circuit schematic There are some things one should be aware of when building the design above: Resonator: According to the data sheet, the FX2LP has an on-chip oscillator circuit which requires an external 24MHz (±100ppm) parallel resonant, fundamental mode crystal with 500uW drive level and 12pF (5% tolerance) load capacitors. So, you can't just put any 24MHz crystal there but things don't seem to be as critical as one may expect. I'm using a 24MHz fundamental mode crystal (24-MA505 from Reichelt) with 10..15pF caps (or even 32pF). ( Note: In the schematic above, there are 2 crystal oscillators in parallel merely to have both options on the PCB (one of them is an SMD). Only one of them is actually soldered onto the board.) EEPROM: You can use an optional serial EEPROM to store either USB configuration data or a complete program which is loaded into the microcontroller's RAM at startup. You can leave it away completely to use defau...

ADC 0804 Microcontroler Interface Engineering

Image
Microcontroller Interface Engineering With ADC 0804 In ADC 0804 interface techniques with microcontrollers are pin-pin control must be controlled if we want to use the ADC with the microcontroller, there is value addition refferensi voltage to be supplied in 0804 ADC interface with a microcontroller, for example, we use the 0804 ADC (8 bit), if we give refferensi voltage 2.55 volts then we will get the increase of 1 bit to change 10 mVolt. Please note that the 0804 ADC pin on the leg that is form Vref Vref / 2, so to get a 10mV resolution is necessary for setting Vref / 2 equal to 1.275 V The interface circuit microcontroller with ADC 0804 Mechanical interface microcontroller with ADC 0804 The steps in accessing data from the ADC 0804 by the microcontroller sebgai follows; Enable ADC with signal 0 at the foot of Chip Select. Give commands from conversion by providing a low pulse to the foot of the ADC Write narrow Wait for the ADC issued a signal 0 from his leg INT Give a moment of tim...