Week.10 Machine Design
Let's check first all the electronic components we needed to complete the machine.
I decided to buy a super cheap camera following advice in the internet. It was a mistake. Arduino does not have enough resources to manage it and trying to use a camera without a dedicated processor is a nightmare. There must at least one way to use it without FIFOprotocol, but I don't feel skilled enough to go into this field yet.
Managing so many wires into a project is problematic also from a physical point of view
After long hours trying to connect a camera through a wire, my classmate Arnau gave me his own Arducam board... the best ever spent 30 US dollars in my life!!!
Arducam with a UC 260 Camera
It is so easy use it. You just need to install a library and all the example are already working. You just need to select the right camera which is plugged into the board. Select your right camera, our is UC260 Camera / Arducam Yun OV2640
As the first Arduino board was busy for Arducam, I needed another board for programming the Stepper motor and the Switch/trigger input button. Input system bypassed the on board Trigger From Arduino UNO to Arducam Board by a trigger wire connection.
Stepper motor does a single turn of 360°, 24 hours, and trigger will detect only 6 input in a day, one per hours from 15.00 to 19.00 We have two codes, one is for Stepper motor and Trigger detection from switch button, the other one is the Arducam Code from library.
some picture from Photoclock...seems we have to improve the style!
Arducam Library
Arducam Library
ArduCAM/Arduino Library
The boards connections
The code
Source Arduino Code
Photoclock.ino
Sketch for UC260 Camera / Arducam Yun OV2640.ino
The result
Video
...and the pictures!
Copyright © Elia De Tomasi 2016