Physical system

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Physical Systems

One of the best ways to experience Logic is to build stuff. Fortunately there are plenty of options for getting hands on with logic. A great example is the Crumble Controller.

What is Crumble? A simple to program, cheap, tough, computing device. You can create code and test it on physical systems very quickly, debug and tinker to extend the program.

How do i use it?

  • Get a kit
  • Install the software
  • connect the wires
  • Write your first program
  • Run it
  • Repeat

Activities

My First program First unpack the kit. Make sure you have the following parts

< insert Picture of the kit> < Name the parts>

The OR activity Using the A & B inputs write a program to light the motor LED when A OR B is hi.

  • Connect your USB cable to the crumble
  • Start the crumble software
  • write your code as its shown below
Crumble Logic OR example

The AND activity Using the A & B inputs write a program to light the motor LED only when A AND B is hi.

Solutions

Crumble And Example

References Use the excellent getting started guide to run through a few examples and get used to how it works


do it with me do it by yourself extension (real-life context)