Wireless nurse calling system

I'm working on this new project wireless nurse calling system using multiple 433mhz transmitters & single receiver. The project has a 4 digit 7 segment display as Main Console & many remotes with 2 buttons & HT12E connected to 433mhz transmitter.

I have found an example code for receiving the data & displaying on the 7 segment display, but now the problem I have is when multiple patients have called I want to display each number one after another with some delay until they have been attended by nurse & numbers been cleared from the display.

Welcome to the forum

What have you tried so far ?

The obvious solution would be to put the caller data into an array when it is received to form an action queue and to display data relating to each level of the array in turn at intervals, timed using millis() so that the receipt of new messages is not blocked. You will need a mechanism on the receiver to acknowledge that the call has been actioned and to remove the call from the action queue held in the array

I dd this a few years back but using POCSAG pager modems.
The code isn’t too hard.. maintain an array of our callers- ideally a strict so you can also track other things like battery level and call type etc.

When a call is received, you can copy the callers ‘index’ into a queue that you walk through until no alarms are true. a beep is raised only when new alerts are added to the ‘queue’

The battery and ‘urgency’ flags can be used to sort the members - so that a heart attack is given higher priority than a toilet call etc.

Yo-yo can manually clear individual queue members while the list is being displayed, or the caller can use a second button to cancel a call from their room./bed side.

Are you using an Arduino or not?

yes

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'

Use code tags (the < CODE/ > icon above the compose window) to make it easier to read and copy for examination

https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum

sorry it's my first time on the forum

could u provide me with any example code so that i can work on

This is the sketch I'm using & getting the addressInteger displayed on 4 digit 7 segment display.
there are 2 buttons on my remote 1 for call & other for clear the display.

wouldn't using an esp chip with integrated WiFi require fewer components? your console could be a standalone access point.

Actually I have to use 433mhz TX & RX

why? curious

That is what my college project requirements are

Could please help me out with this project

So, only one patient can call at any given time ?

I’m glad this is an assignment only, i’d hate to think Charlie’s water call, caused Mildred’s death !

Generally we don’t write code for college assignments, as it’s seen as ‘cheating.
’.
Depending on your budget, you can ask the mods to move this thread to the Paid Consultancy section.

The strategy I mentioned earlier works and is compliantm with nursing care requirements in my region.

There is no budget i come from a very remote part of india with very limited resources could u just give any example which i can refer

the display routine can use millis() to determine when to update the display with a patient. an index indicates the patient to display from a list. no need to display anything is the list is empty. increment the index after each display update. the index remains the same if # of patients is 1

well do u have any example i can work with

Use relays and a wired system simply.

3 Likes

That's not the solution mate