LEGO Prototyping With Tinkercad’s Brick Mode

[Andrew Sink] made a brief video demonstrating how he imported an STL of the well-known 3D Benchy tugboat model, and instead of sending it to a 3D printer used the Brick Mode feature to make a physical copy out of LEGO bricks in an eye-aching kaleidoscope of colors.

For those of you who haven’t used Tinkercad lately, Brick Mode allows you to represent a model as LEGO bricks at various scales. You model something as usual (or import a model) and by pushing a single button, render it in LEGO as accurately as can be done with standard bricks.

In addition, [Andrew] shows how the “Layers” feature can be used as a makeshift assembly guide for the model, albeit with a couple of quirks that he explains in the video embedded below.

Continue reading “LEGO Prototyping With Tinkercad’s Brick Mode”

Pedal-Pi, Simple Programmable Guitar Pedal

For several years, [Ray] and [Anna], the team behind ElectroSmash, have been smashing audio electronics and churning out some sweet DIY audio gear. This time around, they’ve built Pedal-Pi — a simple programmable guitar pedal based around the Raspberry-Pi Zero. It is aimed at hackers, programmers and musicians who want to experiment with sounds and learn about digital audio. A lot of effort has gone in to documenting the whole project. Circuit analysis, a detailed BoM, programming, assembly and background information on related topics are all covered on their Forum.

The hardware is split in to three parts. On the input, a MCP6002 rail-to-rail op-amp amplifies and filters the analog waveform and then a MCP3202 ADC digitizes it to a 12-bit signal. The Pi-Zero then does all of the DSP, creating effects such as distortion, fuzz, delay, echo and tremolo among others. The Pi-Zero generates a dual PWM signal, which is combined and filtered before being presented at the output. The design is all through hole and the handy assembly guide can be useful for novices during assembly.  The code examples include a large number of pedal effects, and if you are familiar with C, then there’s enough information available to help you write your own effects.

Even if you don’t plan on building one, technical background such as the Basics of Audio DSP in C for Raspberry Pi Zero, Using MCP3202 ADC with Raspberry Pi Zero and PWM Audio on Raspberry Pi Zero ought to make for interesting reading. Check out the video after the break detailing the build.

If you’d like to check out some of their earlier work, check out 1WAMP, an Open Hardware Guitar Amplifier and pedalSHIELD, an opensource Arduino Guitar Pedal.

Continue reading “Pedal-Pi, Simple Programmable Guitar Pedal”

Relay Computer: You Can Hear It Think

Modern digital computers have complex instruction sets that runs on state-of-the-art ALUs which in turn are a consequence of miniaturized logic gates that are built with tiny transistors. These tiny transistors are essentially switches. You could imagine replacing with electromagnetic relays, and get what is called a relay computer. If you can imagine it, someone’s done it. In this case, [jhallenworld].

The Z3 was the first working programmable, fully automatic digital computer designed by Konrad Zuse. The board employs modern semiconductor devices such as memory and microcontrollers, however, the CPU is all relays. A hexadecimal keyboard allows for program entry and a segment display allows tracking the address and data. The program is piped into serial to the parallel decoder and fed to the CPU where the magic happens. Since the core is electromechanical it is possible to connect the output to peripherals such as a bell as demonstrated near the end of the video.

This project is a good balance of retro and modern to be useful to anyone interested in mechanical computers and should be a lot of fun for the geek kind. Hacking this computer to modify the instruction set should be equally rewarding and a good exercise for students of computing theory.

There is a SourceForge page dedicated to the project with the details on the project including the instruction set and architecture. Check out the video below and if you are inspired by the project, be sure to check out the [Clickity Clack]’a Videos on designing a relay computer bit by bit.

Antenna Basics By Whiteboard

Like a lot of people, [Bruce] likes radio controlled (RC) vehicles. In fact, many people get started in electronics motivated by their interest in RC. Maybe that’s why [Bruce] did a video about antenna basics where he spends a little more than a half hour discussing antennas. You can see the video below.

[Bruce] avoids any complex math and focuses more on intuition about antennas, which we like. Why does it matter that antennas are cut to a certain length? [Bruce] explains it using a swing and a grandfather clock as an analogy. Why do some antennas have gain? Why is polarization important? [Bruce] covers all of this and more. There’s even a simple experiment you can do with a meter and a magnet that he demonstrates.

Continue reading “Antenna Basics By Whiteboard”

Open Source High Power EV Motor Controller

