SparkFun Electronics Commentsurn:uuid:214d0e4e-f1b1-d287-ce26-ac5b4c9f82492024-03-28T13:22:43-06:00SparkFun ElectronicsCustomer #357213 on DEV-10549 - SparkFun JPEG TriggerCustomer #357213urn:uuid:f065c611-1496-daa9-1b0f-364964d20fa62013-07-31T21:52:44-06:00<p>Hi guys - can I power the JPEG trigger by connecting the 1-5V pin to my Arduino Uno +5V? Or should I use a separate source...<p>Also - I'm confused by the trigger pins, say for D2, do I need to hook up the 5V and GND or just the trigger pin?</p><p>Thanks</p></p>
Customer #387372 on DEV-10549 - SparkFun JPEG TriggerCustomer #387372urn:uuid:c11e811d-a784-e8a1-dfba-d644f3ed2e352013-04-24T14:32:16-06:00<p>How can I send the text file created via serial or newsoftserail? So I can send the picture via Xbee and also have it saved.</p>
Customer #70149 on DEV-10549 - SparkFun JPEG TriggerCustomer #70149urn:uuid:bbc7ba1d-e586-e670-0b74-e414260662282013-02-01T23:21:36-07:00<p>I can't tell from the previous posts if the "smoking" problem with the lipo is resolved on the DEV-10549 board. Also, are the two rows of three holes just above "Spark" for the AVI programmer? If so, which are which?<p>One more thing; the source code mentions a "testing jig" and a test mode. I see no documentation on this. Is it available?</p><p>Thanks in advance for your help!</p></p>
Customer #89899 on DEV-10549 - SparkFun JPEG TriggerCustomer #89899urn:uuid:df0a403b-ccd7-25c0-1ca5-7572eb901bee2012-11-20T05:35:58-07:00<p>what might be happening? ... arduino v.1.02<p>JPEG_Sample.pde: In function 'void setup()':
JPEG_Sample:41: error: 'class MemoryCardDevice' has no member named 'begin'
JPEG_Sample:62: error: 'class MemoryCardDevice' has no member named 'open'
JPEG_Sample:73: error: 'BYTE' was not declared in this scope</p></p>
Ted M on DEV-10549 - SparkFun JPEG TriggerTed Murn:uuid:1c760c6d-1eb9-731e-b36b-4d877f8f8b7b2012-07-27T10:49:04-06:00<p>How long should it take to record a picture using the JPEG Trigger? I ask because I'm trying to decide if I want one, so I breadboarded up a prototype with an arduino, sd card & camera. While the system worked, it took about 30 seconds to record a picture. I admit that that could be due to a problem that I caused, but if that is the expected time required, it seems a bit disappointing.<p>Also, I had to change some headers to get the software to work with Arduino 1.0; and I found a bug where the jpeg size was overflowing (it should be stored in an unsigned int). But, thank you so much, sparkfun, for the otherwise great source code!</p></p>
Ted M on DEV-10549 - SparkFun JPEG TriggerTed Murn:uuid:7de27f6e-51c4-c858-702e-c0a7b4ce17c72012-07-27T10:34:40-06:00<p>Hah, I just ran into this problem. The solution is fairly simple, change the 'size' variable from an 'int' to an 'unsigned int'. You will have to change this in the JPEGCamera library as well as the arduino sketch.<p>Sparkfun guys - can you fix this bug for us?</p></p>
Customer #337342 on DEV-10549 - SparkFun JPEG TriggerCustomer #337342urn:uuid:543de24a-51c3-07a0-9f15-45104a64e53a2012-07-11T10:21:21-06:00<p>We have done practices with JPEG Trigger board and LinkSprite JPEG Color Camera but we have found one problem that appear be reading memory card microSD.
The problem with JPEG Trigger board consist in that blink red led even if we formatted the memory card is FAT16.<p>We have used two memory cards:
1. MicroSD 1GB
2. SanDisk 2GB
Both memory cards were FAT16 formatted as follows:
1. Windows format: FAT(predetermined)
2. Ubuntu: GParted > FAT16 format
3. SDFormatter software (on Windows): Format type > Quick, Format Size Adjustment > Off
Despite testing, red led blink.</p><p>Too, we downloaded the last source code for arduino that appears in this product web site. We upload this code to JPED Trigger. We perform same tests but this does not solve the problem.</p><p>We do follow the code and found that the program ends in follows line:</p><pre><code>//Initialize the SD Card
//If the card initialization fails, blink the LED and stop the program
if(!(MemoryCard.begin())){
systemStatus=PROCESSING;
Serial.println(systemStatus); //Problem!!!
while(1);
}
</code></pre><p>This means that memory memory card does not start well. Why can be this? What can we do for solve the problem?</p><p>Thanks for comments.</p></p>
aknewhope on DEV-10549 - SparkFun JPEG Triggeraknewhopeurn:uuid:9f105e5c-8453-a457-2935-d855ffa0994e2012-06-06T17:37:11-06:00<p>LULz let us know. That would be tricky. Analyzing sound, but I'm sure there is a IC that can do it.</p>
Customer #142426 on DEV-10549 - SparkFun JPEG TriggerCustomer #142426urn:uuid:71071a56-7042-419d-858a-e7c002836e9b2012-05-23T10:08:44-06:00<p>I've been trying to get this board to work but I haven't been able. The trigger is telling me that the microSD card is not well formatted, that the format must be FAT16, I have formatted the card using windows and the FAT option as there are only two options: FAT and FAT32, so I supposed the only FAT should be FAT16, but this is not working. Are there any special options or conditions to format the microSD card?<p>On the other hand I have noticed the ATMega microcontroller in the board in getting pretty warm, is this normal?, or it may be a malfunction?</p><p>Aprecciate your comments,</p></p>
JGuthridge on DEV-10549 - SparkFun JPEG TriggerJGuthridgeurn:uuid:c15e1fc1-74f6-6dc4-7955-cbd0190a715a2012-04-29T13:13:56-06:00<p>I think the Eye-Fi cards use a Fat32 format, and therefore wouldn't work with the setup. I'm not sure you can even get the 2Gig Eye-Fi anymore which would be required if you had non SDHC hardware to read and write to it.</p>
Customer #227013 on DEV-10549 - SparkFun JPEG TriggerCustomer #227013urn:uuid:777d4402-7214-c37e-6cb9-deb8f8f6defc2012-04-08T18:40:02-06:00<p>I just got my 2nd board delivered after the 1st one acted like a toaster. This 2nd one took 4 pics and then did the same thing. To be exact - I took 2 pics, removed the card and checked them all out. Did the same again - no problem, put the card back in and turned on - toaster time.<p>This is a 30 dollar dud product and should be removed until the problems are fixed. It is not ok to sell products with this kind of consistent problem.</p></p>
Jeff Thompson on DEV-10549 - SparkFun JPEG TriggerJeff Thompsonurn:uuid:e4897409-5de8-e3e4-0c7d-887b5a85ed3d2012-04-05T13:28:11-06:00<p>As above, it seems the source code no longer works under Arduino 1.0. This line:<pre><code> MemoryCard.file.print(response[i], BYTE);
</code></pre><p>Throws the error "The 'BYTE' keyword is no longer supported". It says that this is an Arduino 1.0 issue and to use Serial.write() instead. As suggested elsewhere, I tried changing the line to:</p><pre><code> MemoryCard.file.print(response[i]);
</code></pre><p>Also, the included libraries throw a bunch of errors from the WProgram.h which, so far as I can tell, has been changed to Arduino.h. Changing all instances in the JPEGCamera and MemoryCard libraries seems to solve the issue. Finally, I'm getting this error and don't know what to do with it:</p><blockquote>
<p>In file included from JpegTrigger.cpp:39:
/Users/jthompson9/Documents/Arduino/libraries/NewSoftSerial/NewSoftSerial.h:55: error: conflicting return type specified for 'virtual void NewSoftSerial::write(uint8_t)'
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'</p>
</blockquote><p>At the moment my board is a bit useless. Looks like the code could use a little love... :)</p></p>
Customer #227013 on DEV-10549 - SparkFun JPEG TriggerCustomer #227013urn:uuid:63c79bc7-bcd9-8683-3b89-8ebf0e5ec75e2012-02-11T21:34:51-07:00<p>I just fired up one of these for the first time and "fired up" was not a pun. It got hot.<p>This could be a disaster if it shorts out a lipo battery too much huh ?</p><p>I need to know if there is a fix for this please spark fun. (hopefully a DIY fix).</p></p>
Customer #279357 on DEV-10549 - SparkFun JPEG TriggerCustomer #279357urn:uuid:8cac2bbf-d95c-ffc2-64eb-1cafaef8627e2012-02-11T11:25:32-07:00<p>Jpeg trigger and Jpeg camera are good. But The latest libraries won't work in arduino 1.0 . When will the code libraries updated for arduino 1.0.<p>Also the atmega328p on jpeg trigger gets heated while under process. I have used 5volt DC supply for jpeg trigger. Why is at-mega328p heating beyond actual working noraml temperatures?.</p><p>Also jpeg trigger make use of software serial to communicate with camera. Soft serial is little slower. Thus trigger takes time to get a picture. Again the chunk size is 32. Can I increase the chunk size to 64 or 72 or 80 to increase the speed of picture grapping process.
Regards,
P.R.B</p></p>
Customer #246692 on DEV-10549 - SparkFun JPEG TriggerCustomer #246692urn:uuid:cade3b79-0ac7-cea0-ca73-3f123ea6c5cc2011-11-29T18:45:05-07:00<p>seems the eye fi cards are only SDHC, while this takes microSD</p>
gadget on DEV-10549 - SparkFun JPEG Triggergadgeturn:uuid:8735d52e-6931-6398-936d-2e622234b40f2011-10-27T05:57:58-06:00<p>Just starting to work with this board but a little gun shy to plug up the battery. Do we know if there is a fix to the shorting problem reported? Thanks.</p>
Caasie on DEV-10549 - SparkFun JPEG TriggerCaasieurn:uuid:0c95f1ad-1410-fb66-1ada-f018d6573f492011-09-30T13:33:38-06:00<p>I bought a few days ago JPEG Trigger, but while I was testing the card with the Li-po battery, the card began to become very hot and emitted a burning smell and the led never caught.<br>
Also separately connect the FTDI and the LED starts blinking, and format the SD to FAT16 and does not change often.<br>
Check the continuity between 1-5 V and GND and continuity between these two pins, I think this should not be.<br>
Apparently there is a short circuit on the PCB.<br>
As I can solve my problem?<br>
Thanks for the support and excuse my English</p>
Customer #242868 on DEV-10549 - SparkFun JPEG TriggerCustomer #242868urn:uuid:a862b503-f2c2-93f9-9b34-4ea96f792f862011-08-15T21:58:52-06:00<p>How do you load an edited source code to the jpeg trigger?</p>
zagGrad on DEV-10549 - SparkFun JPEG TriggerzagGradurn:uuid:76f92484-90b7-b45b-e6bc-23f9a56d822e2011-06-25T16:06:19-06:00<p>No, sorry, it's only compatible with the JPEG camera. The JPEG camera has a serial interface (Web Cams do not), and it outputs compressed jpeg files instead of raw image data (which is what a webcam would do).<br>
As for adding a pir motion sensor, yes, it could be configured to work with the right pir motion sensor.</p>
disabelle on DEV-10549 - SparkFun JPEG Triggerdisabelleurn:uuid:29b29226-3a9b-cb0d-baac-3f36cba5b3fb2011-06-23T18:01:34-06:00<p>is there a way so you can get a web cam and cut then usb off and solder it to this to wark insted of the 50$ camera you wants us to buy for this to work also could you add a pir motion sensor to trigger this?</p>
Tadpole on DEV-10549 - SparkFun JPEG TriggerTadpoleurn:uuid:6fa496f8-e1f9-e82f-f3d3-a8b0590cd5862011-06-13T13:15:29-06:00<p>The second board arrived and is having the exact same issues as the first one. I'm unsure as to what could be causing this. I was very watchful of my soldering, and I only powered it on for a few seconds with the li-po when that <em>smell</em> came back. Something is shorting the board, and I would think it is the same chip this time that is going to get fried. I contacted tech support and sent some pictures to make sure it isn't the porlarity of teh battery (I bought the battery at SFE).<br>
I'll let you know what happens.<br>
[and thanks PhillipH, I now learned that chip is actually a TPS61200]</p>
PhillipH on DEV-10549 - SparkFun JPEG TriggerPhillipHurn:uuid:76ae83c4-b731-4434-6ce6-902db8f1c87c2011-06-08T05:58:15-06:00<p>Definitely something wrong with these boards - mine fries the TPS61200 as well.</p>
Tadpole on DEV-10549 - SparkFun JPEG TriggerTadpoleurn:uuid:03fc4044-2a49-7028-b92d-172161189e982011-06-01T05:55:46-06:00<p>Nope. Just the battery. Polarity was correct too. I don't have to have the camera hooked up when I power it up, do I?</p>
zagGrad on DEV-10549 - SparkFun JPEG TriggerzagGradurn:uuid:8170e331-981a-19a9-d321-cb7d35e425622011-05-30T11:53:13-06:00<p>Did you have the FTDI cable and the battery plugged in at the same time?</p>
Facu on DEV-10549 - SparkFun JPEG TriggerFacuurn:uuid:c8e070f7-8d84-4422-62df-3f6e981a43e92011-05-29T19:05:14-06:00<p>Hi guys,<br>
i have a rare problem: the size returned by:<br>
count = camera.getSize(response, &size);<br>
is a negative number like -202453<br>
then, never enter to the while:<br>
address=0;<br>
eof=0;<br>
size=abs(size);<br>
while(address < size)<br>
{<br>
then i get a 0 bytes .jpg files on my SD<br>
* i have the last code<br>
* the SD init its OK<br>
* the comunication with the SD its OK ( i tried write other files)<br>
* the comunication with the camera its OK (at least, the reset command return rigth bytes)<br>
this is one size response for example (the first 7 bytes its ok acording to camera datashet!):<br>
76<br>
0<br>
34<br>
0<br>
4<br>
0<br>
0<br>
FFFFFFBF<br>
6C<br>
any idea?</p>
Tadpole on DEV-10549 - SparkFun JPEG TriggerTadpoleurn:uuid:63aad4d6-059b-da7b-06e3-84495aa91af82011-05-29T07:14:07-06:00<p>Mine had some sort of short problem too. I can see exatly which chip smoked too. It worked fine with the FTDI cable attached, but on a normal li-po battery (3.7v 1A) the chip labled "BRR 98W Z345" smoked, and now has a tiny bubble on it. Cooked. Anyone have a suggestion why this could happen?</p>
zagGrad on DEV-10549 - SparkFun JPEG TriggerzagGradurn:uuid:89f70a2a-d848-c5f4-05f1-54a9cf4e613d2011-05-26T12:18:29-06:00<p>2 GB is fine. I'm pretty sure the maximum is 4GB.<br>
Is your board getting hot, or just warm? You only have the battery plugged in right, not an FTDI cable too? It's OK if it gets warm. I use mine with the same battery and it's fine.<br>
The LED won't come on unless there is a camera plugged in. This is because the board doesn't go into the READY state until it's communicated with the camera. You can test if the board is running the code by turning the board off, removing the microSD card, and turning the board back on. The LED should start blinking indicating the SD card couldn't initialize. It might take a second or two though.</p>
Customer #95533 on DEV-10549 - SparkFun JPEG TriggerCustomer #95533urn:uuid:be1aa633-84fa-8701-e366-e2a46bb043452011-05-26T08:16:00-06:00<p>What is the maximum size of the microSD card that I can use?<br>
I have a 2 GB card (formated with vista FAT(Default))<br>
Once I put in the microSD the Led goes out and never lights up again, also the board appears to get hot so I unplugged it after 2 minutes. I use the lipo battery PRT-00341 to power the board.<br>
Nothing is wired to the triggers and the camera is not plugged-in.<br>
I also had some kind of short problem with my first board that SFE replaced ( kudos for customer service :) )</p>
Customer #227689 on DEV-10549 - SparkFun JPEG TriggerCustomer #227689urn:uuid:48990efa-64c8-b644-040e-bcef67c4e3322011-05-25T02:55:03-06:00<p>No we didn't touch the trigger inputs and that's the strange that we only powered on the board with 5vdc and then we powered it off, and when we powered it again on we saw that something was wrong as the power consumption was 2,5A. The board doesn't work at all.</p>
MikeGrusin on DEV-10549 - SparkFun JPEG TriggerMikeGrusinurn:uuid:5d95e234-b0e9-42a3-f5b8-70b17136f0722011-05-24T12:32:16-06:00<p>Here's a secret:.PDE files are actually plain ASCII text, so you can look at them with any text editor. The extension is vestigial from the Processing language.</p>
zagGrad on DEV-10549 - SparkFun JPEG TriggerzagGradurn:uuid:136c7386-f881-defc-54a1-47056ef212862011-05-24T11:59:54-06:00<p>Please check to see if the trigger you wired up has somehow shorted the 5v and gnd rails that are located along the trigger inputs.</p>
Customer #227689 on DEV-10549 - SparkFun JPEG TriggerCustomer #227689urn:uuid:4a93e4fd-27ff-3492-d400-b4f07441c6132011-05-24T03:03:22-06:00<p>I bought the jpeg trigger and the camera, I wired them and I powered the jpeg trigger with 5vdc (as is written on the board) at the terminals next to the battery block. When I powered it on the led lighted up and everything seemed ok (we didnt trigger it to take a picture)and the power consumption was 0. Then we powered it off and when we powered it again on we saw that the power consumption was up to 2,5A. What do you think happened?? Is something wrong?? Can we do something to fix it??</p>
Tadpole on DEV-10549 - SparkFun JPEG TriggerTadpoleurn:uuid:b0e281c5-f499-0d85-fecf-cac9b50012f42011-05-22T14:48:06-06:00<p>I plugged my 3.7v (1000mA) lipo in, and the thing started to stink like something was shorted. The LED never lit, and I'm really sad about this now. :(<br>
How do I return it?</p>
Joe P on DEV-10549 - SparkFun JPEG TriggerJoe Purn:uuid:0ce25115-e025-d0e0-a5c5-facc9b5cfff22011-05-21T10:26:43-06:00<p>nm... downloading Arduino environment now...</p>
Joe P on DEV-10549 - SparkFun JPEG TriggerJoe Purn:uuid:6a78dd2b-9269-c28e-fe4c-76a3b8a0fde42011-05-21T10:15:58-06:00<p>I ordered one of these a couple of weeks ago, and am finally getting a chance to take play around with it...<br>
I'd like to see the source, and that format isn't familiar to me. So, at the risk of sounding like a moron, what format is a .PDE file?</p>
zagGrad on DEV-10549 - SparkFun JPEG TriggerzagGradurn:uuid:ff0238d4-6d85-9792-bcd4-15645ac27a742011-05-20T12:23:24-06:00<p>It'll break :( The code will get stuck in an infinite loop trying to name the new file. It would be very easy to modify to do your bidding though. Just change the '%03d' in the sprintf commands of the recordPicture function to '%04d' or however many numbers you want in there.</p>
jolshefsky on DEV-10549 - SparkFun JPEG Triggerjolshefskyurn:uuid:4d49b365-c908-c18f-c927-a019e49072fb2011-05-19T21:55:13-06:00<p>Barring scanning the source code, what happens if you take more than 1000 pictures?</p>
zagGrad on DEV-10549 - SparkFun JPEG TriggerzagGradurn:uuid:9964d49b-121d-4e9c-c593-87d8776a34ba2011-05-17T09:45:15-06:00<p>Maybe. The JPEG Trigger will accept voltages in the range of 1-5V. The 3.3V on the Trigger is regulated from the battery input, not the 5V rail (which is boosted from the battery input). So you may be able to plug the 5V rail from your system into the battery input of the JPEG Trigger; the only question is if the regulator on your system can handle the load.</p>
tzankoff on DEV-10549 - SparkFun JPEG Triggertzankoffurn:uuid:949566bf-25bc-39e2-4a36-e9424ea12fba2011-05-17T07:35:54-06:00<p>I have a microcontroller that is powered by a 6v NiMH battery and has a 5v regulated power bus. For the sake of <em>not</em> using multiple batteries for multiple purposes, could I plug the JPEG Trigger into that 5v bus since it will get brought down to 3.3v anyway?</p>
zagGrad on DEV-10549 - SparkFun JPEG TriggerzagGradurn:uuid:c5428356-e435-8e01-4965-2868cb0d3e0d2011-05-15T21:01:31-06:00<p>The custom code was written with Arduino, and you can download the sketch above. If you only upload your custom code with Arduino, you can always revert back to the stock code by uploading this sketch.<br>
If you don't like writing code in Arduino, you can also get the hex file for the stock sketch by downloading the code and compiling it with Arduino and then just grabbing the hex file out of the temp directory.</p>
zagGrad on DEV-10549 - SparkFun JPEG TriggerzagGradurn:uuid:50bc9294-f774-84c0-9edc-db319d2cb1d22011-05-15T20:59:15-06:00<p>No, you don't need to power them separately, the Jpeg Trigger has a 5V booster to power the camera and the microcontroller; the 3.3V regulator is for the SD card. There's also a voltage converter on board which allows the microcontroller to communicate with the sd card.</p>
TimCole on DEV-10549 - SparkFun JPEG TriggerTimColeurn:uuid:a5702169-3160-3f2d-3578-97e9cd4ba4ed2011-05-12T22:01:38-06:00<p>It looks as though the ATMega328 can be reprogrammed through an ISP connector. Is there a loadable image file available for the as-shipped firmware?<br>
It would be very comforting to be able to reload the as-shipped firmware after mucking about with custom code.</p>
Customer #146603 on DEV-10549 - SparkFun JPEG TriggerCustomer #146603urn:uuid:d3e23086-26bb-1b80-1c42-7f0718fe16d22011-05-12T13:05:23-06:00<p>So, when looking through the comments on the LinkSprite, there was some indication that the problem was due to clock speed and communications mismatch. Is it possible to update the product description on the other item?</p>
RobertC. on DEV-10549 - SparkFun JPEG TriggerRobertC.urn:uuid:8bae6957-b03e-ccd8-19fb-fdc866f722932011-05-11T14:19:21-06:00<p>good question. when using a 3.7v lipo battery, everything worked just fine. we can look into it further and see what's the best way to use them, but a 3.7v battery got the job done in a real-world scenario.</p>
Customer #146603 on DEV-10549 - SparkFun JPEG TriggerCustomer #146603urn:uuid:b0aca009-29eb-0a2a-87a5-b574483aad4f2011-05-11T14:10:25-06:00<p>This product description indicates that it is powered at 3.3V. However, the product description for the LinkSprite JPEG camera says that it only works reliably at 5V, not at 3.3V. Do these then need to be powered separately?</p>
Customer #51449 on DEV-10549 - SparkFun JPEG TriggerCustomer #51449urn:uuid:cd747188-a732-fe70-166f-661b7da06a8a2011-05-10T22:15:02-06:00<p>Sorry SamL. I didn't see you posted the same thing. Hopefully somebody will have an answer for us.</p>
Customer #51449 on DEV-10549 - SparkFun JPEG TriggerCustomer #51449urn:uuid:56bcb182-436f-edba-5290-92f6c3d7ec172011-05-09T19:00:26-06:00<p>What are the chances of this working with the eye fi cards? http://www.eye.fi/</p>
SamL on DEV-10549 - SparkFun JPEG TriggerSamLurn:uuid:22eae8db-b681-a71a-c9de-69c50bd909c82011-05-07T16:17:29-06:00<p>Be interesting to try this out with an eye-fi card (the latest ones have "Endless Memory" mode).</p>
zagGrad on DEV-10549 - SparkFun JPEG TriggerzagGradurn:uuid:31fe0fe3-921a-3e1c-4d69-cf102c540e1a2011-05-06T11:55:02-06:00<p>I actually tried using a .jpg file extension when I wrote the firmware, but for some reason no data would get saved to the file. I'm not sure if I was using an outdated version of the library, or if I was using it incorrectly. Either way, if you can get it to work let us know and I'll make sure the changes get into the next code version.</p>
KirAsh4 on DEV-10549 - SparkFun JPEG TriggerKirAsh4urn:uuid:495a6e01-6308-490e-2e12-664411f37fd72011-05-06T11:21:27-06:00<p>For the next revision, may I suggest also adding the capability to offload the file. For example, have it with an ethernet port and you can have an internet enabled camera. Have the board take a shot, and offload it to the ethernet (via FTP possibly), OR depending on configuration, save it to the SD card, or maybe even both. Having a way to automatically offload the image file means you won't have to stop every so often to empty the SD card, and you can have a camera that can function forever, or till the electronics fail, whichever comes first.</p>
Protocol on DEV-10549 - SparkFun JPEG TriggerProtocolurn:uuid:0d7d7432-74a5-6c98-aac7-2cfbd8cb60672011-05-06T11:03:04-06:00<p>I am assuming so you can have multiple triggers for snapping a picture. I want to make one with a capacative touch sensor on my garage door, a simple switch actuator on the inside lever (for when someone tries to lift it from the outside) and my favorite, and anti-graffiti spray paint can rattle detector (I am still trying to figure out how to do that on)</p>
Nate on DEV-10549 - SparkFun JPEG TriggerNateurn:uuid:d836a3a3-0d2a-2475-8c76-b1e449c68b872011-05-06T10:24:35-06:00<p>?! Ya, I don't know about that one. I think it's a bug from a while ago (blame it on the intern!). We'll fix that line of code and get the next production batch recording to jpg.</p>
Kamiquasi on DEV-10549 - SparkFun JPEG TriggerKamiquasiurn:uuid:f40c0ef7-4b73-87a8-38f1-80f88c5aeaba2011-05-06T03:56:59-06:00<p>Presumably because the default firmware 'listens' on each of those pins:<br>
char cameraTriggered(void)<br>
//Find out if any of the digital inputs have been triggered.<br>
if((digitalRead(2)==LOW)||(digitalRead(3)==LOW)|| (digitalRead(4)==LOW))triggered=1;<br>
But each pin is broken out separately so if you customize the firmware you might be able to do something different with them.<br>
Which really makes me wonder <em>why</em> the following..<blockquote>
<p>The file recorded by the JPEG Trigger is actually saved as a '.txt' file on the SD card.<br>
..applies. Given that it could be changed in the firmware to simply write with a .jpg extension:</p>
</blockquote><h1> sprintf(fileName, "/%03i.txt", fileNumber);</h1><p>Edit: The latest source will save to .jpg. The different triggers have also been broken out in the code to give different status messages.</p></p>
mbrown9412 on DEV-10549 - SparkFun JPEG Triggermbrown9412urn:uuid:1699a601-9a76-466f-c563-7c9c48e09a5b2011-05-05T19:40:38-06:00<p>why so many different choices for which pin to ground? are they all slightly different, or just to make it easier for more things to cause an exposure?</p>