• Sign In
  • Sign Up
    Loading ...
View All Updates Mark All Read
  • Home
  • Videos
  • Albums
  • Groups
  • Forum
  • Events
  • About
  • Store

Member Info

  • Profile Type: Regular Member
  • Networks: North America and Europe
  • Profile Views: 3,706 views
  • Friends: 0 friends
  • Last Update: October 25, 2016
  • Joined: January 16, 2015
  • Updates
  • Info
  • Forum Posts(1)

Updates

The post was not added to the feed. Please check your privacy settings.
  • Robert Klingberg
    Robert Klingberg joined the group U.S.A Sbrick Fans
    • October 25, 2016
  • Robert Klingberg
    Robert Klingberg posted a topic in the forum Support:
    SBrick PWM Output
    Hello, in using SBrick and working to develop add-ons for Power Functions, I have noticed the PWM output coming from SBrick for motors is not normal (verified using an oscilloscope).  Normal PWM looks smooth and rises and falls from 0V to max...  moreHello, in using SBrick and working to develop add-ons for Power Functions, I have noticed the PWM output coming from SBrick for motors is not normal (verified using an oscilloscope).  Normal PWM looks smooth and rises and falls from 0V to max voltage and back again.
    With SBrick, this is how the PWM operates when there is no motor connected.  However, when there is a motor connected to any port, the PWM signals on that port become very irregular.  The irregularities vary depending on which type of motor is connected, so an M-Motor will cause less irregularity than an XL-Motor for example.
    I did research into this and also spoke with Texas Instruments, maker of the H-Bridge chips SBrick uses to control outputs, and it seems this behavior may be caused by the fact that you did not implement any current sense resistors on the H-Bridges in your design. TI illustrates the use of current sense resistors connected to pins 1 and 4 of the chip (AISEN and BISEN), yet you have these pins...    less
    • October 25, 2016
  • Robert Klingberg
    Robert Klingberg commented on Jerome Egli's album.
    • January 16, 2015
    • juerg siegenthaler and Lénárd Pásztor like this.
    • View all 6 comments
    • Robert Klingberg
      Robert Klingberg Did you need to modify the switch by removing the tab/spring, or is this an unmodified switch?
      • January 16, 2015
    • Robert Klingberg
      Jerome Egli Hi Robert, I tried both. Onetime with modification and one time without. The solution without modification (original) worked better with this method. The Medium-Motor was enough powerful. The Version with modification (modified tab/spring) did not close...  moreHi Robert, I tried both. Onetime with modification and one time without. The solution without modification (original) worked better with this method. The Medium-Motor was enough powerful. The Version with modification (modified tab/spring) did not close the switch properly. I will surely do some more tests (probably with a servo Motor). But at the Moment it seems that this is quite a nice possibility for rempote controlled Switches which does not need a lot of parts (e.g. no gears).  
      • January 16, 2015
    • Robert Klingberg
      Robert Klingberg Thanks for the additional detail, Jerome. The fact that you got it working without modification is great!
      • January 16, 2015
    • Robert Klingberg
      Jerome Egli I just saw at lego.com that the m-Motor is sold out... :-(
      • January 19, 2015
    • Robert Klingberg
      juerg siegenthaler Versuchsmal hier: http://shop.educatec.ch/legoeducationaldivision/ergaenzungssortiment/legoelektrischeelemente/index.php
      Die haben ein riesen Lager mit M Motoren

      Look at:...  more
      Versuchsmal hier: http://shop.educatec.ch/legoeducationaldivision/ergaenzungssortiment/legoelektrischeelemente/index.php
      Die haben ein riesen Lager mit M Motoren

      Look at: http://shop.educatec.ch/legoeducationaldivision/ergaenzungssortiment/legoelektrischeelemente/index.php  
      • January 28, 2015
  • Robert Klingberg
    Robert Klingberg has just signed up. Say hello!
    • January 16, 2015
View More
Loading ...

Info

Personal Information

  • First Name Robert
  • Last Name Klingberg
  • Gender Male
  • Birthday January 16, 1969

Contact Information

  • Website http://www.brickstuff.com
  • Twitter brickstuff
  • Facebook facebook.com/brickstuff

Personal Details

  • About Me We make next-generation lighting and automation products in Minnesota, USA.

Forum Posts

  • October 25, 2016 5:32 PM CEST
    in the topic SBrick PWM Output in the forum Support
    Hello, in using SBrick and working to develop add-ons for Power Functions, I have noticed the PWM output coming from SBrick for motors is not normal (verified using an oscilloscope).  Normal PWM looks smooth and rises and falls from 0V to max voltage and back again. With SBrick, this is how the PWM operates when there is no motor connected.  However, when there is a motor connected to any port, the PWM signals on that port become very irregular.  The irregularities vary depending on which type of motor is connected, so an M-Motor will cause less irregularity than an XL-Motor for example. I did research into this and also spoke with Texas Instruments, maker of the H-Bridge chips SBrick uses to control outputs, and it seems this behavior may be caused by the fact that you did not implement any current sense resistors on the H-Bridges in your design. TI illustrates the use of current sense resistors connected to pins 1 and 4 of the chip (AISEN and BISEN), yet you have these pins connected directly to ground.  This would seem to explain part of why I'm seeing the irregular waveforms: the H-Bridges may be tripping max current and resetting constantly. I see on the SBrick PCB there is a large set of pads where each of the current sense resistors should have been, which leads me to believe you tested with the resistors but in the end decided not to implement them. Can you provide more detail about why you made this design choice?  The irregular waveforms (whatever is causing them) are making it impossible to design reliable accessories that will work with SBrick.  They work fine with the LEGO PF controllers (as these generate clean waveforms regardless of what motor is connected to them), but not with SBrick. Thank you! --Rob
Previous
Next
Copyright ©2025  -  Privacy  -  Terms of Service  -  Contact  - 

 

SBrick is carried by Kurbli Kft. LEGO®, the LEGO® logo, the Minifigure®, DUPLO®, the DUPLO® logo, BIONICLE®, the BIONICLE® logo, LEGENDS OF CHIMA®, the LEGENDS OF CHIMA® logo, DIMENSIONS®, the DIMENSIONS® logo, the FRIENDS® logo, the MINIFIGURES® logo, MINDSTORMS®, the MINDSTORMS EV3® logo, MIXELS®, the MIXELS® logo, NINJAGO®, the NINJAGO® logo, NEXO KNIGHTS®, and the NEXO KNIGHTS® logo are trademarks and/or copyrights of the LEGO Group, which does not sponsor, authorize or endorse this web site. ©2018 The LEGO Group. All rights reserved.

Share