free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
hi_all
Tue Jul 24 2007, 01:13AM
 User Offline
Registered Member #2388
Joined: Thu Jul 19 2007, 02:13AM

Posts: 2
Thanked 0 times in 0 posts
Hi All,

We are making a temperature controller using 89S8252.When we defined High Limit & low limit in our code. Project is working fine.
But Now we want to design a VB application through which we can change the limits(2k EEPRoM ).Like Binu diid in her Data Logger project.
Any help in this regard will be highly appreciated.


Thanks

Back to top


Ajay
Tue Jul 24 2007, 02:07AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4042
Thanked 753 times in 712 posts
Hi hi_all,
Ok as i said its really simple to do this instead of storing in the EEPROM, store in the RAM. whatever value you enter in the vb text area append it with some special variable (to tell micro that its the end of text) and make the textbox to allow only numbers.

before sending the text.. send some command variable like 's' for setting temp. so micro knows the next text will be the temp to set up. Please tell me if you understood what i mean to say.. waiting for reply.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top



This post has been thanked 1 time
 hi_all 
hi_all
Tue Jul 31 2007, 04:07AM
 User Offline
Registered Member #2388
Joined: Thu Jul 19 2007, 02:13AM

Posts: 2
Thanked 0 times in 0 posts
Hi Ajay,

The reason we want the values to be stored in eeprom is user shouldn't be asked to change the limits every time.
and i ma really struggling to send an array of values through Vb ti 89s8252, what i m thinking is i'll send a array of integers which contains say 4 values

temp(0) = 45
temp(1) = 50
temp(2) = 5
temp(4) = 0

these values are four limits respectively which i want to change.
Now my vb template is ready but i don't have any idea how to receive this array and store respectively to there address in eeprom.

Any help will be appreciated.

Thanks

warm Regards

Amit
Back to top


Ajay
Tue Jul 31 2007, 07:01AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4042
Thanked 753 times in 712 posts
I recommend you to read the datasheet of AT89S8252 and see how ISP programming is done.. or how to write to EEPROM.
or other option is.. use I2C EEPROM to store your data, you can also use it for other purpose. like storage of other data.
so you check the datasheet once

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems