There’s a way to allow your Pi to provide as much power to the connected USB devices as possible. Let me show you how.
Tag: raspberry pi
When using the Dataplicity service, you get logged into their default user ‘dataplicity’. You need to su into your regular user, usually ‘pi’. To make this more convenient (also less secure, so please consider yourself warned!) you can create a sudoers config to allow sudo-ing without a password, and then invoking a shell as the pi user from dataplicity user, without a password.
Currently there are two Raspberry Pi types which come with built-i WiFi modules: the Raspberry Pi 3 and the Raspberry Pi Zero W.
If you don’t have a display to connect the Pi to set it up, or you’ve ordered a Pi Zero W without the mini-HDMI adapter, HDMI cable and USB OTG cable for an USB keyboard, you can still use your Pi’s built in Wifi to connect to your home WiFi router, and reach the Zero W via SSH, using the IP address the router has assigned to it via DHCP.
I have a set of SilverCrest IP20 remote controlled sockets purchased in LIDL.
Remote: SilverCrest 113854 RCT DS1 AAA-A 3726
4x Switches: SilverCrest 113854 RCR DS1 3711-A IP20 FR 3726
These work on 433Mhz radio frequency, so the switches can be controlled using my Raspberry Pi instead of the remote control which came with the set.
Home automation projects often there is a need to measure the temperature and humidity of the air. This can be done with e.g. the DHT11 or the more advanced DHT22 sensors.
The AM2302 is a wired version of the DHT22, in a large plastic body. There is a 5.1K resistor inside the sensor connecting VCC and DATA so you do not need any additional pullup resistors. Here’s how to make it work.
In one of the previous posts I have shown how to control the socket’s with pilight and an RF transmitter.
Since the pilight protocol which will be able to control my outlets (quigg_gt9000) is not finished yet, I wrote a simple command which sniffs out the raw codes (with pilight-debug) and a bash script to use send these raw codes to control the outlets (with pilight-send).
At the time of writing this post, the newest device in the Raspberry Pi universe was Pi 3, released on 29th February 2016, boasting a 64bit CPU, an onboard Bluetooth chip, and last but not least: onboard WiFi.
We’ll focus on how to set up WiFi in this post.
[Attention!] I’ve started writing the original version of this tutorial in 2014, and back then I was cutting corners about the service user which should be running transmission-daemon, and some other settings as well. The below article is a major re-write of that article, which reflects my setup as of 2018, running on a Raspberry Pi 3B+ and Raspbian Stretch Lite (2018-06-27).
Here it goes…
Downloading (legal) content using torrents is very convenient, but if you plan to “seed” back the stuff, then you’ll need to keep your computer running 24/7 which won’t be good for your electricity bills. For this reason it’s a nice idea to use a Raspberry Pi as a “torrent server” a.k.a “seedbox” which will run day and night, as it’s power consumption is tiny compared to a laptop, let alone a desktop PC.
We’ll be using Transmission as a torrent client, which can be installed as a “daemon” running in the background all the time on the Raspberry Pi.
The Raspberry Pi is a cheap, little credit-card sized computer, which can be used for a myriad of projects. I’ll show you how to get it up and running, including the necessary peripherials. This guide is aimed on how to set up the Raspberry Pi 2 and 3 with wired ethernet connection.