
Write some Arduino code to control a thermal printer
- or -
Post a project like this2498
$
- Posted:
- Proposals: 4
- Remote
- #1976234
- Awarded
Description
Experience Level: Entry
Looking for someone to write 2 codes to control a thermal printer.
There is already a lot of code written about formatting this printer so hopefully it shouldn't be too hard to tweak it to do a couple of extra things.
This is the printer: https://www.sparkfun.com/products/10438
This is the sensor I have but could get a different one if necessary: Ultrasonic Module HC-SR04 Distance Range Sensor for Arduino
1. The printer will print out a passage of text, at regular time intervals. eg. every 5 minutes.
As well as the passage of text, it will also print out a number that corresponds to how many print outs it has done of this text in total. Eg. "This is the 54th copy of this message."
2. The printer will be connected to a sensor and will print out the text whenever someone is detected by the sensor. I need to be able to adjust the distance at which the printing will start, so that I can tweak the code in location.
The code will need to allow for a print out to finish, and a 30 second delay for the person to collect their print out, before starting to register with the sensor again, so as to stop a backlog of printing when the same person is being detected.
As well as the passage of text, it will also print out a number that corresponds to how many print outs it has done of this text in total. Eg. "This is the 54th copy of this message."
Finally it will print out the distance at which the person was detected by the sensor eg. "You were detected at 25cm from the printer"
The printer will not be connected to a computer, only to the arduino.
The text will always be the same.
Deadline 25th April
There is already a lot of code written about formatting this printer so hopefully it shouldn't be too hard to tweak it to do a couple of extra things.
This is the printer: https://www.sparkfun.com/products/10438
This is the sensor I have but could get a different one if necessary: Ultrasonic Module HC-SR04 Distance Range Sensor for Arduino
1. The printer will print out a passage of text, at regular time intervals. eg. every 5 minutes.
As well as the passage of text, it will also print out a number that corresponds to how many print outs it has done of this text in total. Eg. "This is the 54th copy of this message."
2. The printer will be connected to a sensor and will print out the text whenever someone is detected by the sensor. I need to be able to adjust the distance at which the printing will start, so that I can tweak the code in location.
The code will need to allow for a print out to finish, and a 30 second delay for the person to collect their print out, before starting to register with the sensor again, so as to stop a backlog of printing when the same person is being detected.
As well as the passage of text, it will also print out a number that corresponds to how many print outs it has done of this text in total. Eg. "This is the 54th copy of this message."
Finally it will print out the distance at which the person was detected by the sensor eg. "You were detected at 25cm from the printer"
The printer will not be connected to a computer, only to the arduino.
The text will always be the same.
Deadline 25th April

Romily A.
100% (14)Projects Completed
16
Freelancers worked with
14
Projects awarded
67%
Last project
31 Mar 2022
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies