??? 03/14/07 07:23 Read: times |
#134947 - Understand what you are doing Responding to: ???'s previous message |
John D. Maniraj said: (my emphasis)
While it does help to start off with others working code, it is very important that you actually understand what you are doing.
CS5460A, is actually an energy meter chip with all its functions made for energy metering, in India it is being used for various applications and I tried to use it for a temperature controller. For your information, there are other chips, cost effective and ideal for your weigh scale application, I am talking about the CS8051F350 Silabs microcontroller with a built in 24 bit ADC, this is an almost exact fit for your application and I also think you will get Application notes and reference design from Silabs. OK, that now makes it three people to have pointed out to you that the cs5460a seems like a very odd choice for this project http://www.8052.com/forum/read.phtml?id=134690 http://www.keil.com/forum/doc...p#msg44506 You have even admitted that you're not sure yourself: http://www.8052.com/forum/read.phtml?id=134721 Again, why do you think that the cs5460a is suitable for this project? "With or without load the same value is displayed" Again, this could be due to many reasons: How do you know that your 7-Segment output is working correctly? Are you sure that the output of the sensor is actually changing when you change the load? How have you checked? Are you sure that the signal at the cs5460A's input is actually changing? How have you checked? Again, the cs5460A is designed for use in power meters - how are you using it in a weighing machine? You need to post your schematic and code; ensure that your code is properly formatted and clearly commented. For instructions, see: http://www.8052.com/users/jonled/noob.pdf http://www.8052.com/forum/read.phtml?id=134701 |