BeagleBone Archives - Engineers Garage https://www.engineersgarage.com/electronic-projects/beaglebone-electronic-projects/ Electronic Projects, Electrical Engineering Resources, Makers Articles and Product News Wed, 06 Nov 2024 08:58:14 +0000 en-US hourly 1 https://www.engineersgarage.com/wp-content/uploads/2019/08/cropped-eg-favicon-32x32.png BeagleBone Archives - Engineers Garage https://www.engineersgarage.com/electronic-projects/beaglebone-electronic-projects/ 32 32 Image Capture in Beaglebone Black Using OpenCV (Part 12/15) https://www.engineersgarage.com/image-capture-in-beaglebone-black-using-opencv-part-12-15/ https://www.engineersgarage.com/image-capture-in-beaglebone-black-using-opencv-part-12-15/#respond Tue, 05 Nov 2024 16:35:01 +0000 http://engineersgarag-main/image-capture-in-beaglebone-black-using-opencv-part-12-15/ How to capture images and video on the beaglebone - I do this using Open Source Computer Vision (OpenCV) image processing. OpenCV image processing captures image and video data on the BBB (Beaglebone Black) with the help of USB webcams by using python script programming. It is simple tutorial where you can also add effects in the form of black and white image, motion detection, sharp picture etc. I have used opencv library which programs functions of real time computer and machine learning. In this project required tools are Webcam and Beaglebone Black.

