Many readers will be aware of the trend for disposable vapes, and how harvesting them for lithium-ion batteries has become a popular pastime in our community. We’re all used to the slim ones about the size of a marker pen, but it’s a surprise to find that they also come in larger sizes equipped with colour LCD screens. [Jason Gin] received one of this type of vape, and set about reverse engineering it.
What he found inside alongside the lithium-ion cell (we love his use of the term ” street lithium” by the way) was an ARM Cortex M0 microcontroller, 1 MB of flash, and that 80×160 display. Some investigation revealed this last part to have an ST7735S controller with an SPI interface. He turned his attention to the flash, which was filled with the bitmaps for the display. Seeing an opportunity there, this lead to the creation of a Windows 95 theme for the device.
Finally, the microcontroller turned out to be accessible with programming tools, with an unprotected firmware. The reverse engineering effort is ongoing, but we hope the result is a small dev board that will at least save some of the from being e-waste. If you’re curious, all the tools used are in a GitHub repository.
Meanwhile, we’ve looked at street lithium harvesting before.
Thanks [DeadFishOnTheLanding] for the tip!
Even if you don’t find it by the side of the road, that’s a pretty good dev board for $20! 48MHz M0, 1MB flash (maybe some internal as well), screen, battery with charging circuitry, and coil driver circuit. There are plenty of fun DC motor or lighting projects you could do with it.
I wonder if the coil driver could handle the heating element from one of those USB soldering irons. Might make a nice Pinecil/TS100-style portable iron with customizable features.
The coil driver is just a P-channel MOSFET that’s driven from an N-channel that’s both on the power board. The logic board’s just sending a digital output, which makes development actually kind of easier. The board-to-board header basically gives you two GPIOs and an ADC channel through a 2:1 divider.
Tbh at that point I’d just get a piecil. Those are made to be hackable and cost about as much iirc.
If it’s a USB iron, then there is already a heating element in it. I’m sure better then in this vape. I Googled and found these are available for less then $15 via mail order. Toss the juice pack and use the rest. Something else to add to my summer project list.
The screen isn’t quite big enough to use for a dedicated pico-8 machine. The screen is 80×160 pixels whereas Pico-8 needs a 128 × 128 pixel screen. Though if you were enterprising, you could use two screens together.
But can it run Doom?
Well, if you use them a lot … your’re Doomed
cant be any worse than what comes out of my bong.
The closest I got was making a Doom theme for the vape, but I scrapped it halfway-through because I wasn’t happy with the results.
As for a proper Doom implementation… it might be doable but significant concessions would need to be made. I’d love to see someone try making it though!
Just add some mass-media, like a SD card, and some PSRAM, 8 kb won’t get you far with the id Tech 1 engine, and i would say why not. Don’t expect great framerates tough as i don’t expect the N32G031 to have PSRAM support and one would need to create a trap interrupt to access that memory by foot.
Thanks for the feature! I submitted a tip but I guess I didn’t have to after all, hah!
I can’t take all the credit for the “street lithium” phrase though. I borrowed that from BigClive on YouTube, who made a lot of videos talking about disposable vape harvesting and has inspired me and plenty of others to seek them out if we find them in the field.
Nice effort, congratulations.
This disposable culture needs to be reined in with law. It’s crazy wasteful.
That’s like saying “The capitalists need to stop capitalizing.”
Waste is inherent when it is a byproduct of convinience. For example, the Soviet Navy used to fire full SKBMs during training on the Typhoon Class. A concrete dummy missile would have been fine but that would have been extra paperwork and the contribution to the starvation of the nation was a small part of a bigger issue.
Law-ing such subject is harder that it seems. I mean, we do not waste stuff because we feel like it, we do it because it is the fastest and more economical thing to do. In fact this applies to every human knowledge area… us humans want to solve the problem and move on, and not always that is economical or environmentally safe.
It’s still doable:
“From January 1, 2024, the Australian Government banned the importation of disposable vapes into Australia”.
We’re introducing a ban in the UK.
we can do with a lot fewer half ass products thats for sure. almost everything has that one part that was cost cut just enough to work for exactly until the end of the warranty period and not much more. we would have a lot less waste if everyone would just overbuild everything like they used to do before finite element analysis was a thing.
Regulations have been and still are the best way to controlling such things. Regulation creates a level playing field for all manufacturers. It is pointless to expect that a corporation will reduce their profits out of goodwill for the benefit of the planet.
A tax for packaging should be in place, based on its environmental footprint, that would fix a lot of the unnecessary packaging that products come in today.
A similar tax should also be on products, where a recycling score can be ranked to the expected lifetime of the product. If it is disposable and has a hi environmental impact, tax the hell out of it.
The industry will quickly find a solution not see their profits drop.
I believe the government is staffed with the best and brightest among us, who care more about others, than themselves. They are able to make better decisions than I am. The more control they have, the better the world will be. Please govern me harder.
Cute. Now replace “government” with “business” and see if it makes any more sense.
Looks like a new target to run DOOM
First off I wish I had your level of reverse engineering lol… secondly I’ve switched from smoking to vaping and bc I’m kind of a weirdo I have yet to thrown any of them away I have made portable chargers and stuff but me and my son have recently got into micro controllers and single board computers raspberry pi etc… anyways I have a question well maybe a few lol so were wanting to reuse the screens if possible plus the processors bc I have one (swipe vape) that is basically a smart watch as well and there’s another that has a few built in games but if there’s a way you could help us figure out the pin out to the lcd to one of these at the very least whether it’s spoon feeding me steps or I could mail you a few of them that I have the most of and seeing what you could find out or anything to help would be amazing!!! the display all seem to be undocumented and I don’t have an oscilloscope or anything so I’m not sure what route to take but I would gladly take whatever route works best if you have the time or interest I’m sure with your ability to articulate this kind of stuff if you posted some other more common vape reverse engineering I’m sure it will be appreciated by more then me and my son …. Sorry about the long rambling comment I tried to find another way to reach out but GitHub and ripitapart didn’t have any ways to contact you… if you are willing please reach out twhyproduction@gmail thanks ,
Tyler