I don't know if its just a dud I have or what, but I made a system in which the PC transmits a series of characters to a microcontroller via HM-TRP radio modules.
What I notice is that even though the program on the microcontroller is supposed to continuously accept serial data with high priority, the radio module sometimes stops working at random times for about 15 seconds to a couple of minutes then starts working again.
I can verify this because when the modules work, both red and green lights on both devices blink at a high rate, but when the module attached to the microcontroller doesn't want to work, its lights are fully out but the HM-TRP connected to the PC is always transmitting.
Both radio modules are given 3.3V through LM1117 regulators and the power supply to the regulators are 5VDC. The voltage conversion to the modules from 5V is done by feeding the data in and out through 74HCT04 inverters.
Each module has a 220uF decoupling capacitor attached to it and has a 915Mhz helical antenna attached as well since the module runs at 915Mhz.
Is there something with these HM-TRP units that I'm not configuring correctly? Or is one faulty? or what?
I set both to run at 38400 bps speed.
What I notice is that even though the program on the microcontroller is supposed to continuously accept serial data with high priority, the radio module sometimes stops working at random times for about 15 seconds to a couple of minutes then starts working again.
I can verify this because when the modules work, both red and green lights on both devices blink at a high rate, but when the module attached to the microcontroller doesn't want to work, its lights are fully out but the HM-TRP connected to the PC is always transmitting.
Both radio modules are given 3.3V through LM1117 regulators and the power supply to the regulators are 5VDC. The voltage conversion to the modules from 5V is done by feeding the data in and out through 74HCT04 inverters.
Each module has a 220uF decoupling capacitor attached to it and has a 915Mhz helical antenna attached as well since the module runs at 915Mhz.
Is there something with these HM-TRP units that I'm not configuring correctly? Or is one faulty? or what?
I set both to run at 38400 bps speed.