I purchased my first Beaglebone Black in 2017 and, coming from a PIC microcontroller background, was amazed at all the things it can do. And so I started documenting everything I learned about it which is essentially what became teachmemicro.com.
Read More »Understanding the Device Tree in Embedded Linux: A Guide for Beaglebone Black
When working with Embedded Linux on platforms like the Beaglebone Black, the Device Tree is crucial in defining and configuring hardware. This tutorial will walk you through what a Device Tree is, its structure, and its importance in Embedded Linux development.
Read More »Adding WiFi to PocketBeagle
For the next part of my series on PocketBeagle, I will show how to add WiFi connectivity to the board. This board doesn’t come with built-in WiFi like the Raspberry Pi Zero W. With a simple hack, I managed to add WiFi connectivity to it.
Read More »Getting Started with PocketBeagle Mini SBC
I am a fan of the BeagleBone Black. Thus when I heard that a small-body version of the BBB is now available, I purchased it immediately even if it costs twice as much as the other small-body SBC, the Raspberry Pi Zero. The PocketBeagle, as it’s called, also doesn’t have …
Read More »Raspberry Pi Zero vs. PocketBeagle
Last year, both Raspberry Pi and Beaglebone Black released mini versions of their popular microcomputers: the Raspberry Pi Zero and PocketBeagle. I happened to own both and had a chance to compare. Which small-size single board computer (SBC) is better? It’s Raspberry Pi Zero vs. PocketBeagle after the jump.
Read More »Controlling a Servo Motor with BoneScript
Using the Beaglebone Black’s PWM Bonescript also includes an analogWrite function which utilizes the 8 PWM pins of the Beaglebone Black. As you might already know, PWM allows us to control a servo motor. The analogWrite function accepts the pin name, duty cycle, frequency, and callback function as parameters. The …
Read More »Analog Signals with BeagleBone BoneScript
Using the Beaglebone Black ADC One of the advantages of the Beaglebone Black over the Raspberry Pi is the presence of an analog-to-digital converter. There are 7 analog inputs, all at P9: To process analog signals, we’ll be using the analogRead() function. Note that the analog pins can only read …
Read More »Input to BeagleBone Black with BoneScript
Using a Button As you’ve noticed, the functions in bonescript are similar to Arduino’s. If we are to use an input device such as a button, switch, etc, we only need to change the direction using pinMode: var b = require('bonescript'); b.pinMode("P9_12", b.INPUT); The script below reads the state …
Read More »Blink a LED with Bonescript
Blinking On-board LEDs The simplest bonescript we can create right now is to blink one of the four user LEDs. The user LEDs are those four blue LEDs just above the miniUSB port: On Cloud9 IDE (192.168.7.2:3000), open a new file (click the + tab) and then paste the following …
Read More »Introduction to Bonescript and the Cloud9 IDE
When you browse a website, you are requesting the contents of the web page from or using the calculating capabilities of a server somewhere. That server is almost always a Linux machine and server-side scripts like PHP, Python, and Node.Js are used to “talk” to these servers.
Read More »