Getting Started with the BeagleBone® Blue

게시자

Now that you have your hands on the new BeagleBone® Blue, here is what to expect out of the box and how to get connected to your board and the internet.

Unboxing

The BeagleBone® Blue from BeagleBoard.org comes protected from both electrical and mechanical shocks in an ESD safe bag in a padded box.  Unlike the BeagleBone® Black, the Blue does not include the microUSB to USB cable you will need to connect it to your computer.  

관련 상품 참조

BeagleBone® Blue

BeagleBoard.org Embedded System Development Boards and Kits 보기

관련 상품 참조

102-1092-BL-00300

CnC Tech, LLC Cable Assembly USB 보기

The board comes with the antennas on top of the board for safe transit, but the antennas will work better if you gently rotate them to point off the edge of the board.  If one detaches, gently line the pin and socket back up in the desired orientation and press down on the u.Fl connector to snap it back into place. 

Get Connected to Your Board

BeagleBoard.org has great start-up instructions. Under the support section, click “getting started”.  Follow the three steps outlined on this page:

  1. Plug in your Blue
  2. Download and install drivers
  3. Navigate to the web server on your Blue

You should see a green box at the top of the screen that tells you you’ve successfully connected to your Blue.   

Connect to the Internet

Although the page you’ve landed on through the setup process gives example code to blink your LEDs, this code does not work on the Blue.  Clicking the “run” button on the webpage will do nothing, and copying the code into Cloud9 to run will give you errors indicating that the LEDs are mapped differently in this BeagleBoard.  The Blue has the hardware and software features of the Robotics Cape integrated, so we will need to use the commands available in the roboticscape package. 

The Blue has dedicated memory available to store an operating system, so it will boot up with Linux (Debian, Jessie) without the use of an SD card image.

You could find the latest version of Jessie and manually install that OS to update the packages, but the easiest way is to connect your Blue to the internet and use apt-get. 

In Cloud9, open a new terminal window.  There are a few ways to set up WiFi connectivity, but I use Connman.  The commands to initiate are as follows:

connmanctl

enable wifi

tether wifi disable

scan

services

After entering the “services” command, you should see a list of the available networks.  If you see the network you want to use, type:

agent on

connect wifi_f45xxxxx (etc. – depends on your network)

(enter any required credentials)

quit

You are now connected to the internet!  Verify your connection by pinging a common website like google.com and checking for incoming and outgoing packets.  If all is well, bring your Blue up to date with these commands:

sudo apt-get update

sudo apt-get upgrade

This will take quite a while the first time you do this, but updates all packages and brings your Blue fully up to speed.  The most important packages to update are roboticscape and git. 

Blinking LEDs

We need to pull all the available example code from Strawson Design’s github respository for the Robotics Cape. 

In a tab separate from Cloud9, open the above link and click on the green “Clone or Download” box to copy the repository link.  In Cloud9, create a folder under your root directory to use as a sandbox, navigate into that folder, and use the following command to pull in all the files.

Once that is complete, you will see a new folder.  Navigate into the subfolder “examples” and run the rc_blink example.  This example blinks the two user LEDs at a rate that can be changed by pressing the MOD button on the board.  Experiment with the other examples to explore the wide range of features available to you!  Note that the motor drivers are only intended to work with a power supply over 6V like the Lithium batteries or external power adapter, and you will not be able to drive motors when the Blue is powered exclusively over USB. 


Interested in Beaglebone® Blue vs. BeagleBone® Black? Next Up: Product Insights on the BeagleBone Black

Interested in comparing other single board computers? Our engineers break it down for you in our SBC Comparison chart.

 

최신 동영상

죄송합니다. 선택한 필터와 일치하는 결과가 없습니다.

개인정보 보호정책이 업데이트되었습니다. 잠시 시간을 내어 변경사항을 검토하시기 바랍니다. 동의를 클릭하면 Arrow Electronics 개인정보 보호정책 및 이용 조건에 동의하는 것입니다.

당사의 웹사이트에서는 사용자의 경험 향상과 사이트 개선을 위해 사용자의 기기에 쿠키를 저장합니다. 당사에서 사용하는 쿠키 및 쿠키 비활성화 방법에 대해 자세히 알아보십시오. 쿠키와 추적 기술은 마케팅 목적으로 사용될 수 있습니다. '동의'를 클릭하면 기기에 쿠키를 배치하고 추적 기술을 사용하는 데 동의하는 것입니다. 쿠키 및 추적 기술을 해제하는 방법에 대한 자세한 내용과 지침을 알아보려면 아래의 '자세히 알아보기'를 클릭하십시오. 쿠키 및 추적 기술 수락은 사용자의 자발적 선택이지만, 웹사이트가 제대로 작동하지 않을 수 있으며 사용자와 관련이 적은 광고가 표시될 수 있습니다. Arrow는 사용자의 개인정보를 존중합니다. 여기에서 당사의 개인정보 보호정책을 읽을 수 있습니다.