Datasheet
Contents
1 Introduction 2
1.1 The Davis Vantage Pro2 series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Typical station setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Original Davis data loggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 Third-party data loggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 The green dot data logger problem 5
3 A look inside the Davis units 6
3.1 The console serial line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 So, how does it work, then? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3 Demystifying the authentication process . . . . . . . . . . . . . . . . . . . . . . . 8
3.3.1 An introduction to the Serial Pheripheral Interface (SPI) . . . . . . . . . . 9
3.3.2 Particulars from the AT45DB011 datasheet . . . . . . . . . . . . . . . . . 10
3.3.3 Logic analyzer findings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.3.4 Having a chat with a green-dot Davis data logger . . . . . . . . . . . . . . 13
4 The solution (and end to troubles) 16
4.1 The next few steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.2 Selecting a microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.3 A simple BASCOM-AVR implementation for the ATtiny25/45/85 . . . . . . . . . 18
4.4 A different BASCOM-AVR implementation for the ATtiny85 . . . . . . . . . . . 18
4.5 Using BASCOM-AVR with the STK500 and the ATtiny25/45/85 . . . . . . . . . . 23
4.5.1 The STK500 User Guide — read it! . . . . . . . . . . . . . . . . . . . . . . . 23
4.5.2 Setup of the STK500 for 8-pin devices . . . . . . . . . . . . . . . . . . . . 23
4.5.3 The MCU programming process . . . . . . . . . . . . . . . . . . . . . . . 24
4.6 Testing the MCU after programming . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.7 Wiring the programmed MCU to the Vantage Pro2 console . . . . . . . . . . . . . 26
5 Implications and complications 28
5.1 Product names/versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.2 Design considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.3 A need for greed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.4 Email correspondence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5.5 Social media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6 Et cetera 31
6.1 Parts list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
6.2 Reverse-engineered data logger schematic . . . . . . . . . . . . . . . . . . . . . . 32
6.3 Questions and answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
6.4 Contact information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
References 38
http://meteo.annoyingdesigns.com 1