Skip to content

Latest commit

 

History

History
236 lines (127 loc) · 6.4 KB

log.md

File metadata and controls

236 lines (127 loc) · 6.4 KB

Tasks

  • get camera working
  • get pi connected over WiFi
  • get LCD connected
  • get raw data from camera for processing
  • get raw brightness from LDR or camera
  • adjust opacity of LCD
  • add image inversion
  • add options to swap between modes
  • laser cut glasses frame

Extras

  • add some form of app to control settings
  • add options for dimming colour e.g. turn tint red instead of grey tint

16/11/2017

connect raspberry pi zero to home WiFi and successfully take photos

17/11/2017

successfully connect pi0w to eduroam and take photos

18/11/2017

start designing the frame

19/11/2017

start work with LCD

looking thought the code the ST7735-micro seems cleaner and looks like I will be able to modify it easier since it is broken into more small functions although the other python has image support so I will try both and access

02/02/2018

start working on project again after exams/coursework and Christmas break but WiFi has stopped working possibly because of certification update but even reslashing the board and rerunning the cat installer didn't work will try to connect when I get home to check the WiFi chip is still working talked to Jake and said he should be able to put it on Plymouth humanoids

05/02/2018

work on time management and issue tracking

06/02/2018

today I finally got the pi0w connected to the uni WiFi and also got the vnc working so that I could work on the pi in uni without brining in a separate screen for the pi once I had done that I started work on the field of view calculations and realised that with out a fisheye camera adapter the lcd has a bigger fov so only the centre will be usable for point adjustment I also calculated the pixels per angle and realise that the only issue with using a fish eye adapter would cause distortion

then followed this guide to install open cv reach

pip install numpy

before running out of time before space x falcon heavy launch

07/02/2018

spacex falcon heavy launch was a success

  • switch to opencv 3.4.0 and finish up install
  • add all dependences to repo

08/02/2018

install locked at 84%

09/02/2018

get lcd and pi0w header soldered and get pin mappings for each

13/02/2018

looking through the code for the lcd drivers again from (19/11/2017) I think the forked adafruit might be better

found skimage and think it will work well with camera

also make new simpler frame prototype ready for laser cutting

14/2/2018

had meeting with Phil and he seems happy with progress and direction I'm taking so all good there

15/02/2018

got lcd working and even got the lcd to output circles based on x,y,radius,opacity

got blob detection working 'live'

16/02/2018

got both lcds working and fine tune timings to work out where the issues are and fine tune the blob detection

17/02/2018

tidied files up and got telegram control integrated into shades with control over weather point detection is on or off and the colour / tint level

20/02/2018

finalized remote control(4 modes, more colours and toggle-able debug ) and begin optimizing code to try to improve fps f

27/02/2018

investigate capacitve control of system and mount the lenses into the frame and add price list

03/03/2018

begin investigating conversion to c/c++ command

raspistill -o cam.jpg -cfx 128:128 -ifx negative -w 160 -h 128 -rot 270 --thumb none -l
raspistill -t 1000 -tl 0 -o - > img.jpg -cfx 128:128 -ifx negative -w 160 -h 128 -rot 270 --thumb none

find raspicam cpp api for the camera possible st7735R library although might be screen output

blob

achieve 30 fps image stream although the new blob detection might be able to deal with video stream

08/03/2018

receive parts and measure current draw at .2/.3 A and start coding for capacitive buttons

12/03/2018

finish initial coding for capacitive buttons

13/03/2018

fully implement hold for extra functionality

14/03/2018

tidy button code and start thinking about mounting

16/03/2018

record progress and prep for progress demonstration

9/04/2018

implement addwifi so I can add wifi AP's easier using Telegram

12/04/2018

tidy debugging prints and improve access error text

17/04/2018

redesign the fame for capacitive board and tidy deinitialization of camera

20/04/2018

add print to debug toggle, add commenting, add link to access error reply, start making install script to install dependencies

22/04/2018

add time to boot and reboot reply to calculate reboot time

23/04/2018

tidy code and make pep257 compliant, only update LCD on value change in manual mode

24/04/2018

work on report and get new arms cut,fix error #29 ,and add exit functionality so reopen program

26/04/2018

do paper work and move telegram API keys to separate file

30/04/2018

tidy code by moving jokes, making buttons more dynamic and work on report

01/05/2018

work on report, poster and add try except to telegrambot

02/05/2018

get toggle-able buttons working and add more diagrams to the poster

08/05/2018

add vision explanations and get mum to read thought report

09/05/2018

improve wiring and work on poster and report

10/05/2018

add button diagram to poster and add references to Appendix, gantt and budget to report also I improved the inspiration section

11/05/2018

finalize poster add compute, LCD and camera choice

12/05/2018

add negative image mode and work on report

13/05/2018

embed images add existing market and relevant references

14/05/2018

add toc and glossary

16/05/2018

get report checked at writing cafe

18/05/2018

add more references and add abstract, acknowledgements

19/05/2018

improve general formatting ,add licence

20/05/2018

work on report add flowchart and correct gantt

21/05/2018

add telegram inline keyboard screen shot and open day photo