Trashed Tablet Lives Again Thanks to New Charger IC

Have you ever pulled a piece of electronics from the trash that looked like nothing was wrong with it, only to take it home and find out it really is dead? Since you’re reading Hackaday, we already know the answer. Trash picking is an honored hacker tradition, and we all know it’s a gamble every time you pull something from the curb. But when the Samsung Galaxy Tab S that [Everett] pulled from the e-waste bin wouldn’t take a charge, he decided to crack it open and see if it was really beyond repair.

The first step was using a USB power meter to see if the tablet was actually pulling any current when plugged in. With just 10 mA on the line, [Everett] knew the device wasn’t even attempting to charge itself. So his next step was to pull the battery and charge it from a bench supply. This got the tablet to wake up, and as far as he could tell, everything else worked as expected. It seemed like the only issue was a blown charging circuit.

Where we’re going, we don’t need ribbon cables.

Now at this point, [Everett] could have just gone online and bought a new motherboard for the tablet and called it a day. But where’s the fun in that? Instead, he wired up a simple charging circuit using a TP4056 IC on a scrap of flexible PCB and mounted it to a square of Kapton tape. He then used 34 AWG magnet wire to connect it between the tablet’s USB port and the battery, bypassing the tablet’s electronics entirely.

The fix worked, but there was a slight problem. Since the TP4056 only goes up to 4.2 V and the battery maxes out at 4.35 V, [Everett] says his hacked charger can only bring the tablet up to 92% capacity according to Android. But considering the alternative, we think its more than a worthy trade-off.

It’s easy to dismiss tablets as largely disposable devices, but this isn’t the first time we’ve seen somebody save one with little more than solder and patience. Of course, what you do with that old tablet once you get it fired back up is another story entirely.

source https://hackaday.com/2020/11/24/trashed-tablet-lives-again-thanks-to-new-charger-ic/

A CPU-Less Computer with a Single NOR-Gate ALU

We see a lot of discrete-logic computer builds these days, and we love them all. But after a while, they kind of all blend in with each other. So what’s the discrete logic aficionado to do if they want to stand out from the pack? Perhaps this CPU-less computer with a single NOR-gate instead of an arithmetic-logic unit is enough of a hacker flex? We certainly think so.

We must admit that when we first saw [Dennis Kuschel]’s “MyNor” we thought all the logic would be emulated by discrete NOR gates, which of course can be wired up in various combinations to produce every other logic gate. And while that would be really cool, [Dennis] chose another path. Sitting in the middle of the very nicely designed PCB is a small outcropping, a pair of discrete transistors and a single resistor. These form the NOR gate that is used, along with MyNor’s microcode, to perform all the operations normally done by the ALU.

While making the MyNor very slow, this has the advantage of not needing 74-series chips that are no longer manufactured, like the 74LS181 ALU. It may be slow, but as seen in the video below, with the help of a couple of add-on cards of similar architecture, it still manages to play Minesweeper and Tetris and acts as a decent calculator.

We really like the look of this build, and we congratulate [Dennis] on pulling it off. He has open-sourced everything, so feel free to build your own. Or, check out some of the other CPU-less computers we’ve featured: there’s the Gigatron, the Dis-Integrated 6502, or the jumper-wire jungle of this 8-bit CPU-less machine.

source https://hackaday.com/2020/11/23/a-cpu-less-computer-with-a-single-nor-gate-alu/

Roll Your Own Photo Sharing, Minus the Social Networking Baggage

[Niklas Roy] rolled his own photo diary, because he found the core functionality of something like instagram attractive, but didn’t want the social network baggage that it came with. His simple system is called my own insta šŸ˜‰ and it consists of some javascript and PHP to create a nice progressive web app photo diary and backend that can be accessed just fine from a mobile device. It is available on GitHub for anyone interested in having their own.

This project came up because [Niklas] sometimes found himself working on small projects or experiments that aren’t destined for proper documentation, but nevertheless could benefit from being shared as a photo with a short description. This dovetails with what many social networks offer, except that those platforms also come with other aspects [Niklas] doesn’t particularly want. His online photo diary solves this by having a simple back end with which he can upload, sort, and caption photos in an easy way even from a mobile device.

Rolling one’s own solution to some small core functionality offered by a social network is one way to avoid all the extra baggage, but another method is to simply automate away all the pesky social bits with a robot.

source https://hackaday.com/2020/11/23/roll-your-own-photo-sharing-minus-the-social-networking-baggage/

The Mystery Of A Particular ATtiny85 Fuse

First-timers playing with 8-bit micros such as the AVR and PIC will at some point in their lives, find themselves locked out of their MCUs. This is usually attributed to badly configured fuses that disable certain IO functions rending the device unprogrammable via conventional ICSP methods. [Uri Shaked] shares his story of how his ATtiny85 got locked and became the subject of a lengthy investigation into fuse bit configurations.

[Uri]’s journey started when he accidentally left some pins of the device connected to a second board while he was flashing the firmware. He quickly researched online for a solution for the problem and it turns out, there is a page[External Link] on a number of recipes on how to resolve the issue. As it turns out, his problem was not so straight-forward and warranted more digging. [Uri] ended setting up a High Voltage Programming serial programming setup and then probing the communications. He discovered that the chip refused to reset its fuses and would reject attempts to set fuses.

Further investigation of the fuse bits and reading them proved useful in understanding that the memory protection features were preventing alteration of the device. The quick-fix was to erase the attiny and things were back to normal thereafter. [Uri] details his pursuit of reading and comparing fuse bits from the impacted chip against a fresh device which is where he makes the discovery. The write-up is a case study in the investigation into the Idiosyncrasies of device programming and will be a great resource for many and reduce hair loss(self pulled hair in frustration) for some.

Once you get your hands on an ATTINY, there are a number of small experiments to be done to cure boredom. Be sure to share your experiments and stories with us to inspire the masses.

source https://hackaday.com/2020/11/23/the-mystery-of-a-particular-attiny85-fuse/

Back-to-school tips for parents – Get ready for the 2020 school year

Prepare for the 2020 school year with our back-to-school tips. From establishing sleeping patterns to practising brain exercises, there are plenty of strategies you can use to ensure that your children are ready for the new school year. With proper preparation, you can decrease the stress that’s associated with this busy period. Find bags, Tupperware, toys, books, and more on Junk Mail.

