As an ultracapacitor has a pretty linear discharge curve, some electronics are required to make them behave more like batteries, such as as SEPIC converter.
On the right is a MuRata Power Solutions UQQ-12/8-Q12P-C switching regulator, which will accept a 9-36v input source & output a constant 12v at 8A (96W).
Here are the first set of mods & improvements to the RasPi Experiment board. Instead of the solder-point experiment space, I have added a standard mini-breadboard, even though it’s a little too long to fit on the board properly.
In the DIP breakout, is a MAX232 TTL-RS232 interface IC, useful for interfacing directly to the Pi’s UART, made available on the GPIO breakout. I will be hardwiring the MAX232 IC into the GPIO port, & fitting headers to the relevant pins on the IC breakout to make interfacing to the Pi easier.
All the MAX232 requires to operate are a 5v supply & 4 1µF capacitors.
The new TO220 device next to the breadboard is a TIP121 darlington power transistor.This is rated at 80v 5A continuous. Useful for driving large loads from a GPIO output.
After seeing these on eBay for £8.99 I thought it might be a good deal – interfacing with the RasPi’s GPIO & it has built in power supplies.
As a kit, it was very easy to assemble, the PCB quality is high, and is a fairly good design. It worked first time, the regulators hold the rails at the right voltages.
However there are some issues with this board that bug me.
The documentation for the kit is *AWFUL*. No mention of the regulators on the parts list & which goes where – I had to carefully examine the schematics to find out those details.
The 4x 1N1007 diodes required weren’t even included in the kit! Luckily I had some 1N4148 high speed diodes lying around & even though they’re rated for 200mA continuous rather than the specified part’s 1A rating, the lack of heatsinking on the regulators wouldn’t allow use anywhere near 1A, so this isn’t much of a problem.
Component numbering on the silkscreen isn’t consistent – it jumps from R3 straight to R6! These issues could be slightly confusing for the novice builder, and considering the demographic of the RasPi, could be seen as big issues.
On the far left of the board are the 5v & 3.3v regulators, well placed on the edge of the board in case a heatsink may be required in the future. However the LM317 adjustable regulator is stuck right in the middle of the PCB – no chance of being able to fit a heatsink, & the device itself seems incredibly cheap – the heatsink tab on the back of the TO-220 is the thinnest I have ever seen. Not the usual 2-3mm thick copper of the 5v & 3.3v parts – but barely more than a mm thick, so it’s not going to be able to cope with much power dissipation without overheating quickly.
As the adjustable rail can go between ~2.5v – 10v, at the low end of the range the power dissipation is going to shoot through the roof.
The GPIO connector – this could have been done the other way, at the moment the ribbon cable has to be twisted to get both the Pi & the GPIO board the same way up. Just a slight fail there. See the image below
Plugged In
The power rails are not isolated out of the box – there is no connection between the 5v & 3.3v rails & the Pi’s GPIO, but the GND connections are linked together on the board.
Getting the ribbon cable through the hole in the ModMyPi case was a bit of a faff – the connector is too big! I had to squeeze the connector through at a 45° angle. The case is also remarkably tight around the connector once it’s fitted to the board – clearly the designers of the case didn’t test the an IDC connector in the case before making them!
Everything does fit though, after a little modification.
All Cased Up
Here is the unit all built up with the case. The top cover just about fits with the IDC connector on the GPIO header.
More to come once I get some time to do some interfacing!
Just a quickie to note down the current progress of another project – Ultracapacitors.
Pictured right is a bank of 6 2.5v 2600F Maxwell Boostcaps, for a total of 15v at 433.333F. A total energy storage of 48.7kJ.
Coming soon will be the inclusion of charge balancing, using Zener diodes & integrating a DC-DC converter on the output to hold the bank voltage at 12v when being used.
I thought this would be of interest, as it’s from a drive circa 2001, (DVD-CD-RW).
It’s the biggest & most complex optical block I’ve ever seen, with totally separate beam paths for the IR CD beam & the visible DVD beam. It also combines the use of bare laser diodes & combined diode/photodiode array modules for the pickup.
Cover Removed
Here’s a look at the optics inside the sled, on the left is a bare laser diode & photodiode array, for the CD reading, and the bottom right has the DVD combined LD/PD array module. The beam from the CD diode has to pass though some very complex beam forming optics & a prism to fold it round to the final turning mirror to the objective lens at top center.
There are also two separate photodiodes which are picking up the waste beam from the prisms, most likely for power control.
This is a little script to make OMXPlayer on the Raspberry Pi cycle through every file in a specified folder, useful for playing sequential movies or series of episodes.
#!/bin/bash
if [ x"$1" = x"help" -o x"$1" = x"--help" -o x"$1" = x"-help" ];then
echo "Usage: omxseries [folder path]"
echo "Audio Mode can be either 'hdmi' or 'local'."
echo "Folder Path is the full path to the video files on your system."
echo "This script will attempt to play every file in the target folder, with any file extension,"
echo "so ensure that only valid video files are present in the target folder to avoid errors."
exit
fi
for file in $2/*
do
omxplayer -o $1 $file
done
Example:
[root@raspbian ~]# omxseries hdmi /media/stuff/videos
would play everything in /media/stuff/videos and send the audio over the HDMI port.
Finally, some protection for my Raspberry Pi! The PCB fit is slightly loose, but that was quickly sorted with the application of a couple of spots of hot glue in the corners.
Unfortunately, the case is a couple of mm too small to fit the main board from the Pico Projector inside, so I won’t be butchering that into the case with the Pi as yet. What is required is an interface to the display engine from the Pi’s DSI interface.
Pi Cased Up
The pi all boxed. up. The only thing that this case would now require is a lightpipe to direct the LED’s light to the openings in the case, as they are very difficult to see at present.
I bought one of these cheap HID kits from eBay to build a high-brightness work light that I could run from my central 12v supply.
At £14.99 I certainly wasn’t expecting anything more than the usual cheap Chinese construction. And that’s definitely what I got 😀
Potted PCB
The casing is screwed together with the cheapest of screws, with heads that are deformed enough to present a problem with removal.
As can be seen here, the inside of the unit is potted in rubber compound, mostly to provide moisture resistance, as these are for automotive use.
The ballast generates a 23kV pulse to strike the arc in the bulb, then supplies a steady 85v AC at 3A, 400Hz to maintain the discharge.
This module could quite easily be depotted as the silicone material used is fairly soft & can be removed with a pointed tool.
Hi-Lo Bulb Assembly
Here is the bulb removed from it’s mount. Under the bulb itself is a solenoid, which tilts the bulb by a few degrees, presumably to provide dim/dip operation for a headlight. This functionality is superfluous to my requirements.
Here’s the teardown of the projector itself! On the right is the info label from the projector, which covers the flex ribbon to the VGA/composite input board below.
This unit is held together with Allen screws, but is easy to get apart.
PicoP Display Engine
Here’s the insides of the projector, with just the top cover removed. The main board can be seen under the shielding can, the Micro HDMI connector is on the left & the MicroUSB connection is on the right. The USB connection is solely for charging the battery & provides no data interface to the unit.
On top of the main board is the shield can covering the PicoP Display Engine driver board, this shield was soldered on so no peek inside unfortunately!
Laser Module
The laser module itself is in the front of the unit, the laser assemblies are closest to the camera, on the left is the Direct Doubled Green module, in the centre is the blue diode, and the red diode on the right. Inside the module itself is an arrangement of mirrors & beamsplitters, used to combine the RGB beams from the lasers into a single beam to create any colour in the spectrum.
Module Innards
Here is the module innards revealed, the laser mounts are at the top of the screen, the green module is still mounted on the base casting.
The three dichroic mirrors in the frame do the beam combining, which is then bounced onto the mirror on the far left of the frame, down below the MEMs. From there a final mirror directs the light onto the MEMs scanning mirror before it leaves through the output window.
A trio of photodiodes caters for beam brightness control & colour control, these are located behind the last dichroic turning mirror in the centre of the picture.
Green Module Cavity
This is inside the green laser module, showing the complexity of the device. This laser module is about the size of a UK 5p coin!
Green Module Labeled
And here on the left is the module components labelled.
Main PCB Top
Here is the main PCB, with the unit’s main ARM CPU on the right, manufactured by ST.
User buttons are along the sides.
Main PCB Bottom
Other side of the main board, with ICs that handle video input from the HDMI connector, battery charging via the USB port & various other management.
Above is the image projected from the Pi, on the default login screen. Distance from the projector is approx 10 feet.
Projector
State of the art projector mount, fashioned from several cable ties. HDMI cable is plugged into the right hand side of the projector.
Unfortunately the projector cannot handle audio on the HDMI connector, the 3.5mm headphone jack on the projector is for splitting audio out of the iDevice connection only, and does not make the HDMI audio stream available.
Pi
The Raspberry Pi, hosting a USB keyboard, & USB powered speakers. Running the standard Debian release, on a 16GB card, with omxplayer installed for media functions.
Here is a 2Gbit Fibre Channel transceiver from Cisco Systems in SFP module format.
Shield Removed
Here the shield has been removed from the bottom of the module (it just clips off). The bottom of the PCB can be seen, with the copper interface on the left & the rubber boots over the photodiode & 850 nm laser on the right.
PCB Bottom
Here the PCB has been completely removed from the frame, the fibre ends slide into the rubber tubes on the right.
PCB Top
Top of the PCB, showing the chipset. There are a pair of adjustment pots under some glue, next to the chipset, presumably for adjusting laser power & receive sensitivity. The laser diode & photodiode are inside the soldered cans on the right hand side of the board, with the optics required to couple the 850nm near-IR light into the fibre.
As I’m building a portable “media center” with my first Pi, I was looking for a suitable screen. I remembered the existence of these:
ShowWX+ HDMI Pico Projector
A laser pico projector combined with a Pi, in a small enough package would make a fantastic
little portable media player. So £220 was shelled out 🙂
Along with the case for my Pi coming from Mod My Pi, I am aiming for a device as small as possible. At some point I will fit the Pi into the same package as the projector, if it can be cannibalised in such a way 🙂
Check back for an update with running images of the projector, powered from the Pi’s HDMI output.
I will also be doing the standard teardown of the projector when time allows 🙂
Bootnote:
Micro HDMI Connections: These are CRAP. They don’t stand up to any form of day-to-day use, and the projector began displaying a blue screen with “INVALID VIDEO MODE” as soon as anything was plugged into the Micro HDMI port. A quick attack with a jeweller’s screwdriver fixed the port, as it had become loose.
Tip Jar
If you’ve found my content useful, please consider leaving a donation by clicking the Tip Jar below!
All collected funds go towards new content & the costs of keeping the server online.