Skip to main content

Posts

Creating VR Environments

Recent posts

LED Sand Toy

I built an Adafruit LED Sand Toy using an Adafruit Feather M0, a blue CharliePlex LED FeatherWing, and accelerometer boards. While this was an awesome project to try out, I had some bumps along the way. It forced me to think outside the box and make some minor, but helpful, modifications to the original design. 3D Printing the Case The Adafruit Learn website for this project provides a list of materials, 3D-printing files, code, and wiring diagrams. 3D-printing the toy’s casing 3D-printing internal parts Connecting the Wires I used a thicker gauge of wire than recommended which made soldering a little difficult. This was my first time using heat-shrink tubes to insulate connected wires to keep them from being exposed to other connections. It worked out well, and I highly recommend using some heat-shrink tubes on clamps to protect circuit boards. Soldering the boards at my work station - shown with helping hands, silicone mat, tweezers, solder, and solder...

Create a Fidget Spinner

I’m not really a big fan of fidget spinners. I mean the ones with LEDs in the weights are pretty cool, but outside of that I find them rather boring as a toy. Regardless, I decided to take one apart and see how these addictive things work. Then… I made one. The fidget spinner essentially consists of four parts: the case, the caps, the bearing, and three weights. Sometimes the weights can be bearings as well. This lets you do additional tricks with the fidget spinner. Model of Fidget Spinner Case and Caps I was able to create a 3D model of the casing and caps after watching a few YouTube videos on disassembling fidget spinners to learn about their designs. You can find a variety of intricate models on sites like Thingiverse and Tinkercad , but I chose to make a simple one for my first try. 3D model of case and caps Download or modify a 3D version of the solid model I created. 3D Printing My Design I used a Tinkerine Ditto Pro 3D printer to create the ca...

LED Shoes

Brighten up your shoes with LEDs! Stay safe when walking outside in the dark. Show off your light-up shoes while trick-or-treating. Upgrading My Shoes Adding some illumination to my shoes seemed like a great upgrade. Sewable LED ribbons come in various colors and number of LEDs per interval. I chose ribbons with 25 blue LEDs from SparkFun Electronics . These are great for sewing, but I thought there might be a faster approach to attaching my LEDs to the soles of my shoes. Sewable LED Ribbon Lit with 3 AA Batteries NOTE: One thing you need to consider with any wearable tech project is the power source. I chose to use AA batteries to power 4.5V of electricity through each shoe’s LED ribbon. This was probably a poor choice, but worked well. Smaller batteries or even a lithium ion battery would be a better choice for this project, but make sure you don’t over-power your LEDs. Some Supplies AA Batteries, Battery Holder, Snap Connector, Shoes (don’t forget those) ...

Soldering Tips

Soldering is a great skill for anyone wanting to work with electronics - and it can be fun! Whether you’re a beginner at soldering or not quite sure how to even get started, this quick guide will get you up and soldering in no time. I’ve included the tools I use for soldering and a list of some basic kits to play with for practice. I’ve also outlined some tips and tricks to get those good, solid connections. Types of Soldering Before we jump into the materials, let’s discuss the different types of soldering. In this post I share tips for doing through-hole soldering, sometimes called plated through-hole (PTH) soldering. This involves a printed circuit board (PCB) where electrical components, such as LEDs and resistors, can be inserted through the hole connectors and soldered. Bottom and top of a PCB with some soldered components The other type of soldering, surface mount, doesn’t have holes in the PCB. This type of soldering involves soldering paste. We won’t get into ...

Blinking LEDs

Jumping into Arduino microcontrollers can be a bit overwhelming at first. Many first-time coders may want to start with an intricate, complex algorithm, but it’s usually best to start out small - like placing a toe in the pool before diving in. The schematic above shows a basic parallel circuit using three LEDs. Each LED is connected using a breadboard and resistors. The resistors restrict the flow of electricity to the LEDs - otherwise the voltage would cause the LED to blow. Yikes! Each blue line on the schematic is a wire that connects to holes in the breadboard or pins on the Arduino UNO. Using the schematic, you can create a similar system using these hardware components. When the hardware is ready to roll, the program below brings the LEDs to life. This “blink” program can be used to test out your hardware and process for downloading a .ino file to an Arduino UNO microcontroller. Blinking LEDs Code /* Blinking LEDs - test program to run 3 LEDs in a pattern of blink...

Sprites & Games

Any graphical object or character in a video game is known as a sprite. Code provides instructions for sprites. A game’s program can tell the sprite how to move or react when a button is pressed. Every time Mario bops his head on a box and a mushroom appears, sprites (Mario, the box, the mushroom) are interacting with each other and responding accordingly based on the game’s code. You can create your own sprites to use in your video games! I used Piskel , an online sprite creation tool, to create my m4ttbit sprite for a blob-catching game I made using Scratch . Piskel lets you create an 8-bit or pixelated sprite and even animate it. To create an animated sprite, you’ll want to develop a frame for each movement. A frame toolbar in Piskel lets you easily create a frame for a standing sprite or a series of images to make it look as though your sprite is running, jumping, or flipping. When you’re finished creating the frames or series of images for your sprite, export them by savin...