Awesome Python Video Tutorials Keep You Motivated

Programming languages are one of those topics that we geeks have some very strong and often rather polarised opinions about. As new concepts in computing are dreamt up, older languages may grow new features, if viable, or get left behind when new upstarts come along and shake things up a bit. This scribe can remember his early days programming embedded systems, and the arguments that ensued when someone came along with a project that required embedded C++ or worse, Java, when we were mostly diehard C programmers. Fast forward a decade or two, and things are way more complicated. So much choice, so much opinion.

So it’s really nice to come across some truly unique and beautifully made Python tutorial videos, that are engaging and fun to watch. Fronted by Canadian actress [Ulka Simone Mohanty] who some may recognise from such lofty titles as the game “Magic: The Gathering Arena” and various films and TV shows, she delivers a dead-pan avatar-like presentation of the most important areas of Python. We were particularly amused by the comment “Loopus Interruptus” as the exception condition iterating off the end of a list. 

Continue reading “Awesome Python Video Tutorials Keep You Motivated”

Microwave Ovens: Need More Power? Use Lasers Instead!

You know how it is, you get in late from work, you’ve been stuck in traffic for what seems like an eternity, and you’re hungry. You reach for the microwave meal, and think, if only I didn’t have to wait that three-and-a-half minutes, 900 watts just isn’t enough power. What you need is a laser microwave, and as luck would have it, [Styropyro] has built one, so you don’t have to. No, really, don’t.

After he observed a microwave only operating on a half-wave basis, and delivering power 50% of the time, he attempted to convert it to full-wave by doubling up the high voltage transformer and rectification diodes. While this worked, the poor suffering magnetron didn’t go the full mile, and died somewhat prematurely.

Not to be disheartened, the obvious thing was to ditch the whole concept of cooking with boring old radio waves, and just use a pile of frickin’ lasers instead. Now we’re not sure how he manages to get hold of some of the parts he uses, and the laser array modules look sketchy to say the least, and to be frank, we don’t think they should be easy to get given the ridiculous beam power they can muster.

With the build completed to the usual [Styropryo] level of excellent build quality, he goes on to produce some mouthwatering delicacies such as laser-charred poptart, incinerated steak with not-really-caramelised onions and our favourite laser-popcorn. OK, he admits the beam has way too much power, really should be infrared, and way more diffuse to be even vaguely practical, but we don’t care about practicality round these parts. Who wouldn’t want the excitement of going instantly blind by merely walking into the kitchen at the wrong time?

We’ve covered a fair few microwave oven related hacks before, including a neat microwave kiln, and hacks using microwave parts, such as a janky Jacob’s ladder, but this is probably the first laser microwave we’ve come across. Hopefully the last :)

And remember kids, as [Styropyro] says in pretty much every video on his channel:

All the crazy stuff I’m about to do was done for educational purposes, in fact if you were to try any of this stuff at home, you’d probably die…

Continue reading “Microwave Ovens: Need More Power? Use Lasers Instead!”

3D Printed Research Robotics Platform Runs Remotely

The Open Dynamic Robot Initiative Group is a collaboration between five robotics-oriented research groups, based in three countries, with the aim to build an Open Source robotics platform based around the torque-control method. Leveraging 3D printing, a few custom PCBs, and off-the-shelf parts, there is a low-barrier to entry and much lower cost compared to similar robots.

The eagle-eyed will note that this is only a development platform, and all of the higher level control is off-machine, hosted by a separate PC. What’s interesting here, is just how low-level the robot actually is. The motion hardware is purely a few BLDC motors driven by field-orientated control (FOC) driver units, a wireless controller and some batteries. The FOC method enables very efficient motor commutation, giving excellent efficiency and maximum torque.  A delve into the maths of how this method operates will be an eye opener for the uninitiated. Optical encoders attached to the motors give positional feedback for the control loop.

It is this control loop that’s kinda weird, in that operates over Wi-Fi! Normally one would do all the position, torque and speed sensing locally within the leg unit, with local control loops, as well as running all the limb kinematics and motion planning. This would need some considerable local processing grunt, which can make development more difficult.

This project side-steps this, by first leveraging the ESPNOW protocol, initially aimed at the ESP8266 and friends. By patching Ubuntu Linux, and enabling preemptive multitasking for real-time scheduling, as well as carefully selecting Wi-Fi drivers, it was possible to get raw packets out to robot in about 1 ms, enabling control loop bandwidths of around 1 Khz. And, that, was fast enough to run at least sixteen motors in parallel.

Continue reading “3D Printed Research Robotics Platform Runs Remotely”

Making Tea Pots With Antique Machinery

We in the West take quite a lot for granted. We’re used to certain standards of care in our homes and our places of work, so much so that we rarely even take time to notice it. Workplace accidents are a big deal, and failing to report can lead to you finding yourself being shown the door. So it’s a little sobering to see how things get made in countries with a less stringent approach in certain areas of basic health and safety.

With the urge to drive prices to the lowest possible, low-tech items such as clothing and housewares tend not to be made in highly sophisticated, automated factories, but more likely in smaller facilities employing more labour, which favours countries where such labour is cheaper and more available. The video we’re highlighting here shows a small factory in what is likely Pakistan (but equally could be a few other places, we’re only guessing) which would seem fairly typical for the level of sophistication required to make enameled teapots.

The video shows the production process, starting from sheet steel cut by hand with shears, which is trued before being stamped into a shallow dish. These first two machines are driven by exposed belts, which is particularly risky, given the style of free-flowing fabric clothes several of the workers wear. In the background you can see electrical wiring just slung around, hanging off nails. The whole building is the same, improvised machines with no protective features, managed by skilled manual workers dedicated to their allocated task, all working in perfect unison. It’s lovely to watch, but also saddening at the same time, as you know those guys are right in the middle of a thousand potential hazards, and only their skill and dexterity is stopping something bad happening. The machines themselves are heavily worn all over the place, but clearly hacked by someone there knows enough to just keep them ticking over. Just checkout the deep wear in the tool rest at [4:20] in the video!

