> ## Documentation Index
> Fetch the complete documentation index at: https://stem-docs.intellectualpoint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The AT-66BL app

> Step up to the AT-66BL app - a full Scratch-style coding studio with pairing over Bluetooth, guided levels, live control, and a powerful block workspace.

## Level up your coding

You've written your first programs on echo.pitsco.com. Today you graduate to the **AT-66BL app** - a full, Scratch-style coding studio for the Echo drone. It has more block categories, real **variables** and **lists**, **custom blocks**, message **broadcasting**, and math **operators**. This is where you build the programs for your capstone.

<Info>
  **AT-66BL vs echo.pitsco.com** - Same drone, same Bluetooth idea, but AT-66BL is a much bigger toolbox. echo.pitsco.com is great for quick first programs; AT-66BL is where you build real projects.
</Info>

|                   | echo.pitsco.com                              | AT-66BL app                                                    |
| ----------------- | -------------------------------------------- | -------------------------------------------------------------- |
| Runs on           | Any browser                                  | Installed app (PC / Chromebook)                                |
| Connection        | Web Bluetooth                                | Bluetooth                                                      |
| Start block       | Program starts at **take off**               | **when 🏳 clicked** (green flag)                               |
| Blocks            | Flight, Control, Loops, Variables, Functions | Fly, Events, Control, Sensing, Operators, Variables, My Blocks |
| Variables & lists | Basic                                        | Full (set/change/show/hide + lists)                            |
| Custom blocks     | Functions                                    | **Make a Block**                                               |
| Modes             | Coding only                                  | Control, Game, Program, CommandPad                             |

<Frame caption="From the quick-start web tool to the full studio - what you gain by moving up">
  <img src="https://mintcdn.com/intellectualpoint/eW7U9shBQKKM3XX9/images/drones/echo-vs-at66bl.png?fit=max&auto=format&n=eW7U9shBQKKM3XX9&q=85&s=8c0eb443afc2752b8e20e7c0d3e41786" alt="Comparison of echo.pitsco.com and the AT-66BL app features side by side" width="1536" height="1024" data-path="images/drones/echo-vs-at66bl.png" />
</Frame>

## Get the app

| Device          | App            | Where to get it |
| --------------- | -------------- | --------------- |
| PC / Windows 10 | **AT66BL-UWP** | Microsoft Store |
| Chromebook      | **AT-66BL**    | Google Play     |

<Tip>
  **Instructor:** install the app on every machine before camp starts. On school-managed devices you may need IT to approve the install. Do a test pair with one drone the day before so you know the classroom's Bluetooth works.
</Tip>

## The main menu

When you open the app you land on the main menu with four modes. Today we live in **Program**, but it's worth knowing what each one does.

<Frame caption="The AT-66BL main menu: Control, Game, Program, and CommandPad">
  <img src="https://mintcdn.com/intellectualpoint/i7Ng90YWtTAWa_94/images/drones/at66bl-main-menu.png?fit=max&auto=format&n=i7Ng90YWtTAWa_94&q=85&s=bf2393a1623a335c2fc17b23e1d24700" alt="AT-66BL main menu showing Control, Game, Program, and CommandPad tiles" width="1024" height="811" data-path="images/drones/at66bl-main-menu.png" />
</Frame>

<Frame caption="What each of the four modes is for">
  <img src="https://mintcdn.com/intellectualpoint/i7Ng90YWtTAWa_94/images/drones/at66bl-four-modes.png?fit=max&auto=format&n=i7Ng90YWtTAWa_94&q=85&s=951a06908bca7215d44410aade12dc56" alt="Overview of the four AT-66BL modes: Control, Game, Program, and CommandPad" width="1536" height="1024" data-path="images/drones/at66bl-four-modes.png" />
</Frame>

<CardGroup cols={2}>
  <Card title="Control" icon="gamepad">
    On-screen **joysticks** to fly the drone by hand - like a virtual controller.
  </Card>

  <Card title="Game" icon="ghost">
    Guided **Levels** that teach flight skills one challenge at a time.
  </Card>

  <Card title="Program" icon="puzzle">
    The **block coding** studio - this is where we build our programs today.
  </Card>

  <Card title="CommandPad" icon="terminal">
    A **text command** console for typing commands directly to the drone.
  </Card>
</CardGroup>

## Pair the drone over Bluetooth

Before you can run code or fly, the app has to find your drone.

<Steps>
  <Step title="Turn on the drone" icon="power">
    Power on the Echo and set it on a flat surface. Make sure Bluetooth is on for your computer.
  </Step>

  <Step title="Open the Drone List" icon="list">
    The app scans for nearby drones. Your Echo shows up as **APEX\_UART\_xxxxxx** with a signal strength number (like `-60`). A smaller number closer to 0 means a stronger signal.

    <Frame caption="Tap your drone (APEX_UART_...) to bind it to the app">
      <img src="https://mintcdn.com/intellectualpoint/i7Ng90YWtTAWa_94/images/drones/at66bl-drone-list.png?fit=max&auto=format&n=i7Ng90YWtTAWa_94&q=85&s=a39d55bb3c5d2dbefe9c194de618ab27" alt="AT-66BL Drone List showing APEX_UART_ea2969 available to connect" width="1024" height="811" data-path="images/drones/at66bl-drone-list.png" />
    </Frame>
  </Step>

  <Step title="Tap to bind" icon="link">
    Tap your drone's name to connect. The **Bluetooth icon** at the top of the screen turns solid when you're paired. Use **Unbind** later to disconnect.
  </Step>
