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
  • 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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs Bluetooth Controller for LEDs #2 : The Output
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dubbie
  • Date Created: 31 Dec 2018 6:45 PM Date Created
  • Views 426 views
  • Likes 7 likes
  • Comments 2 comments
  • bluetooth
  • ledlights
Related
Recommended

Bluetooth Controller for LEDs #2 : The Output

dubbie
dubbie
31 Dec 2018

I have managed to connect up the output of the LED controller to my oscilloscope. This is the non-Bluetooth version of the controller because it is still fully shrouded so it is much safer, but it should be the same as the same LEDs are plugged in. I was expecting to see a 50 Hz sine wave of some description, but instead, I discovered a 66V peak to peak square wave at 25 Hz, see photograph below. Apologies for the fuzziness of the photograph, I have not yet worked out how to transfer my oscilloscope screen directly to my laptop - I'm sure it can be done.

 

image

 

 

So my sssumption about the output from the transformer being passed directly to the LEDs is obviously not correct. The transformer output must be being converted to a DC voltage and then switched. On a closer inspection of the Bluetooth PCB there is a square arrangement of transistors in one corner which is typical of a full H-bridge implementation. This makes sense as the LEDs would then be the load on the H bridge, with half of them facing one way and half the other way. Then the H bridge can be switched by turning on only two of the transistors at a time (diagonally opposite) to control the current direction and flow through the load (the LEDs). It also enables any frequency of switching to be used, hence the 25 Hz rather than the 50 Hz expected.

 

The video below shows the waveform when the controller is set to slowly fade on and off both halves of the LEDs. The square wave can be seen becoming longer and then shorter as the LEDs fade on and then off.

 

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

 

I'll have a look at the Bluetooth part next.

 

Dubbie

  • Sign in to reply

Top Comments

  • dubbie
    dubbie over 6 years ago in reply to genebren +3
    Gene, You are correct, although it wasn't a typo error as such. I remember doing the calculation that 1000 ms divided by 4 ms didn't seem quite right at 25. I used my talking calculator to do the calculation…
  • dubbie
    dubbie over 6 years ago in reply to genebren

    Gene,

     

    You are correct, although it wasn't a typo error as such. I remember doing the calculation that 1000 ms divided by 4 ms didn't seem quite right at 25. I used my talking calculator to do the calculation (I know I should be able to do it in my head but I was just checking) and the segments are beginning to disappear so it is difficult to see exactly what the result is. I must have misplaced a decimal point somewhere. I can also remember at the time thinking that 25 Hz was a peculiarly low frequency for this type of activity. I also tried shaking the LEDs to see if the switching became visible - which it didn't, although if it had been 25 Hz it should have been visible. Obviously as it is 250 Hz that explains many things.

     

    Dubbie

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 6 years ago

    That is looking like an even better deal than before.  I think you have a typo in regard to the switching frequency of the output (25Hz should be ~250Hz).  I like that they are using a slightly higher frequency, likely getting a lot less flickering in the LED at that rate.

     

    Keep up the good work!

     

    Gene

    • Cancel
    • Vote Up 0 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