If you can't remember whether you took your pills this morning don't worry.
Soon your medicine will be able to answer the question for you.
A US company has developed a tiny device the size of a grain of sand that sends out a signal when a tablet is ingested.

This will then be recorded on a patch worn by the patient.
One of the reasons the treatment of certain illnesses can go wrong is because people often forget to take their daily tablets.
Health professionals say it could have impressive results for people with diabetes, cholesterol and high blood pressure.