I am working on a idea. The idea is to measure current from a current source, which transmits 3 levels (ex: 10 20 30mA). Which if possible should be logged, representing 3 states with 3 different variables ( ex: 0= 'A', 10='B', 20='C', which these may be used for someother processing).
The approach I have in my mind is to use 1) Current sensor for Arduino interface --> From Arduino the output (But I need to collect (mostly live data) the data in digital form depending upon the current level, as mentioned above(with some help of C++ libraries I will be writing and using in the arduino source code))waveform to be logged as digital data (May be txt or csv representing current levels in 10 20 30 as A B C etc).
1) Am I missing any logic here?
2) Should I have to be aware of any challenges that I have not counted for!
3) Any tips for data data log from the arduino.
I have worked on arduino, but I am not a expert. Any kind of help or directions will be helpful.
(Edits- the input current will represent a encoded value in the form of current sink, which I am planning to decode)