Low-power wireless camera based on the SmartMesh IP Mote API and arduino platform