5 PocketBeagle High Level Specification 25 6 Detailed Hardware Design 31
Open the catalog to page 28 PocketBeagle Cape Support 53
Open the catalog to page 3PocketBeagle is an ultra-tiny-yet-complete open-source USB-key-fob computer. PocketBeagle features an incredible low cost, slick design and simple usage, making PocketBeagle the ideal development board for beginners and professionals alike.
Open the catalog to page 4Introduction This document is the System Reference Manual for PocketBeagle and covers its use and design. PocketBeagle is an ultra-tiny-yet-complete Linux-enabled, community-supported, open-source USB-key-fob-computer. PocketBeagle features an incredible low cost, slick design and simple usage, making it the ideal development board for beginners and professionals alike. Simply develop directly in a web browser providing you with a playground for programming and electronics. Exploring is made easy with several available libraries and tutorials with many more coming. PocketBeagle will boot directly...
Open the catalog to page 6This section describes the change history of this document and board. Document changes are not always a result of a board change. A board change will always result in a document change.2.1 Document Change HistoryTable 2.1: Change HistoryRev Changes Date By A.x Production Document December 7,2017 JK 0.0.5 Converted to .rst and gitlab hosting July 21, 2022 DK Table 2.2: Board HistoryRev A1 Changes Date Preliminary Production. Fixed mikroBUS Click reset pins (made GPIO). Fixed label on P2_24. Was labeled GPIO48, should be GPIO44. Because there are 2 TI parts which have long lead-time, we made the...
Open the catalog to page 8PocketBeagle a BeagleBoard.org Foundation project. The board never worked because the 32kHz and 24MHz crystals were backwards and Michael Welling decided to pick it up and redo the design in KiCad as a four-layer board. Jason paid for some prototypes and this resulted in the first successful "PocketBone”, a fully-open-source 1-GHz Linux computer in a fitting into a mini-mint tin. The Rev A1 of PocketBeagle was a prototype not released to production. A few lines were wrong to be able to control mikroBUS Click add-on board reset lines and they were adjusted. The Rev A2 of PocketBeagle was released...
Open the catalog to page 9Connecting Up PocketBeagle This section provides instructions on how to hook up your board. The most common scenario is tethering PocketBeagle to your PC for local development. 3.1 What’s In the Package In the package you will find two items as shown in figures below. • PocketBeagle • Getting Started instruction card with link to the support URL.
Open the catalog to page 10Fig. 3.2: PocketBeagle Package Insert front Chapter 3. Connecting Up PocketBeagle
Open the catalog to page 11Fig. 3.3: PocketBeagle Package Insert back
Open the catalog to page 123.2 Connecting the board This section will describe how to connect to the board. Information can also be found on the Quick Start Guide that came in the box. Detailed information is also available at beagleboard.org/getting-started The board can be configured in several different ways, but we will discuss the most common scenario. Future revisions of this document may include additional configurations. 3.3 Tethered to a PC using Debian Images In this configuration, you will need the following additional items: • microUSB to USB Type A Cable • microSD card (>=4GB and <128GB) The board is powered...
Open the catalog to page 133.3. Tethered to a PC using Debian Images
Open the catalog to page 14f'f beogleboard.org BeagleBoard.org Latest Firmware Images Stretch (or BeagieBoard-Xl5 via microSD card Fig. 3.7: Download Etcher SD Card Utility Search Downloads File folder File folder Select image 1. Keysi ghtHan dhel dMeterLogger.i. 1.5113... 10/12/2017 1048 jk MobaXtermJn sta ller.vl 0.4 10/30/2017 1 0:38 Compressed (zipp, Compressed (app. Fig. 3.8: Select the PocketBeagle Image 12 Chapter 3. Connecting Up PocketBeagle
Open the catalog to page 15Fig. 3.9: Burn the Image to the SD Card Fig. 3.10: Insert the microSD Card into PocketBeagle 3.3. Tethered to a PC using Debian Images
Open the catalog to page 16■ i. bea.glcboB.rd .org PcckfetBtogle' OCTAVO 1 737^1 Fig. 3.11: Insert the micro USB Connector into PocketBeagle 14 Chapter 3. Connecting Up PocketBeagle
Open the catalog to page 17Fig. 3.12: Insert the USB connector into PC 3.3. Tethered to a PC using Debian Images
Open the catalog to page 18• USER0 is the heartbeat indicator from the Linux kernel. • USER1 turns on when the microSD card is being accessed • USER2 is an activity indicator. It turns on when the kernel is not in the idle loop. • USER3 idle Accessing the Board and Getting Started with Coding The board will appear as a USB Storage drive on your PC after the kernel has booted, which will take approximately 10 seconds. The kernel on the board needs to boot before the port gets enumerated. Once the board appears as a storage drive, do the following: 1. Open the USB Drive folder to view the files on your PocketBeagle. 2. Launch...
Open the catalog to page 19Fig. 3.16: Enable a Network Connection Fig. 3.17: Launch Visual Studio Code IDE 3.3. Tethered to a PC using Debian Images
Open the catalog to page 20The code should match the code below, if you can't find it, copy and paste the below code into the editor # // Blinks the USR LEDs in sequence. import time import os # Turn off triggers for i in range(LEDs): # print(LEDPATH+str(i)+”/trigger”) f = open(LEDPATH+str(i)+”/trigger”, ”w”) f.write(”none”) f. close() # Open a file for each LED (continues on next page) 18 Chapter 3. Connecting Up PocketBeagle
Open the catalog to page 21(continued from previous page) f.append(open(LEDPATH + str(i)+ ”/brightness” , ”w”)) # Sequence while True: for i in range(LEDs): f[i].seek(0) f[i].write(”1”) time.sleep(0.25) for i in range(LEDs): f[i].seek( 0) f[i].write(”0”) time.sleep(0.25) Open a terminal by selecting Terminal/New Terminal (or pressing Ctrl + Shift + ' ) and execute the code: bone:~$ cd ~/examples/BeagleBone/Black bone:~$ ./seqLEDs.py You will see the four USR LEDs flashing. 3.3. Tethered to a PC using Debian Images 19
Open the catalog to page 22Type CTRL+C to stop the program running. Powering Down 1. Standard Power Down Press the power button momentarily with a tap. The system will power down automatically. This will shut down your software with grace. Software routines will run to completion. | The Standard Power Down can also be invoked from the Linux command shell via sudo halt. 2. Hard Power Down Press the power button for 10 seconds. This will force an immediate shut down of the software. For example you may lose any items you have written to the memory. Holding the button longer than 10 seconds will perform a power reset and...
Open the catalog to page 23133 Pages
99 Pages
27 Pages
109 Pages
57 Pages
132 Pages
37 Pages