giovedì 4 aprile 2013

blogging pause

I'm sorry but I have to stop blogging probably up to june because I have to study for school

martedì 2 aprile 2013

USB breadboard power supply

Today I'm posting about a simple USB breadboard 5v power supply I think there is nothing to explain, just take your solder and make an useful power supply for all your projects.
Here are some photos of mine:



I know this isn't a great post, but of course this is a nice tool that you can use for all your projects.
If you have any question comment or send me an e-mail to damianoandre@gmail.com

Bye, Dami

domenica 24 marzo 2013

Joule Thief

Hi, today I'm posting about Joule Thief.
Joule thief is a small voltage booster.
Here is a video that explain how it works:
If you'd like to build one here is the parts list:
-transistor 2n3904(or equivalent like 2n2222)
-ferrite ring (toroid)
-LED
-1k ohm resistor
-some wires


Here is a simple diagram:

Here are other photos of the project:


 I hope you like this post, if you have any question comment or send me an email to damianoandre@gmail.com

Bye, Dami

mercoledì 20 marzo 2013

Coin roll slow motion

Simple coin roll trick filmed at 120fps using a Casio EX-ZR1000.
I'm not really good in that trick but I tried.
Here is the video, I hope this will be helpful for everyone who wanna learn this nice trick :)



I hope you like this post, if you have any question please comment or send me an e-mail to damianoandre@gmail.com

Bye, Dami

P.S.: probably in a couple of weeks I'll post about flyback transformers, tesla coil and jacob's ladder.


giovedì 14 marzo 2013

Open source game engine: maratis3d

Hi, today i'm posting about a really versatile and easy to use open source game engine, it's called maratis3d.
I think it's a good point to start game development, it supports many cool features like lua scripting, full blender integration (with an addon), sounds, texts and many more...
The only bad thing is that it has a really poor documentation.
I'll not write everything about this game engine because I think it's really noob friendly and with just some tutorials that you can find on youtube you should make a nice little game.
I hope you'll enjoy playing around with that, if you have any question comment or send me an email to damianoandre@gmail.com

Bye, Dami

mercoledì 20 febbraio 2013

Simple javascript countdown script

I've created for a mine project a simple countdown script in JS, I think it's easy to use and really flexible.
Here is the code:
 
<script>
function countdown() {
    var yourdate = new Date("April 12, 2013 9:30:00"); 

    var now = new Date();
    var timeDifference = yourdate.getTime() - now.getTime();
    if (timeDifference <= 0) {
        clearTimeout(timer);
        //any other code to run on countdown completition
    }
    var seconds = Math.floor(timeDifference / 1000);
    var minutes = Math.floor(seconds / 60);
    var hours = Math.floor(minutes / 60);
    var days = Math.floor(hours / 24);
    hours %= 24;
    minutes %= 60;
    seconds %= 60;
    document.getElementById("days").innerHTML = days;
    document.getElementById("hours").innerHTML = hours;
    document.getElementById("minutes").innerHTML =  minutes;
    document.getElementById("seconds").innerHTML = seconds;
    var timer = setTimeout('countdown()',1000);
}
</script>
<style>
#cdcontainer{
text-align: center;
}
#countdown li{
display: inline;
list-style-type: none;
padding-right: 10px;
font-size: 60px;
background: #1560BD;
}
</style>
<body onload="countdown()">
<div id="cdcontainer">
<ul id="countdown">
<li id="days"></li>
<li id="hours"></li>
<li id="minutes"></li>
<li id="seconds"></li>
</ul>
</div>
</body>


This code is shared in the same license of the blog (creative commons, for more info check the end of the page)
I  hope this simple script will help you, for any information comment or send me an e-mail to damianoandre@gmail.com

Bye, Dami

domenica 10 febbraio 2013

Ice lamp

Today I'm gonna talk about a cool and simple project: an ice lamp.
To start you need:
-rubber balloon           
-1 LED
-some wires
-a 9v battery








First of all solder or connect in any other way the LED with you wires.
Then fill the balloon of water and put the LED with its wires inside (some water should get out).


 Now put the balloon in a freezer for about 3 hours.
After 3 hours connect your wires to 9v battery and the LED should light up.
Here are some photos of the final result:

 

martedì 22 gennaio 2013

Basis of logic gates

This post is about logic gates, those one are the basis of calculation in base 2 (so also of computers).
In this post I'll talk about three logic gates:
-not
-and
-or

NOT Gate
The not gate return the opposite of the input. Here is the truth table:
in out
0   1
1   0

This is the standard symbol of NOT gate:





AND Gate
The and gate return positive just if all the inputs are positive. Here is the truth table:
a b out
0 0   0
0 1   0
1 0   0
1 1   1

This is the symbol of AND gate:
 



OR Gate
The or gate return positive just if one input is positive. Here is the truth table:
a b out
0 0   0
0 1   1
1 0   1
1 1   1

This is the symbol of OR gate:






This gates can be created using transistors like BC547, here is a short summary about logic gates made using transistors:


You can also download a pdf of this summary here.

Here are some photos of logic gates made using transistors:






 
I hope you like this post, if you have any question comment or send me an email to damianoandre@gmail.com

Bye, Dami