Acknowledgements 1
Abstract 2
Executive Summary 3
Table of Contents 5
List of Figures and Tables 8
1.0Introduction 9
2.0 Mechanical Description 10
2.1 Paper Feeder 12
2.1.1 Roller 12
2.1.2 Gear 12
2.2 Opening Mechanism 13
2.2.1 Latch 13
2.2.2 Rod 13
2.2.3 Flip Opener 14
3.0 Process Description 14
3.1 Background 14
3.2 API Configuration 15
3.2.1 Weather API 15
3.2.2 Word-of-the-Day API 16
3.3 HTTP Communication 17
3.4 Data Parsing 18
3.4.1 JavaScript Object Notation 18
3.4.2 Parsing JSON 19
4.0 Instructions for Operation 21
4.1 Parts Included 21
4.2 Getting Started 22
4.2.1 Installing the Paper 22
4.2.2 Powering the Weather Station 23
4.3 Operation 23
4.3.1 Testing Paper Feed 23
4.3.2 Printing Current Weather Data 24
4.4 Troubleshooting 24
5.0 Theory of Operation 26
5.1 Wireless Internet 26
5.2 Application Program Interface (API) 27
5.2.1 World Weather Online 28
5.2.2 Open Weather Map 29
5.3 HTTP Requests 30
5.4 Receipt Printer Commands 31
6.0 Component Selection 32
6.1 Microcontroller 32
6.2 Wi-Fi Module 33
6.3 Thermal Receipt Printer 35
6.4 Power Supply 36
6.4 3.3V Voltage Regulator 37
6.5 LCD 37
6.6 Momentary Push Button 38
6.7 Notification LED 39
6.8 Power Switch 39
6.9 Case 39
7.0 Conclusion 41
8.0 Recommendations 43
References 45
Glossary of Abbreviations 47
Appendices 48
A. Block Diagram 48
B. Circuit Schematic 49
C. Printed Circuit Board – Top and Bottom 50
D. Bill of Materials 51
E. Gantt Chart 52
F. Software 53
F.1 Main Code 53
F.2 Port Initialization 57
F.3 Defines 58
F.4 Function Prototypes 60
F.5 Wi-Fi 61
F.6 LCD 67
F.7 Thermal Printer 69
F.8 Weather Parsing 71
F.9 Delay Functions 73
F.10 USART 2 Enable 74