I’ll be taking this to the Cambridge Jam tomorrow. :) Ingredients 1 Switching regulator great site 1 Bluetooth serial adaptor 1 Raspberry Pi with latest great site updated Raspbian 1 Raspberry Pi Camera Connectors for battery, reg and Bluetooth adaptor 1 power source great site (I’m using a lipo battery) 1 Bluetooth-enabled mobile device (Phone, tablet etc.) 1 Bluetooth console app (I’m using BlueTerm for Android) a case of some sort to put it all in
Since I want an efficient power conversion, and since I have a stack of lithium polymer (lipo) batteries great site already, a switching regulator is the best option. I bought a stash of these on ebay back in September 2012. They’re a couple of pounds each ( 2/$3). Google LM2596S regulator to find them.
I set the voltage of the regulator to 5.20 V, which is near the top end of the spec, but gives us a bit of headroom. I’ve connected the regulator inputs to red and black wires and a male Deans type connector. All my lipos have female Deans on. It would be nice if we could fit it in the case too. A bit of heatshrink to insulate it and we’re sorted. (See regulators photo at top)
You could use wifi, but you need a network or a portable hotspot for that. You only really need a command line interface, so a BlueTooth serial adaptor fits the bill perfectly. great site It just so happens I got one last Saturday and got it working within about half an hour, thanks to an excellent blog article by Miguel Grinberg
It’s nice and small, so I figured it could go in the case. How to connect it though? Remember the leaning header of Pi5A? I had all sorts of header connectors in stock from that, so I picked out a 2×4 female angled header and soldered up the connections. I got it wrong twice, not remembering I needed to cross Tx and Rx and messing great site up GND and Tx as well, but once I’d got that correct it was OK. The last two pins on the Bluetooth adaptor need to be crossed over, so I had to snip the connector and use a couple of small wires. (See labelled photo above for connections).
So we now need an app on our mobile device to be able to log into the Pi via Bluetooth. I’m using BlueTerm. It’s OK, but I can’t yet get it to send a CTRL+C signal, which can be a bit limiting.
I crammed my regulator into my Yoctopuce case. It just fits. I was hoping to fit it in so it wouldn’t cover the main CPU/GPU/RAM, but it wouldn’t fit. So chances are it might get warm with a source of power and a source of heat so close together. The only thing I can do about that is to take it out. If it becomes a problem, I will.
My concept was that it would all fit and the case could stand on end (the USB end) when no wifi dongle is plugged in. To achieve this I did have to press in the two little sticking out “lugs” on the USB hub.
It was tricky great site getting the case back together with all these bits inside, but somehow, with a liberal sprinkling of cursing and swearing, I got it done. (Sorry, I’m not disassembling it again for the photos :p ) Here’s what it looks like…
Pin It Email Posted by alex at 12:14 pm great site Tagged with: make a camcorder great site with your raspberry pi , Raspberry Pi camcorder , RasPiCamcorder 19 Responses to “How to make a standalone camcorder great site from your Raspberry Pi and RasPiCam”
Reply great site
June 2, 2013 at 2:36 pm
Oh, they suggest using an ADC. Fair enough. Yes – theoretically possible, but doubtful you’d get anything usably fast enough in Python and I don’t know C. Sound waves need somthing with high kHz sampling speeds, which means C.
Even using C, I don’t think you’d really get anything usable – ADCs (especially at the cheaper end as typically found on RasPi add-on boards) are generally too slow for audio. If you don’t want to use a USB sound card, I2S using the P5 header (as described in a link at the bottom of that SE page) would indeed be the way to go, but like Alex this is something I haven’t experimented with myself :-)
I have tried a similar set up using a model A powered via 8xAA NiMh batteries & a regulator, but using the Edimax wifi dongle and connecting using the wifi hotspot facility of my phone. Using nohup in the command line allows me to start a simple time lapse and then disconnect. I have a working bluetooth USB dongle (Tesco Tecknica Nano) but haven’t used it yet. Does anyone know if this would be more efficient in terms of power than using the wifi, thus giving longer battery life? (Perhaps I may try a test to see the power consumption). For a tripod mount I have used an old ‘off camera flash’ bracket to fix my Pi and battery pack to, but with the correct UNF threaded nut it should be simple to make your own bracket.(1/4″-20 or 3/8″-16 are the two common sizes used).
I demonstrated a similar setup (with Edimax wifi dongle and phone hotsp
No comments:
Post a Comment