Discussion in "Project Addition or Changes" started by    hi_all    Jul 24, 2007.
Tue Jul 24 2007, 01:43 pm
#1
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
Tue Jul 24 2007, 02:37 pm
#2
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.
 hi_all like this.
Tue Jul 31 2007, 04:37 pm
#3
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
Tue Jul 31 2007, 07:31 pm
#4
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

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

ChrisLub
Tue Apr 23 2024, 05:21 pm
Davidbab
Tue Apr 23 2024, 10:41 am
Richardrit
Tue Apr 23 2024, 09:54 am
HenryLaf
Mon Apr 22 2024, 03:50 pm
bleradrar
Mon Apr 22 2024, 06:38 am
ppu-pro_ka
Sun Apr 21 2024, 07:39 pm
Infewow
Sun Apr 21 2024, 06:30 pm
HumanTak
Sun Apr 21 2024, 12:26 pm