Project

# Title Team Members TA Documents Sponsor
29 Portable Thermal Printer (HP Inc.)
Gally Huang
Jason Liu
Kevin An
Hanyin Shao design_document1.pdf
final_paper1.pdf
photo1.jpg
photo2.jpg
presentation2.pdf
proposal2.pdf
proposal3.pdf
video
# Portable Thermal Printer

Team Members:
- Gally Huang (ghuang23)
- Jason Liu (jliu246)
- Kevin An (kqan2)

# Problem

In such a modern world with many other products such as smartphones and the internet, the printer has remained relatively unchanged over the course of the last century. After electronics were invented, the art of printing was modernized in a way that allowed printing with electricity. In order to stay competitive, Hewlett Packard Inc. (HP) has set out a pitch for us to attempt to discover a way to make printing portable in order to keep their high market share over the printing market. Competitors such as Canon Inc. have already begun the process of creating such portable printers in the Asian markets and this will allow us to design and create smaller printers in the North American market.

# Solution

A system that receives instructions for printing wirelessly that can process image data and print the corresponding image on receipt paper. This system would allow for portable printing capabilities at low costs.

We will use an FPGA to implement our solution because FPGAs can stand in place for a real-world ASIC. We can mass produce it eventually to be much more cost-efficient to market for the consumer and add the WiFi capabilities on a PCB alongside the FPGA. For our purposes, the FPGA serves as an emulation tool that is similarly used at HP for their standalone printers that can eventually be developed in an ASIC.

The FPGA from ECE 385 will be utilized as the base of the project. We will be creating our own IO shield for the PCB that has the components described below (LCD, Wifi, Printer, and LEDs) that go on top of it. Since the printer requires a higher voltage than that of the FPGA, we will also need to figure out a way to shape the PCB to power all the components on 9/5/3.3V power rails.

# Solution Components

## Imaging Subsystem

