Fastlogger sketch for logger shield

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
mach1000
 
Posts: 6
Joined: Wed Jun 01, 2011 10:11 am

Fastlogger sketch for logger shield

Post by mach1000 »

Hi all of you,

I do have a question, and hopefully someone can help me. I am very impressed with the sampling rate of this sketch, and i need approx 500 times a second for my purpose.

But i must admit that i cant see how to add more analog sensor readings in this sketch. I will need 4 analog input to log in my sketch, can somebody help me with that?

Your help and guidance is very appreciated.

Best regards

Mads

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Fastlogger sketch for logger shield

Post by adafruit »

unfortunately the logger shield uses 2 of the analog pins :( can you use any digital versions of the sensors?

mach1000
 
Posts: 6
Joined: Wed Jun 01, 2011 10:11 am

Re: Fastlogger sketch for logger shield

Post by mach1000 »

Hi "Adafruit", sorry for the late reply!

It is a linear transducer I am using, but I am assuming it would work with 2 instead of 4 if there is no way arround it.

Do you have a way to get the extra sensor into the code?

Thanks

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Fastlogger sketch for logger shield

Post by adafruit »

you could use an analog multiplexer such as the 4066, we have no tutorials on how to use it, but if you google around that might help

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”