sunnuntai 18. lokakuuta 2020

Radio headphone teardown

These Philips wireless headphones - model SBC HC8545 specifically - were really nice - when they worked. I bought them maybe 2006 or 2007, and I remember using them quite a lot when our kid was small. Unfortunately they started acting up more and more - specifically headphones did not pick up then wireless signal until maybe after many on-off cycles - until later they just would no longer pick up the signal at all. Bummer, because they offered a lot of freedom and, unlike many headphones, were actually comfortable to wear even with glasses.

They have been sitting on my shelf for a long time now, and since I had some unexpected free time last week I decided to see what's inside.

Headphones had rechargeable batteries (two, AAA size, 1.2v 550 mAh NiMH) and they were charged when on the base station. 

Base has two screw on bottom, and after that top part comes loose - interesting design choice.

RF can has PCB in it, with seemingly just passives and few (likely) transistors in it. U5 at the right is EM78P156 - apparently simple microprocessor. I guess it controls charging, FM transmitter, status LEDs and maybe thing or other thigs. Wires you see at bottom go to charging contacts on top part.

I was looking for chip datecodes until I saw huge date stamp marking on it, placing manufacturing date to november 2006.

Unfortunately for me almost all built-to-price RF circuits are effectively black magic; I can work out how, say, spectrum analyzer RF front end works, as you can clearly see all chips and radio path involved, but these things where oscillators are built with just few passives and maybe a transistor are something I've never managed to grasp.

I thought that is might be possible that the problem might be transmitter or receiver frequency slowly crawling off the spec so receiver could no longer lock on to it.

Headphones opened up. It appears that other cup has mainly power and charging related parts (including batteries), and other has RF parts, and there is nothing tunable on RF side. Copper wire on lower right functions as antenna here. Under the RF cover is RS832U chip; I could not find any information about it. I don't think those blue ones (brown board) are related to RF stuff; brown board is connected to RF board with two pairs of wires, other being power and other audio.

This thing has been sitting on my shelf, unused, for close to ten years. But since I now had it open (previously I had opened only headphone part, finding no adjustments and given up) I thought I might as well try to adjust it, assuming it were the RF being out of tune.

My plan was: I use function generator to enter 1 kHz sine wave to one audio channel, and spectrum analyzer (with very narrow span and resolution bandwidth setting) to find RF carrier at specified frequency (helpfully frequencies - selectable, in case there are multiple devices operating at same area - are listed at bottom of base station) and try adjusting those yellow resistors on transmitter.

