element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • 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
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs Peanut Butter Jelly Time!
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 17 Apr 2011 10:32 PM Date Created
  • Views 324 views
  • Likes 1 like
  • Comments 0 comments
  • board
  • hackerspace
  • edubrm
  • brmlab
  • gghc
  • software
Related
Recommended

Peanut Butter Jelly Time!

Former Member
Former Member
17 Apr 2011

Last two weeks we were familiarizing with the LPC1343 micro-controller and trying to sort our ideas out and also to get from very high-level project overview to concrete and detailed prototype. We made lots of achievements and in the process we learned a lot.

 

At first we wired USB cable, a LED, a potentiometer and an old Nokia 3310 display to the controller. USB cable is used for communication between our software and the main board using USB HID protocol. LED serves as an indicator for pulse-width modulation (PWM). With potentiometer we can test the functionality of AD converters and display is a very nice way how to test Serial Peripheral Interface Bus (or SPI). This protocol will be used to control Direct Digital Synthesizer (DDS) in our final design.

image

We really loved the performance of the LED display using SPI so we went crazy a little bit and we ended up with a funny Peanut Butter Jelly Time animation running on our prototype! See the image and the video below for evidence. :-)

image

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

While Biiter and Stick were trying to understand how the microcontroller works (and listening to Peanut Butter Jelly Time song for at least one hundred million times), Sargon got into designing the final board so we could get it printed. I think the following images are impressive and speak for themselves.

image

image

As you can see our main board design has one LPC1344 microcontroller (U1), three connectors for attaching various shields (SV1, SV3, SV4), one Direct Digital Synthesizer (U$1) for generating simple signals, one operational amplifier for amplifying this signal (U$3), another operation amplifier for amplifying input signals (U$2) and six switches to decide whether input signals need amplification or not (IC1-IC6).

 

We haven't forgot to work on our software as well! We now have a fully functional Python application which sends commands to mainboard via USB. One can set values for both PWM pins, control both OPAMPs, set the DDS frequency and waveform type, set the direction of IO pins and their values (if they are set to as output), set the state of the switches and the sampling rate for reading analog values and input pins.

image

This Debug module will not be a part of the final solution, but it is very critical for us now as we can read and set various main board properties. Next step would be to implement separate module (with easy to use user interface) for every prototype shield we create and create these shields as well.

  • Sign in to reply
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 © 2023 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.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube