Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 22nd February 2006, 11:32 AM   (permalink)
Default interfacing microcontroller with UART(8250)

hey hi all
i wanna do a project with a gsm modem connected to the serial port.thru which we can control home appliances from anywhere in the world, i initially wanted to use pc but coz its not portable want to swap pc with the following setup
a uart,microcontroller,eprom
i ask u guys how can i do it?
how can i interface uart with microcontroller?
how can i interface eprom with microcontroller?
can i get the circuits?if yes,plzzzzz post me the links
where can i get the required information??
jam_mafia is offline   Reply With Quote
Old 22nd February 2006, 11:36 AM   (permalink)
Default

Many micro-controllers already have internal UART's, or if not, it's VERY simple to create one in software, it's also easy to connect an I2C EEPROM to one. I suggest you check my PIC tutorials which shows how to do both!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 22nd February 2006, 11:55 AM   (permalink)
Default but wat abt this?

thanx nigel for that but wat abt
how can i interface eprom with microcontroller?
post me the links please
jam_mafia is offline   Reply With Quote
Old 22nd February 2006, 12:10 PM   (permalink)
Default Re: but wat abt this?

Quote:
Originally Posted by jam_mafia
thanx nigel for that but wat abt
how can i interface eprom with microcontroller?
post me the links please
What do you want an EPROM for? - sorry, I presumed you meant EEPROM (which would make more sense).
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 22nd February 2006, 03:54 PM   (permalink)
Default ya its eep

yeah its eeprom,so how to interface it with the microcontroller???
jam_mafia is offline   Reply With Quote
Old 22nd February 2006, 04:05 PM   (permalink)
Default Re: ya its eep

Quote:
Originally Posted by jam_mafia
yeah its eeprom,so how to interface it with the microcontroller???
As I said above, via I2C, and see my PIC tutorials for details!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 22nd February 2006, 04:19 PM   (permalink)
Default thanku

thanx for that!!ur tutorial rocks.
i have a doudbt might be silly though,i saw a IR transreceiver board in ur tutorial can it be connected to serial port of pc?
jam_mafia is offline   Reply With Quote
Old 22nd February 2006, 04:40 PM   (permalink)
Default i know

i know that my doubt is silly but answer this nigel
can we connect the ir transreceiver to serial port of pc???(that mentioned in the tutorials)
jam_mafia is offline   Reply With Quote
Old 22nd February 2006, 08:10 PM   (permalink)
Default interfacing micro to PC

what microcontroller are you using?

PIC? AVR? 8051?
There are loads of tutorials and sample source on the internet.

I can help you if you tell me what micro you are using.
johnsmith123 is offline   Reply With Quote
Old 22nd February 2006, 08:56 PM   (permalink)
Default Re: i know

Quote:
Originally Posted by jam_mafia
i know that my doubt is silly but answer this nigel
can we connect the ir transreceiver to serial port of pc???(that mentioned in the tutorials)
You could if you wanted! - but you would need to change the code accordingly.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 23rd February 2006, 04:55 PM   (permalink)
Default 8051

i am using 8051 john.hope to c ur reply.
nigel i am using a M27128A-2F1(M8803)---EPROM
so how wud i interface this with 8051 microncontroller
u also said that these days we r getting microcontrollers with UARTS in them cud u gimmie the model number of that?
jam_mafia is offline   Reply With Quote
Old 23rd February 2006, 05:06 PM   (permalink)
Default Re: 8051

Quote:
Originally Posted by jam_mafia
i am using 8051 john.hope to c ur reply.
nigel i am using a M27128A-2F1(M8803)---EPROM
so how wud i interface this with 8051 microncontroller
That's an EPROM, not an EEPROM - it's designed to interface to a micro-processor NOT a micro-controller, a micro-controller already has it's program memory internally.

What were you hoping to use the EPROM for?.

Quote:

u also said that these days we r getting microcontrollers with UARTS in them cud u gimmie the model number of that?
16F628, 16F877, 16F876 - to name just three common PIC's.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 23rd February 2006, 05:16 PM   (permalink)
Default from the start

we basically wanted to control te home appliances thru a GSM modem whichn is actually connected to the serial port of the pc.so then we thought if a pc was used then it wud nt be portable so we wanted to shift to the so called microcontroller to actually interface it with the uart and eprom(wat wud u advice shud it be eprom or eeprom????),so we want to connect the whole setup to the gsm modem and operate from any where in the world,can it be done this way or is there any easy way out?????
jam_mafia is offline   Reply With Quote
Old 23rd February 2006, 05:32 PM   (permalink)
Default Re: from the start

Quote:
Originally Posted by jam_mafia
we basically wanted to control te home appliances thru a GSM modem whichn is actually connected to the serial port of the pc.so then we thought if a pc was used then it wud nt be portable so we wanted to shift to the so called microcontroller to actually interface it with the uart and eprom(wat wud u advice shud it be eprom or eeprom????),so we want to connect the whole setup to the gsm modem and operate from any where in the world,can it be done this way or is there any easy way out?????
I see no reason for anything other than a single micro-controller?, EPROM's were used for program memory on micro-processors back in the 1970's, you would also need RAM chips and 'glue' logic chips to make a working computer.

A single micro-controller contains all that in a single, easy to use chip. Something like a PIC12F675 would do the entire project in one 8 pin chip, with hardly any support components required!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 23rd February 2006, 05:58 PM   (permalink)
Default thanx

thanx for that nigel but cud u please tell me more about PIC12F675 and the way in which we can actually make use of that????so how wud be the schematic?????wat else r needed???
jam_mafia is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 11:21 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.