</Steps>

<Warning>
  If two drones show up, check the last characters (like `ea2969`) against the sticker on **your** drone so you don't fly a classmate's. In a room full of drones, only power on the one you're pairing.
</Warning>

## Game mode: guided Levels

**Game** mode is a great warm-up. It unlocks flight challenges one at a time - Level 1 teaches straight take off and landing, and each new level adds a skill. Students who finish early can push into higher levels.

<Frame caption="Game mode Levels - complete one to unlock the next">
  <img src="https://mintcdn.com/intellectualpoint/i7Ng90YWtTAWa_94/images/drones/at66bl-levels.png?fit=max&auto=format&n=i7Ng90YWtTAWa_94&q=85&s=90a78152a16030423c2083842744514e" alt="AT-66BL Levels screen with Level 1 unlocked and Levels 2-4 locked" width="1024" height="811" data-path="images/drones/at66bl-levels.png" />
</Frame>

## Control mode: fly by hand

**Control** mode gives you two on-screen joysticks, just like the Day 2 controller. The left stick handles throttle and yaw (up/down, turn), the right stick handles pitch and roll (forward/back, left/right). The buttons along the bottom trigger take off, land, and flips.

<Frame caption="Control mode: dual on-screen joysticks plus flip and take off/land buttons">
  <img src="https://mintcdn.com/intellectualpoint/i7Ng90YWtTAWa_94/images/drones/at66bl-control.png?fit=max&auto=format&n=i7Ng90YWtTAWa_94&q=85&s=de8ddc54f8f5bcfffbf980f84b11f2b9" alt="AT-66BL Control mode with left and right virtual joysticks and action buttons" width="1024" height="811" data-path="images/drones/at66bl-control.png" />
</Frame>

<Tip>
  **Instructor:** use Control mode as a quick "does everyone's drone fly?" check before diving into code. If a drone flies fine here but not in a program, the problem is the code, not the hardware.
</Tip>

## Program mode: the block workspace

Tap **Program** to open the coding studio. This is a Scratch-style workspace: block **categories** run down the left, you **drag blocks** into the middle, and the **run controls** live in the top-right.

<Frame caption="The Program workspace - drag blocks from the left into the canvas, run with the green flag">
  <img src="https://mintcdn.com/intellectualpoint/i7Ng90YWtTAWa_94/images/drones/at66bl-fly-blocks.png?fit=max&auto=format&n=i7Ng90YWtTAWa_94&q=85&s=4be6303a7d5e36c15ae3e5e2dd8c7317" alt="AT-66BL Program workspace showing the Fly category and a sample program on the canvas" width="1024" height="811" data-path="images/drones/at66bl-fly-blocks.png" />
</Frame>

### The seven categories

<CardGroup cols={2}>
  <Card title="Fly" icon="plane">
    Take off, land, and every movement command.
  </Card>

  <Card title="Events" icon="flag">
    Start your program - **when 🏳 clicked** - and send messages.
  </Card>

  <Card title="Control" icon="repeat">
    Loops, waits, and **if-then** decisions.
  </Card>

  <Card title="Sensing" icon="radar">
    The **timer** for timing routines.
  </Card>

  <Card title="Operators" icon="calculator">
    Math and comparisons: `+`, `-`, `random`, `>`, `and`, `or`.
  </Card>

  <Card title="Variables" icon="box">
    Make variables and lists to store values.
  </Card>
</CardGroup>

And **My Blocks**, where you build your own custom blocks with **Make a Block**.

### The run controls (top-right)

| Icon              | What it does                     |
| ----------------- | -------------------------------- |
| 🏳 **Green flag** | Runs your program                |
| 🔴 **Red circle** | Stops the program                |
| 🚫 **No-entry**   | Emergency stop - cuts the motors |
| 💾 **Save**       | Saves your project               |

<Warning>
  Know where the **red stop** and **no-entry** buttons are *before* you run anything. If the drone does something unexpected, hitting stop is your fastest way to end the flight safely.
</Warning>

## Save, load, and clear

Click the **save icon** to open the file menu: **Save**, **Save As**, **Load**, and **Clear Project**. Save early and often so a crash never costs you your work.

<Frame caption="The file menu: Save, Save As, Load, and Clear Project">
  <img src="https://mintcdn.com/intellectualpoint/eW7U9shBQKKM3XX9/images/drones/at66bl-save-menu.png?fit=max&auto=format&n=eW7U9shBQKKM3XX9&q=85&s=e16ce04681f1233dc945de99d624847f" alt="AT-66BL file menu showing Save, Save As, Load, and Clear Project options" width="1024" height="811" data-path="images/drones/at66bl-save-menu.png" />
</Frame>

<Tip>
  Have students name their saves clearly (like `square_flight` or `alex_capstone`) so they can find the right project fast during demos.
</Tip>

<Check>
  The AT-66BL app is installed, your drone is paired over Bluetooth (Bluetooth icon solid), and you can open **Program** mode and find all seven block categories.
</Check>

<Card title="Next: tour the blocks" icon="arrow-right" href="/drone-programming/day-5/blocks-tour">
  See exactly what every block does before you start building.
</Card>
