Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to see ATmega8 ADC results on a PC?

Status
Not open for further replies.

zohaib

Member level 4
Joined
Aug 24, 2007
Messages
75
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Location
PAKISTAN
Activity points
1,729
hello everyone!
i want to see the atmega8 adc result on my pc i am using bascom avr
terminal emulator displaying the following code whatever i print
€øxøxøxø€x
can any one help me
 

Re: ADC RESULT ON PC

zohaib said:
hello everyone!
i want to see the atmega8 adc result on my pc i am using bascom avr
terminal emulator displaying the following code whatever i print
€øxøxøxø€x
can any one help me
a month before i tried such a work but i never got answer of it
then i tried to use aother softwares such as aspman that really is powerfull
and i see all data sent to the pc the same didn't work in terminal emulator of bascom
you try to use aspman!
i should add this that i wrote a program in vb.net and i received the same data as
i had received from aspman , with totally equalent conditions i only received
wrong data on terminal emulator
 

Re: ADC RESULT ON PC

Are you sure that the values you are sending can be displayed as ASCII and that the baud rate of the MCU and the PC are correctly setup. The output you are receiving seems to me like a typical baud rate problem.

Cheers
Slayer
 

ADC RESULT ON PC

the problem is with fuse bits, by default clock of atmega microcontrollers are 1Mhz. So in that speed you should choose a baud rate in which error is less is about .2% and use the same baud rate in hyperterminal, then it will work. If you want to know more, go through these links
**broken link removed**
serial port interface of aVR
**broken link removed**


Bibin John
www.bibinjohn.tk
 

Re: ADC RESULT ON PC

buddies it was fuse bits problem
terminal emulator is working absolutely fine now
thanks
 

ADC RESULT ON PC

fuse bit and configuration should be paid more attention before check other staff.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top