In this paper, we introduce an IoT-based robotic medicine delivery system designed to boost safety and efficiency in hospital settings. This IoT-embedded robotic system integrates advanced sensors such as proximity, temperature, pressure, pulse rate, etc., sensors for ensuring real-time health and environmental monitoring behind this system. The robot is connected to a centralised controller, enabling healthcare workers to monitor patients using a cloud-based system. . Our robotic system moves about with the support of both line follower and LiDAR scanning technology for environmental safety and proximity detection. Experimental results show that the robotic system was able to navigate static obstacles and dynamically move away from the mobile entities within its reach without touching them. Besides, the proposed robotic system was able to reach the bed at the right time under normal operating conditions, which shows the efficiency of this approach in real-time settings. Patient feedback suggests that patients are very happy about the system, in terms of its usefulness, trustworthiness, and to their suprise to be taken care of by a robot. Overall, our study shows the potential of the proposed robotic system in streamlining the existing medicine delivery process in hospitals. It can potentially improve various aspects including safety, efficiency, patient compliance, and quality of care delivery. The promising results suggest further studies for incorporating advanced features and for ensuring compliance with regulatory requirements. Additional studies are to be conducted to further improve the proposed sensor-based robotic medicine delivery system, to facilitate its adoption in hospitals.