June 26, 2019, 04:40:21 am

News:

The account sign-up bug has been fixed.



Alternatively, join us on Discord.

My Christmas tree

Started by Juju, December 05, 2016, 07:44:39 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Juju


Video of it in action
(sorry for bad lighting but you get my point :P)

I think I made that a few years ago, made it again this year, got some fakeish plastic Christmas tree-like cone and a battery-powered set of lights at the dollar store, put those together, wired where the batteries would be to my TI C2000 Launchpad (because my brother has my Arduino), fired up the Fade example in Energia and there you go, a programmable USB Christmas tree. Still have to figure out how to serial port with Energia, but had I have my Arduino, could have done some fancy blinking stuff with it. Not that I already can do fancy stuff.

Are you doing some Christmas-themed projects this year?
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron



if you wanna throw money at me and/or CodeWalrus monthly it's here

p2

that looks really nice ;D
But I'm note sure if I'm supposed to stare at the tree or that huge mouth x.x

sadly I have no tech-related projects this year for christmas ._.
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DJ Omnimaga

I remember this juju and this was kinda cool. WOuld be interesting to see if this was possible with a larger tree and with different stuff, eg my music :P

Juju

Some people do that with their entire house decorations.
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron



if you wanna throw money at me and/or CodeWalrus monthly it's here

p2

the facebook pic in the first post turned into a 404 D:
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DJ Omnimaga

Quote from: Juju on January 02, 2017, 02:56:39 am
Some people do that with their entire house decorations.
Yeah I saw that on Youtube O.O. Wasn't there an house with Star Wars-themed Christmas decorations a few years ago?

WholeWheatBagels

Quote from: Juju on January 02, 2017, 02:56:39 am
Some people do that with their entire house decorations.


there is a guy near me that every year sets up lights over the entirety of his yard / house and has it set to music with patterns and whatnot.
Living in another world to you.



Also in case you were wondering Frankie did go to Hollywood

aeTIos

Wow, that sounds annoying haha.
ceci n'est pas une signature

p2

And you never sneaked over and pulled the plug...? It would even be a good thing as you prevent a massive waste of energy ;)
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Juju

It's January 15th and I still have my tree plugged in. Hehehe.
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron



if you wanna throw money at me and/or CodeWalrus monthly it's here

DJ Omnimaga

Quote from: p2 on January 15, 2017, 09:50:23 pm
And you never sneaked over and pulled the plug...? It would even be a good thing as you prevent a massive waste of energy ;)
The power bill must be insane with so many lights. I wonder how much it would be with LED lights, though?
Quote from: Juju on January 15, 2017, 10:24:29 pm
It's January 15th and I still have my tree plugged in. Hehehe.
I have yet to remove my christmas decorations lol, because I was sick two weeks ago, which was around when I originally planned to remove them, and then I got too busy <_<

But again, in Quebec City there is a neighborhood in which they even let the Christmas lights turned ON until April or so (or at least until there's no snow anymore).

Juju

Fun fact: Christmas tree is now powered by my Raspberry Pi.

Code (node.js) Select
var wpi = require('wiring-pi');
wpi.wiringPiSetup();
wpi.pinMode(1, wpi.PWM_OUTPUT);
var dir = 1;
var val = 511;
function sweep()
{
  if(val <= 0 || val >= 1023)
    dir *= -1;
  val += dir;
  wpi.pwmWrite(1, val);
}

setInterval(sweep, 3);
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron



if you wanna throw money at me and/or CodeWalrus monthly it's here

Powered by EzPortal