gcouger
07-19-05, 05:30 AM
I am looking for examples of programing in FORTH for the Tiny Arm and Plug an ARM In Forth. I need to count a 5 volt signal that has to converted to 3 volt to work with the ARM and count one and possibly two pulse trains that are 500 K or less an infrequent missed count is not serious as I will be counting the frequency of the light to frequency chips out a long enough time to average out an small errors that may happen.
I need to start and stop the timers after an exact period of time that can be set by the computer it is connected to via RS232 or what ever. Read and store the values of the counters and timers record them and the GPS location temporally switch light sources and clear all the memories do it again and again until all the spectral pairs and trios and possibly as many as 6 pairs of light spectra.
I am using it to measure the nitrogen in the leaves of corps and trying to find other ways simple spectral imaging can identify cops, their fertility, and other thins wit out having to make and compare images.
It appear to work with meat spoilage as shown in a paper published in Elsevier's Science Direct CLINICA CHIMICA ACTA.
I can't do as well with silicon as they do with ingas but if we go to image 30 dollar web cam has the same resolution as their $25,000 Ingas one. I believe the better resolution an more detail in change in area near 1150 nm compare do the stable peak that appears to at 700 nm,
I know how to do it on a 68HC11 an will quickly switch back to it if I can't this working. I would like to do future work with more powerful chips as it hare to justify using chip with rumors about their future life of production.
I did this with pin A.0 on the 68HC11 as a pulse accumlator and counted the 16 bit counter roll overs with the counter roll over interrupt. I have just got started and have found a pulse accumlator yet.
If there is more sample code out there I would like to find. If not if I have time I will try to correct some of that.
Thanks very much.
I need to start and stop the timers after an exact period of time that can be set by the computer it is connected to via RS232 or what ever. Read and store the values of the counters and timers record them and the GPS location temporally switch light sources and clear all the memories do it again and again until all the spectral pairs and trios and possibly as many as 6 pairs of light spectra.
I am using it to measure the nitrogen in the leaves of corps and trying to find other ways simple spectral imaging can identify cops, their fertility, and other thins wit out having to make and compare images.
It appear to work with meat spoilage as shown in a paper published in Elsevier's Science Direct CLINICA CHIMICA ACTA.
I can't do as well with silicon as they do with ingas but if we go to image 30 dollar web cam has the same resolution as their $25,000 Ingas one. I believe the better resolution an more detail in change in area near 1150 nm compare do the stable peak that appears to at 700 nm,
I know how to do it on a 68HC11 an will quickly switch back to it if I can't this working. I would like to do future work with more powerful chips as it hare to justify using chip with rumors about their future life of production.
I did this with pin A.0 on the 68HC11 as a pulse accumlator and counted the 16 bit counter roll overs with the counter roll over interrupt. I have just got started and have found a pulse accumlator yet.
If there is more sample code out there I would like to find. If not if I have time I will try to correct some of that.
Thanks very much.