Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20705 Discussions

serial to parallel

Altera_Forum
Honored Contributor II
940 Views

hi all 

here is my problem... 

i would like to connect range sensor to DE2 kit to show results of the range.. 

i tried the analog output of the EZ0 maxsonar sensor ...there is one analog input in this DE2 called" MIC in" and i don't Know how to play with. 

and tried the pulse width output by a VHDL code using counters and there is no result,,, 

still the TX output.... 

the TX output delivers asynchronous serial with an RS232 format, except voltages are 0-Vcc. The output is an ASCII capital “R”, followed by three ASCII character digits representing the range in inches up to a maximum of 

255, followed by a carriage return (ASCII 13). The baud rate is 

9600, 8 bits, no parity, with one stop bit 

9600 baud rate means each bit needs 1/9600 sec ,,,,,means f=9600 HZ.... 

How can i do this..? 

DE2 gives 50,27 Mhz clk! 

 

is there any "megafunctins" helps me with this? 

should i use memories,,? or serial to parallel converters ? or buffers? 

really i don't know from where i have to start
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
256 Views

ok....i found somthing helpful 

here is my new qeustion... 

how can i build UART using DE2?
0 Kudos
Reply