![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hello!
I am a 5th Yr. Computer Engineering student. As a 5th Yr. Computer Engineering student we are required to have a senior project in order for us to graduate. My senior project is entitled "Remote control using cellphone". The object of my project is to send remote control commands using a cellphone (SMS). The usser sends command using the a cell phone. The device to be controlled is to be connected to another cellphone via an interfacing box. The cellphone connected to the device that is to be controlled will extract the SMS recieved by the cell phone and determine if this is a valid command. If it is a valid command it will output a cooresponding control signal to the device being controlled. I have learned that the cellphone communicates with external devices via its port serially, using the RS232 format at 9600 baud rate. The problem is the voltage level of the pin. I dont know what voltage level will be considred high logic and what voltage level will be considered low logic. Another problem is the microcontroller to be used in this project. The only microcontroller I am familiar with are the Microchip PIC series microcontroller, specifically the PIC16F84A. Can I use the PIC16F84A for this purpose? If yes, how am I to program that pic? Do you have any source codes? Hope somebody could help me (anything as long as it is related to my project).... Thank you... and Merry Christmas to ALL!!!!!!!!! |
|
|
|
|
|
|
(permalink) | |
|
Quote:
The PIC16F84A should be fine for what you want, depending what you need to do even the smaller 8 pin PIC's could well be enough. Probably your first thing to do (after finding out the phone output levels) is to connect it to a PC and monitor what comes out - you can then find exactly what you need the PIC to do. |
||
|
|
|
|
|
(permalink) |
|
A quick search using google gives the ff. links:
http://www.gnokii.org/faq.shtml http://www.embedtronics.com/nokia/fbus.html http://www.gadgets.demon.co.uk/nokia61xx/protocol.html http://www.mwiacek.com/ You might connect one cellphone to the PC using commercially available download cables. Reverse engineer these cables to give you some idea on how to interface them to the PIC. BTW, the PIC16F84a does not have a asynchronous serial port and so you may have to synthesize one using software. The newer and cheaper PIC16F627 has the USART built-in, saving you one software headache.
__________________
"Having to do with Motion Control" |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
Thank you all for helping me in my project by giving me those cool sites, indeed they are useful in the development of my project.
I keep you posted for every developement of my project... Thanks onece again... Happy Hew Year to ALL !!!!!!!!! |
|
|
|
|
|
|
(permalink) |
|
Sir, I have visited your site about pic spicifically the RS232 communications. The tutorial needs the MAIN BOARD that has the PIC16F628. I have notice that board does not include a system clock. Why is this so? Can a microcontroller work even though it does not have a system clock?
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
Thank you verys much sir...
I wasn't able to read that text... I will now... Thank you very much... |
|
|
|
|
|
|
(permalink) |
|
Sir, I already have studied a bit of your tutorial about RS232 communications using the PIC16F628 microcontroller. Would this microcontroller fit my application? or will I have to move to a higher version? PIC16F876? I am still studying the software emulation of the USART using the PIC16F628. I haven't touch the USART capability of the PIC16F628 yet... Any advice?
Thank you in advance.... More power... |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
Thank you sir!!!!
I don't know if I still have questions about my project, but if I do I'll just post it here again.... thank you onc again for replying.... |
|
|
|
|
|
|
(permalink) |
|
Sir I seen in the MAX232 dat sheets that the capacitors used are all 1uF. How com in your RS232board the capacitor you used were not all 1uF?
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
Sir will the transmit and receive subroutine for the Half Duplex 8N1 RS232 communication work for Full Duplex 8N1 R2232? They also differ in baud rate but I have already figured out how to reconfigure the routine so it would work for faster baud rate.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|