super toaster wes brown eastern kentucky university computer electronic networking

26
SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

Upload: leona-ford

Post on 04-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

SUPER TOASTER

Wes BrownEastern Kentucky University

Computer Electronic Networking

Page 2: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

2

OUTLINE

Motivation and Introduction Building an Idea Parts and Assembly How it works Testing and Results Conclusion

Page 3: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

3

MOTIVATION

Hunger... for knowledge (and toast)

Finding new ways to use AVR microcontrollers

Making something incredibly easy pretty difficult.

Finding solutions for problems that don't exist.

Page 4: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

4

INTRODUCTION

Why a computer controlled toaster?

Making toast is not very difficult nor is it very computer controlled.

There are no truly computer controlled toasters

The issue here how can I enable an otherwise ordinary device to be controlled over the internet?

Page 5: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

5

PROBLEM STATEMENT

How can I from a computer anywhere in the world control a device?

How can I make the process of toasting bread more difficult?

Page 6: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

6

BRAINSTORMING Brainstorming was the first step in

the process. I also thought of an automated

pizza maker but I think that already exists.

The toaster idea came later. Needless to say while coming up

with ideas I was quite hungry.

Page 7: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

7

PROPOSED SOLUTION The solution to needing control over

devices via internet is an easy one. Add a web module with I/O.

Every device could benefit from a web module. Be it your fridge reporting what is in it or being able to tell if your dishwasher is done running.

Taking all of these events and putting them into an RSS feed you could monitor from your phone would allow you to have complete appliance awareness no matter where you are.

No longer will you have to worry if you left the stove on as if it is you can turn it back off!

Page 8: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

8

PROPOSED SOLUTION I chose to go with a WIZnet

WIZ200WEB module as it comes with an ethernet module as well as an ATMEGA128 microcontroller on board.

This allows me web control of I/O on the ATMEGA128.

The ATMEGA128 controls the toaster as well as an LCD to display status and IP information.

Page 9: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

9

PARTS All parts I ordered from Parts List:– Motor– WIZ200WEB– Power Supply 5v/3.3v– Female and Male Headers– 20x4 LCD– 2x NPN BJT Transistors– EZ1086 Fixed Voltage Regulator– 2x 10uf Capacitors– Assorted resistors and wire

Page 10: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

10

ASSEMBLY Assembly started on a protoboard. On the protoboard I laid out lines and

headers.

I will insert a picture of the finished board here.

Page 11: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

11

LAYING OUT HEADERS

Laying out headers is the first step as it allows you proper spacing of components.

Page 12: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

12

WIRING ISP HEADER

Laying out headers is the first step as it allows you proper spacing of components.

Page 13: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

13

WIRING LCD

Laying out headers is the first step as it allows you proper spacing of components.

Page 14: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

14

WIRING TOASTER CONTROLS

Two transistors and one relay controlled the toaster.

A motor was attached to the toaster with a string to pull down the latch.

An electromagnet held down the lever.

Page 15: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

15

WEB PAGE

The web page sends information to the microcontroller.

The microcontroller starts the toaster and times the toasting.

Page 16: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

16

SCHEMATICS

Page 17: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

17

FINISHED PRODUCT

LCD was connected. Toaster was connected. Power and ethernet were connected.

Page 18: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

18

HOW DOES IT WORK?

Page 19: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

19

HOW DOES IT WORK? User selects gradient of toast desired on

web page. Web page sends information to Toaster

Control Module (TCM.) TCM sends signals to outputs which rack

the bread and start the timing sequence for toasting.

Page 20: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

20

TESTING AND ISSUES Along the way I had quite a few build

issues. Voltage division circuits never work the

way you want and draw way too much current. This is the reason I went with the EZ1086 so I could have 5v for my LCD and 3.3v for the network module.

ISP header was wired up incorrectly. In the data sheet WIZnet labeled pins that you would normally hook up to the ISP header but had entirely different pins required to program the ATMEGA128.

Page 21: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

21

TESTING AND ISSUES I also burnt out one toaster as I hooked

up some lines backwards. The day before I made the video the

back light of the LCD burnt out for unknown reasons.

Page 22: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

22

RESULTS Wonderful computer controlled toast.

Page 23: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

23

CONCLUSIONS

Web enabled modules are incredibly useful in the workplace.

Any device you want reporting on can be setup rather easily and hooked up to the network to report back to a central server.

Also its a lot easier than one would think to enable an otherwise ordinary device to communicate using TCP/IP.

Page 24: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

24

CONCLUSIONS

In this project I have pushed the boundaries of what I know being as I am not a circuit designer or a programmer. (The networking part was easy.)

Page 25: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

25

FUTURE WORK

With this project I would have liked to also do the following:–Automatic loading of toast (this

is patented though.)–Scheduling.–Monitoring progress on LCD.–Slider bar on website for

toastieness.

Page 26: SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking

ACKNOWLEDGEMENTS

26

Taken from WIZnet.co.kr/en

Taken from SparkFun.com

All other pictures taken from http://tinyurl.com/y65hhnq

Also thanks goes out to Bruce Jung for going through my code.