Documentation
Meet PAL

Meet PAL

PAL is your AI assistant inside Palpable. It knows what hardware you have connected, understands what you're trying to build, and builds projects for you from a conversation.

You don't need to learn any special language or syntax. Just tell PAL what you want in plain words.


What can PAL do?

Build projects

This is PAL's superpower. Describe what you want to happen, and PAL writes the project's script:

"When someone gets within 30 cm of the distance sensor, turn on the buzzer for half a second."

PAL works out which modules to use and how, writes the script, and tells you what it made. You start it with Run.

Read your sensors

Ask PAL what's happening right now:

"What's the temperature?"

"How bright is it in the room?"

PAL reads the latest data from your connected modules and tells you.

Explain your setup

"What sensors do I have connected?"

"What can I do with the Modulino Knob?"

PAL knows your exact hardware and what each module can do.

Suggest ideas

"What can I build with my sensors?"

"I want to monitor my greenhouse. What do I need?"

PAL suggests projects, recommends extra modules if you need them, and helps you think it through.

Help when something isn't working

"My temperature sensor isn't showing any data."

"Why isn't my project doing anything?"

PAL can check your board's status and its modules, and suggest fixes.


How to talk to PAL

Open a project and tap Ask PAL. You can type, or tap the microphone and speak.

Each project has its own chat with PAL. Inside a project, PAL knows that project's boards, modules and script, so you can just say "the temperature sensor" instead of naming a module.

Tips for good results

  • Be specific about numbers. "Above 25 degrees" is clearer than "when it gets hot."
  • Name the module if you have more than one of the same kind.
  • Ask follow-up questions. PAL remembers the conversation.
  • Say "change it" to change something PAL just made. You don't have to start over.

Project PAL. Some projects get a PAL of their own that lives in the project, with its own tab in the chat. You can talk to it about what the project does, and it sleeps when the project is stopped. Not every project has one: PAL adds one only when a project calls for it. Talking to it uses credits.


What PAL makes

What a project does lives in its script, a small TypeScript program that PAL writes and keeps up to date as you talk. You don't need to read it, but you can.

PAL doesn't start anything on its own: a project runs when you press Run, and stops when you press it again.


Example conversations

Temperature alert:

You: "Notify me when it gets above 30 degrees."

PAL: "Done. Your project sends you a notification when the Modulino Thermo reads above 30°C, at most once every 5 minutes so you won't get spammed. Press Run to start it."

Button and lights:

You: "When I press button A, play a short beep and flash the lights green for 2 seconds."

Exploring:

You: "What sensors do I have?"

PAL: "You have a Modulino Thermo (temperature and humidity), a Modulino Distance (measures distance with a laser), and a Modulino Knob (a knob you turn, with a push button)."