I working on program to send text message using a NEOWAY M50E modem and PSoC4. When i test run my code it works perfectly, but when i connect the modem to PSoC4, the controller doesnt receive its input asin no message is sent to the mcu. The modem is working properly cos i sent AT command to it using HTERM n it works properly. What i feel is the problem is that problem the modem is receiving or understanding its signal....
What can i do please?
Does the modem use _real_ RS232 (meaning with +/-12V levels)? The PSoC4 uses TTL levels (and when you run it with 3.3V even less). You need a Rs232 level shifter (e.g. MAX232 and all its siblings).
Thanks alot for your response.
I am a computer Scientist , that turned engineer just recently. Kindly help me break down your reply assuming it being a layman you are replying to.
As long as you are using this module then you would be okay as it runs on 3.3V. See photo. I would scope the Serial channel to make sure.
In PSOC Creator select File and then Select Create workspace bundle. Then select add attachment below and select the file that Creator made and clock submit.
dont know how to post the code. Its been giving me errors. tried uploading as well it doesnt have an option to upload from system
As bob said, first create archive of your project from PSoC Creator. For that first you can go to file -> Create workspace bundle. Select the minimal option there. The file will be available in archive folder in your project location. Here in forum there is an option to add attachment below the comment section. You can browse to the file and attach.