Relay I/O Board is widely used in applications of smart home project. In this article, I will detail how to control the Relay I/O board using Raspberry Pi with Raspberry Pi Universal Expansion Board via internet. The codes and schematic…
Relay I/O Board is widely used in applications of smart home project. In this article, I will detail how to control the Relay I/O board using Raspberry Pi with Raspberry Pi Universal Expansion Board via internet. The codes and schematic…
Prerequisites: Part 3: Using Serial Port on Universal Expansion Board Python CGI script with lighttpd (Root privileges are required) 1. Install pyserial on RaspberryPi a. Download pyserial-2.5.tar.gz (106.3 kB) b. unzipping and untaring gunzip pyserial-2.5.tar.gz tar -xvf pyserial-2.5.tar c. Install…
1.Edit lighttpd.conf $sudo vim /etc/lighttpd/lighttpd.conf 1. Change cgi.assign = (".php" => "/usr/bin/php5-cgi") server.error-handler-404 = "/index.html" To cgi.assign = (".php" => "/usr/bin/php5-cgi", ".py" => "/usr/bin/python" ) server.error-handler-404 = "/index.html" 2. Change static-file.exclude-extensions = ( ".php", ".pl", ".fcgi") To static-file.exclude-extensions = (…
Prerequisites: Part 1: Using Serial Port on Universal Expansion Board RaspberryPi Universal Expansion Board Raspberry Pi Using Serial Port with the Raspberry Pi - Connecting Raspberry Pi's Serial Port with the onboard STM32 MCU At first, we need to attach…
Prerequisites: RaspberryPi Universal Expansion Board MAX 3232 Pmod Board (Page 5) Raspberry Pi Using Serial Port with the Raspberry Pi - Getting all Linux Kernel outputs via Serial Port At first, we need to attach Raspberry Pi and MAX 3232…
Prerequisites: RaspberryPi Universal Expansion Board MAX 3232 Pmod Board (Page 5) Using Serial Port with MAX 3232 Pmod Board Our goal is connecting the STM32 MCU (STM32F103RBT6) to the Computer's Serial Port via the onboard CPLD(EPM240T100C5) and the MAX 3232…