Have you ever wrapped up a nice blinky project only to be disappointed by the predictability of the light or the color patterns? When it came to lighting this LED candle, so was [fungus amungus]. But there’s a better way, and it involves noise.
Perlin noise was created in the early 80s by Ken Perlin while he was working on the movie Tron. Frustrated by the current state of computer graphics and too limited on space to use images, he devised an algorithm for generating natural-looking textures. Basically, you generate a bunch of numbers between 0 and 1, then assign values to those numbers, such as a range of greyscale values from black (0) to white (1), or the values from the color wheel. The result is much prettier than random numbers because the neighboring values for any given number aren’t radically different. You get nice randomness with hardly any overhead.
[fungus amungus] is using the FastLED’s noise function to generate the numbers, but there’s a whole lot more going on here. As he explains in the excellent video after the break, if you want to animate these values, you just add another dimension of them. Although [fungus amungus] is using a Trinket Pro and a NeoPixel ring, we think a simplified version could be done with a Circuit Playground Express using the built-in LEDs.
If you want to do it the hard way, start by making your own NeoPixel ring.
Continue reading “LED Flame Illuminates The Beauty Of Noise” →
Sorting out a mountain of screws and other workbench detritus by hand is a task that only appeals to a select few of us. [AdrienR] is not one of those people. He believes the job is better suited to a robot, so he built an intelligent and good-looking machine that does just that.
[Adrien]’s sorting bot is capable of organizing a hodgepodge of parts quickly and effectively. He simply scatters the parts on the light box work surface, illuminates it, and takes a picture with a downward-facing web cam. An algorithm studies the parts and their positions using OpenCV image processing, and sends the triangulation back to the arm so it can pick and place the parts into laser cut boxes using a home brew electromagnet.
[Adrien] calls this a work in progress. He plans to control it with a Raspberry Pi so it can be a standalone unit, and will probably move the parts boxes to the outside curve. Drop yourself past the break to see it sort.
If delta robots are more your sort, this one has balls. Colored balls.
Continue reading “This Light-Up Sorter Is A Bright Idea” →
Many of us carry around a bag with our expensive personal belongings. It can be a pain to carry a bag around with you all day though. If you want to set it down for a while, you often have to try to keep an eye on it to ensure that no one steals it. [Micamelnyk] decided to build a solution to this problem in the form of a motion sensing alarm.
The device is built around a Trinket Pro. The Trinket Pro is a sort of break out board for the ATMega328. It’s compatible with the Arduino IDE and also contains a USB port for easy programming. The Trinket is hooked up to a GY-521 accelerometer, which allows it to detect motion. When the Trinket senses that the device has been moved, it emits a loud high-pitched whine from a piezo speaker.
To arm the device, the user first holds the power button for 3 seconds. Then the user has ten seconds to enter their secret code. This ensures that the device is never armed accidentally and that the user always remembers the code before arming the device. The code is entered via four push buttons mounted to a PCB. The code and code length can both be easily modified in the Trinket software.
Once the code is entered, the status LED will turn solid. This indicates to the user that the device must be placed stationary. The LED will turn off after 20 seconds, indicating that the alarm is now armed. If the bag is moved for more than five seconds at a time, the alarm will sound. The slight delay gives the user just enough time to disarm the alarm. This parameter can also be easily configured via software.
It’s time to announce the winners of the Trinket Everyday Carry Contest! We’ve had a great 5 weeks watching the projects come together. A team of Hackaday staffers spent their weekend watching videos and selecting their top entries based on the contest rules. We had a really hard time picking the top three – the competition was tight, and there were quite a few awesome projects.
Without further ado, here are the winners!
First Prize: 1337 3310 tool. [Mastro Gippo] really knocked this one out of the park. He built a swiss army knife of a tool out of the iconic Nokia 3310 candybar phone. 1337 3310 tool is a graphing voltage and current meter, an ohmmeter, a continuity tester that plays the original Nokia ringtone, and a gaming machine which can play Tetris. [Mastro Gippo] is 99% there with TV-B-Gone functionality as well. Amazingly, [Mastro Gippo] kept the Nokia look and feel in his user interface. He spent quite a bit of time grabbing data and bitmaps from the 3310’s original ROM. [Mastro Gippo] is getting a Rigol DS1054Z scope to help iron out the bugs in his future projects!
Second Prize: Pavapro – portable AVR programmer. [Jaromir] built an incredible pocket-sized microcontroller programming tool. Pavapro can read and edit text files, handle serial I/O at 9600 baud, and burn AVR microcontrollers. If that’s not enough, it can actually assemble AVR binaries from source. That’s right, [Jaromir] managed to fit an entire assembler on the Pro Trinket’s ATmega328 processor. Pavapro’s 16 button keypad won’t allow for much in the way of touch typing, but it does get the job done with T9 style text entry. The device is also extensible, we’re hoping [Jaromir] adds a few other architectures! PIC and MSP430 modes would be awesome! [Jaromir] will be receiving a Fluke 179 multimeter with a 6 piece industrial electronics tip kit! We’re sure he’ll put it to good use.
Third Prize: Robotic 3rd Hand. Let’s face it. We can’t all be Tony Stark. But [Tim] gets us a little bit closer with his awesome wearable entry. Need a tool? Just press the button, and Robotic 3rd Hand will give you a … hand. [Tim’s] creation utilizes the Pro Trinket to drive a servo which moves an incredibly well designed and 3D printed mechanism that lifts a screwdriver off the wearer’s wrist and places it into their hand. [Tim] originally was going to go with Electromyography (EMG) sensors to drive the hand, however he switched to a simple button when they proved problematic. We absolutely think this was the right decision for the contest – it’s always better to have a simpler but working project rather than a complex yet unreliable one. That said, we’d love to see him circle back and give EMG another try! [Tim’s] next project will be soldered up with the help of a Hakko FX888D with a tip kit. If things get a bit wobbly, he can use his new Panavise 324 Electronic Work center to keep everything steady.
If you didn’t make the top three in this contest, don’t give up! We’re going to be having quite a few contests this year. The top 50 entrants will receive custom Hackaday EDC Contest T-shirts. Check out the full list of 50 on Hackday.io!
We’ve got just under 2 days left in the Trinket Everyday Carry Contest. With 79 entries, and t-shirts going to the top 50 entrants, you’ve got pretty darn good odds of getting a shirt out of all of this! The design is great too, [Joe Kim] really did a great job with it!
The idea is simple: Build small, pocketable projects which are useful everyday.
We explained everything in our announcement post, and the full rules are available on the contest page. But just as a reminder, the main requirements are
- The project Must use a Pro Trinket, or a board based on the open source Pro Trinket design.
- The project must have at least 3 project logs
- The project must have at least one video
- The Hackaday.io project must include enough documentation to allow an average hobbyist to replicate the project
There are already some awesome entries vying for the top prize, but who knows – someone may come out of nowhere and walk away with a sweet Rigol ds1054z oscilloscope!
The contest deadline is January 3rd, at 12:00 am PDT. The clock is ticking, so stop waiting, and go build something awesome! Good luck to everyone who enters!
Now that we’ve recovered from our Munich party and the awarding of The Hackaday Prize, we’re ready to announce our latest contest. We’ve been having a lot of fun with our Trinket Pro boards, both the 10th anniversary edition and the new Hackaday.io branded models. While we were soldering, compiling, and downloading, a contest idea took root. Trinket Pro really excels when used in small projects, the kind which would fit in a pocket. To that end we’re holding the Trinket Everyday Carry Contest, a showcase for small, pocketable projects which are useful everyday. ‘Useful everyday’ is a bit of a broad term, and we intended it that way. Tools are useful of course , but so are jewelry pieces. It’s all in the eye of the builder and users. We’re sure our readers will take this and run with it, as they have with our previous contests.
There are some great prizes in store for the entrants, including a brand new Rigol DS1054Z oscilloscope! The top 50 entrants will get custom Trinket Everyday Carry Contest T-shirts. Check out the contest page for a full list.
We know you all love to procrastinate with your entries, so we’re going to be offering a few perks to those who enter early and update often. Each week, we’ll throw all the entrants who have published at least one project log full of details into a drawing for a special prize from The Hackaday Store. To be considered you must officially submit your project which is accomplished through a drop-down list on the left side of your project page.
Remember, the contest isn’t just about winning a scope, a meter, or any of the other prizes. It’s about creating new Open Hardware designs that nearly anyone can build. So grab those soldering irons, load up those copies of the Arduino IDE, AVR-GCC, or WinAVR, and get hacking!
You can view the all of the contest entries in this list.
Black solder mask and proudly sporting the Jolly Wrencher? The 10th Anniversary Trinket Pro boards just hit the Hackaday Store.
These were actually the suggestion of [Phil Torrone]. He founded Hackaday way back in 2004 and is now CEO of Adafruit Industries. Shortly after I asked him to record a remembrance of his time at Hackaday for the anniversary party he suggested these boards (normally blue and missing our logo) as a limited-edition for the event. It took just two weeks for them to crank out 585 of them.
I’m most likely biased for many reasons. Obviously I like putting the skull and wrenches on everything, and black solder mask is just cool. I also adore the ATmega328 (my 8-bit go-to chip for prototyping) and am especially fond of this form factor as it makes for super simple on-the-go firmware coding.
Once we sell 560 of them they will never return. We’re betting that Adafruit will have an even better minuscule breakout board for our 25th Anniversary. Do you think quantum computing will have trickled down to the single-chip prototyping stage by then?
Update: We’ve updated shipping rates on the store. Orders over $25 in the USA now have free shipping. International shipping is free for orders over $50. We will continue to try and reduce shipping rates as much as possible. We’re new to this so stay tuned!