Lockpick air dip switch settings4/9/2023 ![]() ![]() We’re all too spoiled nowadays with our comfortable ways to erase and write data to persistent memory, whether it’s our microcontroller’s internal flash or some external EEPROM. How great is it that he learned something about this part, and then used that knowledge to build this machine that uses the part to teach others? It’s surely the best fate that parts bin curiosities can hope for.ĭon’t have the patience for circuit sculpture? You can make a pretty nice binary calculator with a bit of paper and a lot of compressed air.Ĭontinue reading “Circuit Sculpture Teaches Binary, Plays PONG” → Posted in Arduino Hacks Tagged atmega328, Circuit Sculpture, dip switch There’s one more function on the menu - a one-player PONG game to help the students relax after a long day of flipping switches.įunny enough, this project came to be after came upon the DIP switch in his parts box and wasn’t quite sure what it was called. You have to look up the ASCII value of each character, convert the decimal to binary, and program it in with the switches. This educational sculpture can also take text input and scroll it, but it takes a bit of work. Once the students have the hang of entering binary input on the switches, they can practice it on the four-banger calculator. If you don’t already know binary, you get to learn it on DIP switches and a dead-bugged ATMega328 in his latest Volos Projects video after the break. He built this beautiful circuit sculpture to teach his students how to count in binary and convert it to decimal and hexadecimal. Posted in classic hacks, Microcontrollers Tagged binary, dip switch, EFM8UB2 Can’t say we can think of any four bytes of data important enough to hold on a dedicated piece of hardware, but we certainly appreciate the effort to store it in the most robust way possible. We’ve seen our fair share of unusual USB flash drives in the past, but this one is truly in a league of its own. He apparently couldn’t track down the same switch, but the four red Grayhill 76 Series switches arguably make it a bit clearer when entering in your bytes.Įach of the individual DIP switches are connected to one of the GPIO pins of the 8-bit EFM8UB2 microcontroller, and the code simply reads the state of each pin in order and saves the binary results in a variable to put together the “file” it presents to the OS when plugged in. Reading out the first byte from the DIP switches.Īs explained in a Twitter thread, was inspired to create this gadget after another user posted a picture of a 32 position DIP switch with a caption that said it was a “ One Tetrabyte SSD” back in December. Even better, you don’t need a computer to write to it: the 32 DIP switches let you key in the content on the fly, bit-by-bit. As in the Greek tetra, this drive can hold a massive four bytes at a time. That said, this USB-C tetrabyte drive created by might be slightly too small for our tastes. In fact they’ve gotten so large that it can feel wasteful using them for some tasks, and we occasionally find ourselves wishing we could find some modern USB drives that didn’t rival the storage capacity of our whole computer. It wasn’t so long ago that two and four gigabyte drives were considered to be on the high end, but today you can grab a 512 GB drive for less than $50 USD. In a relatively short amount of time, the average capacity of USB flash drives has skyrocketed. It’s a more serious device than hilarious 4-byte “solid state drive” that we saw recently, but we love them both all the same! Posted in Misc Hacks Tagged dip switch, rainbow, usb Also, it bears noting that the rainbow design is simply very fetching and a cool thing to have plugged into your computer. It’s a great tool for controlling up to 8 different parameters in a program you might be working on, without having to dive into your editor to change the relevant parts. used a basic C# app to show a digital representation of the switches on screen changing as per the real physical DIP switch plugged into the machine. The device enumerates as a USB HID device, and reports to the host machine when queried as to the state of its 8 switches. A PIC16F1459 then reads the position of the switches, with the 8-bit microcontroller doing the job of speaking USB to the host machine. The build is simple, relying on a rainbow-colored 8-pin DIP switch as the core of the project. This colorful little DIP switch dongle from makes for a fun alternative solution. However, having to regularly open a text editor to make changes can be a pain. Oftentimes, when programming, we’ll put configuration switches into a config file in order to control the behaviour of our code. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |