Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I assume you have circuitry which is capable of driving the bell and you are just wanting to set a pin on the port high/low to turn the bell on/off. In which case simple C programming would be the easiest way. Just address the port with the bell controll bits.
just make a pin high to the relay which is connected to the bell and well just a c r VB program is enough to it just send a value to the micro controller by using different values i think u can control not only bell but many appliances just try it