Friday

Arduino Basics - ReadAnalogVoltage

click to enlarge
Today we will look at yet another example in Arduino Basics. It is called ReadAnalogVoltage. You can find this program in the File - Examples - Basics.

If you have ever used a multimeter to check voltage across an electronics circuit, you can think of this experiment as a simulator of the same.

Wednesday

Arduino Basics - solderless electronic Breadboards

click to enlarge
Let us look at the currently available commonly used breadboards here in India. You can see in the above image four breadboards of different sizes. The bigger ones are of Full size, the one on the left is Half size, the one at the top left corner is the Mini size.

Saturday

Arduino Basics - Fade


Today we will go through the Fade program that is found in the Arduino's IDE at File - Examples - Basics. The Components we will need for this experiment are Arduino Uno board, a breadboard, a led, a 220 ohms resistor, and two connecting wires. I have used a yellow and a black wire.

Tuesday

Arduino Uno Basics - DigitalReadSerial


Arduino Uno is a really good way to learn about Electronics components. When you use a component with Arduino Uno, you can learn its functioning in many different ways and control it's behavior by programming Arduino.

Arduino Uno Basics - AnalogReadSerial


I have been fiddling with Arduino Uno since I got a new Arduino Kit a few days ago. It was quite exiting for me as I have studied Electronics in my Polytechnic college. It was never as exiting as it is today. There is a lot of material available on the net as well as on Youtube if you are doing experiments with Arduino. What I am doing here is assembling all that together to help you get started with Arduino if you are new to Arduino.

Saturday

Folders in Linux

A Folder in Linux is also a File. It is a File with the list of other Files and sub-folders if any included in it. It contains a list of filenames and the corresponding inodes for each file.

This is how a folder looks like in Linux. Officially a Folder in Linux is called a Directory. If you look at the first character of the permission string in a full listing, a folder is denoted by a "d", that is a Directory. The same name is also used in the command names, such as cd for Change Directory.

It will be useful to remind ourselves the dictionary meaning of the word directory. As in a Telephone Directory. A list of items. This is exactly what a directory in Linux is. A list of files.

We will refer it as a Folder for our convenience.

Wednesday

Creating Game in Scratch - Feeding a Shark


Let us create a game in Scratch. This game has a Shark in it. As you move your mouse pointer across the screen, the shark seems to follow the pointer. There are several sea creatures and fish appearing randomly on the screen. When the shark touches a fish, the fish disappears and the shark grows in size. It is a small growth. But after some time you will notice it growing. After growing a certain amount, a message displays that the shark is not more hungry, and the game is over.

Let me explain how to create this game.

I will explain the basic of this game, you can add extras later.

I have used a blue colored sprite as a background, an image of a shark and a small fish.
The background sprite is enlarged and it moves with the mouse movement, while the shark stays in the middle. This creates the effect that the shark is moving. The fish also moves in the same way as the background sprite. In the same way all the background images move.

You can look at the coding by clicking on "See Inside" button on this link
https://scratch.mit.edu/projects/111683962/




Featured Post

Creating Games in Scratch for ICSE Class 6

An Introduction to Creating Games in Scratch  for ICSE Class 6 Hello friends, I hope you have already read the previous post on An Int...