Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

What can I do with IGEP0022

898 bytes added, 11:26, 7 July 2011
m
no edit summary
/etc/init.d/xserver-nodm start
= Using How to use Telit Modem =
The IGEP0022 expansion board provides a Telit [http://telit.com/en/products/gsm-gprs.php?p_ac=show&p=47 GE865] GSM/GPRS&nbsp;modem which is connected to the OMAP via some GPIO pins and UART 2.<br>
*[http://telit.com/module/infopool/download.php?id=522 Telit Modules Software User Guide]<br>
Here there are a few instructions in order to introduce the Telit modem: <br>
=== Enable Here there are a few instructions in order to introduce the Telit Modem supportmodem.<br> ===
If this is your first time accessing Telit Modem, you must add the following line at the kernel file (igep.ini) in order to enable GE865 support&nbsp;:
<pre>buddy.modem=yes</pre> === Power Up<br> ===
The Now its time to power up your modem. You may read the official manufacturer [http://telit.com/module/infopool/download.php?id=1666 hardware user guide] explains , where there is a complete explanation about the complete sequence to power up the modem.<br>
The In IGEP0022, the modem is connected to 3 GPIO pins from the OMAP, which are: &lt;omap_pin_name (modem_function)&gt;
*GPIO_140 (Reset)
You can power up your modem using the following sequence:
(Note: the following instructions are correctly 'toggled' do to pull-up resistors. Refer to schematics at the official [http://igep.es/index.php?option=com_content&view=article&id=99&Itemid=129&dir=%2Fvar%2Fwww%2Fvhosts%2Figep.es%2Fhttpdocs%2Fdownloads%2F01-ISEE_Products%2FIGEPv2_EXPANSION%2FHW_Schematics&download_file=%2Fvar%2Fwww%2Fvhosts%2Figep.es%2Fhttpdocs%2Fdownloads%2F01-ISEE_Products%2FIGEPv2_EXPANSION%2FHW_Schematics%2FIGEP.0022-EXP_BOARD_SCH_rev_b3.pdf IGEP0022 Hardware Manual] from ISEE) <pre>echo 0 &gt; /sys/class/gpio/gpio140/value # Sets to 'echo 1 &gt; /sys/class/gpio/gpio141/valuesleep 1' echo 0 &gt; /sys/class/gpio/gpio141/value</pre> Once the modem Reset pinis on, you can interact with it via UART 2. You can use Microcom to comunicate with it from the serial debug console: <pre>microcom -s 115200 /dev/ttyS1</pre> (Note:&nbsp;GE865 has auto baud rate detection, so you can use a different speed)<br>
echo 1 &gt; /sys/class/gpio/gpio141/value # Sets to '0' To check the modem On_Off pinstatus use the command:<br> <pre>at</pre> Answer should be OK.<br>
sleep 1(Note: correcting syntax with 'backspace' may cause error in a serial command if you are not writing the command at first take)
echo 0 &gt; /sys/class/gpioIn order to use your GSM/gpio141/value # Sets GPRS you should insert a valid SIM card to '1' the modem On_Off pin</pre>SIM card reader of your IGEP0022 expansion board.
=== Check statusNow unlock it by inserting your SIM&nbsp;card PIN&nbsp;number. Use the command:<br> <pre>at+cpin===&lt;PIN&gt;</pre>If you correctly inserted the PIN&nbsp;number, the answer should be OK.
Once the modem is on(Note: If you fail more than 3 times, your SIM&nbsp;card will lock and you can interact with it via UART 2will have to insert PUK number. You can use Microcom to comunicate with it from the serial debug console: ) <pre>microcom -s 115200 /dev/ttyS1 # GE865 has auto baud rate detection, so Now you can are ready to use a different speed</pre> You can check the list of all commands at the manufacturer [http:GSM//telit.com/module/infopool/download.php?id=522 software user guide]GPS modem. (Note: correcting syntax with 'backspace' may cause error in a serial command)
To check the modem status use the command:<br><pre>at</pre>Answer should be OK.<br>== Examples ==
=== PIN insertion<br> ===If you successfully '''followed the the previous instructions''', you are ready to test the GSM/GPRS&nbsp;modem. Here are some examples of simple&nbsp;commands:
To insert your PINYou can check the complete list of AT&nbsp;number use commands at the commandofficial manufacturer [http:<br> <pre>at+cpin//telit.com/module/infopool/download.php?id=&lt;PIN&gt;</pre>522 software user guide].
=== Making a phone call<br> ===
If previously inserted the PIN, use Use the instruction:
<pre>atd &lt;number_to_call&gt;
</pre>
=== Sending a SMS<br> ===
There are so many ways in this modem to send a message. Here you have a simple example. If previously inserted the PIN, use Use the instruction:
<pre>at+cmgs="&lt;destination_number&gt;"
&gt; &lt;insert_here_your_text_message&gt;
</pre>When you are ready to send your message use Ctrl+Z to send it.
If you want to cancel or restart the message press ESC.<br>
0
edits