Title: Fabulous Weather-Sensing Data-logger!
1FabulousWeather-SensingData-logger!
100 designed and manufactured at the Vigyan
Ashram FabLab!
2(No Transcript)
3Topics
- 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!
4What is a Weather-SensingData-logger,and how
is it used?
5(No Transcript)
6(No Transcript)
7(No Transcript)
8(No Transcript)
9Why do we need a FabulousWeather-SensingData-log
ger?
10How does it work?(Whats going on down there?)
11The Circuit
12CPU Brain
13Clock Heartbeat
14Buttons Ear
15LCD Mouth
16Memory Memory
????? kB
16 kB
17Sensor ear/eye/skin/nose/etc
18Information
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
19Code 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
20Communication
21It All Comes Down To
Hardware
Software
(Stuff you can touch)
(Stuff you cant touch)
Firmware
(Something in between)
22So there you have it!
23The designprocess(i.e. why did we have to
spend ALL that time in the FabLab?)
24What and Why?
Questions
Questions
Questions
Questions
Problem Definition What are we trying to do and
why?
Questions
Questions
Questions
Questions
Questions
Questions
Questions
Questions
25How?
- 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
26Using What?
Setting Up the Design Environment Finding and
learning the tools we need.
27With What?
Parts Procurement Getting the bits and pieces we
need
28Design Build Test Evaluate
Answers
Answers
Answers
Answers
Answers
Implementing the solution
Answers
Answers
Answers
Answers
Answers
Answers
Answers
Answers
Answers
29An Indication of Complexity
- Software 2000 lines of code!
- Firmware 1500 lines of code!
- Hardware Three prototypes
- Many many hours of design, testing and debugging.
30High level state diagram v5
Initialization
STATE REQUESTS
Show sensor readings request
Receive setup data
Task done
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
Sensor test
Display status
Status request
Test request
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
31Vigyan Ashram Weather LoggerSoftware application
state diagram
Help pages
Back
Quit
Quit
Help
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
Setup , Upload Clear Memory
Back
Success
Success
Setup
Success
Clear Memory
Upload
Completed task
Completed task or Back
32Back
- Notes
- Every time we ask the user for input, we provide
a message if the input is not valid.
33How to make your own FabulousWeather-SensingDat
a-logger?
34Mill!
35Drill!
36Solder!
37Enclose!
38Results
39Results
40Future Additions
- Other sensors
- Rain gauge
- Solar radiation sensor
- Wind speed/direction sensor
- USB
- Wireless
41Please Keep In Touch
- Michelle
- mthong_at_gmail.com
- Scottie
- psysquirrel_at_gmail.com