element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
  • Settings
Recycle & Retrofit
  • Challenges & Projects
  • Project14
  • Recycle & Retrofit
  • More
  • Cancel
Recycle & Retrofit
Blog Mr. Machine gets an upgrade - New boards, but not enough time
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Recycle & Retrofit to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: genebren
  • Date Created: 15 Dec 2020 3:11 AM Date Created
  • Views 1358 views
  • Likes 9 likes
  • Comments 4 comments
  • recycleretrofitch
Related
Recommended

Mr. Machine gets an upgrade - New boards, but not enough time

genebren
genebren
15 Dec 2020

In my prior blogs (Mr. Machine gets an upgrade - working on the pieces. , Mr. Machine gets an upgrade - new internals, motors installed and new PCBs and Mr. Machine gets an upgrade - time is running down ) I walked through Mr. Machine's history and some of my updates.  This time I will wrap up what I can as the project14 deadline closes.

 

I was very concerned as time ran down and my boards had not yet arrived.  Late Saturday afternoon (12/12), the boards finally showed up.  I jumped right in, finishing a few design details (schematic and BOM) and moved on to assembly.  Here are some shots of the finished boards:

 

imageimageimage

 

Clockwise from the upper left hand corner, are the Power Pack, Motor Driver and Controller boards.   During the finalization of the schematics and BOM, I noticed a few errors on the controller board.  First, I noticed that I had mapped one of the pins incorrectly.  The Midi player function uses an timer compare output that is available on Pin3, but I somehow connected Pin2 to the low pass filter and on to the audio amplifier.  The other error was due to a bad assumption that I made concerning the hardware support of the I2C port on the ATTINY85.  Device is basically a simple serial port and requires a fair amount of bit banging to actual function as an I2C port.  With the high rate of sampling needed for the four-voice PWM tone generation of the Midi player, it would be very difficult to get any reliable/repeatable timing on the I2C bus.  I decided to isolate the ATTINY85 part from the I2C bus (mainly used to communicate between the three boards.  Instead, I routed the two signals from the ATTINY85 to two unused pins on the ATMEGA328PB (to be used as a start/stop control and a status line.

 

Here is the updated schematics and BOM for each of the boards:

 

First the Controller Board.

imageimage

 

Motor Driver Board.

imageimage

 

Power Pack Board.

 

imageimage

 

The overall connection diagram is as follows:

image

 

I have started writing/porting the firmware from the WalkyII project, but I have not gotten far enough through the process to document the firmware at this time.  I fully intend to complete this project and I will continue to blog on my progress/results.  All in all this was a fun project undertaking.  I learned a valuable lesson from my deadlines issues with the printed circuit board, which is, complete all of your long lead time orders earlier in the project time line.  I spent a huge amount of time designing and printing all of the plastic parts and I left the final electronic design details and ordering towards the end of the project.  This is a mistake I hope not to repeat in the future.

 

Thanks for following along on this journey with me.  I don't know about you, but for me, this has been a lot of fun!

  • Sign in to reply

Top Comments

  • genebren
    genebren over 4 years ago in reply to dubbie +2
    Thanks Dubbie. The PCB making process is really getting a lot easier with many free tool sets (Eagle has a free, limited version) and many online vendors. At the lowest levels it can be very 'lego like…
  • genebren
    genebren over 4 years ago in reply to ralphjy +2
    Thanks Ralph! A labor of love. I am digging in to the firmware now. I have the Midi played running on the new controller board and I am digging into the remaining controller functions. I hope to have this…
  • dubbie
    dubbie over 4 years ago +1
    Gene, The PCBs look really nice. One day I hope to be able to do the same. Maybe I will make it one of my jobs for New Year. I'm also looking forward to seeing the completed robot up and running (or probably…
  • genebren
    genebren over 4 years ago in reply to ralphjy

    Thanks Ralph!  A labor of love.  I am digging in to the firmware now.  I have the Midi played running on the new controller board and I am digging into the remaining controller functions.  I hope to have this all running before my grandchildren visit again.  I will continue to post as I make progress.

     

    Thanks again.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ralphjy
    ralphjy over 4 years ago

    Gene,

     

    Great project!  Quite a lot of complexity for a Project14 build (or maybe that should be effort).  I think you did a lot in the short timeframe.  Glad that you're having fun with it image.   Can't wait to see it working.

     

    Ralph

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 4 years ago in reply to dubbie

    Thanks Dubbie.  The PCB making process is really getting a lot easier with many free tool sets (Eagle has a free, limited version) and many online vendors.  At the lowest levels it can be very 'lego like', just a series of building blocks.  But, as the complexity increases it can require a fair amount of electronics knowledge.  Using a PCB as a interconnection media (sort of like a motherboard), sure makes prototype builds easier than soldering a bunch of wires in place.

     

    I am really excited to get this guy up and running.  I am going to keep working on this project, as my Grandkids are quite interested in this project.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dubbie
    dubbie over 4 years ago

    Gene,

     

    The PCBs look really nice. One day I hope to be able to do the same. Maybe I will make it one of my jobs for New Year. I'm also looking forward to seeing the completed robot up and running (or probably walking very slowly)

     

    Dubbie

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
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 © 2025 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

  • X
  • Facebook
  • linkedin
  • YouTube