Instructions

Ausgabe 22.09.2017 Copyright by Joy-IT 17
3
RPi - Explorer700
Python Program:
Open the console and enter the following commands:
Expected result: press one of the buons of the infrared remote. The console will show which buon you
pressed.
Press CTRL+C to exit the program.
10. UART Example - Receiving serial data
Note: The Raspberrys serial port is set to debug by default. To use this program, you have to disable this
funcon which will disable the serial debugging funcon. In this case you need to use another method to
debug your Raspberry Pi. You can use an external HDMI-Displayer or SSH for example.
wiringPi Program:
Open the console and enter the following commands:
Connect the extension board to a PC with the USB to UART interface und congure the serial
communicaon-soware on your pc (you can use the soware „PuTTY“ to show the serial ports). Choose
the right serial port number and set the baudrate to 115200. Aerwards you can use your pc to send data
by serial communicaon to your Raspberry Pi. Aer receiving them by your Raspberry, the data will also
be displayed on the serial monitor on your pc.
sudo python irm.py
cd /Explorer700/IRM/python
irm test start:
Get the key: 0x0c
Get the key: 0x18
Get the key: 0x5e
make
sudo ./UART
cd /Explorer700/UART/wiringPi