My Social Distancing App MicroBit Project

In this post, I will talk about a project I did recently. it is called the Social distancing app. This is basically a program that will tell you when you are less than six feet apart from another Microbit also running the program. It works by having a Microbit constantly emit a signal. Microbits running the program are already prepared to receive the same signal. it then measures the signal strength and by doing this, it can determine the distance. When you are less than six feet apart, it will light up.

The light pattern that means you are not 6 feet apart on two Microbits

It took me a while to get the specific radio signal figured out. The signal would be in a certain range depending on your distance. I had to use a spreadsheet to record the data and figure out the right signal.

Overall, I think that the device worked quite well. the code was relatively simple after I figured out the signal problem

Pedometer project

In this post, I am going to talk about my newest project. I created a pedometer. it tracks my steps.  First I did something basic using the shake sensor. I then took 100 steps and got a step count of about 40. I was very confused. Then, I realized that because I had it attached to my leg, it only counted when that leg moved. I then set it so when it moves it increases step count by 2. The pedometer was still not quite complete, so I made it use the accelerometer instead to make it more accurate. An accelerometer is a sensor that senses when it is hit. This makes it the perfect sensor for a pedometer because walking causes it to go up and down. I have to use lots of variables to make this work, and when I finally tested the final project, it worked fantastically. It was very accurate, only being a few steps off.

My MicroBit Pedometer
My Completed Code!

Turtle Art Project

Hi, this post is gonna be about a project I did. I made it in a game called Turtle Art. Basically, you put code together and run it, and if you know what you are doing, it will make you a shape. It is a block coding game, in which there are different commands that you can do other stuff with. I made a kind of game, where anywhere you tap it makes a design. Here is the code:

My code that I used for this project.

And when you press it it makes the design

The completed design
The turtle drawing the design.

All About Me!

Hi. My name is Ravi and I go to school at Quest Academy. I am using this blog for C.S.A.I. (Computer Science Artificial Intelligence). I am not that interested in computer science, but I love talking about AI and the ethics of AI. I only recently got into this, when my 5th-grade teacher did a unit on AI, and since then, I often find myself thinking “I wonder if AI could do this better?” or “Can I automate this?”

I became a vegetarian in fourth grade because I didn’t want to support factory farms. In my spare time, I enjoy playing video games, such as Roblox, Minecraft, sometimes Prodigy, and all kinds of Nintendo Switch games, including Animal Crossing New Horizons. I also enjoy card games such as Yu-Gi-Oh and Pokemon. I am also a huge Harry Potter fan, and a fan of Hamillton (the musical). I love to read and be outside. I will be using this blog for school, and will often post stuff about my projects here.

Cherry Blossom Trees (SOOO Pretty!)