Contents
How to control a Raspberry Pi robot with HTML?
The idea is to control the robot (or anything), using low level commands written with shell scripts commanded straight from a HTML page. Not using higher level languages as Python for example, makes the robot very responsive and quick to act. In this part of the project we will learn:
Which is the best Lighttpd for Raspberry Pi?
Lighttpd like NGINX is a fast and memory efficient alternative to Apache that is designed to have a relatively low memory footprint and a small CPU load, both of which are perfect qualities for the Raspberry Pi. One of the largest users of Lighttpd is the Wikimedia Foundation.
How do you connect a led to a Raspberry Pi?
Some wires and a breadboard. Connect the LED as pictured. Connect the anode (longer pin) to the 3.3V pin on the Raspberry Pi. Connect one end of the 220 Ohm resistor to the cathode (short pin) and the other end to wiring pi pin 8 (SDA on all Raspberry Pi Model B boards). You will need to install a few packages via apt.
How to setup Raspberry Pi my life up?
Raspberry Pi Setup Lighttpd 1 Now before we go to install Lighttpd, we need to update the Raspberry Pi to ensure we are running the latest software. 2 Now with the Pi up to date, we will need to remove Apache2. 3 With the Raspberry Pi now up to date and Apache removed, we can get on with installing Lighttpd. See More….
How to control Raspberry Pi GPIO via web page?
You bought your Raspberry Pi, and managed to create a python script to turn on/off an LED via GPIO. Then you are wonder “How can I control the GPIO via a web page”?
How to control Raspberry Pi via HTTP web server?
Run the python script with the following command: Launch your browser and point the URL to the IP address and port of your Raspberry Pi, and you should see the web page, click on On/Off buttons to control the LED that connected to your Raspberry Pi.
Is there a command line utility for Raspberry Pi?
WiringPi is a GPIO access library written in C for the Raspberry Pi. It is very ease to use and simplify a lot any project involving RPi and electronics. The WiringPi library includes a command-line utility ” gpio ” ( wiringpi.com/the-gpio-utility) that can be used to program and setup the GPIO pins.