i have a project to transmit data wireless using rf modules using 433Mhz....with AT89C51 microcontroller....plz anyone post me a assembly code for this transmission....!!!!!
this can be changed. it ran at 12MHz not at 433MHz but I think it will be ok.
mov dpx, a mov dph, #0 mov dpl, #0 movx a, @dptr ; get the first byte on this page mov b, a ; store it in b push ie clr ea ; disable interrupts while we write clr a ; try to write a 0 movx @dptr, a nop nop movx a, @dptr ; did it stick? jnz f_eb_isflash mov a, #0FFh ; now try to write FF movx @dptr, a nop nop movx a, @dptr ; did it stick? cpl a jz f_eb_restore ; if zero, it wrote and must be RAM ; ; if it didn't stick, it is probably flash. try to erase. ; f_eb_isflash: mov a, r7 ROMCALL ROMXT_FLASHSECTORERASE pop ie ; restore interrupts mov r7, #0 jc f_eb_exit f_eb_fail: mov r7, #1 ; flag failure if carry bit clear
If your project just requires presenting the work of others, then there are plenty of 433MHz radio modules that connect with a simple CMOS serial interface.
www.hoperf.com/.../HM-TRP.htm
thanx.....!!!!!!......can u plz write code using serial transmission also.....!!!!!!
thanx....!!! a lot.....!!!!
Thanks for that - it answers an entirely unrelated question for me!!
:-)
I've played around with the 433 MHz and 915 MHz versions using Tridge's SiK firmware as 3DR Radios, work quite nicely, and have a good throw, shudder to think of the regulatory compliance though...
uav.tridgell.net/.../telemetry.pdf https://github.com/tridge/SiK