read pheripheral