author
2Instructables16,053Views17CommentsJoined September 30th, 2016

Tell us about yourself!

Complete Your Profile

Achievements

10K+ Views Earned a bronze medal
  • Kapitein Haak commented on Kapitein Haak's instructable Halloween Magic Mirror6 months ago
    Halloween Magic Mirror

    Hello Rick,It was a long time ago since I wrote this tutorial, but it seems you need SPI-DEV as well:Enter the following command in LXTerminal (or another terminal): sudo raspi-configChoose option 8 (Advanced Options), choose “A6 SPI” and choose “Yes”. This will enable the pins after a reboot of the Pi (Edit: In Raspbian Stretch this seems to have moved to option 5 (Interfacing options), thanks to brackenb5 for the info).In the same LXterminal (after exiting raspi-config) type: sudo nano /etc/modulesAt the end of the file add: spi-bcm2807Save the file and exit the nano editor.In the LXterminal enter the following commands:sudo apt-get install git python-devgit clone git://github.com/doceme/py-spidevcd py-spidev/sudo python setup.py installHave you followed all instructions? You need bot...

    see more »

    Hello Rick,It was a long time ago since I wrote this tutorial, but it seems you need SPI-DEV as well:Enter the following command in LXTerminal (or another terminal): sudo raspi-configChoose option 8 (Advanced Options), choose “A6 SPI” and choose “Yes”. This will enable the pins after a reboot of the Pi (Edit: In Raspbian Stretch this seems to have moved to option 5 (Interfacing options), thanks to brackenb5 for the info).In the same LXterminal (after exiting raspi-config) type: sudo nano /etc/modulesAt the end of the file add: spi-bcm2807Save the file and exit the nano editor.In the LXterminal enter the following commands:sudo apt-get install git python-devgit clone git://github.com/doceme/py-spidevcd py-spidev/sudo python setup.py installHave you followed all instructions? You need both spi-bcm2807 (included in the default raspbian distribution) AND python-dev (py-spidev, downloaded from git and installed).Please let me know if this helps.Best regards, Kapitein Haak.

    View Instructable »
  • Kapitein Haak commented on Kapitein Haak's instructable Halloween Magic Mirror8 months ago
    Halloween Magic Mirror

    Hello RickT80,I do not have access to my equipment right now. Did you enable the spi interface?Best regards,Kapitein Haak.

    View Instructable »
  • Kapitein Haak commented on Kapitein Haak's instructable Halloween Magic Mirror1 year ago
    Halloween Magic Mirror

    Hello JaapT,When the display is off (or entirely black), the mirror should reflect almost perfectly. When the image shines through too much, there are a few options you can try. First; turn down the backlight / brightness of the monitor. The darker the image, the less it will shine through. The darker the environment the mirror is placed in, the more it will shine through. You might be able to place the mirror in a brighter spot. The mirror glass will let the side with the most light shine through. Omxplayer does not seem to support brightness, but any decent video editing software should be able to make the video darker. Hope this helps.

    View Instructable »
  • Kapitein Haak commented on Kapitein Haak's instructable Halloween Magic Mirror1 year ago
    Halloween Magic Mirror

    Hello Jaap,You also made a remark on the doorkijkspiegel. The website seems to supply the correct item. I used a similar product from another website.Best regards, Kapitein Haak.

    Hello JaapT,I used the hollusion / wall videos. You could use the window / tv versions as well, but then the hallway would also be visible in the mirror (what I did not want).Best regards, Danny.

    View Instructable »
  • Kapitein Haak commented on Kapitein Haak's instructable Halloween Magic Mirror1 year ago
    Halloween Magic Mirror

    That is looking just fine! Happy halloween!

    View Instructable »
  • Kapitein Haak commented on Kapitein Haak's instructable Halloween Magic Mirror1 year ago
    Halloween Magic Mirror

    Hello brackenb5,Good to hear that the instructable is clear enough so others can build a mirror as well ;-).Thanks for your input, I have added your comments to the instructable.Best regards,Kapitein Haak.

    View Instructable »
  • Kapitein Haak commented on Kapitein Haak's instructable Halloween Magic Mirror1 year ago
    Halloween Magic Mirror

    Acrylic will do just fine (I used acryllic), it is way cheaper as well. My mirror-acrylic is approximately 54x32 cm's. After ripping apart the monitor casing I was left with a metal frame around the monitor with the same size.I used a 24" monitor which is large enough for me.

    Hello DaraL6,I flipped the monitor on it's side as well, so no problem there. The display should end up the small side on top and bottom. The video samples mentioned in the instruction require the monitor this way and have a black background so that the reflection will largely remain. A TV is fine, most of the electronics is probably the same as a monitor. You will need to search for the acrylic glass. Look for two way mirror or interrogation mirror acrylic glass. The acrylic glass should be handled with care BTW. It scratches easily.

    Hello ocupmoc,I used a ping sensor first, if that is what you want to use then I would advise the IR sensor. There is still a large amount of code left in the python script for the ping sensor, but it did not work well on soft fabric. Yo will want to test the detection before halloween ;-).

    View Instructable »
  • How to Halloween Skull and Bones

    Hello Patsensei,No problem asking for help. The swiveling during the other songs isn't done in my script, but you should be able to add it (though the blinking of the leds might take a hit). In the original code you will find the following lines: if (play_state == LOW){ // there is a song currently playing previousMusicMillis = millis(); // remember time for future BlinkEyes (); // set the eye leds to the next value }You could change this piece of line to: if (play_state == LOW){ // there is a song currently playing previousMusicMillis = millis(); // remember time for future BlinkEyes (); // set the eye leds to the next value RotateSkull(); }You can then create a new void RotateSkull() {} where you change the position of the skull. The BlinkEyes() is...

    see more »

    Hello Patsensei,No problem asking for help. The swiveling during the other songs isn't done in my script, but you should be able to add it (though the blinking of the leds might take a hit). In the original code you will find the following lines: if (play_state == LOW){ // there is a song currently playing previousMusicMillis = millis(); // remember time for future BlinkEyes (); // set the eye leds to the next value }You could change this piece of line to: if (play_state == LOW){ // there is a song currently playing previousMusicMillis = millis(); // remember time for future BlinkEyes (); // set the eye leds to the next value RotateSkull(); }You can then create a new void RotateSkull() {} where you change the position of the skull. The BlinkEyes() is called * a lot * of times a second to make them blink, so in the RotateSkull you should not rotate it every time, but use a timer and rotate the head once every few times.Best of luck!Kapitein Haak

    View Instructable »
  • How to Halloween Skull and Bones

    Hello Patsensei,Your project looks impressive! You can change the angle of rotation in the function FaceHead(). Right after attaching to the servo (myservo.attach (5); ) you can change the angle (myservo.write (90); ). Just use a higher number (do not go further then the servo is designed to go). You could probably use 180, which would make the head turn the other direction. You may need to increase "delay (200);" just a few lines later in case the servo needs more time to turn.Best regards, Kapitein Haak.

    View Instructable »
  • How to Halloween Skull and Bones

    Hello Patsensei!Great to hear you finished the instructable and (almost) everything is working. The fading of the LEDs is controlled by the AnalogWrites.Could it be that you are using a Arduino UNO? For the AnalogWrite command to work the LEDs need to be connected to a PWM pin on the Arduino. On the Mega, both pin 9 and 12 are PWM. On the UNO only pin 9 is PWM (and can use AnalogWrite). While you are still improving, you may want to replace the speaker with a 3,5 mm female audio connector and hook it up to an amplifier. You will need to connect the connector to the dfplayers DAC_L and DAC_R pins. The sound is OK indoor with the speaker, but hardly audible outside.I am currently working on a new project which includes a Magic Mirror for Halloween 2017 ;-) Please let me know if you fixed ...

    see more »

    Hello Patsensei!Great to hear you finished the instructable and (almost) everything is working. The fading of the LEDs is controlled by the AnalogWrites.Could it be that you are using a Arduino UNO? For the AnalogWrite command to work the LEDs need to be connected to a PWM pin on the Arduino. On the Mega, both pin 9 and 12 are PWM. On the UNO only pin 9 is PWM (and can use AnalogWrite). While you are still improving, you may want to replace the speaker with a 3,5 mm female audio connector and hook it up to an amplifier. You will need to connect the connector to the dfplayers DAC_L and DAC_R pins. The sound is OK indoor with the speaker, but hardly audible outside.I am currently working on a new project which includes a Magic Mirror for Halloween 2017 ;-) Please let me know if you fixed the LEDs. You could always connect a new LED to a PWM port (9) and GND (and hook up a resistor). Then load the Example, 03.Analog, Fading example in the Arduino. It *should* just work, after identifiying two working ports, you can alter the Halloween.ino to match these ports and upload it again.Best regards, Kapitein Haak.

    View Instructable »
  • How to Halloween skull and bones

    Hello Richard,I used a Mega because it was really cheap with a lot of components. I got myself something like this: https://nl.aliexpress.com/item/Free-shipping-mega-2560-r3-starter-kit-motor-servo-RFID-Ultrasonic-Ranging-relay-LCD-for-arduino/1863242034.html?spm=2114.48010208.4.44.9AnxNv. It included a Mega which has way more inputs/outputs then the Uno and has more RAM. When you go for the original Arduino the price difference is quite high. You can probably run the project on the Uno, but no guarantees (and you may have to change some port numbers).Best regards,Kapitein Haak.

    View Instructable »
  • Kapitein Haak's instructable How to Halloween skull and bones's weekly stats: 2 years ago
    • How to Halloween skull and bones
      609 views
      11 favorites
      2 comments
  • How to Halloween skull and bones

    Hello Swansong,Thanks for the compliment! It may take some time before a floating version comes from my hands. But maybe someone else will create a proper version ;-).

    View Instructable »