Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

What can I do with IGEP BERLIN

1,131 bytes added, 13:53, 9 September 2015
m
How to Telit Modem
*Power up the modem using the next commands:
$ <pre>echo 0 &gt; /sys/class/gpio/gpio145/value $ echo 1 &gt; /sys/class/gpio/gpio163/value $ sleep 1 $ echo 0 &gt; /sys/class/gpio/gpio163/value</pre>
*Once the modem is on (led near power button is blinking now), you can interact with it via UART 2.
A detailed guide on how use wifi can be found by following this link: [[Using USB ethernet gadget to communicate]]
== How to read analog values (ADC) ==
IGEP BERLIN provides 2 analog inputs on J1206: Maximum allowed analog voltage is 1V8.
[[Image:BASE_BERLIN_CONNECTORS.png|centerright|500px300px]]
To protect the ADC input for higher voltages than 1V8, exist a diode protection (Z300). See diagram on the right side.
[[Image:BERLIN_ADC_SCHEMA.png|centerright|500px300px]] To prove the lectures, you have examples codes written in phyton in the ISEE GIT. [http://git.isee.biz/?p=pub/scm/igep_qa.git;a=blob_plain;f=igep_qa/helpers/madc.py;hb=HEAD Downlaod Python example] [http://git.isee.biz/?p=pub/scm/igep_qa.git;a=tree;f=igep_qa/helpers;h=e0671966af9f539bdd7628e101c181d8e74dc506;hb=HEAD ->Link to GIT directory] To read the ADC2 or ADC3 you have to modify one line of code at end of document for the channel 2 or 3.  madc = QMadc(2) or madc = QMadc(3) You have another example written in c. [[File:BERLIN_ADC.tar.gz]]
Warning: There is a small deviation in reading values near to 1V8 due to this protection.
The TPS65950 datasheet describes chip can support up to 2.5V at the ADC input .
Datasheet: http://www.ti.com/lit/ds/symlink/tps65950.pdf
Under his responsibility can desolder for more accurate readings.
The TPS65950 datasheet describes chip can support up == How to 2.5V at the ADC input . Under his responsibility can desolder for more accurate readings.operate USER LED's ==
To prove On BASE0010 the lectures, you have examples codes in two leds are available via gpio 19 and 22. See the isee git.example below:
http=== For D103 LED USER1(GPIO22)://git.isee.biz/===
Open pubWe publish the virtual file system to configure elements of the chip via the Linux kernel mount -t debugfs none /scmsys/igep_qa.git, kernel/debug/omap_muxSet the pin as function gpio22 click on echo 0x104 > /sys/kernel/debug/omap_mux/etk_d8Do gpio22 accessible echo 22 > /sys/class/gpio/exportConfigure the lastest file. And search this folders.pin as output echo out > /sys/class/gpio/gpio22/direction
igep_qa LED ON: echo 1 > /helperssys/madc.pyclass/gpio/gpio22/value LED OFF:echo 0 > /sys/class/gpio/gpio22/value
To read the ADC2 or ADC3 you have to modify one line of code at end of document for the channel 2 or 3.=== For D103 LED USER2 (GPIO19): ===  echo 19 > /sys/class/gpio/export echo out>/sys/class/gpio/gpio19/direction
madc = QMadc(2) LED ON: echo 1 > / madc = QMadc(3)sys/class/gpio/gpio19/value LED OFF:echo 0 > /sys/class/gpio/gpio19/value
4,199
edits