Electronic devices love accuracy. If you give them the same task twice, you will get the same resault. But sometimes you want some random result. This can be used in games. You can create your own lottery game. We will help you to do that kind of game with this Arduino project. It can also be used in other situations. Like a random walk, wher
Click here to download the full size of the above Circuit.
e a robot makes a random turn, then walks a random distance or until it hits some object. It is more natural movement if robot moves this way. You newer know what it will do next. It might be very funny. The Arduino library has a algorithm for generating random numbers. There are two versions of the algorithm random. It can either take only one argument (max) or two arguments (min and max). In first case the minimum is assumed to be zero. Be careful, because the max argument can be misleading, as the biggest number you can get back is the max minus 1. So, the this line will give x a value of 1 to 6: Next step is to connect this components by the schematics below. You can build the circuit by connecting the parts directly or you can use the breadboard. Using breadboard is a better way because it looks better and orderly. Even though a dice can only have a max of six dots, we will need seven diodes to have the of a dot in the middle for one, three and five rolls. It is a dot in the middle of the area. After you created the circuit, next step is to program the Arduino board. You can program the board by using the Arduino software provided in the board package. Here is the software. You can copy/paste it, but it is not complex, the best way it to write it by yourself and when you have a problem, you can look below. We have 7 diodes to initialize in the method, so it is good putting them in an array and have a loop over the...
This project fits more for custom made battery casing that can have more space to hide things inside. This switch with few alterations can be used for any other project as well but is designed based on e-bike needs! This project use a clever functionality of....
The circuit described here uses ultrasonic oscillations and operates based on the propagation velocity of these oscillations in the air. Thus, we can easily determine the distance of two points if the time within which the wave travels this distance is....
Sometimes the precious metals are hidden too deep and are not detected except with complicated devices. In many cases, however, small pieces of precious metal buried near the surface can be detected by relatively simple means. Everyone is very attractive to....
Many times for various reasons we forget or can not water the plants that we have in our homes. And many humidity sensors units just notify us with a beeping sound or with a flashing light, that the pot needs watering. But what if we are away from home? This....
The principle behind a metal detector is really very simple. Proof of this is the circuit that follows, in which it proves that the construction of a metal detector can be done in the minute, with few components that we find very easily everywhere. With the....
The sub-harmonic bass generator is a sound producing unit for guitars. The sound it produces looks very much like that of the bass guitar. The octave generator is sometimes quite unusual since it does not produce any of the usual ways of coloring the sound,....
In the past the sounding (sea bottom measurement) was done with the "bullet", that is, with a heavy lead object that the seamen plucked into the sea hung from a calibrated rope. As soon as the "bullet" reached the bottom, the depth appeared directly from the....
This Amplifier was designed to have the following specifications: Distortion less than 0.1% at full power of 100W even at 20KHz. Power has to be attributed to an extended bandwidth. The output transistors must be protected against short circuits. The power....
A series of LEDs serve to alert the gardener when plants need water. Using two conventional digital integrated LEDs and a series of LEDs, we make a very useful device for gardening. The device detects the amount of water in the pot and alerts the grower.....
characters left: