Voice Activate Labels

About the project

just shout: hey google, print me a label : "insert text here" and it just pops out of the labelprinter! no mare hassle with apps, software, packages and so on! And it's also a WiFi printserver, WAW!

Project info

Difficulty: Difficult

Platforms: Raspberry Pi

Estimated time: 2 weeks

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Giant Board Giant Board x 1
Buck converter Buck converter regulate the internal 24V down to the 5V (or higher?) for the giant board x 1
Wi-Fi FeatherWing for Giant Board Wi-Fi FeatherWing for Giant Board needed to add Wifi functionality to the giant board x 1

Software apps and online services

Linux Linux Probably going with a minimal distro, doesn't need much
CUPS CUPS Linux printer driver
Python Python going to use Python to do the little bits in the back
Google assistant Google assistant

Hand tools and fabrication machines

Solering iron, Solering iron, soldering the Buck Converter x 1
Glue or screws Glue or screws x 1
screwdrivers screwdrivers x 1
DYMO labelwriter 450 DYMO labelwriter 450 The printer i will be using for this project x 1

Story

Freezer management and personal Hygiene are so imporant these days!

I used to just write the day on my frozen goods with a marker before putting them in the freezer,

but unfortunately those would always wear off!

In the meantime labelprinters are made just for this purpose, but printing a label can sometimes be cumbersome.Given the technological means we have today, there must be an easier way!Introducing : the voice activated label printer!Just shout to google assistant what you want on your lable and tadaaaaa, a lable pops out just with what you need.Prefereably linked to google home or google assistant on your smartphone.If you need to make labels with more specific stuff, the wifi connection also hosts a website to put free text to print, or you can even just print labels from windows or any other platform, because the wifi connection can be accessed as a printserver.A FULL option label printer for all uses, the way it should be, in 2020!

The implementation consists of two primary parts :

1) The Dymo Labelprinter now has the amazing "GiantBoard" built in and is running a Flask-Based Webserver and API. You can surf to the homepage of your labelprinter just by tapping in it's IP in your browser and do various things :

  • Quickly print a label in the quick print bar, no hassling around with drirvers software, anything.Just print a label from ANY device that is connected to your wifi.Free, simple, easy.
  • Add products to your freezer, add in some product to your current freezer by tapping in what you are putting in and the description, there's even users and an audit trail table that keeps up with whom adds and removes products from the freezer

2) The App written in "B4A" allowing interfacing with the webserver. Tired of remembering your label printer's IP? want to cut the hastle and just should to your phone what you want on your label? Want to scan out products of the freezer instead of having to manually check them out?it's all possible with this app!

Future additions  will consist of :- Making a table of recently removed products availabe to the app, also offline. So you can check while shopping what you recently consumed and needs to be replenished. (some code has been prepped but not implemented/tested- tighter integration with the assistant. Unfortunately google is very picky about their integrations into google Home for example, which would be the best solution. So for now you have to start the app first, that can be done with a voice command as well, and after the prompt shout out your label. I'm keeping an eye on the possibilities for a more tight integration.

I will make a fork out of this project to create membership cards and being able to scan in/out members based off the QR codes.

Schematics, diagrams and documents

Pictures of electronics

Some pictures of the things you need to do to get the GiantBoard Working inside the Labelpritner You need to insert a Buck converter to tap off some of the +24V and convert that down to the sweet 5V we need. I had to remove one of the caps from the board in order to make it fit. There are some nice pads available on the PCB of the DYMO to tap off the USB. In order for it to work you NEED to connect the +5V line as well! Have a look at this google pictures album : https://photos.app.goo.gl/uz9cHYf6q7r1XbDS6

Code

Code - Python - B4A

I've put the code in a google drive where it is free for the taking. The webserver part is pretty stable, the app is functional, However it still needs some implementations added to it. DONT USE THE GITBHUB LINK IT DOESNT DO ANYTHING i still don't know how to use github lol, but i'll make sure i can use it soon! https://drive.google.com/drive/folders/1Ll-w_7xnoqfLfDqkWWi1729pv6YQOvt2?usp=sharing

Credits

Leave your feedback...