element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry I/O galore in new Gertboard video
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 19 replies
  • Subscribers 708 subscribers
  • Views 3050 views
  • Users 0 members are here
  • raspberry_pi
  • arduino
  • gertboard
Related

Raspberry I/O galore in new Gertboard video

fustini
fustini over 14 years ago

Howdy,

 

I was very excited to see a new video posted today on the Gertboard:

 

http://www.raspberrypi.org/archives/868

Here’s some video from Gert on the new revision of Gertboard, an expansion board for the Raspberry Pi which brings out the GPIO. There are some lovely demos of Gertboard enabling the Raspberry Pi to work with an analog slider controller and a motor here.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

The Rev2 board looks like it is full of fantastic possibilities.  I'm very happy to see both an ADC and DAC.  Moving the slider to control the motor speed is a nice visual demo.  Gert has posted in the blog post comments a link to pic of DAC output on a scope:

http://img803.imageshack.us/img803/7035/dac.jpg

 

Another interesting development is that the PIC microcontroller has now been replaced with an AVR.  He refers to it as an Arduino in the video and has tested with an ATMega168 and ATMega328 (http://www.raspberrypi.org/forum/educational-applications/gertboard/page-12/#p57407).

 

Gert closes by saying that a production run of 1,000 is about to commence and the plan is that they'll be ready in 4-5 weeks and sold via the RaspberryPi.org website store.  I believe it will be just the bare PCB, but blog comments from Liz mentioned that there might be a kit option, too.

 

Did anyone else dig the ASCII graphics in the demo? image

 

Cheers,

Drew

  • Sign in to reply
  • Cancel
Parents
  • fustini
    fustini over 14 years ago

    FYI - the RaspberryPi.org blog has just posted with a link to download the software for the Gerboard:

     

    http://www.raspberrypi.org/archives/960

    Gert has had a lot of requests from you guys for the software used in the last Gertboard video (Gertboard, for those who are new round here, is a GPIO expansion board you can use to get your Raspberry Pi to drive motors, lights, sensors and all that good stuff.)

     

    For now, you can download the Gertboard software here

     

    A cursory look shows that it is written in C and appears to use memory mapping to interface with the ARM peripherals.  In addition to LEDs and buttons via GPIO, it includes an example of interfacing with an external ADC and DAC via SPI.  It also show how to use the ARM's built-in PWM capability (including some nice ASCII art).

     

    Cheers,

    Drew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 14 years ago in reply to fustini

    I took a quick look at the C code too, which incidentally compiles fine on an Intel Linux box as well.

     

    This is the kind of program that should never be run on a Linux machine, as it contains timing loops and polls and busy waits, burning up CPU instead of being I/O event-driven like all good Unix programs should be.

     

    (It's just a demo of course, which is fine in itself, but the trouble is, people take demos and extend them into non-demo applications which preserve all the problems of the demo code.)

     

    It's because of problems like this that the Gertboard has a microcontroller of its own.  The general idea is that you put timing loops, polling and busy waiting down in the micro where it can be done with good realtime constraints, only occasionally sending I/O events back to the Rpi where the user-space program waits passively on a file descriptor.  That way you don't suffer all the poor timing and latency issues of Linux user space, and you don't burn up CPU in wasted loops on the host machine.

     

    Issues like this will become an integral part of the technical education which the Rpi is intended to provide.  Expose our youngsters to the right way of doing things and we'll end up with better engineers in times ahead.  The opposite is also true.

     

    See also: http://en.wikipedia.org/wiki/Busy_waiting

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • morgaine
    morgaine over 14 years ago in reply to fustini

    I took a quick look at the C code too, which incidentally compiles fine on an Intel Linux box as well.

     

    This is the kind of program that should never be run on a Linux machine, as it contains timing loops and polls and busy waits, burning up CPU instead of being I/O event-driven like all good Unix programs should be.

     

    (It's just a demo of course, which is fine in itself, but the trouble is, people take demos and extend them into non-demo applications which preserve all the problems of the demo code.)

     

    It's because of problems like this that the Gertboard has a microcontroller of its own.  The general idea is that you put timing loops, polling and busy waiting down in the micro where it can be done with good realtime constraints, only occasionally sending I/O events back to the Rpi where the user-space program waits passively on a file descriptor.  That way you don't suffer all the poor timing and latency issues of Linux user space, and you don't burn up CPU in wasted loops on the host machine.

     

    Issues like this will become an integral part of the technical education which the Rpi is intended to provide.  Expose our youngsters to the right way of doing things and we'll end up with better engineers in times ahead.  The opposite is also true.

     

    See also: http://en.wikipedia.org/wiki/Busy_waiting

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube