View Single Post
Old 04-16-2014, 05:07 PM   #31 (permalink)
P-hack
Master EcoModder
 
P-hack's Avatar
 
Join Date: Oct 2012
Location: USA
Posts: 1,408

awesomer - '04 Toyota prius
Thanks: 102
Thanked 252 Times in 204 Posts
Resolution has to be lost. Discounting ADAD conversion errors, your input from the one board is in 1024 distinct steps, but the output from that board is 256 distinct steps. and it isn't 4.5v/256 it is the cells voltage above relative ground that is sent.

I assure you that you wont regret sorting out serial communication They have a two port example for software serial built right into the arduino ide.

Instead of pwming, you just write the converted adc values over serial, with no loss, plus you can control other serial devices.

  Reply With Quote