Tags » Raspberry Pi

Processing and Android

When working with Arduinos, I typically program the graphical user interfaces (GUI) in either Python or Processing (https://processing.org/).  Normally it is Python as I already had more experience and it has a wider range of functions. 189 more words

Arduino

Temperature Controlled Fan

A simple circuit that controlls a fan based on the temperature of the Raspberry Pi.

import RPi.GPIO as GPIO
from time import sleep

GPIO.setmode(GPIO.BOARD)

pinFan = 22
GPIO.setup(pinFan, GPIO.OUT)

limit = 60

try:
    while True:
        tFile = open('/sys/class/thermal/thermal_zone0/temp')
        temp = float(tFile.read())
        tempC = temp/1000
        print(tempC)
        if tempC > limit:
            GPIO.output(pinFan, True)
            print("Fan On")
        else:
            GPIO.output(pinFan, False)
            print("Fan off")
        print("")
        sleep(10)
except KeyboardInterrupt:
    tFile.close()

GPIO.cleanup()
Python

Using Pi-hole Visualizer for a Quick Look into Your Ad-Blocking Stats


In my opinion Pi-hole is one of the best things you can do with a Raspberry Pi, all you have to do is set it up once and sit back and enjoy ad-free web browsing. 514 more words

Editorials

Raspberry Pi 3 Raspbian: Running a Flask server

In this tutorial, we will check how to start a very simple Flask server on the Raspberry Pi and return a “Hello World” message to clients that send a request to it.  1,110 more words

Python

Raspberry Pi 3 Raspbian: Running Python scripts on IDLE

In this tutorial, we will check how to write Python scripts and run them using IDLE, a Python IDE. This tutorial was tested on a  601 more words

Python

Code Start

As we covered in the previous posts, I plan to build a blockchain like software because I want something that runs on Raspberry Pi and I also want a bit more control. 788 more words

Blockchain