transfer sensor routines in module sensor.py