1 / 41

Fabulous Weather-Sensing Data-logger !

Fabulous Weather-Sensing Data-logger !. Introducing the…. 100% designed and manufactured at the Vigyan Ashram FabLab!. Topics. What it is and how to use it (Demos) Why we made it How it works (sort of) How we made it How you can make more!.

denise
Download Presentation

Fabulous Weather-Sensing Data-logger !

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. FabulousWeather-SensingData-logger! Introducing the… 100% designed and manufactured at the Vigyan Ashram FabLab!

  2. Topics • What it is and how to use it (Demos) • Why we made it • How it works (sort of) • How we made it • How you can make more!

  3. What is a Weather-SensingData-logger,and how is it used?

  4. Why do we need a FabulousWeather-SensingData-logger?

  5. How does it work?(What’s going on down there?)

  6. The Circuit

  7. CPU = Brain =

  8. Clock = Heartbeat =

  9. Buttons = Ear =

  10. LCD = Mouth =

  11. Memory = Memory = ????? kB 16 kB

  12. Sensor = ear/eye/skin/nose/etc =

  13. Information 0V, 5V,1001001 = A, B, C, D 5V 0V Aa k p ma 1 1 0 0 1 0 1 0 1 0 fablab 01101101011110 Aamabaa 0110110101001110

  14. Code = Instructions • How to wash your plate: • Rinse plate with water . • Empty water into bucket. • Wait in line for sink. • At sink, apply soap to plate. • Scrub plate. • Rinse with water. • Submit for inspection

  15. Communication =

  16. It All Comes Down To: Hardware Software (Stuff you can touch) (Stuff you can’t touch) Firmware (Something in between)

  17. So there you have it!

  18. The designprocess(i.e. why did we have to spend ALL that time in the FabLab?)

  19. What and Why? Questions Questions Questions Questions Problem Definition: What are we trying to do and why? Questions Questions Questions Questions Questions Questions Questions Questions

  20. How? Hardware, Software and Firmware Specification: How are we going to do it? Breaking The problem Into Parts That We Can D e a l W i t h

  21. Using What? Setting Up the Design Environment: Finding and learning the tools we need.

  22. With What? Parts Procurement: Getting the bits and pieces we need

  23. Design Build Test Evaluate Answers Answers Answers Answers Answers Implementing the solution Answers Answers Answers Answers Answers Answers Answers Answers Answers

  24. An Indication of Complexity • Software: 2000 lines of code! • Firmware: 1500 lines of code! • Hardware: Three prototypes Many many hours of design, testing and debugging.

  25. High level state diagram v5 Initialization STATE REQUESTS “Show sensor readings” request Task done Receive setup data Do setup -on uart rx “S” Upload Data – On uart rx ‘U” Setup request Task done Main loop Idle Upload request Sensor Test – on “ST” key press Display status – on “DS” key press Upload data Task done Status request Task done Task done Log Data – on logging Interval ” Clear memory – On uart rx “C Display status Status request Test request Sensor test Log interval timeout Start/Stop logging – on button press Task done Task done Eventually we may want to allow data logging to cause an exit from Display Status and Sensor Test Modes Task done Take readings and log data Start/Stop Logging INTERRUPTS (ISRs) • ISRs process button pushes, Uart , timers.(Specific states may have some interrupts disabled). • ISRs set flags that are examined within states at appropriate times. • No state transitions occur before tasks complete. • State transitions are determined only in one of the two idle states. UART: on any character Timer interrupt every 0.01 sec

  26. Vigyan Ashram Weather LoggerSoftware application state diagram Help pages [B]ack Quit [Q]uit [H]elp Main Menu Failed to connect and user does not want to retry, or, Device is still logging and user does not want to stop logging. Establish Connection To Datalogger [S]etup , [U]pload [C]lear Memory [B]ack Success Success Setup Success Clear Memory Upload Completed task Completed task or [B]ack

  27. Flowchart for “Establish Connection” state Main Menu [S]etup , [U]pload [C]lear Memory Establish Connection: Send ‘Q’ to logger [R]etry Send ‘S’, ‘U’ or ‘C’ Receive ‘A’ck Logger response? Invalid or no response Setup or Upload or Clear memory modes End comm with logger User presses any key Ask user: Retry / Back? Receive ‘L’ (logging enabled) Success msg Ask user: Stop logging or Go Back? [B]ack [S]top logging Ask chip to stop logging Error msg Send ‘D’ Logger response? Timeout Receive ‘D’ Success msg User presses any key [B]ack • Notes: • Every time we ask the user for input, we provide a message if the input is not valid.

  28. How to make your own FabulousWeather-SensingData-logger?

  29. Mill!

  30. Drill!

  31. Solder!

  32. Enclose!

  33. Results

  34. Results

  35. Future Additions • Other sensors • Rain gauge • Solar radiation sensor • Wind speed/direction sensor • USB • Wireless

  36. Please Keep In Touch Michelle: mthong@gmail.com Scottie: psysquirrel@gmail.com

More Related