It could possibly be of use though I have not looked at it too closely.
I wonder if an atmega168 could do the translations?