All Coding Projects (157 results)
|
Select a resource
Coding Projects
Sort by
|
How do you feel right now? Do you remember how you felt a few hours ago? How about yesterday or last Wednesday? What if you could track your emotions throughout the day and use this information to help improve your mood and well-being? In this science project, you will program a simple, pocket-sized device that you can carry around with you to log your feelings whenever you want or on a specific schedule.
Read more
Video games come in many varieties: aim-and-shoot games, city-building games, racing games... the list goes on. In many, you get points for colliding with or hitting something. In this computer and video games project, you will learn about how hit boxes are used to detect collisions and you will determine if the size and placement of a hit box affects the score in the game.
Read more
If you ever rode in a cable car, ski lift, or gondola, you know they make moving over obstacles like lakes, valleys, rivers, or even up steep mountains seem easy. Though it would be pretty difficult to build a full-size cable car in your home, if you have a Mindstorms® kit, you can build a working-model cable car of your own. The engineering challenge is to build a LEGO® cable car that can travel across a string you have suspended somewhere in your house (between two pieces of…
Read more
Mechanical switches are common in many machines and robots. They can be used to detect when a button is pushed, when a door is open, or a low-speed collision when two objects bump into each other. Switches can act as "bump sensors" on a simple robot to help it detect when it hits an obstacle. The robot can use this information to navigate around obstacles and avoid getting stuck. Can you build and program a robot that can drive around your house while using bump sensors to avoid obstacles?
Read more
When you need a calculator, what do you use? A physical calculator? An app on your phone? A web browser? What features does the calculator have? Does it just do basic arithmetic (addition, subtraction, multiplication, and division)? Can it do other mathematical functions, like square roots or exponents? Can you use parenthesis? Does it have a backspace button? That is a lot to consider for a seemingly very simple device or program!
For a computer science project, can you write your own…
Read more
This project is a follow-up to the Science Buddies project Explore Optical Illusions: Build an Infinity Mirror, which shows you how to build a basic infinity mirror using light emitting diodes (LEDs) and arts and crafts materials. What if you wanted to build an infinity mirror that could change colors, like the one in Figure 1?
Figure 1. A color-changing infinity mirror.
You can do this by using special RGB (red, green, and blue) LEDs. Just like the pixels…
Read more
Have you ever wished you could create an alarm system to guard your stuff? Or what about throwing a surprise party for someone and automatically playing music and flashing lights when they walk in the door? You can do either of these things using a Raspberry Pi. The kit includes a motion sensor, which can detect when people move in front of it. Check out the video to see what this simple, but fun, project looks like.
IMPORTANT: The instructions for this project were originally written using…
Read more
When is an animal considered endangered? When will it become extinct? What happens when a population has reached the limits of its resources? What happens to a population when a habitat changes? These are some of the questions population biologists try to answer. They use population models, created from math equations, to predict what will happen to a population over time. If you want to see how modeling is done and make some predictions of your own, you certainly won't need a crystal…
Read more
How many websites do you have accounts with that store personal information like your name, email, phone number, or mailing address? If the people running these websites are not careful, hackers could gain unauthorized access to, and even change or delete, your information. They can do this using something called SQL injection, which involves entering malicious code into text fields on a website. In this project you will learn how SQL injection works and figure out how to prevent it.
Read more
Have you ever wondered what the surface of Mars is really like close up? Are you wondering what the Mars rovers get to see and experience? Some parts of Mars look smooth and sandy, whereas others are covered in rocks and rough terrain. In this project, you’ll step into the role of a planetary scientist and use real Mars rover images and Python code to detect, measure, and compare rocks across different types of Martian terrain. Here you’ll explore how image processing can help…
Read more
|