Back-to-school tips for parents | Junk Mail
Photo Source – www.pixabay.com

Get all the school supplies ready

From
stationery to books, bags, and lunch boxes, you need to make sure that you
check everything off the school supplies list before your children go back to school,
preferably as soon as possible.

Make
sure you know the rules about book covering before you buy covers/paper.
Schools usually give out papers to stick onto their books to ensure everyone’s
books look the same. Getting this sorted will relieve stress and get your kids
excited about the new school year.

Additional tips:

  • Before
    you buy stuff you don’t actually need, do proper ā€œstocktakeā€ of the school
    supplies you have left from last year.
  • Don’t
    send your kids to school with their newest and best supplies during the first
    week.
  • You
    can cut erasers in half or in 3 pieces, so if your child loses it, it’s not a
    train smash.
  • Mark
    absolutely everything. You can engrave (if possible) or use a permanent marker.
    Just make sure the markings are legible and unique to your child.
School Supplies | Coloured Pencils | Junk Mail
Photo Source – www.pixabay.com

Buying school clothes

When
buying school uniforms, make sure to take your children with you and let them
fit everything before you buy it. It’s also advisable to buy clothes a tiny bit
bigger to ensure they don’t grow out of their uniforms too quickly. You want to
get the most value for money.

Should
your children’s school uniforms no longer fit, you can either donate them to
the school, resell them to other parents you know or even sell them on Junk
Mail.

Buying school uniforms | Junk Mail
Photo Source – www.freepik.com

Set up a dedicated ā€œhomework stationā€

Create
a space with your child where they can do their homework or school projects.
This space needs to be big enough, away from distractions, and comfortable for
your children.

Have a dedicated homework station | Junk Mail
Photo Source – www.freepik.com

Establish sleep patterns

The
holidays are likely to disrupt your family’s usual routine, including the kids’
sleeping patterns. Prepare for the new school year by re-establishing their
regular bedtime routine at least a week before the holidays end. While your
children may protest at first, be consistent in getting them back into a
routine. A good night’s sleep plays a vital role in your children’s emotional
wellbeing as well as their academic performance.

Establish sleep patterns | Junk Mail
Photo Source – www.freepik.com

Introduce healthy eating

Disruptions
to your schedule during the holidays mean you’re unlikely to maintain regular mealtimes.
The abundance of sweets and chocolates that are part of the festive season
celebrations also disrupt healthy eating patterns. Start with a nutritious
eating plan and regular mealtimes as soon as you can. Proper nutrition helps
your children have enough energy to get through the school day. It also helps
your children focus in the classroom while promoting their physical and
emotional wellbeing.

Healthy eating habits for kids | Junk Mail
Photo Source – www.pixabay.com

Re-establish rules about screen time

Although
screen time can be fun and educational for your kids, too much of it during the
week might affect their routines negatively and take away from much-needed
family time. Rules about screen time will also help when your kids have to do
homework or study for a test. Make sure you explain the rules about screen time
and try to re-enforce those rules a week before your kids go back to school.

Screen time rules for kids | Junk Mail
Photo Source – www.pixabay.com

Practice effective communication

Make
sure that you keep the communication lines open between you and your children
so that they know that they can approach you with any of their fears or
concerns. Have a family meeting before the new school year starts so that your
children have an opportunity to express how they’re feeling. You can also use
this time to provide them with information about any changes that are taking
place and to answer their questions. This is particularly important if your
child is starting at a new school.

Communicate with your children | Junk Mail
Photo Source – www.freepik.com

Don’t stress

The back-to-school period can
invoke anxiety in parents and children alike. However, with proper preparation,
you can ease into the new school year with minimal stress. Returning to school
requires some adjustments so you can expect to face a few challenges during the
first few weeks of term. Use your support system and take care of yourself so
that you can remain calm during this hectic period. When you’re relaxed and
supportive, your children are more likely to be calm too.

Don't Stress | Back-to-school | Junk Mail
Photo Source – www.pixabay.com

Start with brain exercises

After
a long holiday, your children’s concentration levels will have decreased.
Gently prepare them for the new school year by practising a few brain exercises
in the week before the term starts. You can ask your children to read to you
each day as well as doing a few fun math exercises together. Reading your
children a bedtime story is a great opportunity to spend quality time with
them. Ask them a few questions about the story as you go along to improve their
comprehension capabilities.

You
can also take your children on fun, but educational outings, such as visiting
museums, the zoo, animal rescue centres or even taking them to pottery and
cooking classes.

Do brain exercises with your kids | Junk Mail
Photo Source – www.pixabay.com

Set goals

Goals
are an excellent way to stay motivated as the year progresses but it’s
important to avoid putting to pressure on your children. Excessive pressure can
damage your children’s self-esteem and it can also be detrimental to their
academic achievements. Allow your children to set their own goals and help them
to create steps on how they will reach their goals. Remind them that their
academic achievement is not a reflection of their self-worth and that there are
many other qualities that are also important, such as kindness, courage, and
empathy.

Help your children set goals | Junk Mail
Photo Source – www.pixabay.com

Now that you’ve read our back-to-school tips, you can approach the new academic year with confidence. Visit Junk Mail today to find a wide variety of bags, Tupperware, toys, books, and much more.


More back-to-school articles:


Coaxial Connectors, Starting With The PL259

For the casual breadboard experimenter with a microcontroller and a few peripherals, there’s little concern over interconnects as a set of jumper wires will suffice. But as any radio amateur will tell you though, at higher frequencies it’s a very different affair. [Ria Jairam N2RJ] has embarked upon a series of videos exploring co-axial cable and its various connectors, and her first offering features the humble UHF connector, sometimes known as the PL259. Though it’s one of the older choices and its design flaws mean that “UHF” is more of an aspiration for it than a reality, it remains a common connector at the lower end of the amateur radio frequency range.

She starts with a brief history of co-axial cable, before introducing the UHF connector. We’re the introduced to its major flaw, in that it doesn’t present a constant impedance. The resulting mismatch presents a significant problem to a transmitter, especially at higher frequencies. We’re then taken through the various different models of UHF connector, including those with honeycomb dielectric to minimize the mismatch, and the fancy expensive plugs with strain relief. Finally she takes us through the proper fitting of a PL259 plug, something that there’s a bit more to than most of us might think. Altogether it’s an interesting and informative watch from an engaging and knowledgeable host, and we look forward to more.

