yes I was testing it with a reduced sketch which only includes the camera functions.
I can post it when I am back home as well.
Smaller resistors are ordered as well to test if it works with them.
Thanks for your help to all of you!
yes I was testing it with a reduced sketch which only includes the camera functions.
I can post it when I am back home as well.
Smaller resistors are ordered as well to test if it works with them.
Thanks for your help to all of you!
So here is the code I am testing with:
const int pin_focus = A1;
const int pin_shutter = A2;
void setup() {
pinMode(pin_focus, OUTPUT);
pinMode(pin_shutter, OUTPUT);
Serial.begin(9600);
}
void loop() {
digitalWrite(pin_focus, HIGH);
delay(3000);
digitalWrite(pin_shutter, HIGH);
delay(400);
digitalWrite(pin_focus, LOW);
digitalWrite(pin_shutter, LOW);
}
With my original board it did still not work.
So I build up a new testing circuit (with 390 ohm resistors):
and guess what, it is working now as desired!
So I do need to fix my board - but I think making it completely new might be easier...
Yay!
Just for fun, check the resistors that didn't work and confirm that they were in fact 1K or whatever value they were supposed to be.
a7
For everyone who is interested, this here was the old - not working - board.
(to my defense, it was the first time ever in my life that I soldered a circuit board...)
To avoid this kind of problems I decided to make the next one much more professional and so I got into KiCAD (with the help of a good friend who is well experienced with that programm) and the new board will be produced from a professional company.
I will let you know how it went as soon as the board arrives from china.
If someone is looking for a similar board, here is the KiCAD Project:
Arduino-Photobooth.zip (1,2 MB)
Since I am currently under a lot of time preasure with the whole project, I will postpone this to a later stage.
But I will definitely try it sometime!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.