1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN...

56
1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13

description

3 -The CHDK code was originally written by Rick von Glahn from Edge of Space Sciences (EOSS) -These steps are performed with the camera modified to turn on and off with a external switch -The steps to modify the hardware of the camera are contained in a different presentation Canon A570 IS Mods:

Transcript of 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN...

Page 1: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

1Colorado Space Grant Consortium

Gateway To SpaceASEN / ASTR 2500

Class #13

Page 2: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

2

-The following instructions will walk you through the steps needed to change the firmware on this camera to take picture every 20 seconds

Canon A570 IS Mods:

Page 3: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

3

-The CHDK code was originally written by Rick von Glahn from Edge of Space Sciences (EOSS)

-These steps are performed with the camera modified to turn on and off with a external switch

-The steps to modify the hardware of the camera are contained in a different presentation

Canon A570 IS Mods:

Page 4: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

4

-This mod uses CHDK to add autonomy to a digital camera without the use of a timing circuit or further modifications to the camera

-CHDK is firmware enhancement

- It only works with Canon digital cameras

-Please see the following website for much more information http://chdk.wikia.com/wiki/CHDK

Canon A570 IS Mods:

Page 5: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

5

-Take your camera out of the box

Canon A570 IS Mods:

Page 6: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

6

- Insert the batteries

Canon A570 IS Mods:

Page 7: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

7

- Turn on camera by touching two wires together

Canon A570 IS Mods:

Page 8: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

8

- Set the date and time

- Power off the camera by touching the two wires together again

Canon A570 IS Mods:

Page 9: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

9

- Insert SD card and close battery cover

(not all SD cards support this mod)

Canon A570 IS Mods:

1. 2.

3. 4. 5.

Page 10: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

10

- Set Camera to “AV” mode

Canon A570 IS Mods:

Page 11: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

11

-Turn on camera by touching two wires together

Canon A570 IS Mods:

Page 12: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

12

-Press the “MENU” button and format the card – Use the “Low Level Format” setting

Canon A570 IS Mods:

1. 2.

Page 13: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

13

Canon A570 IS Mods:

-Press the “MENU” button and format the card – Use the “Low Level Format” setting

3. 4.

Page 14: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

14

Canon A570 IS Mods:

-Press the “MENU” button and format the card – Use the “Low Level Format” setting

5. 6.

Page 15: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

15

-Power off camera and remove the SD Card

Canon A570 IS Mods:

1. 2.

Page 16: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

16

-Connect the SD card to your computer

Canon A570 IS Mods:

1. 2.

Page 17: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

17

-The files we are going to copy to the SD card contain a script (macro) that will take pictures about every 20 seconds after an initial boot up.

Canon A570 IS Mods:

Page 18: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

18

-Open the “cu_gateway_fall_2008.bas” file

Canon A570 IS Mods:

1.

Page 19: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

19

-Open the “cu_gateway_fall_2008.bas” file

Canon A570 IS Mods:

2. 3.

Page 20: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

20

-Open the “cu_gateway_fall_2008.bas” file

Canon A570 IS Mods:

4. 5.

Page 21: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

21

-Open the “cu_gateway_fall_2008.bas” file

Canon A570 IS Mods:

6.

Page 22: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

22

- Save the “cu_gateway_fall_2008.bas” file

Canon A570 IS Mods:

Page 23: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

23

-Copy the CHDK folder structure and files to the SD card

Canon A570 IS Mods:

Page 24: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

24

- Switch the play/record button on the camera to “play”

Canon A570 IS Mods:

Page 25: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

25

- Insert SD card and power the camera on.

Canon A570 IS Mods:

1. 2. 3.

Page 26: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

26

-Press the “MENU” button and press the left on the circle button until the “play” symbol is highlighted

Canon A570 IS Mods:

1.

2.

3.

Page 27: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

27

-Press up on the circle button and highlight “Firm Update”

Canon A570 IS Mods:

1. 2.

Page 28: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

28

- Select “OK” and press “SET”

Canon A570 IS Mods:

1. 2.

Page 29: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

29

-Camera should now be running the CHDK firmware.

Canon A570 IS Mods:

Page 30: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

30

-Press the shutter button to stop the script but leave the camera on

Canon A570 IS Mods:

Page 31: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

31

- Switch the play/record button on the camera to “record”