Meanwhile, the field of RF connectors is something we’ve dipped a to into from time to time ourselves.

source https://hackaday.com/2020/11/23/coaxial-connectors-starting-with-the-pl259/

The Cost of Moving Atoms in Space; Unpacking the Dubious Claims of a $10 Quintillion Space Asteroid

The rest of the media were reporting on an asteroid named 16 Psyche last month worth $10 quintillion. Oddly enough they reported in July 2019 and again in February 2018 that the same asteroid was worth $700 quintillion, so it seems the space rock market is similar to cryptocurrency in its wild speculation. Those numbers are ridiculous, but it had us thinking about the economies of space transportation, and what atoms are worth based on where they are. Let’s break down how gravity wells, distance, and arbitrage work to figure out how much of this $10-$700 quintillion we can leverage for ourselves.

The value assigned to everything has to do with where a thing is, AND how much someone needs that thing to be somewhere else. If they need it in a different place, someone must pay for the transportation of it.

In international (and interplanetary) trade, this is where Incoterms come in. These are the terms used to describe who pays for and has responsibility for the goods between where they are and where they need to be. In this case, all those materials are sitting on an asteroid, and someone has to pay for all the transport and insurance and duties. Note that on the asteroid these materials need to be mined and refined as well; they’re not just sitting in a box on some space dock. On the other end of the spectrum, order something from Amazon and it’s Amazon that takes care of everything until it’s dropped on your doorstep. The buyer is paying for shipping either way; it’s just a matter of whether that cost is built into the price or handled separately. Another important term is arbitrage, which is the practice of taking a thing from one market and selling it in a different market at a higher price. In this case the two markets are Earth and space.

Where did $10/$700 quintillion come from?

Here’s what we know:

  • The best mass estimate right now is (2.41±0.32)Ɨ1019 kg (source PDF).
  • 10 quintillion is 1×1019 (yes, 1 quintillion is 1×1018, but the units work out better this way).
  • Estimates at the composition of the asteroid are metals, mostly iron and nickel, with about 10% being silicate rock with a sprinkling of other elements inside. This is from surface spectral analysis, as well as calculations of its density, but for all we know it could be filled with nougat and gold.
  • The current price of iron ore (on Earth) at the time of writing is $0.1235/kg.
  • The current price of nickel is $14.857/kg.
  • The current cost of putting a kilogram of material into low earth orbit on a Falcon 9 is roughly $2700.

The handy thing about these facts is that we can cancel out some units and pretend that there’s 2.4 kg of stuff and it’s worth $10. Subtract 10% from the silicate rock and you have 2.16 kg. If it were all iron, it’d be worth $.27. If it were all nickel it’d be worth $32.09. If it’s 50/50 then it’s $16. So the $10 quintillion is just a giant guess using current market prices of the metals that are likely present in the asteroid, and assuming the material is already on Earth. In fact, the author who came up with the number said exactly that.

To get $700 quintillion, consider the fact that the mass is already in space and that we want to keep it there. That means that each kilogram that’s already up there is worth $2700/kg in transportation costs and then we add the $10 quintillion in arbitrarily assigned value based on its worth on Earth, so the asteroid is worth $5,842 quintillion. Ok, I don’t know how they got $700 quintillion, but it’s a pointless clickbait number anyway.

Why Would We Even Want It Here?

An asteroid of 100km in diameter entering our atmosphere would completely sterilize Earth by imparting enough energy to boil the oceans. A mere 10 km rock could be an extinction level event. At a diameter of 200 km, we really don’t want all that mass crashing down on us, especially if it’s a particularly heavy metallic beast like 16 Psyche that won’t break up or burn up in the atmosphere. That would really hurt the market for iron or nickel. Even if it were broken into lots of pieces, anything larger than the size of a car crashing down without something to decelerate it is going to do considerable damage wherever it lands. That kind of risk, as well as the security threat of any country or organization controlling it, makes parking an asteroid in Earth’s orbit extremely unsettling. Besides that, there’s already a giant rock filled with iron in Earth’s orbit (3,474 km in diameter), and we’ve already landed on it before.

There’s a lot more iron and nickel here on Earth, and it’s readily available on all continents. Getting these ores from an asteroid and bringing them to Earth would be like getting your drinking water in a square bottle from a foreign island and flying it back to you when you have tap water nearby.

Current iron ore production worldwide is 2.6×109 kg/year. Nickel is less than 1% of that. At our current consumption rates of those materials, it would take us a mere 8.3 billion years to consume it all, during which the value of those ores would likely decline.

What Would It Take to Bring It Back?

My orbital mechanics are rusty, so this next bit might be off by a few orders of magnitude, but to move the asteroid from its current position to Earth’s orbit would require a Delta-V of about 10 km/s. E=1/2mv2, so 1.2x1019*100002 = 1.2x1027 joules, or 3.3x1020 kWh. This is, of course, ridiculous (a theme in this article). Maybe you could even hurl chunks of it backwards and trade mass for velocity. You wouldn’t want to move the whole thing at once, either; you’d probably mine a chunk at a time. And it would make the most sense to set up a refinery on the asteroid so that only the most valuable materials were shipped back. Assume, then, that you can set up a station on the asteroid that refines the material, bundles it up into a pretty package, and hurls it towards Earth.

Next, you’d need to be able to crash it down on Earth reasonably well enough to narrow its return to a few hundred mile radius, preferably in the middle of the ocean, so as not to destroy entire cities. It probably won’t float when it lands, so you’d have to have the equipment to go recover it before it sinks.

If the contents are just iron, you have to be able to do all of this for under $.1235/kg, or else you can’t compete with home-grown ores. Even if it’s palladium or platinum, you’ll probably barely turn a profit once you take into account getting all the mining and transportation equipment up there, getting the material back, and recovering it.

The Real Value of 16 Psyche