- As image data is input, it will process the data to a black-and-white image.
- ALTERA MAX10 Development & Education Board (DE10-Lite) (i.e., from ECE 385)
- Thermal Receipt Printer Guts (https://www.mouser.com/datasheet/2/737/mini_thermal_receipt_printer-2488648.pdf) to print images onto receipts. Since it's the guts of a printer, we will be making a secure enclosure for it and connecting it to the MCU and FPGA using a PCB.

## WiFi Subsystem

- Communicate between our system and simple backend server via WiFi.
- ESP8266 SMT Module - ESP-12F WiFi module (https://www.adafruit.com/product/2491)
- Wifi Subsystem on IO Shield for FPGA to receive data.

## Diagnostic Subsystem

- LEDs that indicate the success or failure of the printing and imaging process.

### If we manage to achieve the above, the following will be added to the system:

## Sensor / Actuator Subsystem

- It will output information about the printer battery level, printed image preview, and other diagnostic data to an LCD.
- 1.8" SPI TFT display, 160x128 18-bit color - ST7735R driver (https://www.adafruit.com/product/618)
- Buttons that decide what imaging algorithm to use when processing images.

## Power Subsystem

- Batteries supply power to the thermal printer and auxiliary components.
- If the printer is not executing, the system should be in an idle state and draw less power. The WiFi Module already has features to enable this (modem-sleep mode). We should try to see if there is a similar solution for the printer.
- We need to account for the fact that not all the components use the same amount of voltage. So there must be some logic to stepping down the voltage.
- We will require some guidance on the correct battery layout since all of our knowledge on battery systems is quite limited but we received some suggestions to use 18650 batteries in their correct layout in series and parallel to supply the correct power.
- The FPGA, LCD display, and WiFi Module will be < 5V.
- The thermal printer requires 5V-10V to operate, 7.5V-9V DC for best results at 1.5A current.

# Criterion For Success

1. We need to make sure that the device is able to process data on its own through its hardware. We shall implement algorithms suggested to us by HP (e.g., Floyd-Steinberg dithering algorithm) on an FPGA.
2. The printed image must be the same as the image sent to the wireless subsystem except in black and white and fitted on receipt paper.
3. We need to use small printers.
4. We need to make sure that the device design is portable, such that it is able to receive data through WiFi and is battery-powered.

Instant Nitro Cold Brew Machine

Danis Heto, Mihir Vardhan

Instant Nitro Cold Brew Machine

Featured Project

# Instant Nitro Cold Brew Machine

Team Members:

- Mihir Vardhan (mihirv2)

- Danis Heto (dheto3)

# Problem

Cold brew is made by steeping coffee grounds in cold water for 12-18 hours. This low-temperature steeping extracts fewer bitter compounds than traditional hot brewing, leading to a more balanced and sweeter flavor. While cold brew can be prepared in big batches ahead of time and stored for consumption throughout the week, this would make it impossible for someone to choose the specific coffee beans they desire for that very morning. The proposed machine will be able to brew coffee in cold water in minutes by leveraging air pressure. The machine will also bring the fine-tuning and control of brewing parameters currently seen in hot brewing to cold brewing.

# Solution

The brew will take place in an airtight aluminum chamber with a removable lid. The user can drop a tea-bag like pouch of coffee grounds into the chamber along with cold water. By pulling a vacuum in this chamber, the boiling point of water will reach room temperature and allow the coffee extraction to happen at the same rate as hot brewing, but at room temperature. Next, instead of bringing the chamber pressure back to atmospheric with ambient air, nitrogen can be introduced from an attached tank, allowing the gas to dissolve in the coffee rapidly. The introduction of nitrogen will prevent the coffee from oxidizing, and allow it to remain fresh indefinitely. When the user is ready to dispense, the nitrogen pressure will be raised to 30 PSI and the instant nitro cold brew can now be poured from a spout at the bottom of the chamber.

The coffee bag prevents the coffee grounds from making it into the drink and allows the user to remove and replace it with a bag full of different grounds for the next round of brewing, just like a Keurig for hot coffee.

To keep this project feasible and achievable in one semester, the nitrogenation process is a reach goal that we will only implement if time allows. Since the vacuum and nitrogenation phases are independent, they can both take place through the same port in the brewing chamber. The only hardware change would be an extra solenoid control MOSFET on the PCB.

We have spoken to Gregg in the machine shop and he believes this vacuum chamber design is feasible.

# Solution Components

## Brewing Chamber

A roughly 160mm tall and 170mm wide aluminum chamber with 7mm thick walls. This chamber will contain the brew water and coffee grounds and will reach the user-set vacuum level and nitrogenation pressure if time allows. There will be a manually operated ball valve spout at the bottom of this chamber to dispense the cold brew once it is ready. The fittings for the vacuum hose and pressure sensor will be attached to the screw top lid of this chamber, allowing the chamber to be removed to add the water and coffee grounds. This also allows the chamber to be cleaned thoroughly.

## Temperature and Pressure Sensors

A pressure sensor will be threaded into the lid of the brewing chamber. Monitoring the readings from this pressure sensor will allow us to turn off the vacuum pump once the chamber reaches the user-set vacuum level. A temperature thermocouple will be attached to the side of the brewing chamber. The temperature measured will be displayed on the LCD display. This thermocouple will be attached using removable JST connectors so that the chamber can be removed entirely from the machine for cleaning.

## Vacuum Pump and Solenoid Valve

An oilless vacuum pump will be used to pull the vacuum in the brewing chamber. A solenoid valve will close off the connection to this vacuum pump once the user-set vacuum pressure is reached and the pump is turned off. To stay within the $100 budget for this project, we have been given a 2-Stage 50L/m Oil Free Lab Vacuum Pump on loan for this semester. The pump will connect to the chamber through standard PTFE tubing and push-fit connectors

If time allows and we are able to borrow a nitrogen tank, an additional solenoid and a PTFE Y-connector would allow the nitrogen tank to connect to the vacuum chamber through the same port as the vacuum pump.

## LCD Display and Rotary Encoder

The LCD display allows the user to interact with the temperature and pressure components of the brewing chamber. This display will be controlled using a rotary encoder with a push button. The menu style interface will allow you to control the vacuum level and brew time in the chamber, along with the nitrogenation pressure if time allows. The display will also monitor the temperature of the chamber and display it along with the time remaining and the current vacuum level.

# Criterion For Success

- A successful cold brew machine would be able to make cold brew coffee at or below room temperature in ten minutes at most.

- The machine must also allow the user to manually control the brew time and vacuum level as well as display the brew temperature.

- The machine must detect and report faults. If it is unable to reach the desired vacuum pressure or is inexplicably losing pressure, the machine must enter a safe ‘stop state’ and display a human readable error code.

- The reach goal for this project, not a criterion for success, would be the successful nitrogenation of the cold brew.

Project Videos