Simon Ford
Elektor Live!
mbed Workshop
1
Outline
• Introduction
• Hello World!
– Get you in control of the hardware...
• Walkthrough Example!
– A feel for how thin...
Before we start!
• Check that...
– you have an mbed
– you have a laptop
– you have a working internet connection
3
• Microcontrollers are getting cheap
– 32-bit ARM Cortex-M3 Microcontrollers @ $1!
• Microcontrollers are getting powerful...
Sydney Powerhouse Museum
– We’re now at the same tipping point with microcontrollers
– Ideas come from anywhere, need prototyping to test them
Microcontrollers are a great solution,
looking for problems!
Eur...
Rapid Prototyping
• Rapid Prototyping helps industries invent products
• We want prototyping with electronics to keep pace...
So we built mbed!
• Fastest way to start with an ARM microcontroller
– Plug ‘n’ Play Hardware, Online Compiler
– Make picking up and working...
• Designed for rapid prototyping by a wide audience
– Prototyping form-factor, High-level Library APIs
– Help you invent n...
• Integrated mbed.org developer site and community
– Online resources, tools for support and collaboration
– Help to build...
mbed NXP LPC1768 Hardware
12
What is the LPC1768 Microcontroller?
13
NXP LPC1768
ARM Cortex-M3
100MHz
512KB FLASH
64KB RAM
ARM Cortex-M3
32-bit MCU Cor...
Getting started...
Hello World!
14
Hello World! (1)
1. Plug it in
2. ...
3. Download and run your first “Hello World!” binary!
15
Hello World! (2)
1. Click the compiler link
2. ...
3. Compile and run your first “Hello World!” binary!
16
Hello World! (3)
1. Try modifying the code a bit
Flash a different LED, change the speed, make a new pattern
1. ...
2. Com...
A feel for how things work...
Walkthrough Example!
18
Walkthrough Example
• Make a simple datalogger
– AnalogIn for reading analog values
– LocalFileSystem for storing data to ...
Time to experiment...
Workshop!
20
Our experience of workshops
• Everyone learns differently, and at a varying pace
• Everyone has different levels and areas...
Our strategy for workshops
• Make equipment and resources available
• Let you explore what you want, at your own pace
• Us...
Components to experiment with!
23
Components to experiment with!
24
Breakout Boards!
– Cool Components Breakout, Starboard Orange Breakout
25
m3pi Robots!
– Line sensors for linefollowers, Bluetooth for remote
control 26
Use the Handbook and Cookbook...
Step-by-step introductory project
• For absolute beginners
• An extract from:
ARM microcontrollers, Part 1
35 projects for...
Workshop Rules
• Experiment with whatever components you want
– Some things are more complex than others; start simple 
•...
NXP mbed Design Challenge
Develop a product prototype, reusable library or
reference design, share it on http://mbed.org, ...
Upcoming SlideShare
Loading in...5
×

mbed @ Elektor Live! 2010

5,242

Published on

The presentation to introduce the Hands-on workshop we ran at Elektor Live! A chance for everyone to experiment with all sorts of interesting hardware.

Published in: Education
1 Comment
0 Likes
Statistics
Notes
  • From our hands-on workshop event in a UFO! http://mbed.org/blog/entry/Elektor-Live-event/
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
5,242
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
35
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