16 Psyche imaged by the Very Large Telescope’s adaptive optics SPHERE imager with a Richie Rich filter. (CC BY 4.0 https://commons.wikimedia.org/wiki/File:Psyche_asteroid_eso_crop.jpg)

The way 16 Psyche could be useful to us is the fact that it’s already in space. If the future of humanity is in getting off the rock we’re quickly spoiling, then that means moving materials out of the gravity well of Earth or using resources that are already out there. Most asteroids are rock that is not very practical, but 16 Psyche has been identified as one that has a lot of the materials we like to use for building structures. If we sent the appropriate refining equipment to the asteroid, it could become a viable starting point for the construction of space vehicles. Then the $2700/kg could be spent on the materials like electronics and plastics and other raw supplies that can’t be sourced elsewhere, yielding a lower overall cost for the ship created in space. Going back to the arbitrage term, the market for iron already in space is very different from the market for iron on Earth; it would be a bad financial decision to try to sell the space iron on Earth. There are missions to visit this and other asteroids like it to figure out what exactly they are made of. If they are valuable materials for the construction of space habitats and vehicles, then it might make sense to mine them. But the likelihood is low that the material is plentiful on the asteroid and not on Earth and valuable enough on Earth that sourcing it off-world and bringing it back is the best option commercially.

Ultimately, the value of something is not just in the thing itself but also the cost to get it to where you want it. Putting $10 quintillion on an asteroid in deep space is completely meaningless because nobody wants all that material way out there right now, it would take billions of years to use it all, and it’s a plentiful material that’s readily available here on Earth already. But if that number is still interesting to you, I’ve got a local star putting out 3.846Ɨ1026 watts, which at $.12/kwh is about $4.6×1022 or $46 hextillion dollars an hour. All you have to do is build a Dyson sphere.

source https://hackaday.com/2020/11/23/the-cost-of-moving-atoms-in-space-unpacking-the-dubious-claims-of-a-10-quintillion-space-asteroid/

Full 8-Bit Computer on Breadboards

Getting into a big electronics project often involves the use of specialized tools, namely the use of some sort of soldering iron or other way to apply solder to often intricate, tiny, and heat-sensitive parts. While it’s best to learn to pick up this skill at some point, it’s not always necessary, even for big, complicated projects like [DerULF1]’s full 8-bit computer that he built entirely on breadboards.

For a fully featured 8-bit computer, this build goes deep into the details of how the computer works. The clock allows programs to be stepped through one cycle at a time, and even the memory can be individually accessed with a set of switches. There are plenty of other interesting features as well, such as using registers to access extra memory. It features an SPI port and PS/2 keyboard controller and also loads programs from an SD card.

The build was inspired by some of [Ben Eater]’s projects which famously focus on using logic gates and TTL chips to perform complex tasks, such as another breadboard computer which plays snake on a small display. It’s certainly a great way to learn about the inner function of computers, and better still that no soldering is required. But you may need a few extra breadboards.

Thanks to [Duncan] for the tip!

source https://hackaday.com/2020/11/23/full-8-bit-computer-on-breadboards/

Booting a PC from Vinyl for a Warmer, Richer OS

If you’ve scrolled through the list of boot options offered on any PC’s BIOS, it reads like a history of storage technology. Up top we have the options to boot from disk, often a solid-state drive, then USB disk, optical drive, removable media, and down the bottom there’s usually an option to boot from the network. Practically no BIOS, however, has an option to boot a PC from a vinyl record — at least until now.

Clearly a project from the “Because why not?” school of hacking, [Jozef Bogin] came up with the twist to the normal booting process for an IBM-PC. As in the IBM-PC — a model 5150, with the putty-colored case, dual 5-1/4″ floppies, and one of those amazing monochrome displays with the green slow-decay phosphors. To pull off the trick, [Jozef] leverages the rarely used and little known cassette tape interface that PCs had back in the early days. This required building a new bootloader and burning it to ROM to make the PC listen to audio signals with its 8255 programmable peripheral interface chip.

Once the PC had the right bootloader, a 64k FreeDOS bootable disk image was recorded on vinyl. [Jozef] provides infuriatingly little detail about the process other than to mention that the audio was sent directly to the vinyl lathe; we’d have loved to learn more about that. Nonetheless, the resulting 10″ record, played back at 45 RPM with some equalization tweaks to adapt for the RIAA equalization curve of the preamp, boots the PC into FreeDOS just fine, probably in no more time than it would have taken to boot from floppy.

It’s may not be the first time we’ve seen software on vinyl, but it’s still a pretty cool hack. Want to try it yourself but lack a record-cutting lathe? Maybe laser-cutting your boot disc will work.

Thanks to [John] and a bunch of other folks who tipped us off on this one.

source https://hackaday.com/2020/11/23/booting-a-pc-from-vinyl-for-a-warmer-richer-os/

Booting a PC from Vinyl for a Warmer, Richer OS

If you’ve scrolled through the list of boot options offered on any PC’s BIOS, it reads like a history of storage technology. Up top we have the options to boot from disk, often a solid-state drive, then USB disk, optical drive, removable media, and down the bottom there’s usually an option to boot from the network. Practically no BIOS, however, has an option to boot a PC from a vinyl record — at least until now.

Clearly a project from the “Because why not?” school of hacking, [Jozef Bogin] came up with the twist to the normal booting process for an IBM-PC. As in the IBM-PC — a model 5150, with the putty-colored case, dual 5-1/4″ floppies, and one of those amazing monochrome displays with the green slow-decay phosphors. To pull off the trick, [Jozef] leverages the rarely used and little known cassette tape interface that PCs had back in the early days. This required building a new bootloader and burning it to ROM to make the PC listen to audio signals with its 8255 programmable peripheral interface chip.

Once the PC had the right bootloader, a 64k FreeDOS bootable disk image was recorded on vinyl. [Jozef] provides infuriatingly little detail about the process other than to mention that the audio was sent directly to the vinyl lathe; we’d have loved to learn more about that. Nonetheless, the resulting 10″ record, played back at 45 RPM with some equalization tweaks to adapt for the RIAA equalization curve of the preamp, boots the PC into FreeDOS just fine, probably in no more time than it would have taken to boot from floppy.

It’s may not be the first time we’ve seen software on vinyl, but it’s still a pretty cool hack. Want to try it yourself but lack a record-cutting lathe? Maybe laser-cutting your boot disc will work.

Thanks to [John] and a bunch of other folks who tipped us off on this one.

source https://hackaday.com/2020/11/23/booting-a-pc-from-vinyl-for-a-warmer-richer-os/

The Most Annoying Among Us Tasks Created In Real Life

Among Us is a hit game of deception and intrigue. Those who have played it know the frustration of trying to complete some of the intentionally difficult tasks onboard the Skeld.Ā [Zach Freedman] decided to recreate some of these in real life.

[Zach] built what are arguably the three most frustrating tasks from the game. There’s the excruciatingly slow upload/download station built out of an old Samsung tablet and an NFC tag, and the reactor start console created using a Raspberry Pi 3B, Teensy 3.2, and a custom mechanical keyboard. But perhaps most annoying of all is the infamous card reader. Built with another Teensy, it requires the user to swipe their ID card at just the right speed,Ā except that speed is randomly generated for every swipe. Also, the machine fails 20% of good swipesĀ just because. Perhaps what we love most is the way [Zach] recreated the classic VFD look by putting an OLED display behind bottle-green plastic and using a 14-segment font.

It’s a fun homage to a wildly successful indie game, and we could imagine these props would be a hit at a makerspace party. We’ve featured otherĀ Among Us themed builds before, too. Video after the break.

source https://hackaday.com/2020/11/22/the-most-annoying-among-us-tasks-created-in-real-life/

Hackaday Links: November 22, 2020

Remember DSRC? If the initialism doesn’t ring a bell, don’t worry — Dedicated Short-Range Communications, a radio service intended to let cars in traffic talk to each other, never really caught on. Back in 1999, when the Federal Communications Commission set aside 75 MHz of spectrum in the 5.9-GHz band, it probably seemed like a good idea — after all, the flying cars of the future would surely need a way to communicate with each other. Only about 15,000 vehicles in the US have DSRC, and so the FCC decided to snatch back the whole 75-MHz slice and reallocate it. The lower 45 MHz will be tacked onto the existing unlicensed 5.8-MHz band where WiFi now lives, providing interesting opportunities in wireless networking. Fans of chatty cars need not fret, though — the upper 30 MHz block is being reallocated to a different Intelligent Transportation System Service called C-V2X, for Cellular Vehicle to Everything, which by its name alone is far cooler and therefore more likely to succeed.

NASA keeps dropping cool teasers of the Mars 2020 mission as the package containing the Perseverance rover hurtles across space on its way to a February rendezvous with the Red Planet. The latest: you can listen to the faint sounds the rover is making as it gets ready for its date with destiny. While we’ve heard sounds from Mars before — the InSight lander used its seismometer to record the Martian wind — Perseverance is the first Mars rover equipped with actual microphones. It’s pretty neat to hear the faint whirring of the rover’s thermal management system pump doing its thing in interplanetary space, and even cooler to think that we’ll soon hear what it sounds like to land on Mars.

Speaking of space, back at the beginning of 2020 — you know, a couple of million years ago — we kicked off the Hack Chat series by talking with Alberto Caballero about his “Habitable Exoplanets” project, a crowd-sourced search for “Earth 2.0”. We found it fascinating that amateur astronomers using off-the-shelf gear could detect the subtle signs of planets orbiting stars half a galaxy away. We’ve kept in touch with Alberto since then, and he recently tipped us off to his new SETI Project. Following the citizen-science model of the Habitable Exoplanets project, Alberto is looking to recruit amateur radio astronomers willing to turn their antennas in the direction of stars similar to the Sun, where it just might be possible for intelligent life to have formed. Check out the PDF summary of the project which includes the modest technical requirements for getting in on the SETI action.

A few months ago we reported that Boston Dynamics was finally finding customers with use cases that fit their flagship product, the “Big Dog” robot nicknamed Spot. The customer was Ford and the application involved periodic surveys of their enormous transmission plant, normally performed by engineers. At the same time, BP was training Spot for a far more dangerous job: oil rig inspections. Normally, operators on offshore oil platforms make the rounds several times a day to spot anything out of the ordinary: leaks, corrosion, or other situations that can pose a hazard to the platform and the people on it. After oil rig simulator training, Spot moved on to BP’s “Mad Dog” rig in the Gulf of Mexico, where it wanders about making sure everything’s copacetic. They’ve even trained Spot to read gauges and discern valve handle positions, and they’ve equipped the robot with sensors for methane to detect leaks.

And finally, how about a little high-voltage fun? Jay Bowles over at Plasma Channel just released a new video where he explores electrostatic levitation. We had Jay on for a Hack Chat not too long ago where we discussed his passion for plasma. The new video doesn’t have much plasma, but it does focus on how to use a 70-kV voltage multiplier to float scraps of tinfoil in the air. Jay even throws himself into the circuit at one point, levitating things with his bare hands. It seems like good fun, even if we wouldn’t recommend it as particularly safe.

source https://hackaday.com/2020/11/22/hackaday-links-november-22-2020/

Espressif Leaks ESP32-C3: A WiFi SoC That’s RISC-V and is ESP8266 Pin-Compatible

Six years on from the emergence of the Espressif ESP8266 we might believe that the focus had shifted to the newer dual-core ESP32. But here comes a twist in the form of the newly-revealed ESP32-C3. It’s a WiFi SoC that despite its ESP32 name contains a RISC-V core in place of the Tensilica core in the ESP32s we know, and uses the ESP8266 pin-out rather than that of its newer sibling. There’s relatively little information about it at the time of writing, but CNX Software have gathered together what there is including a draft datasheet whose English translation is available as a Mega download. As with other ESP32 family members, this one delivers b/g/n WiFi and Bluetooth Low-Energy (BLE) 5, where it differs is the RISC-V 32 Single-core processor with a clock speed of up to 160 MHz. There is 400 kB of SRAM and 384 kB ROM storage space built in.

While there is no official announcement yet, Espressif has been dropping hints. There’s been an OpenOCD configuration file for it in the Espressif repositories since the end of last month. And on Friday, Espressif Software Engineering Manager [Sprite_TM] answered a reddit comment, confirming the RISC-V core.

ESP-01: Kjerish, CC BY-SA 4.0, RISC-V logo: RISC-V foundation, Public domain.

Why they are releasing the part as an ESP32 rather than giving it a series number of its own remains a mystery, but it’s not hard to see why it makes commercial sense to create it in an ESP8266-compatible footprint. The arrival of competing parts in the cheap wireless SoC space such as the Bouffalo Labs BL602 we mentioned recently is likely to be eating into sales of the six-year-old chip, so an upgrade path to a more capable part with minimal new hardware design requirements could be a powerful incentive for large customers to stay with Espressif.

We’re left to guess on how exactly the rollout will proceed. We expect to see similar developer support to that they now provide for their other chips, and then ESP32-C3 powered versions of existing ESP8266 boards in short order. It’s also to be hoped that a standard RISC-V toolchain could be used instead of the device-specific ones for current Espressif offerings. What we should not expect are open-source replacements for the blobs that drive the on-board peripherals, as the new chip will share the same closed-source IP as its predecessors for them. Perhaps if the PINE64 initiative to reverse engineer blobs for the BL602 bears fruit, we might see a similar effort for this chip.

source https://hackaday.com/2020/11/22/espressif-leaks-esp32-c3-a-wifi-soc-thats-risc-v-and-is-esp8266-pin-compatible/

Espressif Leaks ESP32-C3: A WiFi SoC That’s RISC-V and is ESP8266 Pin-Compatible

Six years on from the emergence of the Espressif ESP8266 we might believe that the focus had shifted to the newer dual-core ESP32. But here comes a twist in the form of the newly-revealed ESP32-C3. It’s a WiFi SoC that despite its ESP32 name contains a RISC-V core in place of the Tensilica core in the ESP32s we know, and uses the ESP8266 pin-out rather than that of its newer sibling. There’s relatively little information about it at the time of writing, but CNX Software have gathered together what there is including a draft datasheet whose English translation is available as a Mega download. As with other ESP32 family members, this one delivers b/g/n WiFi and Bluetooth Low-Energy (BLE) 5, where it differs is the RISC-V 32 Single-core processor with a clock speed of up to 160 MHz. There is 400 kB of SRAM and 384 kB ROM storage space built in.

While there is no official announcement yet, Espressif has been dropping hints. There’s been an OpenOCD configuration file for it in the Espressif repositories since the end of last month. And on Friday, Espressif Software Engineering Manager [Sprite_TM] answered a reddit comment, confirming the RISC-V core.

ESP-01: Kjerish, CC BY-SA 4.0, RISC-V logo: RISC-V foundation, Public domain.

Why they are releasing the part as an ESP32 rather than giving it a series number of its own remains a mystery, but it’s not hard to see why it makes commercial sense to create it in an ESP8266-compatible footprint. The arrival of competing parts in the cheap wireless SoC space such as the Bouffalo Labs BL602 we mentioned recently is likely to be eating into sales of the six-year-old chip, so an upgrade path to a more capable part with minimal new hardware design requirements could be a powerful incentive for large customers to stay with Espressif.

We’re left to guess on how exactly the rollout will proceed. We expect to see similar developer support to that they now provide for their other chips, and then ESP32-C3 powered versions of existing ESP8266 boards in short order. It’s also to be hoped that a standard RISC-V toolchain could be used instead of the device-specific ones for current Espressif offerings. What we should not expect are open-source replacements for the blobs that drive the on-board peripherals, as the new chip will share the same closed-source IP as its predecessors for them. Perhaps if the PINE64 initiative to reverse engineer blobs for the BL602 bears fruit, we might see a similar effort for this chip.

source https://hackaday.com/2020/11/22/espressif-leaks-esp32-c3-a-wifi-soc-thats-risc-v-and-is-esp8266-pin-compatible/

Espressif Leaks ESP32-C3: A WiFi SoC That’s RISC-V and is ESP8266 Pin-Compatible

Six years on from the emergence of the Espressif ESP8266 we might believe that the focus had shifted to the newer dual-core ESP32. But here comes a twist in the form of the newly-revealed ESP32-C3. It’s a WiFi SoC that despite its ESP32 name contains a RISC-V core in place of the Tensilica core in the ESP32s we know, and uses the ESP8266 pin-out rather than that of its newer sibling. There’s relatively little information about it at the time of writing, but CNX Software have gathered together what there is including a draft datasheet whose English translation is available as a Mega download. As with other ESP32 family members, this one delivers b/g/n WiFi and Bluetooth Low-Energy (BLE) 5, where it differs is the RISC-V 32 Single-core processor with a clock speed of up to 160 MHz. There is 400 kB of SRAM and 384 kB ROM storage space built in.

While there is no official announcement yet, Espressif has been dropping hints. There’s been an OpenOCD configuration file for it in the Espressif repositories since the end of last month. And on Friday, Espressif Software Engineering Manager [Sprite_TM] answered a reddit comment, confirming the RISC-V core.

ESP-01: Kjerish, CC BY-SA 4.0, RISC-V logo: RISC-V foundation, Public domain.

Why they are releasing the part as an ESP32 rather than giving it a series number of its own remains a mystery, but it’s not hard to see why it makes commercial sense to create it in an ESP8266-compatible footprint. The arrival of competing parts in the cheap wireless SoC space such as the Bouffalo Labs BL602 we mentioned recently is likely to be eating into sales of the six-year-old chip, so an upgrade path to a more capable part with minimal new hardware design requirements could be a powerful incentive for large customers to stay with Espressif.

We’re left to guess on how exactly the rollout will proceed. We expect to see similar developer support to that they now provide for their other chips, and then ESP32-C3 powered versions of existing ESP8266 boards in short order. It’s also to be hoped that a standard RISC-V toolchain could be used instead of the device-specific ones for current Espressif offerings. What we should not expect are open-source replacements for the blobs that drive the on-board peripherals, as the new chip will share the same closed-source IP as its predecessors for them. Perhaps if the PINE64 initiative to reverse engineer blobs for the BL602 bears fruit, we might see a similar effort for this chip.

source https://hackaday.com/2020/11/22/espressif-leaks-esp32-c3-a-wifi-soc-thats-risc-v-and-is-esp8266-pin-compatible/

DOOM Running on the Nintendo Game & Watch

Today the newly-released Nintendo Game & Watch can play DOOM. Sure, there are caveats…this is a watered down version due to the restraints of the hardware itself. But the important thing is that this shows the hardware has been fully owned. This is code written to replace the firmware that ships on the STM32 within, and that makes this a gorgeous little hardware platform that is completely open to homebrew hacking.

Honestly, you had to assume this was going to happen pretty quickly considering the effort being thrown into it. We first reported on Tuesday that the EEPROM memory which stores the ROMs on the Game and Watch had been decoded. Shortly after that was published, [stacksmashing] and [Konrad Beckmann] were showing test patterns on the display and mentioning the audio was working as well. Turns out they were able to dump the stock firmware despite the chip being security locked.

We’ll have to wait for more details on exactly how to dump firmware, but [stacksmashing] drops enough of a mention in the video below to confirm the obvious. A common approach to dumping code from a locked microcontroller is to find a vulnerability that grants execution of custom code. Being able to run just a few lines of your own code is enough set up something as simple as looping through all internal flash memory addresses and dumping them over a few GPIO pins. In this case our two heroes discovered some ARM code was being loaded from the EEPROM onto the STM32, and managed to inject their own directives to perform the dump. They have promised full details soon.

What we have today is a pretty tricky hack not just to load code, but to get DOOM to run on meager hardware specs. Notably, 128 k of SRAM and 1.3 MB of external RAM. There’s also a bottleneck with the 1.1 MB of FLASH for storing game files. The textures were stripped down, and memory allocation was rewritten, but the proof of concept is there and the game runs. Homebrew, here we come!

[Thanks @arturo182]

source https://hackaday.com/2020/11/22/doom-running-on-the-nintendo-game-watch/

Artistic Robot Has Paints, Will Travel

Creativity is a very human trait, and one that many try to emulate with robots. Some focus on the cerebral side of things, working with neural networks and machine learning to produce new artistic output. Others work on the mechanical side, building ‘bots that can manipulate tools in the real world for artistic purposes. [Technovation]’s latest build falls into the latter category – a small Arduino-powered ‘bot that likes to paint.

The robot moves around on two wheels, each driven by a stepper motor for accurate movement. The paintbrush itself is controlled with another stepper, which rotates it between the paint pots and the canvas. A servo is used to dip the brush into pots, and to apply it to the canvas. An Arduino Uno runs the show, with the robot currently programmed to paint random lines of various colors on the canvas.

By virtue of its roving design, it could theoretically paint on arbitrarily large canvasses. It’s a platform that could prove highly capable when paired with a neural network and perhaps some machine vision to allow it to concoct more complex artworks. We’ve seen other paint bots before, too. Video after the break.

source https://hackaday.com/2020/11/22/artistic-robot-has-paints-will-travel/

Blue Pill as a Nerdy Swiss Army Knife

Not everyone can afford an oscilloscope, and some of us can’t find a USB logic analyzer half the time. But we can usually get our hands on a microcontroller kit, which can be turned into a makeshift instrument if given the appropriate code. A perfect example is buck50 developed by [Mark Rubin], an open source firmware to turn a STM32 “Blue Pill” into a multi-purpose test and measurement instrument.

buck50 comes with a plethora of functionality built in which includes an oscilloscope, logic analyzer, and bus monitor. The device is a two way street and also comes with GPIO control as well as PWM output. There’s really a remarkable amount of functionality crammed into the project. [Mark] provides a Python application that exposes a text based UI for configuring and using the device though commands and lots of commands which makes this really nerdy. There are a number of options to visualize the data captured which includes gnuplot, gtk wave and PulseView to name a few.

[Mark] does a fantastic job not only with the firmware but also with the documentation, and we really think this makes the project stand out. Commands are well documented and everything is available on [GitHub] for your hacking pleasure. And if you are about to order a Blue Pill online, you might want to check out the nitty-gritty of the clones that are floating around.

Thanks [JohnU] for the tip!

source https://hackaday.com/2020/11/22/blue-pill-as-a-nerdy-swiss-army-knife/

RGB Party Bike Flashes With The Beat

One of the biggest dangers to a cyclist is not being seen at night. To counteract this, all manner of lighting and reflective gear is available to help ensure bicycles are seen on the streets. Of course, you don’t have to stop at the purely practical. [TechnoChic] decided to have some fun with her ride, festooning her party bike with many, many LEDs.

As you’d expect, the RGB illuminations are thanks to WS2812B LED strips. Running the show isĀ  a trio of Arduino Nano 33 IoTs – one for the LEDs on the bike’s frame, the other two mounted on the front and back wheels respectively. This allowed for the easy control of LEDs on the spokes without having to pass data and power lines to the rotating wheels. The LEDs on the frame are even music-reactive, with the Arduino sampling music input via one of its analog-to-digital converters.

Paired with a boombox on the bike, the build makes for a great way to hype up group rides through the city at night. We can imagine such a bike being an absolute hit at Critical Mass, though you’ve probably gotta add a laser or glitter cannon if you’re going to draw attention at Burning Man. If you’re tired of pedaling, you might consider an electric conversion, too. Video after the break.

source https://hackaday.com/2020/11/22/rgb-party-bike-flashes-with-the-beat/

Intel’s Forgotten 1970s Dual Core Processor

Can you remember when you received your first computer or device containing a CPU with more than one main processing core on the die? We’re guessing for many of you it was probably some time around 2005, and it’s likely that processor would have been in the Intel Core Duo family of chips. With a dual-core ESP32 now costing relative pennies it may be difficult to grasp in 2020, but there was a time when a multi-core processor was a very big deal indeed.

What if we were to tell you that there was another Intel dual-core processor back in the 1970s, and that some of you may even have owned one without ever realizing it? It’s a tale related to us by [Chris Evans], about how a team of reverse engineering enthusiasts came together to unlock the secrets of the Intel 8271.

If you’ve never heard of the 8271 you can be forgiven, for far from being part of the chip giant’s processor line it was instead a high-performance floppy disk controller that appeared in relatively few machines. An unexpected use of it came in the Acorn BBC Micro which is where [Chris] first encountered it. There’s very little documentation of its internal features, so an impressive combination of decapping and research was needed by the team before they could understand its secrets.

As you will no doubt have guessed, what they found is no general purpose application processor but a mask-programmed dual-core microcontroller optimized for data throughput and containing substantial programmable logic arrays (PLAs). It’s a relatively large chip for its day, and with 22,000 transistors it dwarfs the relatively svelte 6502 that does the BBC Micro’s heavy lifting. Some very hard work at decoding the RMO and PLAs arrives at the conclusion that the main core has some similarity to their 8048 architecture, and the dual-core design is revealed as a solution to the problem of calculating cyclic redundancy checks on the fly at disk transfer speed. There is even another chip using the same silicon in the contemporary Intel range, the 8273 synchronous data link controller simply has a different ROM. All in all the article provides a fascinating insight into this very unusual corner of 1970s microcomputer technology.

As long-time readers will know, we have an interest in chip reverse engineering.

source https://hackaday.com/2020/11/22/intels-forgotten-1970s-dual-core-processor/

Beer Pong Difficulty Level: 10

Beer pong is a fun enough game for those of a certain age, but one thing that it lacks is a way of cranking up the difficulty setting independent of the amount of beer one has consumed. At least, that was the idea [Ty] had when he came up with this automated beer pong table which allows the players to increase the challenge of this game by sliding the cups around the top of the table.

The build uses a belt-driven platform under a clear cover with a set of magnets attached. Each of the cups on the table has a corresponding magnet, which allows them to slide fairly easily back and forth on the table. The contraption is controlled by an Arudino Nano with a small screen and dial that allows the players to select a difficulty level from 1 to 10. The difficulty levels increase the speed that the cups oscillate on the table, which certainly adds another layer of complexity to this already challenging game.

While we hope to eventually see a beer pong table that can automatically arrange the cups as the game is played, we do appreciate the effort to make an already difficult game even more difficult. Of course, if you have problems with the difficulty level you might want to pick up a PongMate CyberCannon Mark III to help with those clutch beer pong shots.

source https://hackaday.com/2020/11/21/beer-pong-difficulty-level-10/

Beer Pong Difficulty Level: 10

Beer pong is a fun enough game for those of a certain age, but one thing that it lacks is a way of cranking up the difficulty setting independent of the amount of beer one has consumed. At least, that was the idea [Ty] had when he came up with this automated beer pong table which allows the players to increase the challenge of this game by sliding the cups around the top of the table.

The build uses a belt-driven platform under a clear cover with a set of magnets attached. Each of the cups on the table has a corresponding magnet, which allows them to slide fairly easily back and forth on the table. The contraption is controlled by an Arudino Nano with a small screen and dial that allows the players to select a difficulty level from 1 to 10. The difficulty levels increase the speed that the cups oscillate on the table, which certainly adds another layer of complexity to this already challenging game.

While we hope to eventually see a beer pong table that can automatically arrange the cups as the game is played, we do appreciate the effort to make an already difficult game even more difficult. Of course, if you have problems with the difficulty level you might want to pick up a PongMate CyberCannon Mark III to help with those clutch beer pong shots.

source https://hackaday.com/2020/11/21/beer-pong-difficulty-level-10/

A Computer In The Game Of Life

We often hear the term “Turing-complete” without giving much thought as to what the implications might be. Technically Microsoft PowerPoint, Portal 2, and Magic: the Gathering all are Turing-complete, what of it? Yet, each time someone embarks on an incredible quest of perseverance and creates a computer in one of these mediums, we stand back in awe.

[Nicolas Loizeau] is one such individual who has created a computer in Conway’s Game of Life. Unlike electricity, the Game of Life uses gliders as signals. Because two orthogonal gliders can cancel each other out or form a glider eater if they intersect with a good phase shift, the basic logic gates can be formed from these interactions. This means the space between gates is crucial as signals need to be in phase alignment. The basic building blocks are a period-60 gun, a 90-degree glider reflector, a glider duplicator, and a glider eater.

All the Python code that generates these structures is on GitHub as the sheer size of the machine couldn’t possibly be placed by hand. The Python includes scripts to assemble the basic programs as a bank of selectable glider generators. It’s all based on Golly, which is an excellent program for simulating Conway’s Game of Life, among other things. While this isn’t the first computer in the Game of Life as [Paul Rendell] published a design in 2000 and [Adam Goucher] published a Spartan universal computer constructor in 2009, we think this is a particularly beautiful one.

The actual architecture has an 8-bit data bus, a 64-byte memory with two read ports, a ROM with 21 bits per line, and a one-hot encoded ALU supporting 8 different operations. Instructions have a 4-bit opcode which is decoding in a few different instructions. The clock is four loops, formed by the glider reflectors as the glider beams rotate. This gives the computer four stages: execution, writing, increment PC, and write PC to memory.

The Game of Life is an excellent example of Cellular Automaton (CA). There are several other types of CA’s and the history behind them is fascinating. We’ve covered thisĀ field before and delved into this beautiful fringe of computer science. Check out the video below to truly get a sense of the scale of the machine that [Nicolas] has devised.

source https://hackaday.com/2020/11/21/a-computer-in-the-game-of-life/

A Rocket Powered Ejection Seat For Model Aircraft

As radio control planes don’t typically have human pilots onboard, the idea of installing an ejection seat in one is somewhat frivolous. But that doesn’t mean it wouldn’t be a lot of fun, and [James Whomsley] has set his mind to achieving the task.

The build process is an iterative one, with [James] solving problems step-by-step and testing along the way. The first task was to successfully launch a small action figure and his flight seat vertically in a controlled fashion. After a few attempts, a combination of rocket motors and guide rails were settled upon that could achieve the goal. Next up, a drogue parachute system was designed and tested to stabilize the seat at the height of its trajectory. Further work to come involves handling seat separation and getting the action figure safely back to the ground.

While action figures aren’t alive and the ejection seat serves no real emergency purpose, we can imagine it would be a hit at the local flying field – assuming the parachutes don’t get tangled in someone else’s model. For those interested in the real technology, our own [Dan Maloney] did a great piece on the topic. Video after the break.

source https://hackaday.com/2020/11/21/a-rocket-powered-ejection-seat-for-model-aircraft/

Among Us Emergency Meeting Button Becomes Reality

Among UsĀ has been an indie gaming success story. A game built by a small team has, after several years on the market, become a worldwide sensation. Gameplay consists of players attempting to find the imposter amongst their ranks and an “Emergency Meeting” can be called if players need to speak to each other. [john lemme] wanted to be able to do the same with his roommates, and set about building the real thing.

The build relies on an ESP32, which reads the state of a big red emergency button. When pressed, the ESP32 uses its WiFi connection to trigger a Discord conference call containing all the roommates. Naturally, it also plays the buzzer sound from the actual game, too – via a small amplifier and a speaker yanked from some headphones.

It’s a fun build, though [john] notes it has its limits. The call takes 10 seconds to initiate after the button press, and the audio hardware doesn’t do a great job of recreating the buzzer noise from the game. However, it’s a good starting point, and we think the concept could actually prove useful with some refinement. Video after the break.

source https://hackaday.com/2020/11/21/among-us-emergency-meeting-button-becomes-reality/