feat0

Turn your Room into your office or a Mario game: Microsoft HoloLens VirtulaReality

What if I say that while just sitting in a sofa in your room can can do your office work by changing your room compeletly into your office or, what if you can see beyond your Laptop's or PC screen.

Read More
feat2

Phone not Smart enough: Light_Phone

In a world of smartphones, smart watches, smart TVs and smart homes, The Light Phone seeks to stand out by being, well, not very smart at all. While in today's world everyone is n social media weather for a professional cause or a just to remain connected to friends, family and to the world.

Read More
feat3

All you need to know Review Google_Cardboard!

Virtual Reality Headsets were the main attractions in this year's CES at Las Vegas. All the headsets like Oculus Rift really seized the moment, but the main issue was there cost which varied between $200-$400 which is pretty much. Samsung also proposed that they want to work on a smartphone compatible VR headset.

Read More
feat4

Cicret Bracelet - Tablet on your Skin

I think 2015 will be a revolution in the Technology Industry, everyday new techs coming out and some of them are really freaky, which have blown my and many other peoples minds. Like I have been posting about about new smartphones in 2015 to change the way we think. Previously i updated about the LG's TVs which are about to show in CES 2015 and they are really step ahead the way we think about the TVs. These both two topics are right below in the blog archive, in case you want to have look at them.

Read More
feat5

Meet the newbies Cool Galaxy super gadgets.: Samsung_Galaxy_S6 and the Samsung_Galaxy_S6_Edge

The two most awaited gadgets of the year are the iPhone and the next Samsung Galaxy series smartphone. Yesterday (i.e. 02/03/2015) Samsung launched it's next gen smartphones i.e. Samsung Galaxy S6 and the S6 Edge having the curved display at the edges of the smartphone. Both New gadgets got some really cool features let's check them out.

Read More

Electronic Dice Simple Arduino Project - DIY

Posted by Unknown | Sabtu, 04 April 2015 | Category: |

Wandering around I found an interesting project to do on your Arduino. It's a electronic dice so, next time you play ludo or monopoly you don't need any more the conventional dice. I made it myself too. I will give here the program also.

Simply getting to the project the things we will need are:-

1. (2) 330 ohms resistors or (1) 560 ohms
2. 6 LEDs
3. Arduino
4. Some Connecting wires
5. 9 volt battery
6. Battery Clip
7. Bread Board

So, here's the circuit diagram





Now we you can build this circuit as it is very simple. After making the connections the circuit will look like this



Here we have a nice simple circuit. Now come the programming part. Go to this page and you can download the code - Electronic dice

Your browser will not be able to preview this rather, download this or if you are using Google Chrome ( not sure about other browsers ) there will option of a third party app " Drive Notepad " which can give a preview or you can download it too.


I hope that you find this project fun and try it yourself. Any doubt about programming or circuit you can mail me or comment here below. All queries will be solved.



Like us on Facebook - Electronics Time

Follow me Google+ by clicking the Follow button above


Some people were not able to download the code so here I am writing the code:-



// electronic dice 

void setup()
{
  randomSeed(analogRead(0)); // seed a random number generator
  for( int z=1 ; z<7 ; z++) 
  { 
    pinMode(z , OUTPUT); // LEDs 1-6 are output
  }
}
void randomLED( int del )
{
  int r; 
  r = random(1,7); // get a random number from 1-6
  digitalWrite(r , HIGH); // output to the matching LED digital pin 1-6
  if (del > 0)
  {
    delay(del); // hold LED on for the delay recieved
  }
  else if ( del == 0)
  {
    do // the delay entered was zero, hold the LED on forever
    {}
    while (1);
  }
  digitalWrite( r , LOW);// turn LED off
}
void loop()
{
  int a;
  // cycle the LEDs around for effect
  for ( a=0 ; a<100 ; a++)
  {
    randomLED(50);
  }
  // slow down
  for ( a=1 ; a<=10 ; a++)
  {
    randomLED(a*100);
  }
  // and stop at the final random number and LED
  randomLED(0);

}



references (project/circuit diagram):- Project 












Currently have 0 komentar:


Leave a Reply