Compact embedded device for lock-in measurements and experiment active control | Synapse