• 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
返回

电子发烧友 电子发烧友

  • 全文搜索
    • 全文搜索
    • 标题搜索
  • 全部时间
    • 全部时间
    • 1小时内
    • 1天内
    • 1周内
    • 1个月内
  • 默认排序
    • 默认排序
    • 按时间排序
  • 全部板块
    • 全部板块
大家还在搜
  • 请问怎样在labview里面编写morse code的发射和接收程序?

    请问怎样在labview里面编写morse code的发射和接收程序?

    2015-01-09 12:00

  • HaLow抢进IoT市场802.11ah还有发展机会吗?

    在拥挤的LPWA空间是否有802.11ah的发展机会RISC-V协助催生Morse的HaLow芯片

    2020-12-29 06:18

  • esp32s3使用RMT多通道发送时总有一个通道比别的通道慢20ns,为什么?

    const rmt_item32_t morse_esp[] = {{{{1, 1, 1, 0}}},{{{1, 1, 1, 0}}},{{{1, 1, 1, 0}}},{{{1, 1, 1, 0

    2024-06-06 06:24

  • 查看morse_isr.c文件时报告了许多错误

    函数体后函数声明“在线:CysISR(MySeId中断)。另外,有很多错误报告时,查看morse_isr C文件。我相信这是简单的东西,我看但我不清楚消息(S),我感觉这是造成项目不正确。然而,这些代码

    2019-01-17 10:56

  • PROJECTRJS1.XMORS给出编译器错误E1.ASM 151

    is giving a compilererror withError[151]D:\CURRENT PIC PROJECT\RJS1.X\MORSE1.ASM 151 : Operand contains

    2019-07-22 15:01

  • 如何实现树莓派并行控制电机?

    如何实现树莓派并行控制电机?

    2021-10-28 06:54

  • 如何利用FPGA设计摩尔斯电码的无线通信发射模块?

    本文从基于FPGA平台的专用芯片设计技术入手,分析和设计了一种摩尔斯电码的无线通信发射模块设计方案,并对设计进行了仿真验证。

    2021-05-06 07:39

  • 计数器怎么重置

    大家好,我正在制作一个应用程序,它通过Modbus通信到一个设备上,我想检测它们之间是否存在通信丢失,以便激活一个警报。好的,我已经实现了一个带有TMR2的计时器,如果没有20个以上的APROX,就可以激活警报。它可以正常工作,闹钟被激活,但是经过一段时间后,计数器复位,警报被解除,直到另一个20秒的通信丢失。我把代码的碎片留给了我,因为任何人都能告诉我问题是什么,因为我不能用FI。任何感觉…TMR2Y-中断复位到0 TMR2Y计数器,如果我收到任何数据,只有在RXI中断。当计数器复位时,没有RXI中断,我已经证明了。报警管理如果您需要更多信息,不要犹豫问我。希望有人能给我一些启示,因为我疯了…多谢 以上来自于百度翻译 以下为原文 Hi everyone, I am making an application that communicates by MODBUS to a device and I want to detect if there is a loss of communication between them so as to activate an alarm. Ok, i have implemented a timer with TMR2 so as to activate the alarm if there are more than 20 seconds aprox without communication. It works all right, the alarm is activated but after a period of time the counter resets itself and the alarm is desactivated untill another 20s of loss of communication. I left you the fragment of code where I implement this so as anyone could show me what the problem is because i can´t find any sense.... TMR2_Interrupt //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//+INTERRUPT SERVICE ROUTINE//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//-----------------------------------------------------------------------------//- HIGH INTERRUPT Addressing -//-----------------------------------------------------------------------------#pragma code HighInterruptVector = 0x0008void HighInterruptVector (void){_asm goto HighInterruptRoutine_endasm}//-----------------------------------------------------------------------------//- HIGH INTERRUPT Function -//-----------------------------------------------------------------------------#pragma interrupt HighInterruptRoutinevoid HighInterruptRoutine (void){ if (PIR1bits.TMR2IF) {if (TMR2_Counter32000) //1 second{ syncAlarmCounter_Aux = 0; syncAlarmCounter ++; if (syncAlarmCounter > 15) //Seconds of Time Out for loss of synchronism alarm {PORTCbits.RC0 = 0; //Activate Relay if loss of synchronism alarm detected while x period of time (Negative Logic)PORTCbits.RC1 = 0; }}}else //For any other alarm activate Relay{alarmCounter_Aux ++;syncAlarmCounter = 0; //Reset the loss of synchronism Alarm counterif (alarmCounter_Aux > alarmTimeOut_Aux) { alarmCounter_Aux = 0; alarmCounter ++; if (alarmCounter > alarmTimeOut) {PORTCbits.RC0 = 0; //Activate Relay if alarm detected (Negative Logic)PORTCbits.RC1 = 0; }} }if (TMR2_Counter > 1250) //20s without RS485 communication{PORTCbits.RC0 = 0; //Activate Relay if alarm detected (Negative Logic)PORTCbits.RC1 = 0;} } else {alarmCounter = 0;syncAlarmCounter = 0; //Reset the loss of synchronism Alarm counterif (TMR2_Counter > 1250 ) //20s without RS485 communication{PORTCbits.RC0 = 0; //Activate Relay if alarm detected (Negative Logic)PORTCbits.RC1 = 0; }else{PORTCbits.RC0 = 1; //Desactivate Relay if no alarm detectedPORTCbits.RC1 = 1;} } If you need more info don´t hesitate to ask me. Hope anyone could bring some light to this, because I´m getting mad... Many thanks

    2019-04-18 12:25

  • AVR studio6烧写程序

    想请问一下,这个版本怎么烧程序?我有JTAG的下载线。谢谢各位能花点时间帮我这个菜鸟一下,在网上搜了搜不到所以猜到论坛上来请教的。

    2013-07-23 21:30

  • 什么是GFSK调制?有哪几种调试方式?

    RFM75发射端的工作流程是怎样的? 什么是GFSK调制?有哪几种调试方式?

    2021-10-09 09:00