For anyone with interest in electric vehicles, especially drives and control systems for EV’s, the Endless-Sphere forum is the place to frequent. It’s full of some amazing projects covering electric skateboards to cars and everything in between. [Marcos Chaparro] recently posted details of his controller project — the VESC-controller, an open source controller capable of driving motors up to 200 hp.

[Marcos]’s controller is a fork of the VESC by [Benjamin Vedder] who has an almost cult following among the forum for “creating something that all DIY electric skateboard builders have been longing for, an open source, highly programmable, high voltage, reliable speed controller to use in DIY eboard projects”. We’ve covered several VESC projects here at Hackaday.

While [Vedder]’s controller is aimed at low power applications such as skate board motors, [Marcos]’s version amps it up several notches. It uses 600 V 600 A IGBT modules and 460 A current sensors capable of powering BLDC motors up to 150 kW. Since the control logic is seperated from the gate drivers and IGBT’s, it’s possible to adapt it for high power applications. All design files are available on the Github repository. The feature list of this amazing build is so long, it’s best to head over to the forum to check out the nitty-gritty details. And [Marcos] is already thinking about removing all the analog sensing in favour of using voltage and current sensors with digital outputs for the next revision. He reckons using a FPGA plus flash memory can replace a big chunk of the analog parts from the bill of materials. This would eliminate tolerance, drift and noise issues associated with the analog parts.

[Marcos] is also working on refining a reference design for a power interface board that includes gate drivers, power mosfets, DC link and differential voltage/current sensing. Design files for this interface board are available from his GitHub repo too. According to [Marcos], with better sensors and a beefier power stage, the same control board should work for motors in excess of 500 hp. Check out the video after the break showing the VESC-controller being put through its paces for an initial trial.

Continue reading “Open Source High Power EV Motor Controller”

Synthesizing Daraprim To Beat Price Gougers

Drugs are used the world over to treat disease. However, from time to time, the vagaries of market economics, or unscrupulous action, can radically increase the price of otherwise cheap pharmaceuticals far beyond the reach of the average person. This was the case with Pyrimethamine (sold as Daraprim), which is used to treat toxoplasmosis and malaria, among other users. With the price skyrocketing from $13 to $750 a tablet in the US in 2015, [NurdRage] decided to synthesize the drug on their own. (If you missed the background hubbub, search for “Martin Shkreli”.)

The video linked covers the final synthesis, though [NurdRage] has previously covered the synthesis of the required precursor chemicals. Budding chemists may grow excited, but there are significant hurdles to attempting this synthesis yourself. Chemicals involved are carcinogenic, toxic, acidic, or otherwise dangerous, and a fume hood is a necessity if working inside. Outside of this, there are immense risks in homebrewing pharmaceuticals. Performing the synthesis of an important drug is one thing, but to do so at a medical-grade level where the products are safe for human consumption is on an entirely different level.

Overall, [NurdRage] has put out a series of videos that have strong educational value, showing us what really goes into the production of a common pharmaceutical compound. There’s also something to be said about taking the production of life-saving medicines into one’s own hands in the face of prohibitive treatment costs. In a similar vein, perhaps you’ve considered producing your own insulin in an emergency?

[Thanks to jwrm22 for the tip]

The Things Network Sets 702 Km Distance Record For LoRaWAN

Many of us will have at some time over the last couple of years bought a LoRaWAN module or two to evaluate the low power freely accessible wireless networking technology. Some have produced exciting and innovative projects using them while maybe the rest of us still have them on our benches as reminders of projects half-completed.

If your LoRaWAN deployment made it on-air, you’ll be familiar with the range that can be expected. A mile or two with little omnidirectional antennas if you are lucky. A few more miles if you reach for something with a bit of directionality. Add some elevation, and range increases.

A couple of weeks ago at an alternative society festival in the Netherlands, a balloon was launched with a LoRaWAN payload on board that was later found to have made what is believed to be a new distance record for successful reception of a LoRaWAN packet. While the balloon was at an altitude of 38.772 km (about 127204.7 feet) somewhere close to the border between Germany and the Netherlands, it was spotted by a The Things Network node in Wroclaw, Poland, at a distance of 702.676km, or about 436 miles. The Things Network is an open source, community driven effort that has built a worldwide LoRaWAN network.

Of course, a free-space distance record for a balloon near the edge of space might sound very cool and all that, but it’s not going to be of much relevance when you are wrestling with the challenge of getting sensor data through suburbia. But it does provide an interesting demonstration of the capabilities of LoRaWAN over some other similar technologies, if a 25mW (14dBm) transmitter can successfully send a packet over that distance then perhaps it might be your best choice in the urban jungle.

If you’re curious about LoRaWAN, you might want to start closer to home and sniff for local activity.