How to use BS2 generate 2us time delay
brucefay1127
Posts: 6
How to use BS2 generate 2us time delay? because the pause command can only produce 1ms,i need 2us capture one time signal,major receive the "Sony ILX526A" this linear CCD,and this CCD's datasheet below:
http://www.eureca.de/datasheets/01.xx.xxxx/01.01.xxxx/01.01.0021/ILX526A.pdf
the clock pin i use 500kHz,so the cycle-time is 2us,i must capture 3000 times,but.....i don't know how to use BS2 generate 2us!! help me!!...
http://www.eureca.de/datasheets/01.xx.xxxx/01.01.xxxx/01.01.0021/ILX526A.pdf
the clock pin i use 500kHz,so the cycle-time is 2us,i must capture 3000 times,but.....i don't know how to use BS2 generate 2us!! help me!!...
Comments
Welcome to the Parallax Forums! I can't think of a way to use the BS2 to do what you want. That CCD chip requires a continuous clock with a minimum frequency of 100 KHz, with duty cycle between 40% and 60%. The BASIC Stamp simply does not have a pulse ouput mode that can provide that. I know the Propeller chip could handle the job but, before I go so far as to recommend it, can you tell us more about your set-up? For example, what is doing the data capture? Do you have an A-to-D converter? Where is the pixel data being stored after it's captured?
-Phil
You need a much faster microcontroller with much more memory than the Stamps to do what you want. Depending on what you want to do with the CCD's analog output, you may need a high speed analog to digital converter as well. A Propeller for example would have the memory and speed.
CLK tihs pin i use an external clock driver circuit(500kHZ OSC),and pixel output is from Vout this pin,i use high speed A/D convert,because traditional A/D(ADC0804) fast enough,pixel and clock is simultaneously,we must calculate cycle-time,a cycle followed by the voltage,for example,my clock is 500kHz,so cycle-time is 2us,i must capture a continuous signal,2us interval,a total of 3000 pixel voltage.
-Phil
oh my god......those pixel voltage data can't save on the array??sorry i never contact BS2,perhaps i may want to change IC...
-Phil
-Phil
-Phil
That's what I keep trying to tell people.
Welcome to the forum brucefay1127.