mbed @ Elektor Live! 2010

  1. 1. Simon Ford Elektor Live! mbed Workshop 1
  2. 2. Outline • Introduction • Hello World! – Get you in control of the hardware... • Walkthrough Example! – A feel for how things work... • Workshop! – Time to experiment... 2
  3. 3. Before we start! • Check that... – you have an mbed – you have a laptop – you have a working internet connection 3
  4. 4. • Microcontrollers are getting cheap – 32-bit ARM Cortex-M3 Microcontrollers @ $1! • Microcontrollers are getting powerful – Lots of processing, memory, I/O in one package • Microcontrollers are getting interactive – Internet connectivity, new sensors and actuators • Lots of new opportunities for microcontrollers! What’s happening to Microcontrollers?
  5. 5. Sydney Powerhouse Museum – We’re now at the same tipping point with microcontrollers
  6. 6. – Ideas come from anywhere, need prototyping to test them Microcontrollers are a great solution, looking for problems! Eureka! If I could automate feeding my pigs, I’d be able to sleep in! Eureka! If I could automate feeding my pigs, I’d be able to sleep in! Eureka! I could use my electronics skills to help... pig feeding! Eureka! I could use my electronics skills to help... pig feeding!
  7. 7. Rapid Prototyping • Rapid Prototyping helps industries invent products • We want prototyping with electronics to keep pace! – Let you prototype control, communication, interaction too 3D Moulding 3D Printing 2D/3D Design Web Frameworks
  8. 8. So we built mbed!
  9. 9. • Fastest way to start with an ARM microcontroller – Plug ‘n’ Play Hardware, Online Compiler – Make picking up and working with a microcontroller fast! What is mbed?
  10. 10. • Designed for rapid prototyping by a wide audience – Prototyping form-factor, High-level Library APIs – Help you invent new products with microcontrollers! What is mbed?
  11. 11. • Integrated mbed.org developer site and community – Online resources, tools for support and collaboration – Help to build an active, supportive developer community! What is mbed?
  12. 12. mbed NXP LPC1768 Hardware 12
  13. 13. What is the LPC1768 Microcontroller? 13 NXP LPC1768 ARM Cortex-M3 100MHz 512KB FLASH 64KB RAM ARM Cortex-M3 32-bit MCU Core Thumb-2 Instruction Set 3-stage, Modified Harvard NVIC (Nested Interrupts)
  14. 14. Getting started... Hello World! 14
  15. 15. Hello World! (1) 1. Plug it in 2. ... 3. Download and run your first “Hello World!” binary! 15
  16. 16. Hello World! (2) 1. Click the compiler link 2. ... 3. Compile and run your first “Hello World!” binary! 16
  17. 17. Hello World! (3) 1. Try modifying the code a bit Flash a different LED, change the speed, make a new pattern 1. ... 2. Compile and run your own “Hello World!” binary! 17
  18. 18. A feel for how things work... Walkthrough Example! 18
  19. 19. Walkthrough Example • Make a simple datalogger – AnalogIn for reading analog values – LocalFileSystem for storing data to files 19
  20. 20. Time to experiment... Workshop! 20
  21. 21. Our experience of workshops • Everyone learns differently, and at a varying pace • Everyone has different levels and areas of experience 21
  22. 22. Our strategy for workshops • Make equipment and resources available • Let you explore what you want, at your own pace • Use the mbed Handbook and Cookbook for guidance • Provide support to you as you need it 22
  23. 23. Components to experiment with! 23
  24. 24. Components to experiment with! 24
  25. 25. Breakout Boards! – Cool Components Breakout, Starboard Orange Breakout 25
  26. 26. m3pi Robots! – Line sensors for linefollowers, Bluetooth for remote control 26
  27. 27. Use the Handbook and Cookbook...
  28. 28. Step-by-step introductory project • For absolute beginners • An extract from: ARM microcontrollers, Part 1 35 projects for beginners By Bert Van Dam • Simple AnalogIn Experiments 28
  29. 29. Workshop Rules • Experiment with whatever components you want – Some things are more complex than others; start simple  • Be considerate of others – Please return all the components as you finish with them • Don’t be afraid to ask for help or guidance – We’ve sat everyone next to an assistant • Go for it! 29
  30. 30. NXP mbed Design Challenge Develop a product prototype, reusable library or reference design, share it on http://mbed.org, and help others build their prototypes even faster! Anyone with an mbed NXP LPC1768 can enter! http://www.circuitcellar.com/nxpmbeddesignchallenge 30 Prize pool of $10,000! Prize pool of $10,000!
  1. Gostou de algum slide específico?

    Recortar slides é uma maneira fácil de colecionar informações para acessar mais tarde.

×