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 buons of the infrared remote. The console will show which buon 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
funcon which will disable the serial debugging funcon. 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 congure the serial
communicaon-soware on your pc (you can use the soware „PuTTY“ to show the serial ports). Choose
the right serial port number and set the baudrate to 115200. Aerwards you can use your pc to send data
by serial communicaon to your Raspberry Pi. Aer 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