Continue to Site

Welcome to EDAboard.com

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.

Wireless device control comparision problem using Atmega8

Status
Not open for further replies.

hardik.patel

Member level 5
Joined
Aug 15, 2012
Messages
94
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
2,008
Hi,

I need to control device using atmega8 wirelessly. For that i purchased uart module from sunrom.
which i can interfaced serially with atmega8.
I had complete that task in proteous but i can control only 1 device at a time. It means in the receiver part coding
somewhere my mistake...that whatever 1st key pressed thts controlled and rest are not considerable.

Its a issue of basic C language but i cant solve it, so here i attached code+proteous file..

Kindly solve my little mistake....i need to do is...what ever key i pressed that should be on

Device:Atmega8
Compiler: Winavr_GCC Programmer's notepad



Regards,
Hardik
 

Attachments

  • complete with 7.37.rar
    230 KB · Views: 33

What commands are you sending to the receiver. Show all commands.
 

@milan,
if you simulate that file in proteous you can get complete idea of that.

"here i attached code+proteous file.."

Btw, i just doing serial transmission n reception nothing else....
on receiver side i just comparing incoming char.....if that compared than respective pins get HIGH.

Once go 4 simulation, there u can also visualize the transmitted char as well as received char.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top