No limits: A helmet camera story ( III )

If you do something, for fucks sake…

…do it properly.

—– Part I —– Part II —–

A few days earlier:

Unusual are the cases where a standalone IP68 button can be installed in a very compact electronic device. Even if the Nixie-CAM (NC from now on) is for personal use and I could just get away with having to unscrew things and a little bit of impracticality regarding storage and actuation, I kinda preferred, to make it look store-bought. Any product that has removable pieces or accesses, is usually accompanied with some sort of soft cover or rubber button pad. Of course you can create an o-ring sealed shaft to actuate an internal tact switch, but that’s rarely practical and comes with it’s own problems.

And that’s the ulterior motive for experimenting with PVC ink, as mentioned previously. Definitely was not for keychains XD.

Picking up the 3D models for the μSD cover and buttons, I built a pair of 3D moulds around them to be machined out of aluminium.

They would also be the first time I would be doing parts that needed locating pins between them. Not that it’s complicated, but first times are always scary (AND the fact that I had no spare stock for the pieces didn’t help easing my mind. XD)

First I did the buttons. Having seen that a ball endmill would push material rather than snagg it on the first keychain test (where I missmeasured the thickness of the stock), I was somewhat confident I would get away with pushing my luck with aluminium deformation for the domes, wich measured 2.98mm in 3mm stock . If you look closely, one of the domes tops is a bit wrinkly, but for an experiment, that was good enough.

Since the pushbutton recess male part had to protrude from the top mold, I decided to simply cut much more area than needed and then cut around (crossing the pin locations so it would still align)

Liberally apply plastisol grease:

Press:

And apply 150ºC for 90 seconds at least (you can apply more time if needed), then enjoy the results. Note how the central rib prevents the left button from moving when depressing the right one.

