Decimal Time Clocks In Under 1 KB

Humans historically have worked well with decimal numbering systems. This is probably due to the fact most of us have ten fingers, which make counting in base ten easy. Yet humanity seems to doggedly stick to the odd duodecimal/sexagesimal time system. [Danjovic] is bringing a bit of sanity into the mix with a decimal clock he calls DC-10. He’s entered his clock into our 1 kB Challenge.

DC-10 builds upon C10, the decimal time display system created by [KnivD] on Hackaday.io.

Here’s how it works:

  • 1 year = 365.25 days (we can’t change this anyway)
  • 1 day = 100 intervals (the equivalent of ‘hours’)
  • 1 interval = 100 centivals (equivalent of ‘minutes’)
  • 1 centival = 100 ticks (equivalent of ‘seconds’)
  • 1 tick = 0.0864 current seconds.

1kb-thumb[Danjovic’s] implantation displays intervals and centivals, exactly what you would need to know the current time of day. He used a Microchip PIC16F628 running from a 4 MHz clock. time is displayed on seven segment LEDs. The PIC is programmed in C, using the classic version of Microchip’s own IDE: MPLAB 8.92. The code uses 297 program words. Since the ‘628 uses 14-bit instructions, that equates to just under 520 bytes. Perfect for the 1 kB challenge!

If you have a cool project in mind, there is still plenty of time to enter the 1 kB Challenge! Deadline is January 5, so check it out and fire up your assemblers!

Dawn Of The Tripteron 3D Printer

Cartesian 3D printers were the original. Then delta printers came along, and they were pretty cool too. Now, you can add tripteron printers to the mix.  The tripteron is an odd mix of cartesian and delta. The system was invented at the robotics laboratory at Université Laval in Quebec, Canada. The team who created it say that it is “isotropic and fully decoupled, i.e. each of the actuators is controlling one Cartesian degree of freedom, independently from the others.” This means that driving the bot will be almost as simple as driving a standard X/Y/Z Cartesian printer. The corollary to that are of course delta robots, which follow a whole different set of kinematic rules.

trioptera-renderA few people have experimented with tripteron printers over the years, but as far as we can see, no one has ever demonstrated a working model. Enter [Apsu], who showed up about a month ago. He started a post on the RepRap forums discussing his particular design. [Apsu] works fast, as he has now demonstrated a working prototype making prints. Sure they’re just calibration cubes, but this is a huge step forward.

[Apsu] admits that he still has a way to go in his research – especially improving the arm and joint implementation. However, he’s quite pleased that his creation has gone from a collection of parts to a new type 3D printer.  We are too — and we can’t wait to see the next iteration!

Continue reading “Dawn Of The Tripteron 3D Printer”

3D Printed R/C Lifeboat

Radio control boats usually bring up thoughts of racing catamarans, or scale sailing yachts. This build takes things in a slightly different direction. A radio controlled lifeboat with a built-in First Person View (FPV) transmitter. [Peter Sripol] used to be one of the awesome folks over at Flite Test. Now he’s gone solo, and has been cranking out some great builds on his YouTube channel. His latest build is a lifeboat loosely based on the totally enclosed lifeboats used on oil tankers and other seafaring vessels.

[Peter] designed the boat in 3D modeling software and printed it on his Lulzbot Taz 6. The files are available on Thingiverse if you want to print your own. The lower hull was printed in two pieces then epoxied together. Peter’s musical build montage goes by fast, proving that he’s just as good editing video as he is scratch-building R/C craft. Along the way he shows us everything from wiring up speed controls to cutting and soldering up a rudder. The final touch on this boat is a micro FPV camera and radio transmitter. As long as the boat is in range, it can be piloted through video goggles.

[Peter’s] boat is destined to be tested on an upcoming trip to Hawaii, so keep an eye on his channel to see how it fares in the monster waves!

Step Up To The 1 KB Challenge

1 kilobyte. Today it sounds like an infinitesimally small number. Computers come with tens of gigabytes of ram, and multiple terabytes of storage space. You can buy a Linux computer with 1 gig of RAM and secondary storage as big as the SD card you throw at it. Even microcontrollers have stepped up their game, with megabytes of flash often available for program storage.

