Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

What can I do with IGEPv2

1,999 bytes added, 12:36, 11 May 2016
no edit summary
|ISEE_Hardware={{#lst:Template:Links|IGEPv2_ISEE_Hardware}}
}}
 
 
__TOC__
In this second chapter, we will learn some basics tasks. Upon completion, you will be ready to continue with chapter 3/3 that explains more advanced tasks.
 
 
__TOC__
 
= What can I do =
A detailed guide on how use GPIO-LEDS can be found by following this link: [[How to handle the gpio-LED]]
 
== Handle generic GPIO ==
See [[How_to_use_GPIOs|GPIOs HOWTO]] to know details about that.
Quick example could be:
<pre>echo 156 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio156/direction
echo 0 > /sys/class/gpio/gpio156/value</pre>
 
<pre>echo 157 > /sys/class/gpio/export
echo in > /sys/class/gpio/gpio157/direction
cat /sys/class/gpio/gpio157/value</pre>
== How to use UART1 (RS232) ==
On the target board open a serial port as follows:
$ microcom -s 115200 /dev/ttyS0
Now when you write a character in you PC serial port, the character should appear in the target board.
{{#lst:How to use RS485|overview}}
 
A detailed guide on how use UARTS can be found by following this link: [[How to use RS485]]
External Audio input devices, such as a powered microphone or the audio output of a PC or MP3 player, can be connected to the via a 3.5mm jack (Audio IN).
 
Note that the board has been designed to use Line In for the audio input which means users need to add some type of pre-amp for a microphone to work or use a powered microphone. For a pre-amp for a microphone you can use MAX9812.
 
Enable capture:
 
<pre>amixer -c 0 sset 'Analog Right AUXR' cap
amixer -c 0 sset 'Analog Left AUXL' cap </pre>
You can record audio in with the application arecord, for example:
$ <pre>arecord -t wav -c 2 -r 44100 -f S16_LE -v audio-in.wav</pre>
Following output is expected on console:
$ aplay audio-in.wav
== How to change the monitor resolution use wifi == If you have a wireless network adapter in your computer you can also connect to the board using the ad hoc network connection that the firmware configures byu default. Use your wireless manager to connect to the wireless network called in the form  IGEP_xx After connecting, a DHCP IP address should be adquired. Now you can access, for example with ssh, to the target board connecting to the 192.168.7.1 address.  $ ssh root@192.168.6.1
== How to A detailed guide on how use wifi ==can be found by following this link: [[Using IGEP WLAN to communicate]]
== How to use bluetooth ==
== A detailed guide on how use bluetooth can be found by following this link: [[How to test 3D acceleration ==setup Marvell bluetooth]]
== How to use the SD card ==
 
You can connect a micro SD card for storage. After plugin the SD card the kernel should detect the card and automount in /media directory.
== How to use the USB OTG ==
== How In order to act in host mode and add some peripherals like keyboard, mouse or pendrives you require a special cable that grounds the ID pin. Since the OTG port only provides 100mA of power a USB hub is recommended. Though a common USB Standard-A to Mini-B type cable the port acts as a device. In this mode you can connect to the board using the USB Ethernet Gadget. Use this cable between your computer and the target board and connect with:  $ ssh root@192.168.7.1 A detailed guide on how use the wifi can be found by following this link: [[Using USB HOST ==ethernet gadget to communicate]]
{{Template:Navigation/IGEP Technology Guides/What can I do/Ending}}
[[Category:IGEP Technology Devices Guides]]
0
edits