Continue reading “Making Tea Pots With Antique Machinery”

Dynamicland Makes The Whole Building The Computer

Every once is a while a research project comes along that has the potential to totally shake up computing and what it even means to interact with a system. The project Dynamicland.org, is a result of [Bret Victor]’s research journey over the years, looking into various aspects of human computer interaction and what it even means to think like a human.

One of the overhead projectors tied to a realbox
In Realtalk, paper is your programming medium

Dynamicland is an instantiation of a Realtalk ecosystem, deployed into a whole building. Tables are used as computing surfaces, with physical objects such as pieces of paper, notebooks, anything which can be read by one of the overhead cameras, becoming the program listing, as well as the user interface. The camera is associated with a projector, with the actual hardware hooked into so-called ‘Realboxes’ which are Linux machines running the Realtalk software. Separate Realboxes (and other hardware such as a Raspberry Pi, running Realtalk) are all federated together using the Realtalk protocol, which allows communication from hardware in the ceiling, to any on the desk, and also to other desks and computing surfaces.

Realtalk itself is described as an environment for authoring and using computation media. The Realtalk system provides a language extension to Lua. Together these form a domain-specific language. Realtalk is also a kind of reactive database, which means that the emphasis is on the flow of data and connections between data producing things, and data consuming things. For a bit more explanation of how reactive programming can be used with modern relational databases, check out this article on the subject.

For a good overview of how this works in practice, from a programming perspective, checkout [Omar Rizwan]’s article about his ‘Geokit’ project. Another interesting read is the work by [Andrés Cuervo.]

Continue reading “Dynamicland Makes The Whole Building The Computer”

Banish Early Morning Zombification With The Zom-b-gone!

[Applied Procrastination] aka [Simen E. Sørensen] has a simple project to help those of us that struggle with early-morning zombification. By leveraging the backlight optics from a broken LCD monitor, it is possible to create an excellent diffused light source to simulate daylight, before your chosen waking time. The theory is that it is less shocking to the brain to be woken more gradually than an alarm may do. The increasing light level is to prepare the brain with a slowly increasing light level, reminiscent of daybreak, before being properly awoken by an alarm, regardless of the actual light level outdoors. This particularly useful for those of us in more northern regions, such as [Simen]’s native Norway, where mornings are very dark in the winter months.

Daylight is not purely a diffuse source however, it depends on the degree of atmospheric scattering, local reflections and such, but as far as we’re concerned here, we can just aim for as diffuse a light source a possible.

Source: DOI:10.1117/12.797854

The implementation makes use of the existing LCD metal frame, the light guide panel (usually a big hunk of acrylic covered in etched markings on one side) the diffuser/brightener sheet, and the prism sheet. A white LED strip mounted around the frame edge directs light into the light guide, which with a combination of total internal reflection and scattering on one side only, effectively turns the light through 90 degrees, and spreads it out evenly across that surface. The result of this optical sandwich is flat, even light, exactly what you want for a display, and also for simulating daylight.

Nestled beneath the expected 3D printed frame, is a custom PCB derived by smooshing together the designs from the Adafruit DS3231 RTC module and the Arduino Nano, an additional push button and rotary encoder complete the minimalistic UI, and allow the device to double up as general purpose lamp during the day. Despite a few wobbles with assembling the frame, and some incorrect PCB footprinting, the whole thing came together pretty nicely. This is a perfect thing to do with broken LCD monitors, eeking out a new life and keeping the amount of landfill to a minimum.

For further details of the hardware and codes, see the Zom-b-Gone Github.

Continue reading “Banish Early Morning Zombification With The Zom-b-gone!”

Continuous Resin Printer Shows The Speed

Redditor [No-Championship-8520] aka [Eric Potempa] has come up with an interesting DIY take on the Continuous Liquid Interface Production (CLIP) process currently owned and developed by Carbon Inc.

The usual resin 3D printer you may be familiar with is quite a simple machine. The machine has only one axis, which is the vertically moving build platform. A light exposes a photosensitive resin that cures on and is then pulled up off of a transparent window, before the next layer is exposed.

Typical resin printer setup

CLIP is a continuous resin printing process that speeds up printing by removing this peeling process. It utilises a bottom membrane that is permeable to oxygen. This tiny amount of oxygen right at the boundary prevents the solidified resin from sticking to the bottom, allowing the Z axis to be moved up continuously, speeding up printing significantly.

The method [Eric] is using is based around a continuously rotating bath to keep the resin moving, replenishing the resin in the active polymerisation zone. The bottom of the bath is made from a rigid PDMS surface, which is continuously wiped with a squeegee to replenish the oxygen layer. He notes the issues Carbon are still having with getting enough oxygen into the build layer, which he reckons is why they only show prints of smaller or latticed structures. His method should fix that issue. The build platform is moved up slowly, with the part appearing in one long, continuous movement. He reports the printing speed as 280 mm/hour which is quite rapid to say the least. More details are very scarce, and the embedded video a little unclear, but as one commentator said “I think we just saw resin printing evolve!” the next snarky comment changed the “evolve” to “revolve” which made us giggle.

Now, we all know that 3D printing is not at all new, and only the expiration of patents and the timely work by [Adrian Bowyer] and the reprap team kickstarted the current explosion of FDM printers. Resin printers will likely be hampered by the same issues until something completely new kickstarts the next evolution. Maybe this is that evolution? We really hope that [Eric] decides to write up his project with some details, and we will be sitting tight waiting to pore over all the gory details. Fingers crossed!