Smart crops using IoT platforms and sensors