cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4

gamac_2277161
New Contributor

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?

0 Likes
13 Replies
HeLi_263931
Honored Contributor II

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).

0 Likes
gamac_2277161
New Contributor

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.

   

thanks alot

0 Likes
gamac_2277161
New Contributor

Please can you aid me with a sample program to interface PSoC4 and 4x4 Keypad. Thanks alot.

0 Likes
Bob_Marlowe
Expert II

Have a look here.

   

 

   

Bob

0 Likes
rola_264706
Honored Contributor II

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.

   

0 Likes
rola_264706
Honored Contributor II

You could try this device to interface to the modem.

   

0 Likes
rola_264706
Honored Contributor II

Please post your PSOC code so we can check it.

0 Likes
gamac_2277161
New Contributor

below;

0 Likes
rola_264706
Honored Contributor II

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.

0 Likes
gamac_2277161
New Contributor

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

0 Likes
Vasanth
Moderator
Moderator

Hi ,

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.

Best Regards,
VSRS

0 Likes
gamac_2277161
New Contributor

Good day, 

   

I have uploaded the file, kindly help me look at it.

0 Likes
gamac_2277161
New Contributor

File has been attached. thanks a bunch

0 Likes