Rapidly growing memory and storage are a great testament to technology marching forward to the beat of Moore’s law. But, we should be careful not to forget the techniques of past hackers who didn’t have so much breathing room. Those were the days when code was written in assembly. Debugging was accomplished with an expensive ICE (an In Circuit Emulator… if you were working for a big company), or a few LEDs if you were hacking away in your basement.

To keep these skills and techniques in play, we’ve created The 1 kB Challenge, a contest where the only limit is what you can do with 1 kB of program memory. Many Hackaday contests are rather loose with constraints — anyone can enter and at least make the judging rounds. This time 1 kB is a hard limit. If your program doesn’t fit, you’re disqualified, and that is a challenge worth stepping up to.

That said, this is Hackaday, we want people to be creative and work around the rules. The important thing to remember is the spirit of the design constraints: this is about doing all you can with 1 kB of program space. Search out the old and wise tricks, like compressing your code and including a decompression program in your 1 kB. Crafty hacks to squeeze more into less is fine. Using the 1 kB as a bootloader to load more code from an SD card is not fine.

Prizes

Any Hackaday contest needs some awesome prizes, and this one is no different.

Continue reading “Step Up To The 1 KB Challenge”

Enlightened Raspberry Pi Contest Winners

The Enlightened Raspberry Pi Contest wrapped up last week. As soon as the contest closed, Hackaday’s crack team of judges jumped on the case. Every entrant was carefully reviewed.  This was no easy feat! The field of 168 projects included both new concepts and old favorites. All of them were designed, built and documented with care. After all the votes were counted, 8 finalists rose to the top and were sent to [Matt Richadrson], [Ken Shirriff], and [Alvaro Prieto], our VIP judges, for the final ranking.

Each and every project creator deserves recognition for not only building an awesome project, but documenting it on Hackaday.io so others can build, modify, and enjoy their own versions. Without further ado, here are the winners of the Enlightened Raspberry Pi Contest!

Continue reading “Enlightened Raspberry Pi Contest Winners”

Bending The Light

Ruled Hyperboloid CC Prof. William McCallum
Ruled Hyperboloid CC Prof. William McCallum

Everyone knows you can’t visibly bend light over short distances in free air. Or can you? [Jack Pearse] has figured out a way to do it though, or at least make it appear that way. He does it by combining a trick of math and a trick of the eye. The secret is the hyperboloid, a geometric construct described by a quadratic equation. [Jack’s] creation is more specifically a hyperboloid in one sheet. This type of structure allows straight lines to create a an overall curved surface.  Hyperboloids have been used by architects and in construction for years, often in tall structures like water towers.

If a bunch of straight steel beams can form a curved shape, lasers should be able to pull off the same effect. By employing persistence of vision, [Jack] was able to create his hyperboloid with only 10 small lasers. The lasers are mounted on the rim of a bicycle wheel and carefully aimed. The wheel is spun up with using an electric bicycle motor. [Jack] kept things safe by building a centrifugal switch. The switch powers up all the lasers in when the tire is spinning. This ensures no one can be hit by a static beam.

Once the wheel is spinning, all you need is a bit of smoke or haze in the room. The spinning lasers combine to form the hyperboloid shape. You can see the project in action in the video after the break.

Continue reading “Bending The Light”

Keep Tabs On The Weather With Rpi_status

[Facelessloser] is interested in glanceable information. Glancable devices are things like your car’s dashboard, your wristwatch, or widgets on a smartphone lockscreen. The glanceable information distribution system in this case is rpi_status, [facelessloser’s] entry in the Enlightened Raspberry Pi Contest.

[Facelessloser] coupled a ring of eight WS2812 RGB LEDs with a small OLED screen managed by a the common ssd1306 controller. Since he was rolling his own board for this project, [faceless] some buttons and a BMP180 temperature sensor. Going with popular parts like this meant libraries like the Pimoroni unicorn hat library for the WS2812 were readily available.

A simple display like this can show just about anything – from status of a nightly software build, to traffic along your morning commute. [Facelessloser] is using it for weather data. His data source is Weather Underground’s API. Weather information is displayed on the OLED. The WS2812’s display the temperature. A single blue light means cold. The ring fills as the temperature warms up. After eight degrees of blue, the color changes to orange, followed by red.

Check out the video after the break for a short demo of the board.

Continue reading “Keep Tabs On The Weather With Rpi_status”