Skip to main content

Posts

Showing posts with the label DIY

Get Started With Image Recognition Using TensorFlow and Raspberry Pi

The post Get Started With Image Recognition Using TensorFlow and Raspberry Pi appeared first on BardTech . TensorFlow is Google’s Neural Network library. Given that machine learning is the hottest thing around currently, it is no surprise that Google are among the leaders in this new technology. In this article, you will learn how to install TensorFlow on the Raspberry Pi, and run simple image classification on a pre-trained neural network. Getting Started To get started with image recognition, you will need a Raspberry Pi (any model will work) and an SD card with the Raspbian Stretch (9.0+) operating system (if you’re new to the Raspberry Pi, use our installation guide ). Boot up the Pi and open a terminal window. Make sure your Pi is up to date, and check your Python version. sudo apt-get update python --version python3 --version You can use both Python 2.7 or Python 3.4+ for this tutorial. This example is for Python 3. For Python 2.7, replace Python3 with Python , and p...

3 Ways to Edit the boot/config.txt File on Raspberry Pi

The post 3 Ways to Edit the boot/config.txt File on Raspberry Pi appeared first on BardTech . You’re in the middle of a Raspberry Pi project, when all of a sudden you realize there’s something wrong: fixing it means editing the config.txt file, which is found in the /boot/ directory. But what is the easiest way to access this file while the Raspberry Pi is still running? And if you have to shut down to retrieve the microSD card, how should you edit it? Here’s everything you need to know. Why You Need config.txt on Raspberry Pi The Raspberry Pi’s default operating system ( and most of the alternatives ) rely on some configuration parameters that are read when the computer boots from the microSD card. These are stored in the config.txt document, found in the /boot/ folder. Such instructions might adjust the way the display is detected and the desktop displayed; config.txt can even be used to overclock your Raspberry Pi (or return to default clock settings). Both of these setti...

2 Ways to Add a Button to Your Raspberry Pi Project

The post 2 Ways to Add a Button to Your Raspberry Pi Project appeared first on BardTech . Learning to use the GPIO pins on your Raspberry Pi opens up a whole world of possibilities. The basic principles learned through beginner projects pave the way toward useful knowledge of both DIY electronics and programming. This tutorial will show you two ways to add a button to your Raspberry Pi project. The button will be used to control an LED. Written instructions are available below the video. You Will Need To get started, make sure you have the following components: 1 x Raspberry Pi (Any will do, model 3B is used in this tutorial) 1 x Push Button 1 x LED 1 x 220 Ohm Resistor (Higher values are fine, your LED will just be dimmer) 1 x Breadboard Hook up wires Once gathered, you should have components that look something like this: You’ll also need an SD card with the Raspbian operating system installed. The quickest way to do this is with the NOOBS (New Out Of the Box Softwa...

How to Make Your Own Wi-Fi Connected Button With ESP8266

The post How to Make Your Own Wi-Fi Connected Button With ESP8266 appeared first on BardTech . The Internet of Things has vast DIY potential. With enough know-how and a few cheap components, you could build a complex system of connected devices. Sometimes, however, you want something simple. No bells or whistles, just a button that performs a single task. You might already be familiar with something like this if you’ve ever used an Amazon Dash button to reorder everyday household items. Today we will make a Wi-Fi enabled button using a NodeMCU, and program it to use IFTTT to do… well, anything! Written instructions following the video, if you prefer. What You’ll Need You will need: 1 x NodeMCU (ESP8266) board, available for $2-3 on AliExpress 1 x Pushbutton 1 x LED (optional) 1 x 220 Ohm resistor (optional) Breadboard and hookup wires Micro USB for programming Computer with the Arduino IDE installed Apart from the NodeMCU, you should be able to find most of these par...