Posts

Game Console from Raspberry Pi Pico

Image
Recently, I ordered a Raspberry Pi Pico board for a project. But as this project need more time to start, and also these days are bored, I decided to make a simple gaming console from it. First of all I have never used RP board, so I had to do some studies. After reading on internet, I realize we can program raspberry pi with either using micropython or C++. As micropython is much easier I decided to use it.  First I downloaded the micropython bootloader from internet . Then, I plugged my board to the computer and I copied the downloaded file to the board.  From here, I need " Thonny " to upload and test my python code. So I downloaded it and installed. Then I started coding Test 1 - Simple Game For this test I decided to use 128*64 OLED and GY-521 Gyro module. I'm not going to use gyroscope, but I will use the accelerometer. Here is the description of my game. There is a ball, and it is the player object. Then, there are bombs and a cup cake. Player can move according to

Building My Dream Computer

Image
  A fter a long time, I'm going to start a project. Since I was very young, I always wanted to build a computer from scratch. Once I tried to do it with AVRs, but it didn't worked. While the covid-19 pandemic I could find some information about a CPU z80, which was used early computers. z80 CPUs are still available and, other chips like SRAMs, EPROMS can still find on eBay. So I decided to build my dream computer with this z80. So, I ordered some ICs with z80 two months ago, But I received them, in this year. So, I started my project in 2021. I have little experience with AVR and PIC microcontrollers, and Arduino. But I have never used a CPU like this before. So, my first step is trying  to write some little programs with this CPU. To control Inputs, Outputs, and Memory, I decided to use an Arduino Board. z80 CPU has 8bit data bus and 16bit address bus. with the control signal pins, I need at least 30 IO pins. If I had an Arduino Mega board, I could easily control this CPU. But

How to make mini hoe

Image
Let's make mini "hoe". I started with a steel rod and then I made the blade by hammering. Then I sharped the blade and used an epoxy glue to bond it to a toothpick. To get the shine and the color of the toothpick, I used mineral oil and then coated with nail polish. Video

Quick Trick 1 : Cleaning Agent for Home Laboratory Glassware

                This quick post shows you how to make cleaning agent for your home laboratory glassware. This will make you easy to clean your laboratory glassware rather than soap. It can also remove potassium permanganate stain Mix 30% hydrogen peroxide with concentrated hydrochloric acid for 1:1 ratio. Dilute the solution by adding water about 3:1 ratio. Use the solution to clean your glassware. It doesn't require to brush while cleaning. Warning : The solution contains acids and strong oxidizers.  

Grow a Big Crystal

Image
In this time I tried to grow a big crystal of copper sulphate.

Smoke from my finger - Magic trick

Image
The following video shows you a cool magic trick. You need only a matchbox striker. Just watch the video....

Blue bottle Experiment

Image
Hi there. In this post, I'm bring you a really cool experiment. The blue bottle experiment. This is actually not about a blue colored bottle. This is about a color changing solution. There is a bottle contain a liquid like water. When it shake, that liquid turns blue color. You will need.... 1 gram of Sodium hydroxide 5 grams of Glucose Methylene blue Methylene blue is used to treat fungal infections of fish . So you can find it from pet shops. Sodium hydroxide (also called caustic soda) can be found in hardware stores. Let's start. first mix sodium hydroxide with 20ml of water. Now keep is aside. Then get the glucose and add 40ml of water. Now add few drops from Methylene blue and mix the solution. And now pour the those two solutions to a volumetric flask. If you don't have a flask, just get a bottle. After few seconds the solution turns colorless. Now shake the flask. It turns blue and again after few seconds, it turns colorless. Just enjoy. Th