By now most of us have used a Raspberry Pi at some level or another. As a headless server it’s a great tool because of its price point, and as an interface to the outside world the GPIO pins are incredibly easy to access with a simple Python script. For anyone looking for guidance on using this device at a higher level, though, [Arun] recently created a how-to for using some of the Pi’s available communications protocols.
Intended to be a do-everything “poor man’s hardware hacking tool” as [Arun] claims, his instruction manual details all the ways that a Raspberry Pi can communicate with other devices using SPI and I2C, two of the most common methods of interacting with other hardware beyond simple relays. If you need to go deeper, the Pi can also be used as a full JTAG interface or SWD programmer for ARM chips. Naturally, UART serial is baked in. What more do you need?
As either a tool to keep in your toolbox for all the times you need to communicate with various pieces of hardware, or as a primer for understanding more intricate ways of using a Raspberry Pi to communicate with things like sensors or other computers, this is a great write-up. We also have more information about SPI if you’re curious as to how the protocol works.
Thanks to [Adrian] for the tip!
Many people hear “fungus” and think of mushrooms. This is akin to hearing “trees” and thinking of apples. Fungus makes up 2% of earth’s total biomass or 10% of the non-plant biomass, and ranges from the deadly to the delicious. This lecture by [Justin Atkin] of [The Thought Emporium] is slightly shorter than a college class period but is like a whole semester’s worth of tidbits, and the lab section is about growing something (potentially) edible rather than a mere demonstration. The video can also be found below the break.
Let’s start with the lab where we learn to grow fungus in a mason jar on purpose for a change. The ingredient list is simple.
- 2 parts vermiculite
- 1 part brown rice flour
- 1 part water
- Spore syringe
Combine, sterilize, cool, inoculate, and wait. We get distracted when cool things are happening so shopping around for these items was definitely hampered by listening to the lecture portion of the video.
Continue reading “A Lecture By A Fun Guy”
We thought that making things levitate in mid-air by the power of sound was a little bit more like magic, or at least required fancy equipment. It turns out that you can do it yourself easily enough with parts that any decent hacker’s closet should have in abundance: a motor-driver IC, two ultrasonic distance pingers, and a microcontroller. This article shows you how (translated here, scroll down).
But aside from a few clever tricks, there’s not that much to show. The two HC-SR04 ultrasonic distance sensors are standard fare, and are just being used as a cheap source of 40 kHz transducers. The circuit uses a microcontroller, but any source of 40 kHz square waves should suffice. Those of you who could do that with a 555 (or a Raspberry Pi), this one’s for you! A stepper motor driver bumps up the voltage applied to the transducers, but you could use plain-vanilla transistors as well.
It’s all the little details that count, however. You need to position the two ultrasonic drivers fairly precisely to create a standing wave, and while you can start at 8.25 mm and trial-and-error it, the article demonstrates using an oscilloscope to align the capsules by driving one and reading the signal out of the other and tweaking them until they’re in phase. Clever!
The author also takes the ultrasonic-transparent grille from one of the unused receivers and uses it as a spoon to help position the styrofoam bits in the sound waves. We always wondered how you’d do that!
It turns out that it’s easy to make a DIY ultrasonic levitation desk toy, and none of the parts are expensive or critical. The missing ingredient is just the gumption to try it, and now we have that, too.
As cool as they are, the HC-SR04 modules aren’t perfect for all distance sensing applications. Here’s everything you need to know about them, including hacks to make them work up-close. And since HC-SR04 sensors come cheapest in ten-packs, you’ll be wondering what you’re going to do with the other eight. That problem has apparently also been solved.
Those of us who aren’t familiar with woodworking might not expect that this curved wood and acrylic LED lamp by [Marija] isn’t the product of fancy carving, just some thoughtful design and assembly work. The base is a few inches of concrete in a plastic bowl, then sanded and given a clear coat. The wood is four layers of beech hardwood cut on an inverted jigsaw with the middle two layers having an extra recess for two LED strips. After the rough-cut layers were glued together, the imperfections were rasped and sanded out. Since the layers of wood give a consistent width to the recess for the LEDs, it was easy to cut a long strip of acrylic that would match. Saw cutting acrylic can be dicey because it can crack or melt, but a table saw with a crosscut blade did the trick. Forming the acrylic to match the curves of the wood was a matter of gentle heating and easing the softened acrylic into place bit by bit.
Giving the clear acrylic a frosted finish was done with a few coats of satin finish clear coat from a spray can, which is a technique we haven’t really seen before. Handy, because it provides a smooth and unbroken coating along the entire length of the acrylic. This worked well and is a clever idea, but [Marija] could still see the LEDs and wires inside the lamp, so she covered them with some white tape. A video of the entire process is embedded below.
Continue reading “Curved Wood LED Lamp Needs No Fancy Tools”
The “Completion Backwards Principle” is a method of reasoning through a problem by visualizing the end result and then working your way backwards from that point. The blog post that [Alan Hawse] has recently written about the intricacies of crimping wires for plug connectors is a perfect example of this principle. The end result of his work is the realization that you probably shouldn’t bother crimping your own connectors, but watching him work backwards from that point is still fascinating. It’s also the name of a rock album from the 80’s by The Tubes, but this is not a useful piece of information in regards to electrical wiring.
Of course, sometimes people do silly things. Even though there are pre-crimped wires available online for a pittance, you might still want to do your own. With this in mind, [Alan] has put together an exceptionally detailed and well-research post that gives you all the information you could possibly want to know about crimping what is often erroneously referred to as the “JST connector”.
He starts by showing off some common examples of this connector, which if you’ve ever opened a piece of consumer electronics will be like looking through a High School yearbook. You might not know their names without reading them, but you definitely remember what they look like.
We’re then treated to an array of macro shots showing the scale of the pieces involved. If getting up close and personal with metal bits that are only a few millimeters long is your kind of thing, then you’re really going to love this part.
Finally, the post is wrapped up with a few words about the kind of crimping tools that are available on the market, and then a demonstration of his personal crimping method. While some tools would have you crimp both sets of “wings” at the same time, [Alan] tells us he finds taking them on individually leads to better results in his experience.
If this this little taste has left you hungry for a true feast of hyper-specialized knowledge, be sure to check out the Superconference talk by [Bradley Gawthrop].
Continue reading “The (Unnecessary?) Art Of Connector Crimping”
If you’re comfortable with the technical side of becoming a consultant or contractor but are unsure what to charge for your services, you’re not alone. “How much do I charge?” is a tough question, made even tougher by the fact that discussing money can be awkward, and at times virtually taboo.
As a result it’s not uncommon for the issue to get put off because it’s outside one’s comfort zone. Technical people in particular tend to suffer from an “if you build it, they will come” mentality; we get the technical side of things all figured out and just sort of assume that the rest — customers, money, and so forth — will fall into place afterward. If you’re lucky, it will! But it’s better to do some planning.
The short and simple answer of how much to charge is a mix of “it depends” and “whatever the market bears” but of course, that’s incredibly unhelpful all by itself. It’s time to make the whole process of getting started a bit less opaque.
A stubborn determination to solve my own problems has given me plenty of opportunity to make mistakes and commit inefficiencies over the years; I’ve ended up with a process that works for me, but I also happen to think it is fairly generally applicable. Hopefully, sharing the lessons I’ve learned will help make your own process of figuring out what to charge easier, or at least make the inevitable blunders less costly.
Continue reading “Life On Contract: How Much Do I Charge?”
Have you ever wanted to make your own compound bow for fun or even fishing? [New creative DIY] shows us how in their YouTube video. Compound bows are very powerful in comparison to their longbow grandparents, relying on the lever principle or pulleys. meaning less power exertion for the same output.
Compound bows can be really sophisticated in design using pulleys and some exotic materials, but you can make your own with a few nuts and bolts, PVC pipe, string and a tyre inner tube. The PVC pipe can be melted into shape using a heat source such as a portable stove or even a blow torch, and once you have shaped your bow you will want to put a small piece of pipe at both ends with a nut and bolt. Then you can use rubber to give the flexibility your bow needs to shoot arrows, using the tyre inner tube cut to the right size. A piece of string for the ends of your arrows to rest on is then all you need, attach this to either end of your pipe and you should have a DIY PVC compound bow ready for shooting arrows. Alternatively you could always make a recurve bow out of skis.
–Update [Leithoa] in the comments has pointed out this is neither a bow nor a compound and that they are often confused. This is actually a slingshot, of sorts.–
Continue reading “Make Your Own Compound Bow From PVC Pipe”