The post Image Capture in Beaglebone Black Using OpenCV (Part 12/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/image-capture-in-beaglebone-black-using-opencv-part-12-15/feed/ 0
What are the top open-source software systems for home automation? https://www.engineersgarage.com/open-source-home-automation-software-raspberry-pi/ https://www.engineersgarage.com/open-source-home-automation-software-raspberry-pi/#respond Wed, 31 Aug 2022 21:22:50 +0000 https://www.engineersgarage.com/?p=77169 Home automation is quickly becoming mainstream, letting residents easily connect with and remotely control appliances or security systems. To support these efforts, there are several popular “smart” home systems available, such as Amazon Hub, Google Nest, Amazon Echo, Apple HomeKit, Hue Smart Hub, and others. For the hobbyist or do-it-yourselfer (DIY), customized home automation systems…

The post What are the top open-source software systems for home automation? appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/open-source-home-automation-software-raspberry-pi/feed/ 0
How to Make First Python Program with Beaglebone Black (Part 2/15) https://www.engineersgarage.com/how-to-make-first-python-program-with-beaglebone-black-part-2-15/ https://www.engineersgarage.com/how-to-make-first-python-program-with-beaglebone-black-part-2-15/#respond Tue, 29 Jun 2021 10:30:15 +0000 http://engineersgarag-main/how-to-make-first-python-program-with-beaglebone-black-part-2-15/ Beaglebone black supports various high level languages such as a C, C++ and scripting languages like java, python.  Programming of application is mostly written in C language for controller or processor. Python is an interpreted language and great library source available for BBB.  At low level, programming in python is efficient and  responds quicker than C language.

The post How to Make First Python Program with Beaglebone Black (Part 2/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/how-to-make-first-python-program-with-beaglebone-black-part-2-15/feed/ 0
LED blinking in Beaglebone Black (Part 3/15) https://www.engineersgarage.com/led-blinking-in-beaglebone-blank-part-3-15/ https://www.engineersgarage.com/led-blinking-in-beaglebone-blank-part-3-15/#respond Tue, 29 Jun 2021 10:25:49 +0000 http://engineersgarag-main/led-blinking-in-beaglebone-blank-part-3-15/ Let’s start  with the explanation of various peripheral interfaces with Beaglebone black.  I will  begin with a simple external  LED blinking with BBB for better understanding of  the configuration and usage of GPIO pin. I have  chosen the python scripting language for programming but you can write it in any another language also. I have used adafruit python BBB library to make application.It is a simple learning tutorial of Beaglebone black. Here I connected two  LEDs with GPIO pin of Beaglebone black.

The post LED blinking in Beaglebone Black (Part 3/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/led-blinking-in-beaglebone-blank-part-3-15/feed/ 0
Switch Interfacing with Beaglebone Black ( Part 4/15) https://www.engineersgarage.com/switch-interfacing-with-beaglebone-black-part-4-15/ https://www.engineersgarage.com/switch-interfacing-with-beaglebone-black-part-4-15/#respond Tue, 29 Jun 2021 10:24:53 +0000 http://engineersgarag-main/switch-interfacing-with-beaglebone-black-part-4-15/ Beaglebone - switch interfacingThis tutorial explains how to interface switch with Beaglebone black where switch acts as an input device. It is a simple learning tutorial regarding the use of GPIO pin as an input. Program is written in python script with adafruit GPIO library. It is a not a big deal but it’s necessary to clear fundamental before developing high application. It is a simple learning tutorial of Beaglebone black. Here I connected led and switch with GPIO pin of Beaglebone black. When script is being executed, it enters the end of continuous loop.

The post Switch Interfacing with Beaglebone Black ( Part 4/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/switch-interfacing-with-beaglebone-black-part-4-15/feed/ 0
DC Motor Interfacing with Beaglebone Black (Part 5/15) https://www.engineersgarage.com/dc-motor-interfacing-with-beaglebone-black-part-5-15/ https://www.engineersgarage.com/dc-motor-interfacing-with-beaglebone-black-part-5-15/#respond Tue, 29 Jun 2021 10:20:37 +0000 http://engineersgarag-main/dc-motor-interfacing-with-beaglebone-black-part-5-15/ This tutorial explains how to interface DC motor with Beaglebone black where DC motor acts as an actuator device.  Due to insufficient current, it’s not possible to drive the motor directly from BBB and hence a motor driver IC is needed.Program is written in python script with  Adafruit GPIO library.Install the latest python version in BBB as explained in tutorial How to make first python program with Beaglebone Black. Install the  Adafruit python-GPIO library named adafruit_BBIO.

The post DC Motor Interfacing with Beaglebone Black (Part 5/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/dc-motor-interfacing-with-beaglebone-black-part-5-15/feed/ 0
Servo Motor Controlling with Beaglebone Black (Part 6/15) https://www.engineersgarage.com/servo-motor-controlling-with-beaglebone-black-part-6-15/ https://www.engineersgarage.com/servo-motor-controlling-with-beaglebone-black-part-6-15/#respond Tue, 29 Jun 2021 10:15:07 +0000 http://engineersgarag-main/servo-motor-controlling-with-beaglebone-black-part-6-15/ This tutorial  explains about the fundamental use of PWM where servo motor is controlled by potentiometer.  It is a DC motor which operates on electrical pulse. You can directly interface servo motor with Beaglebone black without any driver IC.  For this you have to write a program in python script with adafruit PWM and ADC library.It is a simple learning tutorial in which I have interfaced servo motor and potentiometer with Beaglebone black. When script is being  executed, it enters into a continuous loop. 

The post Servo Motor Controlling with Beaglebone Black (Part 6/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/servo-motor-controlling-with-beaglebone-black-part-6-15/feed/ 0
Raspberry Pi 2 & 3 Vs Beaglebone Black https://www.engineersgarage.com/raspberry-pi-2-3-vs-beaglebone-black/ https://www.engineersgarage.com/raspberry-pi-2-3-vs-beaglebone-black/#respond Tue, 02 Feb 2021 14:21:16 +0000 http://engineersgarag-main/raspberry-pi-2-3-vs-beaglebone-black/ Raspberry Pi was a revolutionary initiative. Nobody had ever thought that Single Board Computers (SBC) apart from their industrial use for embedded systems applications will come to a resort for educating young computer science professionals. The technological advancements removed the necessity of learning bizarre intricacies of the computer architecture and systems. But, soon it was realized that the lack of exposure to such integrated details will be a drawback for the new generation of computer professionals. And then it was the Raspberry Pi foundation that took the plunge. From the time of launch of Raspberry Pi 1 Model B released in 2012 onwards, by now Raspberry Pi 3 has already launched in February 2016.

The post Raspberry Pi 2 & 3 Vs Beaglebone Black appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/raspberry-pi-2-3-vs-beaglebone-black/feed/ 0
Getting started with Beaglebone Black (Part 1/15) https://www.engineersgarage.com/getting-started-with-beaglebone-black-part-1-15/ https://www.engineersgarage.com/getting-started-with-beaglebone-black-part-1-15/#respond Thu, 01 Oct 2020 10:22:37 +0000 http://engineersgarag-main/getting-started-with-beaglebone-black-part-1-15/ Beaglebone Black aka BBB is a low cost open source development board mainly used by developers and lobbyists. Although it’s quite similar to a Raspberry Pi yet it comes with some additional features. Developed by a non-profit corporation beagleboard.org, this credit card sized board also supports embedded Linux platform. Due to the presence of so many advanced peripherals, it is also considered to be a minicomputer.BBB consists of core architecture of ARM family and houses AM35X ARM cortex A8 (1GHz) processor. It can be powered either through a micro USB port or an external 5V supply that is present as an optional arrangement.

The post Getting started with Beaglebone Black (Part 1/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/getting-started-with-beaglebone-black-part-1-15/feed/ 0
Measure Temperature using LM35 Interfacing with Beaglebone black (Part 15/15) https://www.engineersgarage.com/measure-temperature-using-lm35-interfacing-with-beaglebone-black-part-15-15/ https://www.engineersgarage.com/measure-temperature-using-lm35-interfacing-with-beaglebone-black-part-15-15/#respond Thu, 04 Jul 2019 23:27:40 +0000 http://engineersgarag-main/measure-temperature-using-lm35-interfacing-with-beaglebone-black-part-15-15/ This tutorial explains how to interface LM35 Temperature sensor with Beaglebone black to work with sensor interfacing. LM35 is an analog sensor which measures the temperature and linear output given in voltage form. I have interfaced temperature sensor LM35 with 12 bit ADC of BBB where output of LM35 is in analog form and output of ADC is in digital value and later is converted in Celsius and Fahrenheit by formula. LM35 is with 3 terminals- Vcc terminal is connected with 3.3 V supply, Ground is connected with ADC ground of BBB (pin number 34th of header P9) and Output terminal is connected  to the input of AIN1 (pin number 40th of header P9). Now you can open the command terminal and take an access of Beaglebone black through SSH as explained in getting started with Beaglebone black.

The post Measure Temperature using LM35 Interfacing with Beaglebone black (Part 15/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/measure-temperature-using-lm35-interfacing-with-beaglebone-black-part-15-15/feed/ 0
Autorun Python Script on BeagleBone Black Boot (Part 14/15) https://www.engineersgarage.com/autorun-python-script-on-beaglebone-black-boot-part-14-15/ https://www.engineersgarage.com/autorun-python-script-on-beaglebone-black-boot-part-14-15/#respond Thu, 04 Jul 2019 23:27:40 +0000 http://engineersgarag-main/autorun-python-script-on-beaglebone-black-boot-part-14-15/ When you execute python script from SSH command prompt, you need to make BBB connection with PC because you are accessing the BBB through SSH connection. If you wish to run Python Script on BeagleBone Black Boot without connecting it with PC, an external power is needed to be supplied. You can run python script when you power up BBB without any command prompt or command by Crontab. Crontab is a task management tool which is built-in into Debian and then we can add the new Cron Job at which a Python script will run at boot. When script is running, both the LEDs are switched ON and OFF for one second.

The post Autorun Python Script on BeagleBone Black Boot (Part 14/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/autorun-python-script-on-beaglebone-black-boot-part-14-15/feed/ 0
WI-FI Configuration with Beaglebone Black (Part 11/15) https://www.engineersgarage.com/wi-fi-configuration-with-beaglebone-black-part-11-15/ https://www.engineersgarage.com/wi-fi-configuration-with-beaglebone-black-part-11-15/#respond Thu, 04 Jul 2019 23:27:39 +0000 http://engineersgarag-main/wi-fi-configuration-with-beaglebone-black-part-11-15/ This tutorial explains how to connect Beaglebone with WI-FI adapter for internet connectivity. Before proceeding, we need some basic configuration as well as an internet connection. First connect the internet through Ethernet. Complete step-by-step guide to get WiFi running for your BeagleBone Black to manually configure the adapter to automatically connect with your network. Before you get started make sure that you are running the latest official Debian image on BeagleBone Black. Here, I have used EDMAX which works with almost any kind of WI FI adapter.

The post WI-FI Configuration with Beaglebone Black (Part 11/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/wi-fi-configuration-with-beaglebone-black-part-11-15/feed/ 0
Web Cam interfacing with Beaglebone black (Part 10/15) https://www.engineersgarage.com/web-cam-interfacing-with-beaglebone-black-part-10-15/ https://www.engineersgarage.com/web-cam-interfacing-with-beaglebone-black-part-10-15/#respond Thu, 04 Jul 2019 23:27:39 +0000 http://engineersgarag-main/web-cam-interfacing-with-beaglebone-black-part-10-15/ Web cam is needed for image capturing and video streaming applications. You can interface web cam with Beaglebone Black and capture the picture and video as well. In this tutorial I will interface Logitech web camera with BBB. I have explained step by step setup of web cam interfacing with BBB.  Before connecting web cam, I will explain about VNC remote connection of Beaglebone Black. If you get SSH access of BBB, it will not display image or video due to insufficient GUI.  So you need to take virtual remote access of BBB on desktop.

The post Web Cam interfacing with Beaglebone black (Part 10/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/web-cam-interfacing-with-beaglebone-black-part-10-15/feed/ 0
Sending Mail from Beaglebone Black (Part 9/15) https://www.engineersgarage.com/sending-mail-from-beaglebone-black-part-9-15/ https://www.engineersgarage.com/sending-mail-from-beaglebone-black-part-9-15/#respond Thu, 04 Jul 2019 23:27:39 +0000 http://engineersgarag-main/sending-mail-from-beaglebone-black-part-9-15/ This tutorial explains how to send mail from Beaglebone black using SMTP protocol. SMTP stands for Simple Mail transfer protocol. The main objective of this tutorial is to obtain mail notification upon certain activity. BBB will send the mail with predefined message to registered email id when some activity takes place.In this tutorial, simple alert notification is sent to specific mail ID. Before running application, you need to establish internet connection with Beaglebone black. You can choose either Ethernet connection or WI-FI device.

The post Sending Mail from Beaglebone Black (Part 9/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/sending-mail-from-beaglebone-black-part-9-15/feed/ 0
Magnetometer interfacing with Beaglebone black (Part 8/15) https://www.engineersgarage.com/magnetometer-interfacing-with-beaglebone-black-part-8-15/ https://www.engineersgarage.com/magnetometer-interfacing-with-beaglebone-black-part-8-15/#respond Thu, 04 Jul 2019 23:27:38 +0000 http://engineersgarag-main/magnetometer-interfacing-with-beaglebone-black-part-8-15/ This tutorial explains how to work with magnetometer and Beaglebone black. Magnetometer senses the low magnetic field and works as a digital compass. It is used in tracking or navigation application. In this tutorial, HMC5883L magnetometer has been used and interfaced with Beaglebone black through I2C protocol. Program is written in python script with adafruit I2C library.HMC5883L is 3-axis low magnetic sensing and digital compass device. It is supported by I2C interface. It generates sensitive magnetic value during simple measurement. Value and degree of angle are displayed on SSH prompt every one second. 

The post Magnetometer interfacing with Beaglebone black (Part 8/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/magnetometer-interfacing-with-beaglebone-black-part-8-15/feed/ 0
Sending Data from Beaglebone Black to Arduino Through UART (Part 7/15) https://www.engineersgarage.com/sending-data-from-beaglebone-black-to-arduino-through-uart-part-7-15/ https://www.engineersgarage.com/sending-data-from-beaglebone-black-to-arduino-through-uart-part-7-15/#respond Thu, 04 Jul 2019 23:27:38 +0000 http://engineersgarag-main/sending-data-from-beaglebone-black-to-arduino-through-uart-part-7-15/ This tutorial represents communication between Beaglebone black and Arduino through UART. You don’t need any another peripheral for this tutorial. UART stands for universal asynchronous receiver and transmitter. It transmits and receives data asynchronously with another device which also supports UART protocol.Beaglebone transmits the message which is entered from command prompt and Arduino receives the data and displays it on Arduino serial terminal. Run the python script from SSH terminal and at the same time open Arduino serial in PC.

The post Sending Data from Beaglebone Black to Arduino Through UART (Part 7/15) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/sending-data-from-beaglebone-black-to-arduino-through-uart-part-7-15/feed/ 0
How to Make First Python Program with Beaglebone Black https://www.engineersgarage.com/how-to-make-first-python-program-with-beaglebone-black/ https://www.engineersgarage.com/how-to-make-first-python-program-with-beaglebone-black/#respond Tue, 26 Jul 2016 11:24:26 +0000 http://engineersgarag-main/how-to-make-first-python-program-with-beaglebone-black/ Beaglebone black supports various high level languages such as a C, C++ and scripting languages like java, python.  Programming of application is mostly written in C language for controller or processor. Python is an interpreted language and great library source available for BBB.  At low level, programming in python is efficient and  responds quicker than C language.This tutorial talks about making first python program with Beaglebone Black. So in case you are not aware of basic python programming then I suggest you to go through the same before proceeding.

The post How to Make First Python Program with Beaglebone Black appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/how-to-make-first-python-program-with-beaglebone-black/feed/ 0
DC Motor Interfacing with Beaglebone Black https://www.engineersgarage.com/dc-motor-interfacing-with-beaglebone-black/ https://www.engineersgarage.com/dc-motor-interfacing-with-beaglebone-black/#respond Fri, 05 Jul 2019 03:46:51 +0000 http://engineersgarag-main/dc-motor-interfacing-with-beaglebone-black/ This tutorial explains how to interface DC motor with Beaglebone black where DC motor acts as an actuator device.  Due to insufficient current, it’s not possible to drive the motor directly from BBB and hence a motor driver IC is needed.Program is written in python script with  Adafruit GPIO library.Install the latest python version in BBB as explained in tutorial How to make first python program with Beaglebone Black. Install the  Adafruit python-GPIO library named adafruit_BBIO.

The post DC Motor Interfacing with Beaglebone Black appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/dc-motor-interfacing-with-beaglebone-black/feed/ 0
Switch interfacing with Beaglebone Black https://www.engineersgarage.com/switch-interfacing-with-beaglebone-black/ https://www.engineersgarage.com/switch-interfacing-with-beaglebone-black/#respond Wed, 21 Aug 2019 21:24:00 +0000 http://engineersgarag-main/?p=921119 Switch interfacing with Beaglebone black This tutorial explains how to interface switch with Beaglebone black where  switch acts as an input device. It is a simple learning tutorial  regarding the use of GPIO pin as an input. Program is written in python script with adafruit GPIO library. It is a not a big deal but it’s necessary to clear fundamental before developing high application.

The post Switch interfacing with Beaglebone Black appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/switch-interfacing-with-beaglebone-black/feed/ 0
LED blinking In Beaglebone Black https://www.engineersgarage.com/led-blinking-in-beaglebone-blank/ https://www.engineersgarage.com/led-blinking-in-beaglebone-blank/#respond Wed, 21 Aug 2019 21:24:13 +0000 http://engineersgarag-main/?p=921118 Led blinking In Beaglebone Blank Let’s start  with the explanation of various peripheral interfaces with Beaglebone black.  I will  begin with a simple external  LED blinking with BBB for better understanding of  the configuration and usage of GPIO pin. I have  chosen the python scripting language for programming but you can write it in any another language also. I have used adafruit python BBB library to make application.

The post LED blinking In Beaglebone Black appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/led-blinking-in-beaglebone-blank/feed/ 0