We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
can anybody help???
i want to record the signal on analog input 1
I have now read your specification one more time:
"can anybody help???
i want to record the signal on analog input 1"
Nope! Can't see any requirements about writing 700-1000 meserments [sic!]/second into EEPROM in your specification!
What makes you think that your EEPROM can handle 1000 writes/second? What does the datasheet say? And how large are one sample? One bit? One byte? Two bytes?
And in what way will we be able to help you to get the writing to take less time?
OK I write here all I have and what I want
I use mc Infineon SAB 80C535 eprom is 27SF512 ic2bus is PCF8574 ADC max1168
and i must record on 2 inputs teh signal from 2 hall sensor (0 volt 12 V) and the motor are 6000 rotation/minute...
normaly I must write float number but may be is posile to write only bit (0 -low, 1 High)
6000rpm is 100 revolutions/second. But where do you have any specification that you must record 100 samples/s and store in the EEPROM?
To know the RPM, you must analyse the data from the hall sensors - basically counting pulses. But why do you think that you have to store the raw data? Isn't it more likely that it is enough if you emit one RPM value every second? Or do you expect the motor speed to be very, very, very, very, very quickly modulated? And if so - why do you believe that? What make you even think that the RPM of a motor can be quickly modulated?
Have you even verified that you need to use the ADC to process the hall sensor, and that it isn't enough to convert the data to a digital signal and then count the digital pulses? Having an external ADC givs a hint that your teacher may want you to use it - but it isn't a proof that it is so. If the board has an external ADC, every exercise may not require the use of every component on the development board.
Normally, you must write floating point numbers? Why? The ADC will not produce any floating point samples - why would you want to convert your data to floating point? Your specification doesn't say anything about converting raw measurements into calibrated physical entities according to the SI system. If you don't have any need for volt, henry, tessla, ... what would your floating point conversions then do? And if you really do have to play with decimals (such as decimal RPM) - why not use fixed point arithmetic? Too simple with integers? Too small code? Too fast?
you have some id yahoo, skype, is better to speak,
my id skype tutzurotar2006 yahoo tuturotar2000
is not necesary to record in eeprom , I want to record because I must see the time diferente between the sensors, and the motor has 6 poll magnetic disc , and I don't now a better method
If you need to talk with someone, I think your teacher would be a good idea. He gets feedback from the other students too.
Record a number of samples and print to the serial port. With enough baudrate, you might be able to print in rea-time. An alternative is to see if you can store a number of samples in a RAM array and print. You don't need to seem many samples to verify that your ADC picks up valid samples.
You can also collect min/max/average/standard deviation and print - that gives you information about what the ADC picks up.
The number of poles should not represent a problem - it just affects the required sampling speed. But you still don't need to save anything in EEPROM. Your fight with the EEPROM may take more time than to actually do what the required work. Doing extra is a good way to learn - but that obviously requires that it is YOU who do that extra work. Asking for other people to chip in to solve problems you do not need to be solved is quite counterproductive, don't you say?
one of the specifications is to record(to see if is low and high) the signal at the maximum speed(6000/min) of motor at both sensor chanel and to see time diferents
Your second attempt at specifications: "OK I write here all I have and what I want
and i must record on 2 inputs teh signal from 2 hall sensor (0 volt 12 V) and the motor are 6000 rotation/minute..."
I can't see anything that claims that you need to "record(to see if is low and high) the signal at the maximum speed(6000/min) of motor at both sensor chanel and to see time diferents".
Why are you constantly posting subsets of the specification that does not cover the parts that you request help with?
what do you think? is posibile to make that with my mc board?
It is possible to do it with your board but you will have to write some code before it will work the way you want it to.
but you must read the datasheets first.
is better method to try to work with impuls (low, high) onn digital inputs??