Discussion in "Project Doubts" started by    sheduh    Oct 20, 2010.
Wed Oct 20 2010, 10:31 am
#1
Hi guys,I requested 4 the Vb code 4 DAQ using 89...can some1 help me write the firmware code to link ATMEGA168 wit such an application. C or assembly codes r fine wit me.how can I initiate the communication
Wed Oct 20 2010, 10:46 am
#2
hi sheduh

can some1 help me write the firmware code to link ATMEGA168 wit such an application.


dear if ur familiar with embedded system then u will do it soon
first read the tutorial on this site for serial communication in tutorial section there a avr serial communication topic read that for avr

C or assembly codes r fine wit me.how can I initiate the communication


i recommend u to use c as compare to asm u can do speedy working and editing in c let come to initiate by reading a tutorial as i mention
Thu Oct 21 2010, 05:50 pm
#3
Vb code 4 DAQ is available in download section. the zip file contains complete software and firmware code.

do u have experience with 8051? if not then i will tell you basic of firmware code what abbas did in his project, so it will be easy for you to port.
 sheduh like this.
Fri Nov 05 2010, 08:22 pm
#4
hi am back, Ajay you can tell me the basic firm ware code abbas used in his project.I have never used 8051 and have only started with ATMEGA168
Fri Nov 05 2010, 10:03 pm
#5
hi sheduh
these r the steps in that project

1) initializing serial port at 9600 bps
2) generate us delay using timer
3) there is a latch(); function it enable the adc and select a sensor 1
4) start conversion by startConv(); function
5) wait(); function wait for conversion time
6) get(); function read the value of adc convert
7) sendReading send that data to pc
if data is 15 then send 1 ascii then 5 ascii to pc
now select sensor 2 and repeat from 3rd step
now select sensor 3 and repeat from 3rd step
and so on
Sun Nov 07 2010, 09:35 am
#6
thanks Majoka,but the problem is interpreting the codes.can u please demonstrate this by writing the codes and adding a comment to interpret them, just a simple demmo.
Sun Nov 07 2010, 03:11 pm
#7
hi sheduh
i comment the code for ur easiness

Attachment
 sheduh like this.
Tags data acquisition system by abbas explained

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am