完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在尝试将PIC16F与SIM800接口。它在没有使用SIM800和PIC之间的串行中断的情况下工作良好。但是现在,串行中断在PC终端上运行良好,但只要我用TTL与SIM800接口,就无法触发。可能的bug是什么?我尝试过不同的拖延。串行中断在PIC和PC终端之间很好,但不是SIM800,任何人都可以引导我通过它。
以上来自于百度翻译 以下为原文 I am trying to interface pic16f with sim800. It works all fine without using serial interrupt between sim800 & pic. But now, Serial interrupt works fine with PC terminal but as long as i interface with sim800 using TTL, I am unable to trigger. What could be the possible bug? I have tried with different delays. Serial interrupt works excellent between pic and PC terminal but not with sim800...can anyone please guide me through it. |
|
相关推荐
3个回答
|
|
你已经问了完全相同的问题,Atttp://www. McCHIP.COM/FoMss/FordPas/10039 79.请不要启动关于同一个问题的多个主题,一旦得到了两个答案流,它就会变得非常混乱。
以上来自于百度翻译 以下为原文 You have already asked exactly the same question at http://www.microchip.com/forums/FindPost/1003979 Please don't start multiple topics about the same question, it gets very confusing, once you get two streams of answers. |
|
|
|
|
|
|
|
一旦你得到了两个答案流,它就变得非常混乱。是的,它已经发生了:-你用SIM800发送数据的范围来验证了吗?另外,你应该验证你能从你的PIC发送(TX)数据到SIM800能与终端程序通信是好的,但它不允许你的线路是正确的,你使用正确的电压水平,发送正确的命令和正确的线路终止字符。U测试?你需要提到你已经测试过的,你期待什么,你看到了什么。还提到了已经预期的工作。(例如,您可能已经成功发送了SMS,或者任何证明您的SIM800正在接收来自PIC的输入)
以上来自于百度翻译 以下为原文 it gets very confusing, once you get two streams of answers. Yes, it already happened :-) Have you verified with e.g. a scope that the sim800 is sending data at all ? Also you should verify that you can send (TX) data from your PIC to the sim800 Being able to communicate with the terminal program is good, but it does not grant that your wiring is correct, that you use correct voltage levels, send correct commands and correct line termination characters. How are you testing ? You need to mention what you already tested, what did you expect, what did you see. Also mention what already works as expected. (e.g. possibly you already could send an SMS successfully, or whatever proves that your sim800 is receiving input from the PIC) |
|
|
|
只有小组成员才能发言,加入小组>>
5160 浏览 9 评论
1998 浏览 8 评论
1927 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3170 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2225 浏览 5 评论
727浏览 1评论
612浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
501浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
626浏览 0评论
524浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 08:22 , Processed in 1.300936 second(s), Total 80, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号