Session 1
Today’s Session
13:00 Welcome & Lesson 1: Introduction
An introduction to us, the grove board, microcontrollers and the XOD IDE
14:00 Break
14:20 Lessons 2 & 3: Getting Started & Explore XOD
Get started with using your board. We’ll start with some simple tasks like
flashing an LED, pressing a button and sounding a buzzer
Get to grips with some of the most useful nodes in XOD
15:50 Round-Up
Before we Start
1 Downloaded the XOD Software
2 Downloaded the No-Code Programming Beginner’s Guide
www.biomaker.org/nocode-programming-for-biology-handbook
3 Installed USB Drivers (if required)
The Starter Kit
1 LED
2 Buzzer
3 OLED Screen
4 Button
7 Sound Sensor
8 Temperature
and Humidity
Sensor
10 3-Axis
Acceleration
Sensor
6 Light Sensor
9 Air Pressure Sensor
5 Rotary Potentiometer
11 Grove Seeeduino
Microcontroller
The Microcontroller
A0-A6 Analog
D0-D13 Digital
I2C I2C (require address)
The XOD IDE
1 Your Patch
2 Project
Browser:
Buttons
New
Patch
Add
Library
3 Project
Browser:
Project
Patches
4 Project
Browser:
Libraries
5 Inspector
Upload
Upload
And
Debug
7 Upload Buttons
6 Quick Help
Nodes
Pins
Links
Byte
String
Pins
Pulse
Boolean
Number
Port
Break
20min
Testing Your Board
Try it Yourself – 20min
1 Work in small groups (introduce yourselves if necessary)
2 Complete Task 1
3 Step-by-step instructions are in the Guide (p20-25)
4 Ask if you need help
Inputs and Outputs
Try it Yourself – 20min
1 Work through Task 2 in groups
2 Step-by-step instructions are in the Guide (p26-29)
3 Ask if you need help
Congratulations!
You can now programme
an Arduino Board!
Tweak and
Watch Nodes
Flip, Clock and
Count Nodes
Concat, Join and
Format-Number Nodes
Next Week’s Session
13:00 Welcome, Recap & Lesson 4: Building Devices
Learn how to make more complex programmes in XOD using logic nodes,
sequences and loops.
14:00 Break
14:20 Lesson 4 cont. & Lesson 5: Next Steps
Learn how to expand your programming and hardware building capabilities to start
building your own devices, and take a look at some previous projects.
15:55 Round-Up
Thank You
More info:
www.biomaker.org
Session 2
Today’s Session
13:00 Welcome, Recap & Lesson 4: Building Devices
Learn how to make more complex programmes in XOD using logic nodes,
sequences and loops.
14:00 Break
14:20 Lesson 4 cont. & Lesson 5: Next Steps
Learn how to expand your programming and hardware building capabilities to start
building your own devices, and take a look at some previous projects.
15:55 Round-Up
Last Week’s Session
1 The Grove Board (p6-7)
2 The Microcontroller (p8-11)
3 The XOD IDE (p12-15)
4 Turned the LED on using the button (p20-25)
5 Controlled the buzzer using the button and potentiometer (p26-29)
6 Learned about some useful nodes in XOD (p31-45)
Tweak, watch, flip, clock, count, concat, join and format-number
Creating New Nodes
Try it Yourself – 15min
1 Work though Task 6 in groups
2 Step-by-step instructions are in the Guide (p50-54)
3 Ask if you need help
Using Buses
Try it Yourself – 15min
1 Work though Task 7 in groups
2 Step-by-step instructions are in the Guide (p56-59)
3 Ask if you need help
Break
20min
Logic Programmes
Try it Yourself – 15min
1 Work though Task 8 in groups
2 Step-by-step instructions are in the Guide (p60-63)
3 Ask if you need help
Sequences and Loops
Try it Yourself – 15min
1 Work though Task 9 in groups
2 Step-by-step instructions are in the Guide (p64-70)
3 Ask if you need help
Case Studies
Open Source Microbial Bioreactor
Behavioural Chamber to Evaluate Rodent Forelimb Grasping
Camera for Monitoring Plant Pollination Events
eCO-SENSE: Soil Sensors Powered by Plant Photosynthesis
Discussion – 15min
1 Read through the case studies (p80-83)
2 Discuss in groups
3 Which of this devices is most relevant to your research?
4 What extra hardware or programming skills would you
need to create one of these devices?
Expanding
Your Capacity
Expanding Your Capacity
Wires
Shields
Breakout Boards
Plug-and-Play Components
Plug directly into white sockets
on the board
Plug into Open Smart Expansion Shield
(or use JST PH to JST XH cables)
Plug directly (STEMMA 4 pin)
Plug with JST PH to JST SH cable (STEMMA QT 4 pin)
Wired Breakout Boards
Connect using expansion shield or Grove-to-female wires (make sure pin labels match up)
Solder pins to board. Connect using Grove-to-female wires (make sure pin labels match up)
Finding XOD Nodes
Search using ‘reference designator’
e.g. BMP280 (barometer) or SSD1306 (OLED screen)
Arduino IDE
Arduino provides it’s own free IDE software, which uses C++ coding language to programme the board.
Converting Arduino libraries for use in XOD
Combining XOD and Arduino IDE
XOD menu > Deploy > ‘Show Code for Arduino’
More complex programming
What would you build?
?
Discussion – 10min
1 What instruments would be useful in your own research?
2 How would you go about building such a device?
3 What additional hardware/programming would you need?
4 Do some research – has something like this already been
done? Can you find the things you need?
Questions? Contact the Biomaker team: coordinator@synbio.cam.ac.uk
Thank You
More info:
www.biomaker.org