HI... I am programming with a MAVRIC II that uses the ATMEGA 128 but I connect GP2D12 infrarred sensor to the UART and I use the hyperterminal for see th output of the sensor but the only thing that I receive was: ��@}@@wp@}@pNstr@�����xw@����� What can I do??? The same thing happened with the srf04 ultrasoni sensor!!! I appreciate any help Thanks This message was sent using the comp.arch.embedded web interface o www.EmbeddedRelated.com
Problems with UART
Started by ●May 26, 2005
Reply by ●May 26, 20052005-05-26
In article <WLidnbyCU_msTAjfRVn_vA@giganews.com>, elsaximena <xrodriguezp@etb.net.co> writes>HI... > >I am programming with a MAVRIC II that uses the ATMEGA 128 but I >connect a >GP2D12 infrarred sensor to the UART and I use the hyperterminal for see >the >output of the sensor but the only thing that I receive was: >��@}@@wp@}@pNstr@�����xw@����� > >What can I do??? The same thing happened with the srf04 ultrasonic >sensor!!! >either a) the baud rate is not correct or b) one end is set to 8 bit and one is set to 9 bit -- Tim Mitchell
Reply by ●May 26, 20052005-05-26
On Thu, 26 May 2005 08:37:53 -0500, elsaximena <xrodriguezp@etb.net.co> wrote:> [...] but I connect a > GP2D12 infrarred sensor to the UART and I use the hyperterminal for see > the > output of the sensor [...]GP2D12 produces analog signal. You probably need to connect it to one of ADC inputs? Vadim