i am making a home automation project
i have to accept input coming from xbee by rs232 serial cable and decode this input and activate corresponding appliance…
we have to submit a prototype for it …we made a uc attached with 8 leds …(tested by program uc by blinking led program)… and i tested tht xbee send me appropriate input(by using bioscom function in windows ) …now i have to made a program that accept input from RS232 and i will activate the corresponding led to the input (like if A come as input then i have to glow led 1)… i have no idea of avr programming and can u plz help me for making these program …thnks in advance…!!!
how long until the Professor’s requiring this to be complete?
I suggest you look at using Arduino. There are lots of tutorials and examples on that here and on the Arduino web sites.
The XBee uses a 3.3V serial data interface, bi-directional. If this is to connect to an AVR microprocessor rather than to a PC, then you may want to not use an RS232 interface. Don’t confuse RS232 with serial data; RS232 is one standard electrical voltage interface for serial data (UART); 3.3V logic level is another.
Try AVR Freaks, the people there will tell you what to do with your project.
stevech:
how long until the Professor’s requiring this to be complete?
I suggest you look at using Arduino. There are lots of tutorials and examples on that here and on the Arduino web sites.
The XBee uses a 3.3V serial data interface, bi-directional. If this is to connect to an AVR microprocessor rather than to a PC, then you may want to not use an RS232 interface. Don’t confuse RS232 with serial data; RS232 is one standard electrical voltage interface for serial data (UART); 3.3V logic level is another.
thanks for helping …!!!
yaah i may direct use it with uc but i have a interface board with xbee …having rs232 interface…so connect tx and rx to max232 ic and with atmega32 …now i want to write a program to just show a prototype till tomorrow evening …!!!
will u help me in coding please …i m getting problem in init of atmega32 spi commmunication…!!!