But guess what. When I try this, frequency seems to be spot on  (granted, considering that I do not have exact 10MHz reference for analyzer, this isn't exact science) and headphones lock on to signal immediately. 

This was with fresh non-rechargeable AAAs though. I switched back to rechargeable NiMHs (new ones, original ones were totally dead) and no more audio. Hmm. Curious. 

At this point I switched to adjustable desk power supply. Headphones would lock to signal at around 2.5v voltage level, and lose it below that. That's on a bit high side (considering NiMHs are 1.2v nominal), so I now focused to those blue adjustable pots on power board.

After a bit of experimentation I figured out that one very likely adjusts undervoltage sensitivity; I guess that under a specific voltage it cuts power completely from RF board. Other adjusts LED behavior, at which voltage it starts to flash. 

So, new plan: Set my desktop power supply to around 2.3v and start adjusting those two pots so that audio and LED drop out just below that voltage (1.15v being around 10% left on NiMH according to voltage curves, leaving a bit overhead). This turned out to be less than exact science, though, so eventually I ended up just tuning them to "works, plus some" level.

So, now I again have working headphones. If they last for year or so I consider this a big win.

A bit warning if you plan to do this yourself though: Although adjustment takes only a phillips-head screwdriver, those wires inside headphones are very fragile and are torn off the board very easily. Be very very careful with them if you choose to open your headphones up, as soldering them back can be challenging without proper tools.







perjantai 16. lokakuuta 2020

Email (not!)

Last evening, maybe around 20 or 21 clock, I checked my mail (mainly to get rid of spam, I try to not reply but to shortest and clearest messages on evenings) and tried to send a quick reply, which failed. Server had went down for whatever reason (probably server was already down by that time; laptop very likely had loaded those few messages on standby earlier on evening)

Now, some 16 hours later the email is still down.

You never realize how often you need something until it's gone - albeit this is but temporary problem, but nevertheless. 

"Good, new software build works, I'll just email the details [to a guy] for testing... awwdamnit"

"So I'll just open the mail which had device serial  numbers I need to...crap"

And so on. Over and over again today.

(side note; I absolutely hate Slack (which I only used briefly for a side project once, fortunately) and other similar online messenger type software for work; there is implicit requirement of responding right now which is really disturbing for my work flow)

Not a rant (above tangent aside). It's just a bummer not being able to do so many things due to old, but apparently all-so-critical tool being unavailable. 


keskiviikko 30. syyskuuta 2020

Crimp connectors


Crimped connectors are nice for production, but for hobbyist or even prototyping a real pain in the behind. While crimps and crimp housings are cheap, the tools to actually crimp them usual may cost several hundreds of euros easily. 

In this case I wanted to test a module which used Molex Micro-Fit type crimp, which I of course had not used before so I didn't have tools for it. Since I needed to make exactly one cable (to test that the cable drawing is correct before pushing it to production who have proper tools ready), I didn't feel like paying 150€ for tool I was going to need for just one connector.

Fortunately it is possible to "manually" crimp these by using suitable pliers. Place wire so that exposed part of wire is on inner contacts and insulation on outer and bend one side after other so that exposed wire is wrapped inside, and after that, bend outer contacts over insulation. Make sure that crimp contacts are properly wrapped around wire; if they point outwards, crimp will likely not fit in housing.


Here brown is ground that is in two places in connector, which is reason for ugly split there. And, again, this is one-off, for-quick-test-only cable so I didn't give a hoot about quality, only thing I was interested was whether designed connections are correct so that production can built it in volume without need of (expensive and annoying) rework afterwards.

You may want to also solder the wire to crimp too, to make sure that wire has proper contact. Only use just enough solder to make sure wire is soldered as a large solder glob will also prevent crimp insertion to housing. (above picture is taken before soldering)

A crimp made this way is way inferior to properly made crimp in just about every way, including but not limited to current handling capacity, mechanical reliability, aesthetics, and environmental reliability, so keep that in mind. 

This quick crimp job was nevertheless sufficient for me to test cabling (and yes, make corrections to drawing), and hopefully it will be useful for you too.




keskiviikko 19. elokuuta 2020

Testing new design

Whenever I design a new circuit, I order set of prototype boards (those 10 boards for 10 bucks or so services are really useful) and hand-assemble the first one testing it as I go. This means that I usually start from "outside" - power converters and thus are first parts so I can test them without risk of blowing up PITA-to-solder MCU due to bad output voltage, then proceeding inwards adding components. This is when I am building full board and not just testing specific parts of it separately, like building just MCU and parts it requires to see that JTAG works and MCU runs.

This is the main reason I don't use BGA packages - I don't have suitable tools to solder them, so I would have to order manufactured boards which can cost easily thousand or so for even small batch.

I just recently made a small new board which works as "glue" part for larger interoperating system, containing just power converter and needed connections to both directions. So as usual I built it up and tested it quickly. First attempt is success - I get correct output voltage from device so I am happy. But then it was time to go home for the day.

On morning I arrive and fire up my BK Precision 8540 electric load. As a side note, this kind of load is incredibly useful if you even semi-routinely design power supply parts. No more fiddling with resistors or lamps as load, I can actually properly test the damn thing so very easily on various voltages and loads!

For this design I used a buck converter chip I haven't used before as I needed more output current as usual, meaning this is "all new design" (well, as new as basic buck converter can be) so I start easy. 50 milliamp load? Ok. 100mA? Still ok. Up to 300mA ... and regulation just falls completely apart. And this is design that is supposed to handle up to 2A loads. Fsck.

I start probing the circuit, trying to figure out what is wrong. Bad inductor? It was quite small one, just 1.5uH, which I though to be too small for rated current, so switch 10uH one in. Issue continues. Diode? Feedback? All good. Damn it.

Finally - after hour or so - I remember to the check power supply. Which is set to 13v, but limited to just 100mA or so. Just like I always do on first try - if I expect new board to consume specific amount of current, I set the first try limit to just above that to make sure nothing blows up if there is for example short somewhere. I happily managed to forget this limit over night.

Now up goes the current limit and what do you know, now the boards works just fine up to 2.5 amps output current, well past rated maximum output (I upped inductor to 3.3uH from original, though, as tests told me that it gives better overall efficiency than originally calculated one. Might try 4.7uH if I had one to test it with.)  

That is, until converter chip gets to 130+ degrees C and starts cutting power output. This was not unexpected either, since this chip has thermal pad on bottom which is PITA to solder (read: it very likely isn't soldered at all) so thermals aren't as good as they would be on properly manufactured board. Unfortunately that isn't something I can check until I get first batch of said properly manufactured boards, so that will be the next step.



keskiviikko 1. heinäkuuta 2020

Different kinds of holiday travelers

Travel-related stuff follows.

Some ten years ago I was on a package tour in Sri Lanka, in a hotel that catered primarily for all inclusive tourists. We were there mostly because at the time the selection available via our local travel agency was severely limited, I might have otherwise chosen somewhat different hotel.

This was two-week trip. As usual, we went out just about every day to see what's around us, and for lunch and dinner at some nearby restaurant - breakfast we had in hotel. We did also book some local tour trips, especially one single-day animal-sighting tour to jungles at the center of the island. And damn, those leeches there were something else! But I digress there..

After a week, halfway through the trip we had group trip to southern part of island. What was exactly visited is not important, but part of that trip was lunch at local restaurant there. A couple next to us though that food was too hot - to me it was kinda bland, and guide confirmed this, they had especially made extra mild portions for our group. I don't blame this couple, not everyone likes their food hot, but I started discussing with them of other things, and found out that they had not left the hotel - not even once! - during that entire week. They were just there enjoying their all inclusive catering.

For me this is absolutely baffling. I could not imagine staying in a hotel for week or two, as for me sightseeing - on our own, that is - and eating out is essential part of the travel. And part of the latter is to just walk around, looking for a nice restaurant where to eat this time. Preferably different each time.

This is how we have always traveled. Before kids, and even with small kids. They follow along, in stroller when small, and we bring their food (if they can't eat "normal" food) with us. After growing a bit they follow on foot. We have never had any problems there. Yes, kids are too tired sometimes and I have to carry them back to hotel, but that's just normal.

Some other people I know on the other hand prefer all inclusive traveling with kids. Hotel absolutely must be 'all inclusive' kind and they rarely, if ever, go restaurant outside hotel to eat or do anything else either. "Too difficult" they say, but as far as I know, they have never even tried. But that's okay, it's not my problem. It's just weird to me, to me these people are missing half of the travel experience!

Of course there are not two exclusive types. Some like to rent a room/condo/apartment and even cook themselves. And that's perfectly okay too. To each their own.

I am a bit bothered though because these days it seems that at some locations you can't even get anything but all inclusive-type places (when going through agency, wife isn't too excited with idea of doing arrangements ourselves.) This itself isn't an issue, but often these are located far away from towns, locations where there is nothing but other all inclusive places nearby. So nothing to go to. I once accidentally booked a trip at such a hotel once, so we had to get all inclusive at the location, which was a bit of a bummer.

What kind of traveler are you?


keskiviikko 24. kesäkuuta 2020

ATV Electronic conversion: Final part (part 2)


Previously in the story, I had finished winter-long update of cheap Chinese kids' ATV whose 2-stroke engine gave up way too soon to electric one, and then kid overloaded and burned out electric motor in less than 20 minutes of driving.

So I ordered a few more parts. I got new motor, 300 watt one now (previous 350 watts) to lessen load to battery a bit, and larger (104-tooth IIRC) rear sprocket to replace previous one, to bring gearing down even further (and to reduce load to motor, also upping drive torque a bit).

Sprocket was more challenging to change, as compatible sprockets with three-point attachment at radius I needed wasn't available in larger sizes. In the end, I just driller holes to old sprocket (original one, for different chain) and bolted that together with new one. This moved chain line a bit, but adding a spacer to motor sprocket fixed this.

Replacing motor was also simple, take old out, new in. This time I however added a thermal fuse in between motor and controller and zip-tied it against motor housing. Thermal fuses are handy as they permanently blow out when temperature rises too high, protecting the motor from overheating. Of course I used handily available Abiko connectors for that so it can be easily changed (also, soldering thermal fuse to a wire is very, very difficult; heat from soldering iron will blow it very easily!).

And now we're rolling again. Thermal fuse blew relatively soon (30 min or so), but that's okay; I used fairly conservative (low) temperature value at first. And it's easy to change so I think we're good to go now.

Now, for next iteration (if I were to make one, I'm not planning to anytime soon!) I'd look for more powerful engine; 500w 48v or something like that, and try to work out gearing so that top speed would be about the same (20 km/h). This would hopefully make the load on engine lower, allowing driving in more difficult terrain.

I did dream about converting a motorbike, something old 250-500cc bike like Suzuki GS500 to electric, but based on my calculations I'd need about 10kW of power to have nice "city-bike" with top speed of around 100km/h. I'd be okay with that power figure, but such motors, along with suitable battery packs for it, are just impossible to get here, so guess I'll be buying a ready-made bike sometime in the future - when they start bringing those here, that is.

tiistai 2. kesäkuuta 2020

Vacation that won't be


I've said this before, but American (as in US of A) work culture never ceased to puzzle me. Culture appears to worship working, with expense of everything else. So many people work long hours, take no vacation and come in work when sick. I get that often it's about fear of losing the work for not being "busy enough", but really, such attitude is self-defeating.

It's well known that humans can't just work and work without losing efficiency. Working long hours seems productive, but with absolutely no exception, at some point the productivity will fall of sharply. If you don't have sufficient time to rest, productivity will plummet. Eventually you are only occupying a seat while producing even less than theoretical someone that work for four hours a day, four days a week schedule.


And then there is vacation. Some even seem to take a pride of never taking one - or they just fear being left behind. Like the work hours, this will backfire eventually. We aren't robots, we're not wired for working so much. A good vacation - week minimum, preferably two, without any work - will reset your brain and make you much, much more productive afterwards.


I have a small business, and because of it I can very rarely be fully away from work for longer time. I have unofficial personal policy of never bringing laptop with me when on vacation to force myself to keep away from work. I still have phone with me to answer calls, and email on phone, but I purposefully use very minimalistic email client to make using it as painful as possible to keep myself away from it, aside for things that just need to be addressed immediately.


It also helps that I have somehow managed to train my mind to drop trivial phone calls from my mind immediately. A customer may call to ask for something, I answer, and just minutes after the call wife can ask who was it and about what. And I have no recollection of that call. It was not something that I need to remember so I don't.

This makes vacations to work very well for resting. I usually bring a tablet (no email or work there, just games), loads of books and just relax. Swim, read, eat, drink, sleep. It works miracles.



All this is came painfully obvious to me just now, as first time in 15 or so years we aren't taking a vacation at Mediterranean or elsewhere further away. Partly because of Covid, partly for other reasons, but either way we aren't going. That appears to bother me way more than it should, and I came to realize that I always look forward of that week or two of just being away, relaxing. It just seems so impossible to do "back at home".

All the photos here are taken by me during our travels (from top: Söll, Austria; Dubrovnic, Croatia; Rethymnon, Crete/Greece; Angkor Wat, Siem Reap, Cambodia) . At least I can browse them and dream of relaxing vacations on upcoming years... (and yes, I also do very painfully realize the environmental costs involved...)




tiistai 26. toukokuuta 2020

TV repair


We've had Samsung LE37M86BC LCD full-HD TV for more than 10 years now, and it has served us surprisingly well. If things had gone as originally planned, it would be obsolete already as DVB-T transmissions were supposed to be replaced with DVB-T2 (which this TV doesn't support) few months ago now, but there was some serious disagreements between companies doing the signal transmissions and that was postponed - so far indefinitely.

At the moment this was already serving as secondary TV, as we got a new one as our primary TV, but since this is still used, I was not happy when it lost TV signal and started rebooting itself every 30 seconds or so just recently. HDMI still worked - except for 10 seconds every 30 or so when it was rebooting. Not exactly fun to watch.

Due to its age the first assumption obviously was capacitors so I brought it to work and opened it up. This thing is built to be surprisingly maintainable, which was nice.


There are two main PCBs there (lower middle and right here), and two more under metal sheets (left and upper middle). Latter ones are very likely both LCD and backlight drivers so nothing too interesting there.

Date codes of components put manufacturing date to late 2007 or early 2008, we I'd guess age of this TV would be some 12 years, with quite active use. Pretty good, considering how badly electronics typically seems to age these days.


Immediately I noticed this capacitor that was obviously goner, at upper right corner of the power supply board. This was to be replaced.

Note on thermal management here. This TV is passively cooled, with cold air coming in from bottom, passing above there boards and coming out from top. Whoever designed this power board did otherwise nice job with layout but this specific capacitor is right next to heat sink and airflow is effectively blocked with those two large inductors. Note that other caps are near heat sink too, but at least they have some air flow going, and they weren't showing bad aging so far (even when measuring voltages)

So I replaced this one (1000u 35v 105 degrees C) with one I happened to have handy (reserved for some other repair, I think, I don't keep this type of caps typically handy). Unfortunately this wasn't enough to fix the TV.

Time to focus on main PCB. Since none of those caps showed obvious signs of pending rupture (unfortunately common with SMD caps, it seems), I went with next plan - measure the voltages. With one hand very strictly behind my back - the powered-up power board is uncomfortably near to main board I was trying to probe.

Nothing immediately obvious showed up, but one capacitor was kinda suspicious - its voltage read at 1.3 volts. It might be okay, but my hunch said it wasn't - that seemed to be way too low for typical electronics. But I also noticed few capacitors underneath that large metal shield next to card slot that might be bad too.

That shield needed to come out.  Unfortunately it was soldered in. Fortunately the solder was very, very easy to pull out. Way too easily for it to be unleaded solder, in my opinion. Slightly suspicious... But hey, don't look in the mouth of gift horse; the shield might have as well had been a real PITA to pull off!

The metal shield apparently functions as combined heat sink and EMI shielding, as main application processor and (I guess) display processor were underneath, as well as two more large capacitors. Voltages of these were okay but showed some ripple, so I chose to replace them too (due to their location underneath the shield - likely very hot location), along with the one I found suspicious before. They are marked red in picture below, and shield location is highlighted with blue here.


If that shield was easy to take off, these things were completely the opposite. Even with two soldering irons set to 370 C they stubbornly refused to come off easily. Hot air wasn't an option due to nearby other components - those would come off first and I absolutely, positively didn't want that. Eventually they gave and I managed to lift them off without damaging copper underneath.

Solder in new caps (all were 1000u 10v, a type which I do keep handy) and TV is working again. The two under the shield still show same ripple, but at least they're fresh now. And voltage of last one - the one that read 1.3v or so before - rose to more correct sounding 1.8v. I think that was the main culprit here.

All together this took me some hour or two of active work and several more waiting (while doing other things) to see what TV does after changes. I'd say this was well worth the effort - with this the TV will likely serve us for several more years, and by then the DVB-T2 situation might be clarified so we can re-evaluate whether this thing is past its prime or still able to serve as media display still.


keskiviikko 13. toukokuuta 2020

ATV electric conversion: final part (or not)

This project has been on hold for a while, mainly due to me being incredibly busy with other things. But finally I found time to put this together and test it. But not without one final modification which I a bit dreaded from get go.

The rear sprocket I originally had had 54 teeth, and combined with motor's 11 teeth this gives relatively low down gearing. I feared that this might cause issues getting the ATV moving as motor might not be able to generate enough torque to get moving.

It certainly wasn't powerful enough to move me, even on perfectly flat terrain, but with kid's weight this wasn't too bad an issue (as we tested outside) but I wasn't too happy with it either. This ratio also gave me theoretical maximum speed of 30 km/h, which I deemed a bit too fast for comfort, even if it could not realistically be reached in real world.

So I ordered new chain and rear sprocket, this time with 68 teeth. This dropped max speed to 20-ish km/h (according to my notes, it's been a while since doing the calculations) and gave nice boost to zero-speed torque. It isn't exactly powerhouse still but it should move nicely in slightly uneven terrain too.

Time for test drive!


Well, it worked. For a while. Then, as battery was getting near-empty, kid tried to drive on upward slope on wet-ish mud, overloading the engine and eventually burning it out. So my fears about gear ratio were completely justified, but mitigation with larger rear sprocket was not enough.

Back to the drawing board.



lauantai 18. huhtikuuta 2020

Finding extremely rarely occuring bugs


Sometimes I get reports of issues that I just don't seem to be able to replicate in my office. These can vary from mild inconveniences to fatal corruption issues. Either way, I still at least try to figure out what is going on. It is not uncommon that these happen just to very few people, and with very long time in between. And of course report usually has very few details to use as starting point.

Sometimes the issues may be of external origin - supply voltage fluctuations, EM fields and what not - but they can also be very subtle bugs too. Or in worst case combination of both, bug triggered by some outside influence. It's just that rarity makes them very, very difficult to track down.

Over time I've developed a process I often use to find these bugs in my embedded devices. Note that these steps require that you either can write custom software for the system and that the system allows you at least monitor it from outside (debug prints are sufficient), or have sufficient access to system via JTAG or other such means.
  1. First, figure out how you can determine the problem "from inside" - so either device software or JTAG debugger can detect the issue and react (for example stop) on it. This may involve adding data checksums, code flow tracing (such as "if current state is XYZ and previous was HGR, we have issue here") or other such means. If the problem is system crash, system like I described before might help.
  2. Problems usually don't happen when device is just idling, so you may also need to implement a way for the system to run itself in a loop to shake out the problem. This obviously is highly device- and problem-dependent process so not much can be said about that in your specific problem case.
  3. Sprinkle your code liberally with traces (like debug outs) to allow you to see what was and is going on when system runs. If you can take an educated guess on where to focus, all the better.
  4. Run system until you run onto the issue. Sometimes code from (2) may need refining if it isn't triggering the issue. Either way, this may take a few iterations of refining.
  5. Now the hard part. Based on prints from (3), see what was going on before the issue. If you happen to have really good hardware emulator that can show you the exact instruction history system ran - the code path - this might be a breeze. I don't have one (and I don't like using embedded debuggers anyway) so I use debug prints.
  6. Based on (3) and (5), refine your traces so that they tell you more what was going on. Add traces to promising locations, remove ones that don't appear helpful. Then repeat from (4).
  7. Eventually you should be able to lock onto the main issue and fix it.
This is obviously highly time-consuming process. Adding needed helper routines alone takes a while, and depending on issue each run may take from hours to days. And then the refining and repeated attempts. All this is interrupting, or interrupted by, all the other work that needs also be done in parallel - you don't generally want this to be main focus of anyone due to sheet time scale involved. Unless this is some highly critical issue you want fixed right now.

Some time ago I finished locating one issue like this and it took me three days - mainly because I had very good start guess to work with so I was able to focus on most likely code first and make code of (2) do exactly right things on the first attempt. Often I am too busy to allocate this much time for this kind of issues, but guess this entire Covid-19 situation is kinda mixed blessing in this sense - without all the typical office work, working at home while also taking care of kids' homeschooling and all that leaves me just enough time to work with this kind of issues, especially since this is the exact type of process that doesn't suffer from being interrupted - system happily keeps trying to hang itself while I walk away from it.



lauantai 8. helmikuuta 2020

More time for thinking


Place I live in, Oulu, is somewhat far from the most populated areas of Finland, and therefore from most of the clients. Helsinki, the capital, or about 600 km away by car and about 6 hours by train. Either way is less than convenient. There is also flying, which actually works well for day trips but I'd rather lower my co2 figures than raise them.

Next major town, Jyväskylä (if going towards Helsinki) or about 350km or 4 hours away by car, and I find myself driving that road quite often. Some time ago I took my first longer road trip - 1300km total in two days - with my Kona Electric, and despite it being relatively cold (-5 to -20 C), there weren't any major issues with it. Granted, shortened battery range makes forced me to have some less than perfectly places stops on the way, and I was back home with just 30km range remaining (last charging point I used being just over 200km away), but still it is far less difficult than gasoline-enthusiasts claim. But all that is not what I'm trying to write about here now.

I've driven enough so that the highway driving is mostly happens on autopilot now (on light traffic and normal weather conditions, obviously more demanding conditions require more attention).

I've written before about giving your mind some time to work. I find that driving also gives my mind a break. Not as well as walking, I can't "zone out" completely since road obviously requires some attention all the time, but still the "background processing" I spoke about can take over. Unfortunately there's usually only so many things to ponder and road ends up being much, much longer than I'd need for such processing, but, well, you can't win all the time.

During this latest trip I was also thinking about self-driving cars. While this car has lane keeper assists and such, they are long, long way from system I'd consider trustworthy. Especially since snow covers lane markings so car doesn't really know of those any more. But assuming there were full self-driving capability so I wouldn't have to even pay attention. Would it be possible to let my mind relax well enough for that background processing to occur? I suspect not.

Does it make any difference, though, is another matter. Maybe it really doesn't.

Just thinking aloud here.

tiistai 21. tammikuuta 2020

ATV electric conversion part 4: Starting assembly


Continuing from previous part 1, part 2 and part 3.

After some consideration I ended up building simple L-shaped frame from rectangular pipe for the motor and welding it directly to the swing arm. In addition of being easier to build and weld, it also has the benefit of moving with the swing so chain stays about the same length all the time.

I'm not exactly proud of the welds itself (complete beginner), but  I am confident enough that they hold. Here is the swing arm shown from top.

And from bottom after few layers of paint and motor attached. One corner of motor point is not connected but I expect it to be just fine.

Chain was slightly long so I had to shorten it a bit. It didn't have master link so I had to take two pins out (with bench vice, few small nails and hammer) and pinning it back together. The rear part of swing arm is adjustable so tightening chain was easy enough; just loosen few bolts, adjust, then tighten again.


Moving on to final assembly. Here I just quickly replaced swing arm to check on how other parts could be positioned, without spring/dampener so it's not riding correctly yet.


I have absolutely no idea on how waterproof the electrics exactly aren't, but considering that they are built for this kind of use (scooter, ATV, bike etc) I'd expect them to have at least some resistance to waters. Either way, I am planning on adding some kind of plastic sheet there to at least guard them against smaller splashes they will encounter.

I wouldn't want to place controller in enclosed area due to thermal reasons (air cooling), so I was considering just hanging it (silvery box in picture) approximately there from engine mount from old gasoline engine. Here it's just hanging by a wire to illustrate the idea, I was planning on mounting it horizontally.
Battery might as well be at bottom there (or maybe a bit higher, under the bench) with simple mount to allow easy removal for periods when vehicle isn't used.

More about exact placement in next part.






perjantai 3. tammikuuta 2020

Around the world, and nothing truthful is on.


There once was a dream.

The dream was that the Internet, with capital I, would bring the world together in unity, to cross all political, religious and other gaps and make our world, in a lack of better word, whole.

Unfortunately this didn't happen. Exactly the opposite did. The world is, if possible, more divided than it ever has been.

These days everyone, and I do mean everyone, including myself, is firmly dug in their own little foxhole of opinion, and they won't even hear anything else. And this is all because of the internet as we know it.

The original dream was (I think, with my entrenched opinion) that since everyone could connect with everyone, there would be lot of cross-cultural and cross-political dialogue, bringing people together. After all, this had happened before, under more physical circumstances. Trade between neighbors brings the world together like nothing else.

That didn't happen on the internet. What did happen, instead, is that internet allowed people to find peers, other people that think alike and dig in with them, blasting out their own version of Ride of the Valkyries so that no dissenting voices could be heard, and actually actively closing themselves out from hearing anything not in line with their opinions. People all over the world did this very same thing with their own peer groups, often without even realizing it, and the result is what we have now. World divided.

There are, of course, people who love this division, thrive in it and even actively work to encourage it. Divide et impera - divide and conquer. Make people hate each other so they don't notice what you are doing to them. Some people of course are true believers, but these days it seems that the huge majority of active - that is, most often posting and most vocal - people are fake. Imaginary people, made up by someone just to further the division.

The main service providers in internet - and this with absolutely no exceptions includes every single large-scale service operator you might know or have heard of - are actively contributing to this problem by implementing services and policies that allow and even encourage this behavior. The rich and the politicians have their own goals and since this benefits them, too, by distracting people from nefarious stuff they are doing, so they, too, encourage it.

As I write of this, another huge distraction appears to be nearing flash point at middle east while huge chunk Australia is burning with temperatures reaching all time records.

I often try to think up some hope when discussing this kind of current topics, but alas, this time I see none. Too many people have too much to gain from the current situation, either by allowing them to live in denial or by allowing them to profit from said denial, so I can't see anything changing anytime soon.


So in meantime, here's a puppy enjoying a summer day at a lake.