Inane Coding Go on, slap that wayward code

21Apr/170

20A Ideal Diode Circuit Board – v1.0

I've done a PCB (electronic circuit board) design for a 20A Ideal Diode circuit and thought I'd share it...

This performs the same function as a diode - only lets current through in one direction - but without the losses associated with a regular diode. It does this by using a controller IC to actively control two transistors based on the current operating conditions. This uses the LTC4359 controller IC by Linear Tech, and is essentially just the circuit they recommend in their datasheet.

This circuit is designed to pass up to 20A (>15A would require some sort of active cooling), at an input voltage of between 5V-60V. If you have an application using diodes, consider trying it out as it can reduce energy losses by >85%. I originally got the idea after helping someone with the electrical system for their widebeam 'narrowboat' and also thinking others with motorhomes, caravans or dozens of other projects which be able to use. This is the first v1.0 version so still requires some improvements and testing but works to a basic level.

The design is done using Kicad and is released open-source; see the github page. Here is the direct download link.

I've also added this design to the fantastic kitnic.it site - a catalogue of open-source hardware designs, with tools to make ordering the BOM (Bill of Materials) simple.

I will also be doing a v2.0 with some improvements (see the TODO.txt file on github), and then getting a small quantity of PCBs manufactured - let me know if you may be interested :)

Kevin

 

Share
Filed under: Uncategorized No Comments
3May/152

v2.0 Release of Piwik OpenCart Ecommerce VQmod

Version 2.0 of my Piwik OpenCart Ecommerce VQmod has just been released. I've tested compatibility with the latest OpenCart 2.0.2.0

Credit goes to Jozef Popiel ( https://github.com/Oseexperts) as he wrote most of the code changes for this release.

Enjoy!

This is now available to download. Remember to check out the mods github page.

2015/05/03
Provide compatibility for OC2.x , no longer supports OC1.x (jump to v2.0)
Update piwik proxy & piwiktracker file to latest

Note: This release and future main releases will be for OpenCart 2.x and will not work with OC1.x - however v1.1 of this mod is still available which supports OC 1.5.6.4 - future releases on the v1.x numbering will be done for any critical changes needed to maintain OC1.x compatibility.

As with the previous releases, the mod is now up on the opencart.com extension store.

As always please let me know your feedback!

If you do use this mod please consider donating. Thanks!

Kevin

Share
7Jan/150

OC 2.x compatibility on its way – Piwik OpenCart Ecommerce Mod

EDIT: v2.0 of the mod for OC2.0 has been released.

OC 2.x support is on its way!

OpenCart 2.0.0.0 was released on October 1, 2014 and made several changes to the way OpenCart and mods interact. This means mods for OC 2.x and those for the earlier OC 1.5.x aren't compatible. Shortly we will be releasing a new version of the mod which is compatible with the latest OC 2.x release - don't worry though, we'll keep offering the 1.5.x version of the mod for those that want it!

This is thanks to a brilliant contribution by Opensource Experts / Jozef Popiel who has coded and tested the modifications necessary for OC 2.x - his code is pending my merge into this mod & final testing before I release a new version. There's no timescale yet, but it should be shortly. If you can't wait and want to try it out before the finishing touches are done, you can see the code at https://github.com/InaneCoding/Piwik-OpenCart-Ecommerce-VQMod/pull/27

I'll post again once the next version is released. Happy new year all :)

Kevin

Share
25Jun/140

v1.1 Release of Piwik OpenCart Ecommerce VQmod

Version 1.1 of my Piwik OpenCart Ecommerce VQmod has just been released. This fixes some bugs, and I've tested compatibility with OpenCart 1.5.6.4.

Enjoy!

This is now available to download. Remember to check out the mods github page.

v1.1 - 2014/06/25
Fix error messages for undefined variables; checks GET values & other elements are set .
Fixed 'mod disabled' footer comment so not included in visible HTML (thanks github / glennw!).
Fixed minor error in Readme Install HTTP/HTTPS instructions.

As with the last release, the mod is now up on the opencart.com extension store.

As always please let me know your feedback!

If you do use this mod please consider donating. Thanks!

Kevin

Share
17Feb/148

v1.0 Release of Piwik OpenCart Ecommerce VQmod

Version 1.0 of my Piwik OpenCart Ecommerce VQmod has just been released. This fixes some bugs, adds the piwik search tracking feature (including counting the number of hits and giving a valuable report on the hits with zero results) and lots of other good stuff. Enjoy!

This is now available to download. Remember to check out the mods github page.

v1.0 - 2014/02/17
First version to be listed on opencart.com extension store (jump to v1.0).
Order tracking now called from success page (fixes issue with order attributed to payment processor).
Global enable/disable setting on admin page now implemented.
New search tracking feature!
Added checks; avoids some common admin settings errors and improves uninstall.
Other minor changes (see github for full commit list).

I will be listing this version of the mod on the operncart.com extension store in the coming days :) As always please let me know your feedback!

Share
2Jan/140

Piwik.org chooses InaneCoding ECommerce Opencart mod!

I'm honoured that my Piwik Opencart Ecommerce mod has now been linked from the official Piwik.org site as the mod of choice for integrating Piwik with Opencart. :))

http://piwik.org/integrate/#ecommerce-online-shops

Developments are underway for the next release, albeit slowly! I've been working on some bug fixes, improvements to the admin interface, and a new feature to add search tracking to the mod.

Share
16Sep/130

v0.4 Release of Piwik OpenCart Ecommerce VQmod

Version 0.4 of my Piwik OpenCart Ecommerce VQmod has just been finished. "WOOOO". This fixes a bug, adds a new feature, and also a small enhancement for those using custom themes. Enjoy!

This is now available to download. Remember to check out the mods github page.

v0.4 - 2013/09/16
Fixed bug 'HTTP_REFERRER' undefined index error.
Added option to use Piwik Proxy Hide Url script to obfuscate the URL in the javascript code.
Modified VQmod XML file so will now play nicely with custom themes.

 

Share
31Aug/130

Using Piwik OpenCart eCommerce mod with Mijoshop

I recently got a query from Chris Flanagan at Siteease about using my Piwik Opencart eCommerce VQmod with Mijoshop (3rd party shopping cart software based on OpenCart). It seemed an interesting problem so I dived in....

After much too-ing and fro-ing we got it to work - So Im here to pass on the knowledge to anyone who may want a Mijoshop Piwik Ecommerce analytics mod. Mid-way through Chris wrote a blog post with lots of useful info - http://blog.siteease.co.uk/opencart-joomla-mijoshop-piwik-analytics/  - however this is now slightly out of date, but he has pinky promised to write a follow-up! P.S. Dont follow the advice to manually insert the tracking code into the bottom of the page, this was just a mid-diagnosis quick-fix. Once the mod is working correctly it will insert the tracking code itself.

The end result is that you need to modify the 'piwik.xml' file that comes as part of my Piwik Opencart eCommerce VQmod. The modification is very simple and just requires you to replace the following on line 19;


<search position="before" offset="1"><![CDATA[</body>]]></search>

with;


<search position="before" offset="1"><![CDATA[</body>]]></search>

This makes sure the javascript code which is dynamically generated by my mod is correctly inserted into the Mijoshop footer. As Mijoshop has a slightly different footer template file this VQmod search term needs this minor modification.

Thats all there is to it!

 

 

Share