Canon A570 IS Mods:

Page 32: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

32

-You should see “Default Script” and “<ALT>” in the bottom of the screen

Canon A570 IS Mods:

Page 33: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

33

-With “<ALT>” showing, press the “MENU” button

Canon A570 IS Mods:

Page 34: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

34

- “<ALT>” will be replaced by “<CNF>”

Canon A570 IS Mods:

Page 35: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

35

- Use the control pad to move the cursor down to "Debug parameters" and click "SET" to select this option.

Canon A570 IS Mods:

Page 36: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

36

-Move the cursor down to "Make card bootable...“-Press "SET" to select this option.

Canon A570 IS Mods:

Page 37: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

37

-Nothing should happen. This is OK-Power off camera.

Canon A570 IS Mods:

Page 38: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

38

-Remove the SD card and slide switch to “LOCKED”

Canon A570 IS Mods:

Even though the card is in the “LOCKED” position it will be able to be written to via the CHDK firmware.

Page 39: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

39

-Power on the camera

- “Default Script” and the “<ALT>” should be visible

-Press the shutter button to stop script

Canon A570 IS Mods:

- Insert locked SD card and make sure the camera is in “RECORD” mode

Page 40: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

40

-With “<ALT>” showing, click on the menu to get to the “<CNF>” screen.

Canon A570 IS Mods:

Page 41: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

41

-Use the control pad to move the cursor down to "Scripting parameters" and push "SET"

Canon A570 IS Mods:

Page 42: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

42

-On the “Script” menu select "Load script from file..."

Canon A570 IS Mods:

Page 43: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

43

-On the "Select script file" screen, move the cursor to highlight "cu_gateway_fall_2008.bas>" and press "SET"

Canon A570 IS Mods:

Page 44: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

44

-When you return to the “Script” menu ensure that "Script Autostart" is checked (a dot in its selection field).

Canon A570 IS Mods:

-Also make sure the “Current script” is correct

Page 45: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

45

-Now click "MENU” to save these changes to the configuration file

Canon A570 IS Mods:

Page 46: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

46

-Turn off camera

-The next time the camera is turned on, it will run the script

- It will go through a series of camera setting changes which will take about 60 seconds

-Then the camera will begin to take pictures every 5 to 6 seconds until the card is full

Canon A570 IS Mods:

Page 47: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

47

- Sometimes the script doesn't execute properly the first time it runs.

- If this happens, let it run it's course for around a minute or so then turn the camera off then on again and it should work fine

- It should continue to work just fine on every subsequent power up

Canon A570 IS Mods:

Page 48: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

48

-Turn on the camera

Canon A570 IS Mods:

Page 49: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

49

-You can turn the camera off anytime.

- If you wish to stop the script during execution just press the shutter release button and that will interrupt the execution of the script

- In this way you can gain control of the camera without having to remove the card

-This is handy if you want to review photos, or do something else without the script running.

Canon A570 IS Mods:

Page 50: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

50

-After the pushing the shutter, you must push the print button to have normal camera operation

Canon A570 IS Mods:

Page 51: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

51

-Remember, any setting you might make to the camera will be restored to factory default settings next time the script runs as that is the first action the script takes

- Once you interrupt a script it must be re-run from the beginning you can not PAUSE a script and RESUME it

Canon A570 IS Mods:

Page 52: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

52

-You can modify your code without reloading the firmware

-For example lets change the “sleep” value to 5000

Canon A570 IS Mods:

Page 53: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

53

-Power off camera

-Remove SD Card

-Unlock SD Card

-Open CHDK/Scripts/cu_gateway_fall_2008.bas

- Scroll down to end of code and change sleep = 5000

- Save

Canon A570 IS Mods:

Page 54: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

54

- Remove SD card and lock

- Insert SD card into the camera and power on

-Pictures should be taken every 8 to 10 seconds now

- I would suggest a 20 second (sleep = 16000) for 135 minute flight time

Canon A570 IS Mods:

Page 55: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

55

-You can also “rem” out pieces of the set up or other functions but test first

-Camera is working, it shall also be working at the end of the semester

-Take good care of this camera

-Thank you.

Canon A570 IS Mods:

Page 56: 1 Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #13 Gateway To Space ASEN / ASTR 2500 Class #13.

56

Questions?