chipKIT® Development Platform

Inspired by Arduino™

connect GSM shield??

Created Tue, 14 Aug 2012 03:18:51 +0000 by kllsamui


kllsamui

Tue, 14 Aug 2012 03:18:51 +0000

hallo, i have the GSM/GPRS shield V1 / V1.2 from seeed [url]http://www.seeedstudio.com/depot/gprs-shield-p-779.html[/url] and use with arduino 1.0.1

SoftwareSerial GPRS_serial(7, 8); // Order is input pin, output pin

getCharRX = GPRS_serial.available();   // number of bytes recieved  

GPRS_serial.write(0x1A);                // end of message command 1A (hex)  26 DEC ctrlZ

as i understand in MPIDE(23) the new serial software is not available? and copy it: NewSoftSerial11.zip to mpide-0023-windows-20111221\hardware\pic32\libraries
gives many errors about

// 
// Includes
// 
#include <avr/interrupt.h>
#include <avr/pgmspace.h>
#include "WConstants.h"
#include "pins_arduino.h"
#include "SoftwareSerial.h"
#include "icrmacros.h"

what i have to modify to use software serial?

or is there a way to use hardware serial? Serial3: Tx=14 Rx=15 Serial2: Tx=16 Rx=17 Serial1: Tx=18 Rx=19 ?

pls advise how to send SMS from chipKIT MAX32


Jacob Christ

Tue, 14 Aug 2012 18:02:21 +0000

I think you may be using a Arduino SoftwareSerial Library rather than one for chipKIT. Where did you get the SofwareSerial lib from?

Also, if you use the current RC4 release of MPIDE it has software serial.

http://www.chipkit.org/forum/viewtopic.php?f=6&t=1495

Jacob


kllsamui

Wed, 15 Aug 2012 01:10:45 +0000

yes, i tried the original from http://arduiniana.org no, i only check mpide-0023-windows-20120715-test whats still the old one.

thanks for the tip, later more

NO, mpide-0023-windows-20120811-test.zip still same old mpide-0023-windows-20120811-test\hardware\pic32\libraries\SoftwareSerial\SoftwareSerial.cpp

why have also mpide-0023-windows-20120811-test\libraries\SoftwareSerial\SoftwareSerial.cpp also same??

WHERE I CAN FIND THAT NEW SOFT SERIAL FOR PIC32 pls?


kllsamui

Sat, 18 Aug 2012 10:53:36 +0000

/ SOLVED / modify lib new soft serial for UNO32 from KurtE, mod MAX32 modify jumper on SEED GPRS shield to connect D10 (rx) SMS OK


Jacob Christ

Thu, 30 Aug 2012 19:43:24 +0000

Do you have repo with your working project posted somewhere, or can you post it? This looks like a cool card to play with...

Jacob


kllsamui

Fri, 31 Aug 2012 00:20:26 +0000

downloads from [url]http://kll.byethost7.com/kll_en7/downloads.php?cat_id=3[/url] MAX project: POWER METER TOOLBOX blog [url]http://kll.byethost7.com/kll_en7/news.php?readmore=34[/url]