Next, the mould for the uSD card cover. I made a slight change between the original and the test, because I had not yet received the 0,2mm engraving bits (In case you nottice the difference between the original 3D model and the final piece.

The recess in the top half was so the final thickness of the piece would not interfere with the internals had I made it all the way stock thick.

Assembled. At least this time I didn’t forgot to invert the text so it would read properly ^^U

By the time I had made this, I had PVC ink solvent, with wich I thought I could make the rubber a lot more liquid without changing properties too much, but unfortunately that was not the case, and for the PVC ink to be liquid, it has to be specially formulated. In any case, using a syringe and some vacuum, all the molds should be easily fillable with the material I already have.

I kinda forgot to set up the stepover at 0,05mm, so you can see the individual passes of the ball endmill. The letters look fine because I did a special engraving pass, not just relying on just the horizontal passes.

I did remember to do it for the top half, and the results show as a very smooth surface that will seal properly against the case (it’s made to have an interference fit, so it’s always snug)

Live:

With that taken care of, next step was to put the pcb buttons in place. However, at this point, I just discovered that the video board ALSO had a power shutoff circuit included, wich had rendered the circuitry in the pcb unnecesary. I also had mismeasured the board thickness and got a 1.6mm, wich didn’t leave much height to actually glue the rubber buttons…

NOT that that was going to deter me, tho!

I just soldered the REC/STOP button cables and attached those to the internal pushbutton, so they would have a better grip than just soldering on pads alone. After that, I attached all the circuits and batteries, and did a small 24 minutes recording test to see if anything exploded:

Luckily, nothing did, but I noted that the converter board did get hot, as did the main heatsink. With that in mind I assembled the camera to see if there would be space to add a small aluminium board to help dissipate the heat from the converter into a larger area (and in the process protect the li-po battery from focalized intense heat).

Yeah, I definitely could fit something in there. (yes, I was very careful about using steel tweezers around powered electronics).

Some hacksaw time and a bit of vice bending later (without the bend the video board AND cables would not fit):

And…it was about time to close the thing!

The translucent body of the camera will definitely NOT allow for covert recording:

I won’t cover the magnetic connection in the back of the camera because it’s exactly the same than the F9 I did before.

And with that…the V1.0 of the camera is finished!


Testing.

Since I lack a proper thermometer (or FLIR camera) I decided not to risk yet a full zero airflow thermal test before I can get at least some footage recorded (nothing would infuriate me more than just not being able to test the camera in the helmet).Remember I did a 24 minute test but all the pieces where outside the enclosed camera space, so that was just a best case scenario on dissipative cooling.

What I did have to do however, was a full test with at least a bit of air (in the end this is a motorbike helmet camera, it will have airflow over it most of the time anyways. It just was not very scientific due to the lack of instrumentation.

I picked up my vertical home fan and put the camera to record the highest airflow setting for 1h straight. after such time, the heatsink was hot to touch, but I could rest my hand on it indefinitely, so I reduced the airflow to the setting number 2 for another half an hour, with more or less the same skin-test result. I further reduced the airflow to 1 and left the camera for another half an hour (for a total of 2h of continuous recording) and by that point, the heatsink was too hot to continuous touch, BUT not insta-burn your skin.
Note: Ambient temp was 27-28ºC

After this, I thought about seeing how the drone world heatsinked the main processor, only to shockingly discover they just don’t

I agree that a drone in flight will get some airflow, but at the same time, they sandwich the video card with other controller and video transmitter boards, so it’s not like it has the best cooling situation…

So any heatsinking is definitely better than no heatsinking I would say.

By the time I was writing this post, I didn’t have proper double sided 3M foam tape, so I just attached the camera with random tape to have a glance at how it finally fit:

Yeah, I agree the piss colored body doesn’t help much, but I’ll take care of that later.

I haven’t removed the old mount yet, but that I’ll do as soon as I get the proper mounting foam for the camera.

 

Definitely not switching to a GoPro now…

Nope…

The best thing is that, within reason, I don’t have to worry anymore about the camera orientation, I can just tilt and twist the gimball to the proper position.

Smol test at the balcony. Color looks a bit saturated, maybe I can change some firmware for that, but then again, this is desert-like sun, so…

 


Performance.

Daylight:

After testing, this camera performs slightly better than a Sena Prism Tube, wich would be a direct competitor of sorts.

Light management is better, not being overwhelmed by bright lights as much as the sena. As soon as the bright spot occupies enough part of the field of vision, the Nixie-CAM (CADDX Turtle V2) starts compensating, instead of waiting longer for a very sharp change in light.

(sound warning!)

I must say, even at 1080p/60fps on youtube, the original video looks better.

Night time:

1.- City Led Lights:

2.- Sodium Vapour street lights:

3.- Entering a less illuminated city road:

4.- Roadside pole lights only:

5.- Absolute darkness (No road lighting, LOW beams):

6.- Absolute darkness (No road lighting, HIGH beams):

7.- Non illuminated highway, no other cars:

8.- Non illuminated highway, being overtaken by a car:


Analysis:

Pros:

  • Infinitely better than a 20$ F9 tube camera.
  • About 2/3rds the price of a Sena Prism Tube, with slightly better performance on mine.
  • Much more streamlined than any other existing cameras at price range.
  • “Infinite” battery capacity until max record time (minimum should be 4.5h at 1080p/60fps to 64Gb, but storage usage varies wildly so it’s hard to calculate. μSD cards are cheap tho.
  • My fucking own design.

Cons:

  • Heat management is difficult. The camera requires good airflow, but I’m not sure final operating temperature WITH the heatsink will kill the board, I’ll be testing that soon.
  • Piss color body (hey, it was cheap…).
  • If you want to count it, not being removable from the helmet (but that’s how I want it, so…)
  • Sound at speed is awful? (maybe can be fixed in post, maybe something can be done about the mic)

Veredict:

Was this worth it? ABSOLUTELY!
So much in fact, I’ll start working on a V1.5 camera to make it even better. Of course this is not a Go-Pro or any other generic action camera and it will never be. This is an extremely specific motorbike helmet camera that works (and relies) on riding conditions.

See ya!

P.S. Want one? Yeah, I’ll build one for you for 400€. Fucking expensive? Do you expect me to work for free or what…

 

No limits: A helmet camera story ( II )

When we left last time, all I had was a fdm 3D printed body and not much else. Much work had to be done still, so this is what has happened since.


My The body is ready:

I asked a favor to get the camera printed in STL resin. To be able to aford it, I had to accept the piss colored resin avaliable, so the camera won’t look fancy yet, but hey, at least I could afford it:


So sharp!


You can see the camera lens sealing ring.

A bit of postprocessing will be required to mate the pieces seamlessly (quirks about resin printing, but it will also help with sealing after everything has been fitted properly, so I’m not gonna complaint)

Not everything was easy, apparently the bodies where a bit fiddly to get out of the printer and got a few damaged ones before having succesful prints:

Anyways, got bodies! /hides the digging supplies/
Next question, please. XD


Power Button & Switch:

As mentioned before, after looking hard for a IP68 micro power switch and not finding anything that had the price of a small car with a kidney on the side, I had to capitulate and go full electronics with the approach, using a soft power button.

I found this circuit on eeVblog:

And proceeded to build a PCB around it. Said board had definite dimensions at 24x14mm (r3 corners) but I should be able to fit such a simple circuit easily (hah!), so, it was Altium time!

Funnily, I kinda assumed I would be able to quickly fit easy to solder 1206 components when I was selecting size:

Ooops…not sure anymore…

But somehow I managed to put everything perfectly:

So perfectly in fact, that I didn’t even have to put tracks for the switches, just direct vias (to be capped off when the component is soldered, so the whole pcb is hermetic in the body)

I know someone will be triggered by the 90º difference between switches. Enjoy! XD

Ordered them from OshPark in after-dark, just for kicks. XD


Heatsink that shit:

First time I powered the camera, I notticed that the whole board was noticeably hot, and the main processor, even more so. I imagine that’s not a problem ina FPV drone flying at 80+ kph, but for a closed body camera, that heat can’t be allowed to accumulate.

I mentioned before the sideplate that would have the main pcb attached neeeded to be made out of aluminium, easier said than thone, ^^U

Just about before milling it, I made a few modifications. I added the studs to hold the pcb, instead of having to add them later and thread in the thin baseplate. That would give me more thread lenght for the screws AND allow me to make the fins 1mm deeper, because the interference between them and the M2 threaded holes was eliminated.

But one thing is making a nice design, and another is to actually build it. That piece could be definitely made with manual milling and some filing, but my trusty 3020 can more or less do aluminium if you are patient enough, so I went with that instead.

Fusion definitely made some pretty swirly cutting patterns that I decided to save, even if that is only going to be seen by me. When cutting the piece, I kinda overreached the speed at wich the router was moving (the motor was fine, the cutting sounds where great) but at some very sharp changes, it definitely flexed enough to make the rounded corners a bit wonky. The studs also suffered from that speed excess, being a bit overcut on some sides. I definitely need to make a new piece someday that doesn’t have those mistakes, BUT, the piece was mechanically and geometrically functional, so I still went with it.

Also, this was my first piece with a double sided operation, wich made me nervous (the first milling was about 3h) but I was feeling confident, and as long as I didn’t switch off the router (or the power didn’t go out) I should be able to mantain the coordinates to process the piece.

First I drilled a very tight pocket where the small square of the plate would fit (had to hammer it a bit, wich is good in this case).

Given the experience with the other side, this time I went very conservatively on the feed, maybe even a bit too much, as the whole piece took a bit over 4h to be milled.

At least the results where really excellent (for the machine) The screw holes where 1.5mm but the heads where 2.5, so, with my newly gained confidence, I made a post program to itnerpolate those from a 2mm endmill. In the model I had made the screw seats about 0.4mm thick, but in the real aluminium piece, even if it’s more resistant, I left it at 0.8mm (remember that for later).


Gorgeous!

I didn’t want to spend more time in the router, so I decided to do the big chamfers in the milling machine, with probably not the best setup for the angle:

In retrospective, I could have done a few things better, like attaching a thick parallel to the side of the triangle to have more resting surface to set the plate, for example, but well, that’s for the next time, I guess. (definitely will be making more than one camera in the future)

Anyways, I did the cuts, and altough I did not make them perfectly simmetrical, at least I did not mess up badly, and you will not nottice once it’s mounted:

Camera beauty shots:

Remember what I said about the screw base thickness being left slightly thicker? if you look closely, you can see, the heads protrude a sliiiiiiiiiightly bit to the side of the chamfer. It’s not functionally a problem, but I know, and you know, and I will definitely change that for a future version, putting them a bit more inwards.

In any case, It’s friggin cool, isn’t it? (It’s my blog, I can say whatever the fuck I want, tbh)

I’m missing the PCB and it’s components. The bodies still have to arrive from Germany, and some o-rings, a micro Li-Po and the power board from china too, so the camera it’s not really near completion yet, but it’s close.

See ya!

Go to Part III

No limits: A helmet camera story. ( I )

A few days after poking around with my F9 camera and finding out there are no new or old firmwares avaliable, nor adjustments for the camera (or anything, for that matter) I decided to start again an old project of mine:

Building a helmet cam from “scratch”

Not from literal scratch tho. Drone camera tech is so advanced that it’s dumb spending time also developing the recording hardware with the enormous amount of options. Not that just developing the casing is easy, but also, what exactly do I want to achieve that no action camera in the market does already?

SO, WHY?

You see, I’m a fashion victim, I admit it. Every time I see a GoPro in a helmet, I get sick.

When I see this:

I think of this:

I know, I know, It’s not like there are lots of types out there. It’s either:

  • Generic Action Camera: GoPro / standard clone.
  • Cube Action Camera: GoPro Session / Runcam 5 / CADDX Orca
  • Tube Camera: Sena Tube / Contour HD / S20W / Cheapo F9.
  • Front facing Action cam: Ghost Drift / Stupid Sena 10C

Not gonna count the mohawk type cameras, albeit cool, because:

  1. Cost: 500€ and upwards to orbit.
  2. Bad helmet compatibility: Top vents, modular helmets and top solar shield sliders pose a problem with those.

And don’t get me started on the mounting solutions. They’re all so large, sometimes as big as the camera you want to mount. And the thing is, our helmets are curved, but none of the avaliable cameras use that to it’s advantage to make them more streamlined, and I’m thinking, why noone makes a wedge shaped camera so it has a lower profile?…

Well, if noone is going to manufacture that, fuck it, I’m gonna build it myself!


First I took out the camera module I had bought some time ago: a CADDX Turtle V2, real 1080p / 60fps (much better than the F9 camera) and just looked at it while brainstorming.

One of the main thoughts I had was:
“If I was ready to carry a powerbank and a cable for the F9 camera, why not remove the whole battery thing altogheter from the camera? (not totally true, but more on that later).
So, I got to work. First I made a simple suport to put all the parts near the helmet so I could visualize what I was dealing with. Be afraid NOT!(yet) this has nothing to do with how I wanted it to look.

With everything in perspective, the first thing I understood is that I wanted the camera to be gimballed, so I could fine tune the angle it pointed out, so, even if the body was not perfectly aligned, the POV would be adjustable.

Implemented:


Frankly it looks more like a ready-to-burst eye, than anything.

With that, I started to devise what kind of shape I wanted it to have, I had very clear in my mind that the camera was to hug the helmet as much as possible. A limiting factor is the control board that measures 29x29mm (the camera body is 19x19mm) so the body itself MUST at least be a bit taller than 30mm. What I definitely didn’t want was the GoPro attachment, so that’s the first thing I removed:

In the helmet:

And compared against the F9.

Looking good, but I had definitely gone overboard with the simplification and volume reduction, and the pcb barely fit, plus the main processor requires heatsinking, so it was not like I could just make a plastic case and call it quits. I would have to add some kind of flat surface where I could embed an aluminium block of sorts.

 

After thinking about it, and some rough modifications later, I got this:

Much better. But that was built over many modifications over the same base design, making the whole Fusion360 file a mess I really didn’t want to work on. Thus, I started from scratch on a new file with more close to real measurements AND most importantly, a clear view of the shape the camera was going to have.

 

 

By advancing the gimbal ball (gimball from now on) holder front face, it was possible to make it look less like a sore eye and more like…well, definitely NOT a sore eye! After some more refining work:

And adding the micro-SD acces port and status light:

That was looking great, altough the camera had started to get bulky at 37x37mm frontal size, and I got worried that the thing was NOT going to be as dramatic as I had hoped. So, I decided to print a simplified body and front cover to fact-check. When you see the first impression, well…it is indeed a bit bulky, altought compared with the F9, it does poke less from the helmet side:

But ah!
When you see it from the side, everything changes! Now the F9 looks humongous against the Nixie-Cam (“official” name, btw):

And without the F9, looks much better:

I went ahead and printed the gim-ball:

Beauty!

Gimbal working:

I literally checked the GoproSession size while writing the post, and it’s 1mm larger on each side!

After that I went ahead and printed the lateral cover. This piece must be made out of aluminium as it will act as heatsink for the main board, there is no way around it.

 

 

The protusion is about the size of the main processor, and the four screws will attach it securely in place. It also serves as port to access inside and make repairs easier than through the camera-ball hole.

 

In place using some micro-screws I had lying around:

But, what about the element exposure? No worries. The ball and lateral cover have o-rings, plus the silicone seal on the micro-SD card.

 

At the very least, the camera should be IP55 rated (dust and water splash resistance) but I bet it will be good up to IP68 (impervious to dust and very heavy rain, BUT NOT underwater-waterproof). This also brings the issue of the controls. This thing would need at least two buttons, ON/OFF and REC/STOP.

The main board has a pushbutton that starts and stops recording, but accessing that as a button from the outside would be a good alignment challenge, so I knew I wanted a separate button for that. For power control, I’d need a switch too, but as much as I looked around, there was no way of finding a momentary and a 2 position waterproof buttons that where absolutely microscopic (so to speak). Smallest I could find was 8mm in diameter and 15mm deep, wich would mess the distribution inside the camera, and waste precious space. After deliberating  for a while, I reached the conclusion that the best option for all that was to seal an opening with a PCB that would act on one side as two buttons (with a rubber cover) and on the inside, as circuit board with a FET latching switch (and two normal connections for the recording button).

The outside, with comprehensible, yet unnecesary operating symbols (the buttons will be operated with the thumb, and facing down, so you can’t really see them. I made it this way because the thing you will operate the most is the SD card, and you definitely don’t want that to fall out, hence it being on top).

And on the inside:

The board size is 24x14mm(corners r3), and the inside area is 11x21mm(corners r2). The plan is to have the vias sit on the pads so after soldering the pushbuttons no hole is left and the board can be simply perimeter sealed to the camera body, ensuring it being waterproof. The board will also probably be conformally coated to prevent corrosion.

This will be the latching circuit, got it from EeVblog. I still have to select the particular components, but this should not be too difficult.

 

 

And now, some prototype beauty shots, because I can:

Some more details:

While making sure I had not forgotten anything important in the camera body files, I realized I had no reference point for aligning the gimball to be horizontal, nor a seal around the camera lens (I was kinda going to glue the camera to the ball with sealant, and be done with it, but that’s a bad idea).

So, I added a pair of horizon marks in the gimball front AND a sealing ring groove:

The camera will be held in place with tight foam and a very tight fitting o-ring, but an impact on the lens (wich do NOT protrude from the ball, so it would require to be a very direct hit) will send it inwards, protecting if from a possible lens break. Just dissasemble and pop out if nothing broke.


POWER

Remember what I mentioned before that this thing being batteryless was not totally true?

In the end, part of the job of this camera is to record in case of emergency/crash. When that happens, the possibilities that the magnetic power cord flies off are very high. and then you would totally miss the aftermath of whatever happened. It is then a good idea to have an emergency power unit inside the camera that can record at least 5 minutes after power is lost. I mean, how are you going to keep crashing for 5 straight minutes?

This brought me to a power supply conundrum that made my head hurt. The camera itself can accept a range of voltages from 5 to 20V, with current going from 600mA@5V to 160mA@12V (got no figures for consumption above that).

I could totally use a normal USB powerbank to drive it but a single lipo could not power the camera directly, so I wondered if modifying a powerbank to output 12V and having 2S LiPo in the camera was possible…but also a bit insane, to be honest. After much wondering and a bit of counsel, I found this tiny little board:

And at first I was going to use it as 5Vin-5Vout, but then I realized, the video board power consumption was not the same! @5V it’s about 3W, whereas @12V is 2W!, that’s a huge difference. So I ordered one that would output 12V. As for the LiPo power, I made a quick sketch to see what kind of space I had avaliable in the camera:

 

 

Bottom rectangle is the video board. Middle rectangle with some protrusions is the DC-DC board, and the rectangle at an angle is about the leftover space I could use to put a battery in there. Volume is about 20x6x32mm, wich is not a huge amount of space.

 

I tried hard to find a battery that would maximise the power I could fit in, but in the end I had to settle down with a meagre 180mAh micro Li-Po. Fun thing tho, when I made the rough calculations as to how much would that last, using a very convervative 80% efficient DC-DC, it gave about 14 minutes of runtime. Given I was aiming for 5 minutes, I am exctatic that it can double that recording time. (I prefer to take that number with a grain of salt and assume it is going to just not be as good, even with the 20% losses. Also, current consumption from the battery should be about 600mA, wich is a discharge of about 3.3C, not a level that should destroy the battery easily.

For details on the magnetic power supply connection, please, refer to this post.


FABRICATION

When building something like this, it’s not always straightforward what should be made in wich way.

When I was designing the camera, I kept telling myself that the shape should be manufacturable using conventional tools, and I kept looking at building the body in halves, so the pieces would be machinable from both sides. But as I continued working, I found myself distancing from that rapidly until I effectively stopped fighting the concept and embraced the truth. I wanted a monocoque body for the camera so it would be easier to seal, and I would need it 3D printed so it could have the shapes I wanted, instead of concessions for ease of manufacturability. It should not matter that much, in the end I’ll be making what, 1 to 5 of these? (various helmets, spares, occasional gift for a friend, tops).

So, I settled on having the body of the camera, frontal clamp/face and camera gimball, 3D printed in SLA resin. Luckily for me, I quickly found someone willing to print those for me at a reasonable price I could afford. The aluminium sideplate I can CNC machine at home with little trouble.

By now, some people might be wondering how is that camera supposed to be attached to the helmet. I did ponder for a while on making it attachable to a GoPro latch, but that would have increased the stickout of the camera by a noticeable margin, negating a good amount of the effort put in making it streamlined. I also considered designing a custom low profile mount, and evaluated a few different approaches, but in the end, I opted for the easiest route, attach the damn thing to the helmet directly. Here’s a list of reasons:

  • Single use: I only own one helmet, it’s not like I’m going to interchange the camera around.
  • Security: with direct attachment there are less points of failure.
  • Non commercial: This is for me, and there are no plans to release this as a product, so I can do whatever I want.

Also, embedded in the thoughts about manufacturing, I considered the effects of the camera during a crash. With a very resistant body and attachment system, you risk them snatching into something while crashing and hurting you more than otherwise not having those stickouts. So this camera is thought as a frangible element. In the event of a helmet collision where the camera is in the middle, the resin body will just shatter and be gone easily. If you crashed hard enough for the microSD card to be destroyed in the process, probably you have greater problems than saving the footage of the crash.

This is the end of part I.
Part II will feature the SLA printed body, control button circuit/PCB, sideplate-heatsink and internal power supply and drive, so, the finished camera, so to speak.

See ya!

Go to Part II