This project can be attached to a door phone so that when the doorbell button is pressed the door opens automatically.
Very useful for doctors offices with many patients like hematology lab. This hardware is for the building's main entrance (you can leave your office door open...:) )
While doorbell button is pressed you can pick an AC voltage in the speaker of the door phone. You can measure this trigger voltage using a DC voltage sensor.
Why a voltage sensor? Cause you isolate your arduino from voltages that could go as high as 12Vdc or 24Vdc. My voltage sensor also divides input voltage by ratio 5 to 1, so max input voltage is 25V.
In my case I have a trigger of 6.5VAC. This trigger voltage goes to a AC to DC diode bridge converter and then through the DC voltage sensor to the analog input A0.If analog input A0 returns a reads more than 4 Volts then digital I/0 pin 12 becomes high and triggers the 5V relay which is connected to button of door phone that opens the door.
Hardware:
Arduino Nano V3
Battery 9V
DC Voltage Sensor Module
1 Channel Relay Module Board 5V Module
Diode Bridge
Circuit:
Battery: Connect to Vin and GND of arduino(careful do not connect battery when you also have usb connected)
AC to DC diode bridge: AC pins goes to door phone's speaker pins, DC pins to DC voltage sensor.
Voltage sensor: Input + VCC goes to + pin of diode bridge, input GROUND goes to - pin of diode bridge, output S to pin A0 , output +Vcc to 5V pin, output ground to GND pin of arduino.
Channel relay: Trigger to Digital I/O Pin 12, +Vcc to 5V pin, Ground to GND pin of arduino.
Code:
// set pin numbers:
const int ledPin = 13; // the number of the LED pin
const int relayPin= 12; // the number of the Realy pin
const int AnalogInputPin = A0; // Sensor analog input pin
void setup()
{
pinMode(ledPin, OUTPUT); //set digital pin LED OUTPUT
pinMode(relayPin, OUTPUT); //set digital pin RELAY OUTPUT
Serial.begin(9600); //for checking input of voltage sensor when connected to PC
}//end void setup
void loop()
{
float sensorValue =0;
sensorValue = analogRead(AnalogInputPin); //Reads analog input A0 and returns value from 0 to 1023 (10 bit AD converter).
//float sensorRatio= ((5*5)/1023); //This one should have worked but didn't (5v max analog input * 5 times ratio of output to input of DC voltage sensor / 1023 max of A0 )
float sensorRatio= 22.646/1000; //!!!!Checking with serial monitor and using 2 batteries(1,2V & 9V) I measured their voltage with voltmeter I made this correction ratio. Before connection the diode bridge.
float voltIs = (sensorValue * sensorRatio)+ 0.6; // 0.6v is a diode's bridge average threshold voltage when there is no rectifier such as this case.
Serial.println(voltIs); // for checking voltage with serial monitor of arduino 1.0 software.
delay(200); // delay for 0,2 second to keep processor cool and noise free.
//When push button of door is pressed a 4,5V voltage is appearing in the door phone's speaker.
if ( voltIs > 3.95 && voltIs < 08.05) //Speaker voltage = 6,5 volts (yes I could have been more precise but had to make sure that door opens)
{ digitalWrite(ledPin, HIGH); //LED indication that relay circuit is closed
digitalWrite(relayPin, HIGH); //relay circuits is closed so door mechanism is on
delay (3500); //Delay door opening magnetic mechanism for 3,5 seconds so that patient passes through entrance.
digitalWrite(ledPin, LOW); // turn off Led
digitalWrite(relayPin, LOW); // relay back to NO
delay (20); // precaution delay
}
else
{
sensorValue=0; //precaution just in case there is anomaly not to open door.
voltIs = 0; //precaution just in case there is anomaly not to open door.
} //end if voltIs
}//end void loop
/*
Created @ 2012 by
Pagonidis Alexandros
www.BiomedicalTechnology.gr
*/
The final project in a box:
Well try not to use a metal box because you will need too much glue to isolate the circuits.
I really love your weblog, Its great to find not absolutely everyone is just posting a ton of rubbish these days!
ReplyDeletegarage door repair san diego
Thank you for informative blog. I m waiting for your next blog. Kindly visit my site Automatic doors
ReplyDeleteI am very enjoyed because of this blog. Its an educational topic. It help me quite definitely to solve some problems. Its opportunity are so fantastic and working style so speedy.Pintu High Speed
ReplyDeleteThank you for informative blog.Well done keep up the good work & waiting for your next blog. Visit for install Best home surveillance systems
ReplyDeleteGreat article. The concept The secret to creating magnetic, high-traffic blog contentreally is well explained and has helped me a lot. thank you for submitting this article. Automatic Swing Doors
ReplyDeleteFantastic article as always. Such a nice article which you post its dam good. Kindly visit my sites
ReplyDeleteGarage Doors Repair
Thanks for posting the useful information to my vision. This is excellent information.
ReplyDeleteAutomatic Garage Doors Repairing
An Automatic Sliding Door is required for effective parking management system. TSS security offers best quality boom barriers, call @+91 98407 55444.
ReplyDeletewe are one of the most efficient sliding gate . Being an experienced player in this line, we understand the needs of our customers and provide them the high-quality product according to their preferences.
ReplyDeleteBoom Barriers Gate. are utilized to control the movement of vehicles going in and out of places like residential buildings, business parks, shopping malls etc.
ReplyDeleteThanks for the post! loved the mechanism of the automatic openers. We make automatic doors and gates for industrial purposes check out Aircraft Hangar Doors
ReplyDeleteLoved the post such useful information. Thank you and would love to see more of your blogs!
ReplyDeleteBoom Barrier
Great post! You've explained the mechanism very well.
ReplyDeleteCheck out our Auto Swing Door
Thanks For sharing such a beautiful Info with us.I hope you will share some more Info .Please keep sharing.
ReplyDeleteAutomatics Doors
Thanks you so much for sharing this useful info. keep posting
ReplyDeleteTo know more visit Automatic sliding garage door manufacturers
Automatic sliding gate manufacturers
Automatic rolling shutter manufacturers
Industrial automatic gate manufacturers
Great Blog, there is so much reality written in this content and everything is something which is very hard to be argued. Top notch blog having excellent content.
ReplyDeleteautomatic gate opener suppliers
I found your this post while searching for information about blog-related research ... It's a good post .. keep posting and updating information. centralina cancello automatico
ReplyDeleteYou have provided a nice article, Thank you very much for this one. And I hope this will be useful for many people. And I am waiting for your next post keep on updating these kinds of knowledgeable things gate opener manufacturers
ReplyDeleteNice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. DevsData
ReplyDeleteI recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog, I will keep visiting this blog very often.
ReplyDeleteGarage Door Repair Near Me
Gestione accessi parcheggi di hotel, alberghi e campeggi con tessere o portachiavi codificati fino a 2000 utenti. automazioni per parcheggi hotel rimini
ReplyDeleteTruly I love this blog.Directly I am found which I truly need. please visit our website for more information about Artificial intelligence development company in Australia
ReplyDeleteThanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. Best consulting firms for private equity
ReplyDeleteThe post is written in very a good manner and it contains many useful information for me. commercial interior doors
ReplyDeleteIn the parking systerm field, the best solution immediately proved to be the installation of TOF laser sensor for the barrier gates at the entrance to the facility.
ReplyDeleteFirst of all, let’s understand the principle of parking lot vehicle detector and ground induction coil:
Ground induction coil vehicle detector is a vehicle detector based on the principle of electromagnetic induction. It usually has a toroidal coil buried under the roadbed of the same lane, and passes a certain working current as a sensor. When the vehicle passes the coil or stops on the coil, the iron on the vehicle itself will change the magnetic flux in the coil, causing a change in the inductance of the coil loop. The detector detects the change in the inductance to determine the state of the passing vehicle .
System composition
In the parking lot system, to determine the function of the ground induction coil, we must first know the location where the ground induction coil is installed. The ground induction coil is generally installed in the following four positions:
1. At the entrance ticket box (entrance control machine);
2. One at each entry and exit barrier;
3. Exit ticket box (export control machine)
As for the entry and exit barriers, It has two aspects
1. Anti-smashing, the bar will not fall when there is a car on the ground;
2.The car passes and falls
And what is TOF laser sensor?
Our laser sensor offers an alternative to induction loops.
Laser radar technology is to detect vehicles and pedestrian accurately. The barrier only opens when a vehicle is approaching. Pedestrians in the opening field are screened. Compared to IR detection, it reduces false trigger and more secure.
What’s more, the laser’s service life is 3-5years, while the loops is around 1-2 years. small size make installation and maintainance more easier and save labor cost. So our laser sensor is cost efficiently and secure options for your gate solution.
https://www.u-sensors.com/product/18.html
This comment has been removed by the author.
ReplyDeleteSometime few educational blogs become very helpful while getting relevant and new information related to your targeted area. As I found this blog and appreciate the information delivered to my database.IPTV Reselling
ReplyDeleteThanks for sharing such an informative post. Please keep it up the great work and surely come back for more information. Please visit us here as well to learn more about access control.
ReplyDeleteI would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. Thanks... best door access system
ReplyDeleteThis blog is really great. The information here will surely be of some help to me. Thanks!. auto sliding gate bd
ReplyDeleteWe are highly experienced and certified electric gates and fences company. Let us experience you the best automatic gates installation and repair company."
ReplyDeleteVisit here : Automatic Gate Repair
This article is an appealing wealth of informative data that is interesting and well-written. I commend your hard work on this and thank you for this information. You’ve got what it takes to get attention. automatic doors in dubai
ReplyDeleteElectric Gate Masters is The best simplest way to find and book your Gate installation, Automatic Gate Repair, Gate Motor installer, and Front gate Repair expert.
ReplyDeleteVisit here : Gate opener install
This comment has been removed by the author.
ReplyDeleteIf you need iron gate installation, security gates repair, and electric gate repair in Seattle. then We have an expert team who can do your gate installation and repair.
ReplyDeleteVisit here : Automatic Gate Repair in Seattle
Hi there! Technest.ae is a great website for anyone looking for the latest technology news and reviews. They provide comprehensive, unbiased coverage of the latest tech trends and products, so you can make informed decisions about the products you use. They also offer helpful tips and advice to help you get the most out of your technology. Thanks for stopping by!
ReplyDeletebuy Indoor Wi-fi Security Camera
It's great to join your blog, I can refer to your products.
ReplyDeleteWe invite you to view and cooperate with us here: motor cửa cổng 2 cánh
Investing in YouTube subscribers in rupees offers a seamless and advantageous strategy for Indian creators looking to enhance their channel's performance and reach. It provides a quick and effective way to increase a channel's subscriber base, which in turn elevates the channel's visibility and authority on the platform. Such a boost is instrumental for new creators aiming to gain traction in a saturated market. With custom packages available, creators can choose an option that best fits their budget and needs, ensuring they receive optimum value for their investment. This service simplifies the growth process, allowing creators to focus on producing high-quality content that resonates with their target audience. Additionally, the cost-effective pricing in rupees makes it an accessible option for a wide range of creators, from beginners to more established YouTube personalities. This approach not only enhances the channel's credibility but also lays down a solid foundation for long-term success and community building.
ReplyDeletehttps://www.buyyoutubesubscribers.in/