News

moodlite - Coming soon


Connecting Power?

garqwan · 759

garqwan

  • Newbie
  • *
    • Posts: 1
    • Likes: +0/-0
    • View Profile
on: December 30, 2018, 12:44:50 AM
So my plan is to buy the 5.5/2.1mm sockets that CdRsKuLL had mentioned in his build post and connect them to his NodeMCU board. The question I have is how exactly do I do this?

From what I see the sockets have two prongs, would I then take some wire and connect these onto the board somewhere?
This is my first major electronics project and I'm somewhat confused how the whole power side of things works.

Edit: So the way I understand it, I need to connect the socket to the VIN pin/GND, and the lights need to connect to one of the 3.3V/GND sets as well as pin 6 (as shown in the code)?
« Last Edit: December 30, 2018, 04:05:46 AM by garqwan »



CdRsKuLL

  • The Fat Dude
  • Administrator
  • Full Member
  • *****
    • Posts: 113
    • Likes: +15/-0
  • Lighting the way...
    • View Profile
Reply #1 on: December 30, 2018, 08:23:50 AM
Morning,


I will be doing some diagrams and photos when I update my build diary today, yesterday I added the wiring for each tile. However, below is a photo to give you an idea... but in short.


You have the power coming in from the 5V PSU.. the connector then splits into two. Two wires go to the servo connector which connects and powers the LED strip and two go to power the controller on the Gnd and Vin connectors.  From the controller (pin 6) goes and connects to the white wire (signal or Din) on the servo connector.  :-)








Mine needs a good tidy up but it's a work in progress one as I'm going to try and add a mic next so it reacts to sound.. that's what the extra post is for inside and the slots in the front cover :-)


Will do a proper diagram later.. but hope this helps for now.


Steve
« Last Edit: December 30, 2018, 08:28:29 AM by CdRsKuLL »

Moodlite is a completely free open source project.
If however you would like to say thanks and help contribute to this site, or just buy me a beer then please donate below. :-)



spigot

  • Global Moderator
  • Full Member
  • *****
    • Posts: 112
    • Likes: +24/-0
  • There's no place like 127.0.0.1
    • View Profile
Reply #2 on: December 30, 2018, 05:42:19 PM
You should use capacitor (1000 uf) placed across the 5V & GND wires, close to the LED strip. And also resistor ( between 220 and 470 Ohm) to protect data pin. ;)



CdRsKuLL

  • The Fat Dude
  • Administrator
  • Full Member
  • *****
    • Posts: 113
    • Likes: +15/-0
  • Lighting the way...
    • View Profile
Reply #3 on: December 30, 2018, 06:13:54 PM
Would not adding the resistor lower the voltage of the Nodemcu? It's only outputting 3.3v as it is. Also, do you need a cap across the led power? Does this not depend on the PSU you use?  Only asking to clear any  questions and if so, then I need to alter my build log.


Thanks


Steve

Moodlite is a completely free open source project.
If however you would like to say thanks and help contribute to this site, or just buy me a beer then please donate below. :-)



spigot

  • Global Moderator
  • Full Member
  • *****
    • Posts: 112
    • Likes: +24/-0
  • There's no place like 127.0.0.1
    • View Profile
Reply #4 on: December 30, 2018, 06:32:17 PM
My english isn't that good to explain it, so internet is our friend  ;D

Resistor: https:// electronics.stackexchange .com/a/177020

Capacitor: https:// electronics.stackexchange .com/a/374924

Neopixel Best Practices https:// learn.adafruit .com/adafruit-neopixel-uberguide/best-practices



shfaxx

  • Jr. Member
  • **
    • Posts: 95
    • Likes: +13/-0
    • View Profile
Reply #5 on: January 07, 2019, 02:36:05 PM
My english isn't that good to explain it, so internet is our friend  ;D

Resistor: https:// electronics.stackexchange .com/a/177020

Capacitor: https:// electronics.stackexchange .com/a/374924

Neopixel Best Practices https:// learn.adafruit .com/adafruit-neopixel-uberguide/best-practices

Some additional info on this.  This article isn't using the same board, but the concept is the same.
https://www.eerkmans.nl/powering-lots-of-leds-from-arduino/



 


SMF spam blocked by CleanTalk