nicegear blog http://nicegear.nz/blog/feed/ 2017-11-22T03:23:25.769947Z nicegear [email protected] The nicegear blog feed http://nicegear.nz/favicon.ico http://nicegear.nz/static/nicegear_feed.png nimble - based on Werkzeug/Python New nicegear website launched http://nicegear.nz/blog/new-nicegear-website-launched/ 2017-11-22T03:23:20.917754Z 2008-07-15T05:14:49.302551Z Hadley Rich <p>After some furious in-house development we're happy to launch our new website. We had a lot of positive comments from our old site, and a few comments on how we could make things even better. We took these on board and tried to address them with this new site.</p> <p>We spent most of our time streamlining the existing functionality that we had with the old site, we've also added some new features too. Obviously we have added this blog so we can keep you up to date on what's happening with us.</p> <p>Some of the other features; You can now tag products (and of course <a href="/tags/"> browse by tag</a>). You can add your comments on products (let us know what you think of them - good or bad), along those lines you can also add ratings to products. The more people who use these systems the better they'll work for everyone so please do feel free to go click/type away!</p> <p>We've made it easier for you to get through the checkout process by making you enter less details and providing you with more information during the whole process.</p> <p>There's also a lot of details you won't see, we've spent a considerable amount of time developing our backend systems to streamline the ordering and shipping process. This allows us keep our administration costs down while we expand to cope with increasing demand. By us keeping our administration costs down it means you continue to get the cheapest prices.</p> <p>Let us know what you think, either using the <a href="#comment">comment section below </a> or <a href="/contact/">our usual contact details</a>. The new site framework makes it quite easy for us to add new features we will be introducing more in the near future. If you have any suggestions or requests do feel free to let us know.</p> <p>For those who are interested in the gory details of how the nicegear site works...</p> <p>Obviously being strong believers in open source software we've based our site on <a href="http://en.wikipedia.org/wiki/Open_source">open source technologies</a>. Doing so has allowed us to achieve a high level of functionality in a short amount of time. It's also allowed us to contribute patches back to the projects where we find that something is either missing or broken for what we need to do.</p> <p>First things first, the site is developed in <a href="http://python.org">Python</a>, a flexible language that's great for web development (amongst other things). There's a bunch of Python modules we use to speed up development; <a href="http://werkzeug.pocoo.org"> Werkzeug</a>, a library handling requests and routing etc., <a href="http://jinja.pocoo.org">Jinja</a> for templating, <a href="http://www.sqlalchemy.org"> SQLAlchemy</a>, the well known database access and ORM, and finally <a href="http://dev.simplecodes.com/projects/wtforms">WTForms</a>, a new form handling library.</p> <p>For powering the site search we're using the excellent <a href="http://xapian.org/"> Xapian Search Engine Library</a> with it's bundled Python bindings.</p> <p>All of these technologies are hosted on an <a href="http://www.ubuntu.com">Ubuntu Linux</a> server which runs the <a href="http://www.apache.org">Apache2</a> webserver with the <a href="http://www.modwsgi.org">mod_wsgi</a> Python module. The database backend is driven by <a href="http://www.postgresql.org/">PostgreSQL</a>.</p> <p>On the client side of things, the <a href="http://jquery.com">jQuery JavaScript library</a> and various plugins allowing for faster tidier development.</p> <p>We're also looking at releasing the source code for the shop platform that we've built at some stage. Since there's a bit of work involved extracting a generic platform from the nicegear site it may take some time for this to come to fruition.</p> <p>I do hope people find the new site easy and fun to use, if you've got any comments please feel free to leave them below. All the best - Hadley Rich and the nicegear team.</p> New Zealand Dialplan for snom phones http://nicegear.nz/blog/new-zealand-dialplan-for-snom-phones/ 2017-11-22T03:23:20.963613Z 2008-07-25T22:54:04.166696Z Hadley Rich <p>There are a couple of benefits to using a dialplan on your IP phone, one of the main ones being that it allows the phone to know when you're finished dialing so it can put your call through without a delay or the need to push an extra button.</p> <p>The <a href="/">snom desktop phones</a> (<a href="/ip-phones/snom-300/">snom 300</a>, <a href="/ip-phones/snom-320/">snom 320</a>, <a href="/ip-phones/snom-360/">snom 360</a>, <a href="/ip-phones/snom-370/">snom 370</a>) support a powerful regular expression based dialplan.</p> <p>This post shows you how to build a dialplan to handle most of the numbers in the New Zealand numbering scheme. So lets get started.</p> <p>First off we'll handle local and national numbers, this will work for the whole country. <pre>!^([2-9][0-9]{6})$!\1@\d!d !^(0[34679][2-9]{1}[0-9]{6})$!\1@\d!d</pre> </p> <p> Next up is free calling (0800, 0508) and subscription (0900) services. <pre>!^((0800|0508)[0-9]{6})$!\1@\d!d !^(0900[0-9]{5})$!\1@\d!d</pre> </p> <p> Starting to get a little more complex now is Vodafone. There are a couple of oddities to their number which require a few rules. <pre>!^(02102[0-9]{6})$!\1@\d!d !^(021[346789][0-9]{5})$!\1@\d!d !^(0210[^2][0-9]{5})$!\1@\d!d !^(021[^0][0-9]{6})$!\1@\d!d</pre> The last two entries here could be simplified into one if the phone supported negative lookaheads, which it appears it doesn't. </p> <p>This will handle 2Talk VoIP mobile numbers. <pre>!^(02889[0-9]{4})$!\1@\d!d</pre> and all other mobile numbers can be caught with the following <pre>!^(02[479][0-9]{7})$!\1@\d!d</pre> </p> <p>If you happen to use the paging service this pattern will catch that The paging service is a mixture of 6 and 7 digits long; <pre>!^(0261[0-9]{5})$!\1@\d!d !^(0262[0-9]{6})$!\1@\d!d</pre> </p> <p> Here's the final dialplan in a format ready to be pasted into the "Dial-Plan String" field on your snom phone. This can be found in the web interface under "Identity 1" (where 1 is the identity you're using) in the SIP tab. <pre> !^([2-9][0-9]{6})$!\1@\d!d !^(0[34679][2-9]{1}[0-9]{6})$!\1@\d!d !^(1[0-9]{2})$!\1@\d!d !^((0800|0508)[0-9]{6})$!\1@\d!d !^(0900[0-9]{5})$!\1@\d!d !^(02102[0-9]{6})$!\1@\d!d !^(021[346789][0-9]{5})$!\1@\d!d !^(02889[0-9]{4})$!\1@\d!d !^(02[46789][0-9]{7})$!\1@\d!d !^(0261[0-9]{5})$!\1@\d!d !^(0262[0-9]{6})$!\1@\d!d !^(0210[^2][0-9]{5})$!\1@\d!d !^(021[^0][0-9]{6})$!\1@\d!d </pre> </p> <p>There's a couple of cases that we don't handle here; one is International numbers, these are a variable length and we can't really tell when they're finished being dialed. The other is some short service codes such as 018 etc. All this means is that you'll have to push the OK/tick button to initiate the dial.</p> <p>Questions, criticisms, comments and suggestions are most welcome in the comments section below.</p> <p>UPDATE: I forgot to mention the service/emergency codes which is included in the full dialplan above which is <pre>!^(1[0-9]{2})$!\1@\d!d</pre></p> Why should I use VoIP? http://nicegear.nz/blog/why-should-i-use-voip/ 2017-11-22T03:23:21.010418Z 2008-09-19T02:48:46.817741Z Hadley Rich <p>We get a large number of calls from people with questions such as "Why would I use VoIP?" or "What are the advantages of VoIP?" so I thought I'd make a short post answering some of these. I'll also cover another common one, "What is the quality of VoIP like?"</p> <p>Firstly lets's talk about who can benefit from using VoIP technology. Pretty much everyone can in some capacity; <ul> <li>If you have a home with teenagers who like to talk on the phone a lot you might like a second line (or third!) line to stop people hearing the busy tone when they call. It's better than call waiting as you'll actually know when someone calls and be able to talk to them there and then.</li> <li>If you're a SOHO (home office) or telecommute then you may benefit from having all your business calls separate to your home calls. This solves that old problem of people calling in expecting a business and getting one of the family answering the call.</li> <li>If you're a small or medium business then you will be able to increase the amount of incoming/outgoing lines to your office at a very reasonable price. You'll also likely save a substantial amount on calls.</li> <li>If you're a business with multiple locations around the country (or world) then you will be able to save a substantial amount off not only your normal calls but calls between offices will likely be free of charge.</li> <li>A contracting business such as building with mobile workers will be able to save money on calls to it's mobile workforce.</li> </ul> </p> <p>Let's mention VoIP providers briefly. These are the guys that offer you a phone service to go with your VoIP phone, much like Telecom offer you a traditional phone service. A couple of years ago there weren't many VoIP providers in New Zealand to choose from and the quality may have been less than ideal. These days there are a bunch to choose from and the quality is superb.</p> <p>For an example we will pick on <a href="https://www.2talk.co.nz/signup/referral.html?code=nicetech">2Talk</a> (we use 2Talk for our calling here at nicegear). 2Talk has a range of plans on their website, from a no-monthly-cost plan up to larger business plans. Their entry level monthly plan (2Talk 500) offers two lines, two incoming numbers in your area (pretty much all areas of the country are covered these days), 500 included minutes to anywhere in New Zealand and most countries around the world, 5c per minute after that and 25c per minute calling to New Zealand mobiles. Along with that all their plans support a huge number of features; Voice mail (with emailed messages), call waiting, call forwarding, caller ID, call transfer, locate me (rings multiple phones simultaneously), call recording, etc. etc.</p> <p>2Talk is just one provider that you can choose from these days, I've discussed them here as we use them for our calls here and know their service a little.</p> <p>This brings me to the quality issue; "What is the quality of VoIP like?". In a sentence, it's as good or better than your normal phone line. If one end of the call is a normal old style telephone connection then it's going to be the same quality as it always was. The reason I say it can be better is if you're calling a friend who is also on VoIP the connection could be digital all the way, in these cases the quality can actually be better than you're used to. If you'd like to test the quality feel free to give us a call (03 974 9011) and see for yourself.</p> <p>For most people the cost savings and features that you get out of the box are the main interests of VoIP, although, there are many other advantages for advanced users too such as incoming numbers in multiple areas all coming to your phone, being able to answer your phone from anywhere there's an Internet connection etc.</p> <p>Of course since we sell hardware I'll pop a couple of links here :) If you're interested in getting started with VoIP here's a couple of quick suggestions (I'll cover this more in depth in another post). The <a href="/analog-telephone-adaptors/linksys-pap2t/">Linksys PAP2T</a> analog telephone adapter allows you to connect up to a VoIP provider and plug your normal old phone in to make calls. The <a href="/ip-phones/snom-300/">snom 300</a> or <a href="/ip-phones/linksys-spa922/">Linksys SPA922</a> will plug directly into your broadband router and allow you to make calls (they also have more advanced features like transfer buttons etc.).</p> <p>Dealing with VoIP on a daily basis has the side effect of making me overlook some of the most obvious and useful features it offers so I'm sure I've missed something. If you think of something I've missed or have a question that isn't covered then by all means leave a comment below.</p> <p>All the best - hads</p> Technotrend Supply Issues http://nicegear.nz/blog/technotrend-supply-issues/ 2017-11-22T03:23:21.068496Z 2009-02-11T22:32:36.279587Z Hadley Rich <p>Unfortunately our suppliers have informed us that Technotrend is having trouble supplying their <a href="/dvb-cards/">DVB cards</a> at the moment. They are unsure whether or when this problem will be rectified.</p> <p>This means that the Technotrend S-1401 DVB card, which has been extremely popular with MythTV users isn't available any longer.</p> <p>We're currently trying to find a replacement card which has the same great Linux compatibility and low cost. I'll let you know what we come up with.</p> Arduino Mega Coming Soon http://nicegear.nz/blog/arduino-mega-coming-soon/ 2017-11-22T03:23:21.113087Z 2009-03-17T20:25:25.058429Z Hadley Rich <img src="http://img216.imageshack.us/img216/9484/tmpphpy6oude.jpg" alt="Arduino Mega" /> <p>The new <strong>Arduino Mega</strong> which uses the ATMEGA1280 micro-controller and has many more inputs and outputs than your average Arduino has been leaked.</p> <p>You'll see a picture of it above showing the size, it sports the following features;</p> <ul> <li>128KB of Flash</li> <li>4KB RAM</li> <li>4KB EEPROM</li> <li>53 IO</li> <li>4 HW UARTs</li> <li>14 PWMs</li> <li>I2C bus</li> <li>16 Analog Input pins</li> </ul> <p>Sounds fantastic for those bigger projects.</p> <p>nicegear will have stock of the Arduino Mega when it's publicly released and available for sale.</p> Where did the Linux netbooks go? http://nicegear.nz/blog/where-did-the-linux-netbooks-go/ 2017-11-22T03:23:21.156893Z 2009-05-06T10:29:24.688594Z Hadley Rich <p>We've sold Linux netbooks in the past - Linux netbooks were what started the whole craze to begin with. Unfortunately it seems that they just aren't available from the official distributors in New Zealand any longer (as much as they were to begin with). It's now down to their aging overweight cousins, the Windows XP netbook.</p> <p>Originally we had access to limited models of the Asus Eee and the Acer Aspire One with Linux, though both of those now seem to have disappeared from the suppliers catalogs. The MSI Wind and Dell Mini haven't been available with Linux pre-installed here in New Zealand at all, nor other brands that I'm aware of.</p> <p>Unfortunately all we can do is apologise to our loyal customers and comment on the sad state of affairs that the distribution of technology is here.</p> snom 820 mini-review http://nicegear.nz/blog/snom-820-mini-review/ 2017-11-22T03:23:21.205751Z 2009-05-18T01:09:21.689836Z Hadley Rich <p>Thanks to one of our great suppliers we've finally got our hands on the <a href="/ip-phones/snom-820/">snom 820</a> and have had a chance to play with it for the last couple of weeks. The snom 820 has been out around the world for quite a while but unfortunately they seem to have been on a slow boat to New Zealand.</p> <img src="http://www.snom.com/uploads/pics/820_500x570px.jpg" alt="snom 820 voip phone" /> <p>Even though we're late getting the phone itself New Zealand has been recognised a little and is now a tone selection in the setup, previously Australia was used as a close equivalent.</p> <p>The 820 builds on the firmware from the 3x0 series, so has all the existing features such as the great web interface, the ability to control the phone via HTTP requests (this makes it super easy to implement a click to dial solution) and versatile function keys etc.</p> <p>There doesn't appear to be info around about this so I'll just note here that my snom headset from a <a href="/ip-phones/snom-360/">snom 360</a> works fine with the 820.</p> <p>The big red message waiting light at the top right corner is bright and pretty un-missable compared to the small LED on the older models.</p> <p>We use FreeSWITCH here at nicegear and like the previous snom phones, the 820 works without a hitch. Wideband audio, TLS+SRTP for secure calls, BLF and all other features work nicely out of the box.</p> <p><strong>Good things</strong></p> <p>It's definitely stylish. The colour display is a massive improvement over the snom 3x0 series - it's high resolution, bright and used well. There's a nice little alpha transparency overlay that comes up on incoming calls</p> <p>The handset is a good weight, is comfortable in the hand and on the ear and is acoustically very nice. Combined with high definition wideband audio codecs such as G722 it has a beautiful rich sound. Another nice little touch is the lack of a physical hook switch, it's using some sort of sensor to detect whether the handset is on hook or not.</p> <p>The base speaker has also been improved and also sounds great. I used to tell people that the Polycom acoustics were slightly ahead of the snom range but in my opinion the 820 has evened this out nicely.</p> <p>Sitting on my desk next to the Apple aluminium keyboard it fits in pretty well :)</p> <p><strong>The bad bits</strong></p> <p>It has to be said; the price. Unfortunately at over $1000 dollars it's not really priced for the masses.</p> <p>A minor nitpick; for some reason snom decided to swap the OK (tick) and Cancel (cross) buttons around from the snom 300 series. This is still taking a bit of getting used to.</p> <p><strong>Conclusion</strong></p> <p>If you can afford it, the snom 820 is a very very nice phone and one I would recommend without hesitation. I haven't found any issues at all so far, I'll be sure to add a comment if I come across any.</p> Products update http://nicegear.nz/blog/products-update/ 2017-11-22T03:23:21.247647Z 2010-02-24T08:44:15.566388Z Hadley Rich <p>So, nicegear all started with VoIP Equipment. It seems that we've now expanded into <a href="/electronics-gear/">various</a> <a href="/single-board-computers/">new</a> <a href="/dvb-cards/">product</a> <a href="/storage/">areas</a>.</p> <p>VoIP hardware is still our biggest area and all this expansion has left me feeling that we've neglected our roots in just a little. So I've gone and added a couple of new products to our range of VoIP equipment;</p> <p>First off is the <a href="/yealink/">Yealink IP Phones</a>, there's only two listed currently as those are the models we thought would be good to bring in and test with. Of course like pretty much all the brands we stock, we can get any model in you like, just let us know. In the next couple weeks I'll be using one of the Yealink phones myself and then writing up a short review for the blog here.</p> <p>Next, some more IP Phones, the <a href="/siemens/">Siemens Gigaset cordless DECT IP phone range</a>. Once I've worked my way through the pile of phones to test I have on my bench I'll be putting up a review of the Siemens phones too.</p> <p>Last but not least the <a href="/ip-phones/atcom-at620p/">ATCOM AT620P phone</a> is our first phone from ATCOM who make <a href="/atcom/">the fantastic IP0x range of IP PBX phone systems.</a> The AT620P is a super well priced phone with a surprising amount of features at such a low cost.</p> <p>As well as new products, some new pricing. Of course prices are always varying but I've just managed to make significant price reductions on the <a href="/polycom/">Polycom range of IP Phones</a>. Have you read about the great quality of their handsets and speakers with HD Voice? Wondered what all the fuss was about? Now might be the time to try it out for yourself (I must say it is pretty neat). Like a lot of our stuff I believe we've got the best prices around on Polycom IP Phones in New Zealand.</p> <p>Is there anything else that you'd like us to stock? Let me know in the comments section below, we try our best to track down what people want.</p> Choosing a VoIP Conference Phone http://nicegear.nz/blog/choosing-a-voip-conference-phone/ 2017-11-22T03:23:21.295338Z 2010-04-13T10:22:05.123592Z Hadley Rich <a href="/ip-phones/polycom-soundstation-ip-5000/"><img src="/obj/images/150/soundstation-ip5000-lg-a.jpg" alt="Polycom SoundStation IP 5000" style="float:left;" /></a> <p>Here's a short guide to help you choose the best <a href="/tags/conference/">VoIP phone for your conference or meeting room</a>. We'll be looking at the <a href="/polycom/">Polycom range of IP conferencing phones</a>, as they are widely regarded as the best for this purpose. All three models are based on the SIP protocol which is the open standard for VoIP.</p> <p>There are now three models of VoIP conference phones in the <a href="/polycom/">Polycom</a> range; the <a href="/ip-phones/polycom-soundstation-ip-5000/">SoundStation IP 5000</a> (recently released, stock not quite available at the time of writing), the <a href="/ip-phones/polycom-soundstation-ip-6000/">SoundStation IP 6000</a>, and the <a href="/ip-phones/polycom-soundstation-ip-7000/">SoundStation IP 7000</a>, shown from top to bottom in the embedded images of this post.</p> <p>The <a href="/ip-phones/polycom-soundstation-ip-5000/">IP 5000</a> is the smallest and lowest price unit, ideally suited to executive's offices or small conference/meeting rooms. It has an approximate microphone pick-up range of 2.1 meters (7 feet) so works well on smaller tables. The <a href="/ip-phones/polycom-soundstation-ip-6000/">IP 6000</a> has a pick-up range of 3.6 meters (12 feet) and at the top of the range the <a href="/ip-phones/polycom-soundstation-ip-7000/">IP 7000</a> pick-up range is 6.1 meters (20 feet). The <a href="/ip-phones/polycom-soundstation-ip-6000/">IP 6000</a> and <a href="/ip-phones/polycom-soundstation-ip-7000/">IP 7000</a> also support a set of external microphones to increase their range making them suitable for even larger rooms.</p> <a href="/ip-phones/polycom-soundstation-ip-6000/"><img src="/obj/images/150/polycom_ip6000.jpg" alt="Polycom SoundStation IP 6000" style="float:right;" /></a> <p>At the top end of the scale for the largest rooms, two <a href="/ip-phones/polycom-soundstation-ip-7000/">IP 7000</a> units can be connected together in tandem, along with one optional expansion microphone on each phone. The phones work together in this configuration and either unit can be used to control calling.</p> <p>All three models support Polycom's <a href="/tags/hd+voice/">HD Voice</a>, have dynamic noise reduction, and resist interference from nearby wireless devices such as mobile phones. The <a href="/ip-phones/polycom-soundstation-ip-6000/">IP 6000</a> and <a href="/ip-phones/polycom-soundstation-ip-7000/">IP 7000</a> also have automatic gain control which keeps the in-call volume at a more consistent level.</p> <a href="/ip-phones/polycom-soundstation-ip-7000/"><img src="/obj/images/150/polycom_ip7000.jpg" alt="Polycom SoundStation IP 7000" style="float:left;" /></a> <p>All three devices also support Power over Ethernet (PoE) which means they can be powered from a compatible PoE switch (PoE devices will still work with standard switches too).</p> <p>Being the top of the range, the <a href="/ip-phones/polycom-soundstation-ip-7000/">IP 7000</a> also has a few additional features such as; mobile phone and computer connectivity, advanced software features like LDAP directory integration, integration with Polycom video conferencing systems and the ability to connect to external audio systems.</p> <p>You might notice that there's no wireless VoIP conference phone like there is in the <a href="/analog-phones/">analog SoundStation range</a>. If you do need a wireless solution then you can always use one of the <a href="/analog-phones/polycom-soundstation2w-ex/">SoundStation 2W wireless conference phones</a> with an <a href="/analog-telephone-adaptors/">Analog Telephone Adapter (ATA)</a> to hook into your VoIP system.</p> <p>For further reading the Polycom website has a <a href="http://www.polycom.com/products/voice/comparison/conf_phone_matrix.html">comparison page</a> which you may like to read, there's also the detailed data sheets for the <a href="/obj/pdf/polycom-ip-5000-datasheet.pdf">IP 5000</a>, <a href="/obj/pdf/polycom-ip-6000-datasheet.pdf">IP 6000</a> and <a href="/obj/pdf/polycom-ip-7000-datasheet.pdf">IP 7000</a>.</p> <p>I hope this helps you choose the right <a href="/tags/conference/">VoIP conference phone</a> for your situation. If you have any questions then please feel free to leave a comment below or <a href="/contact/">drop us a line</a>.</p> New SSL Certificate http://nicegear.nz/blog/new-ssl-certificate/ 2017-11-22T03:23:21.341999Z 2010-04-21T02:58:45.975511Z Hadley Rich <p>We've just installed a new <a href="http://en.wikipedia.org/wiki/SSL_Certificate">SSL certificate</a> on the nicegear website from <a href="http://www.startssl.com/">StartSSL</a>. StartSSL are a relatively new company in the SSL world who have an great innovative approach to validation when compared to the traditional SSL merchants. They charge a reasonable fee for the actual validations they perform rather than each individual certificate you need.</p> <p>People with older operating systems such as Windows XP prior to Service Pack 2 (SP2) may be informed that the certificate is issued by an untrusted authority. If you come across this then you may solve the issue by upgrading your operating system/browser. Please feel free to <a href="">contact us</a> if you have any queries.</p> Cisco SPA500 IP Phones, what's the difference? http://nicegear.nz/blog/cisco-spa500-ip-phones-whats-the-difference/ 2017-11-22T03:23:21.388491Z 2010-04-28T08:20:07.038468Z Hadley Rich <img src="/obj/images/150/cisco-spa525g.jpg" alt="Cisco SPA525G" style="float:right;" /> <p>So we might be a little late to the party (sorry about that) but we've finally got around to adding the <a href="/tags/spa500/">Cisco "Small Business Pro" SPA500 series range of IP phones</a> to the store.</p> <p>If you include the previously released <a href="/ip-phones/cisco-spa525g/">SPA525G</a>, there are 6 models in the Small Business Pro range. The new phones in order are; the <a href="/ip-phones/cisco-spa501g/">SPA501G</a>, <a href="/ip-phones/cisco-spa502g/">SPA502G</a>, <a href="/ip-phones/cisco-spa504g/">SPA504G</a>, <a href="/ip-phones/cisco-spa508g/">SPA508G</a> and <a href="/ip-phones/cisco-spa509g/">SPA509G</a>.</p> <p>Firstly, lets start off with what is the same about the phone models;</p> <ul> <li>All models include a 2 port Ethernet switch - this allows you to connect the IP phone to the network and then connect your computer to the phone which means you don't have to call your cabling contractor out as part of setting up your phone.</li> <li>All models support standard 802.3af Power over Ethernet (PoE).</li> <li>They all have a full duplex speakerphone, which by all reports gives good sound quality.</li> <li>All models support HD Voice - G722 wideband audio codec which gives superior sound quality.</li> <li>They've all got a 2.5mm headset jack.</li> <li>All models have a Message Waiting Indicator Light (MWI) and decent amount of hardware buttons for common tasks - 12 button dial pad, 4-way navigation key, and illuminated buttons for volume, hold, menu voicemail.</li> <li>They all support an expansion module for attendants.</li> <li>The software supports both SIP for standard VoIP providers and Cisco's proprietry protocols to work with their UC500 platform.</li> </ul> <img src="/obj/images/150/cisco-spa509-ip-phone.jpg" alt="Cisco SPA509G" style="float:right;" /> <p>and now for what differentiates the phones;</p> <ul> <li>The <a href="/ip-phones/cisco-spa501g/">Cisco SPA501G</a></li> <ul> <li>1 line</li> <li>No display, uses a paper insert to write speed-dials etc. on</li> <li>Has 8 programmable function keys (to go with the above paper insert)</li> </ul> <li>The <a href="/ip-phones/cisco-spa502g/">Cisco SPA502G</a></li> <ul> <li>1 line</li> <li>Monochrome 128x64 pixel backlit display</li> <li>No programmable function keys</li> </ul> <li>The <a href="/ip-phones/cisco-spa504g/">Cisco SPA504G</a></li> <ul> <li>4 lines</li> <li>Monochrome 128x64 pixel backlit display</li> <li>4 programmable function keys</li> </ul> <li>The <a href="/ip-phones/cisco-spa508g/">Cisco SPA508G</a></li> <ul> <li>8 lines</li> <li>Monochrome 128x64 pixel backlit display</li> <li>8 programmable function keys</li> </ul> <li>The <a href="/ip-phones/cisco-spa509g/">Cisco SPA509G</a></li> <ul> <li>12 lines</li> <li>Monochrome 128x64 pixel backlit display</li> <li>12 programmable function keys</li> </ul> <li>The <a href="/ip-phones/cisco-spa525g/">Cisco SPA525G</a></li> <ul> <li>5 lines</li> <li>Color 320x240 pixel backlit display</li> <li>5 programmable function keys</li> <li>WiFi</li> <li>Bluetooth</li> <li>MP3 player</li> <li>Picture viewer</li> <li>RSS feed reader</li> </ul> </ul> <p>As you can see the <a href="/ip-phones/cisco-spa525g/">SPA525G</a> is quite a step up from the rest of the range, unfortunately at the time of writing it hasn't been in stock at the New Zealand distributors much at all. Hopefully this situation is rectified soon.</p> <p>Hopefully that gives an insight into the new-ish <a href="/tags/spa500/">Cisco SPA500 Small Business Pro range of IP phones</a>. If you've got any questions that we didn't answer here or would like to know anything else then feel free to leave a comment below or <a href="/contact/">drop us a line</a>.</p> <p>Update: Fixed the number of lines which we reported incorrectly.</p> What's so good about Power over Ethernet (PoE)? http://nicegear.nz/blog/whats-so-good-about-power-over-ethernet-poe/ 2017-11-22T03:23:21.432221Z 2010-05-04T05:16:12.058302Z Hadley Rich <p>Power over Ethernet is an advantage for several reasons. Firstly, it means you don't need to plug the phone into once of those scarce wall outlets under the desk. Secondly, as the phones are all powered from a central location (the switch) it makes it easy to power your entire phone system through an uninterruptible power supply (UPS). Using a UPS means your phones keep going in the event of a power cut, and it can also protect from power surges, thus increasing the reliability of your phone system.</p> <p>Questions such as "Can I use a normal switch with PoE phones?" or "Can I use non-PoE devices with a PoE switch?" are common. Part of the 802.3af PoE standard is negotiation, a PoE switch will only send power to devices which expect it, this means that you can safely use non-PoE devices with a PoE switch, and PoE devices will work fine on a non-PoE switch.</p> <p>Though PoE is immensely useful for VoIP it is also useful in other areas. Common applications include security/surveillance cameras, WiFi access points and other networking equipment. There's even <a href="/accessories/levelone-pos1000-poe-splitter/">products to break out PoE for powering devices which don't support PoE natively</a>, we've sucessfully used these to power <a href="/arduino/">Arduino</a> projects around our office.</p> <p><strong>Quick Facts</strong></p> <ul> <li>802.3af PoE is a standard, products from all manufacturers work together.</li> <li>PoE is low voltage (48 volts DC)</li> <li>PoE devices work fine with normal Ethernet switches</li> <li>Non-PoE devices work fine with PoE switches</li> </ul> <p><a href="/tags/poe/">Here's a list of PoE powered devices that we sell</a>. If you've got any questions feel free to post a comment or <a href="/contact/">contact us directly.</a></p> Introducing the Yealink IP Phone Range http://nicegear.nz/blog/introducing-the-yealink-ip-phone-range/ 2017-11-22T03:23:21.477013Z 2010-05-18T22:08:51.240925Z Hadley Rich <p>Though new to us Yealink have been around since 2001, which, in the VoIP world is actually quite a while. The <a href="/yealink/">Yealink range of IP Phones</a> has grown in popularity in the last couple of years and has been getting great reviews.</p> <p>They are priced really well when compared to other popular brands and actually use the same internal chipsets as Polycom and Cisco. All the Yealink phones support Power over Ethernet (PoE), wideband audio (HD Voice), have an integrated two port Ethernet switch, full duplex speakerphone and support a headset.</p> <p>We've now got pretty much the full range of phones from Yealink in stock and on an introductory special;</p> <ul> <li><a href="/ip-phones/yealink-sipt20p/">Yealink SIP-T20P 2 line entry level PoE phone</a></li> <li><a href="/ip-phones/yealink-sipt22p/">Yealink SIP-T22P 3 line office worker phone</a></li> <li><a href="/ip-phones/yealink-sipt26p/">Yealink SIP-T26P 3 line phone with 13 programmable keys </a></li> <li><a href="/ip-phones/yealink-sipt28p/">Yealink SIP-T28P 6 line phone with 16 programmable keys</a></li> <li><a href="/ip-phones/yealink-vp2009p/">Yealink VP-2009P IP Video Phone with 7" touchscreen display</a></li> </ul> <p>Yealink have been working with partners to achieve interoperability and are now certified to work with popular SIP systems such as Asterisk, 3CX and Epygi. Of course the Yealink phones also work well with all SIP based systems like FreeSWITCH, Philips, Avaya, Cisco etc.</p> <p>They go superbly well with our range of <a href="/atcom/">ATCOM VoIP PBXs</a>, making a featureful cost effective phone system for small and medium sized businesses. Let us know if you would like us to put together a package deal for you.</p> <p>There's also a couple of accessories to go with the phones; the <a href="/accessories/yealink-exp38-expansion-panel/">Yealink EXP38 38 key expansion module</a>, ideal for receptionist duties, and the <a href="/accessories/yealink-yhs32-headset/">YHS32 monaural noise-cancelling headset</a>, suitable for all the Yealink IP Phone range (except the VP-2009P).</p> FreeSWITCH and FreePBX v3 running on Ubuntu on an ALIX board http://nicegear.nz/blog/freeswitch-and-freepbx-v3-running-on-ubuntu-on-an-alix-board/ 2017-11-22T03:23:21.521557Z 2010-05-31T10:34:45.781235Z Hadley Rich <p>We've been following the development of FreeSWITCH and running it as our phone system here for a few years now. It's a fantastic piece of software, featurefull, extremely stable and really just works.</p> <p>A lot of people aren't comfortable or just don't like hand editing configuration files. Good news for those people as FreePBX, the ubiquitous web GUI for configuring Asterisk, will soon be releasing a new version 3 which supports configuring FreeSWITCH.</p> <p>We had a PC Engines ALIX board sitting around collecting dust after sustaining damage to one of it's Ethernet ports, the rest of the board is fine. For something interesting to do with with it I thought that seeing if it could run FreeSWITCH and FreePBX in it's limited environment would be fun.</p> <p>We use Ubuntu on most of our computers so I started there, nice and simple. Here's <a href="http://www.wsartori.com/blog/2010/5/3/how-install-ubuntu-lucid-lynx-alix-board/"> a blog post</a> about installing Ubuntu Lucid on a compact flash for an ALIX board. It's mostly correct though there's a couple of minor things I changed (post a comment if you would like details).</p> <p>While the compact flash card was still mounted on my laptop I took advantage of the faster processor to install and compile FreeSWITCH, this should work for any Ubuntu system.</p> <pre>apt-get install git-core autoconf libtool libncurses5-dev # Install some prerequisites</pre> <pre>cd /usr/src &amp;&amp; git clone git://git.freeswitch.org/freeswitch.git # Download FreeSWITCH</pre> <pre>./bootstrap.sh &amp;&amp; ./configure &amp;&amp; make &amp;&amp; make install # Install FreeSWITCH</pre> <p>There are more <a href="http://wiki.freeswitch.org/wiki/Installation_Guide">details on installing FreeSWITCH here</a>.</p> <pre>apt-get install lighttpd subversion mysql-server php5-mysql php5-xmlrpc php5-curl # Some requirements for FreePBX v3</pre> <pre>lighttpd-enable-mod fastcgi &amp;&amp; /etc/init.d/lighttpd force-reload # Enable PHP support</pre> <pre>cd /var/www &amp;&amp; svn co http://www.freepbx.org/v3/svn/trunk/ freepbx-v3/ # Download FreePBX</pre> <pre># Setup permissions for FreePBX chgrp -R www-data /usr/local/freeswitch/conf/* chmod -R g+w /usr/local/freeswitch/conf/* chmod 777 freepbx-v3/freepbx/logs/ chmod 777 freepbx-v3/freepbx/cache/ chgrp -R www-data freepbx-v3/freepbx/config/* chmod -R g+w freepbx-v3/freepbx/config/*</pre> <p>These instruction as taken from <a href="http://www.freepbx.org/v3/wiki/Installation">the FreePBX v3 installation instructions</a> and modified slightly for Ubuntu.</p> <p>After putting the CF card in the ALIX board and booting it up you can then open a browser at it's IP address and start configuring your phone system!</p> <p>So, how does the ALIX perform? It handles FreeSWITCH alone really quite well. You'll notice that I used lighttpd as the webserver, I originally tried loading Apache2 but due to the low memory on the ALIX (256MB) the OOM killer killed mysql when FreeSWITCH was started. Not a great start!</p> <p>After starting mysql, lighttpd, FreeSWITCH, top shows about 5MB free RAM, that will do to get going. After creating a few extensions and registering a couple of phones I created a three person conference, two phones using G722 wideband and one using G711. Looking at top the ALIX board is running at 20% CPU and about 3MB free memory. Not too bad at all for the little box!</p> <p>So the conclusion? It can be done! The ALIX board all loaded up with everything can handle at least a few calls. I haven't tested how many yet, perhaps I'll run it up again and see what it's limit is. Whether you want to load up the poor little ALIX with all this stuff like a web server, database server etc. is up to you. If you do there's probably many better ways to save resources, feel free to point them out in the comments :)</p> Python module for SecurePayTech Payment Gateway http://nicegear.nz/blog/python-module-for-securepaytech-payment-gateway/ 2017-11-22T03:23:21.562812Z 2010-06-01T09:14:23.601318Z Hadley Rich <p>Here's <a href="/obj/misc/securepaytech.py">some Python code to interact with the SecurePayTech credit card gateway</a>. This is the service we use for processing your credit card payments on the nicegear site.</p> <p>I open sourced this back when I wrote it the for the <a href="/blog/new-nicegear-website-launched/">nicegear site</a> and sent it through to SecurePayTech but for some reason they never got around to publishing it. Subsequently it's been collecting dust and not many people know about it so I thought I'd let you all know about it.</p> <p>Here's some example usage, it's pretty simple;</p> <pre>from securepaytech import PaymentGateway gateway = PaymentGateway('TESTDIGISPL1', 'd557591484cb2cd12bba445aba420d2c69cd6a88') request = PaymentRequest( CardHolderName='Test Card', CardNumber='4987654321098769', CardExpiry='0513', Amount = '10.00' ) request.EnableCSC = True request.CSC = '100' response = gateway.payment(request) print response </pre> <p>At the bottom of the file is some similar example usage.</p> <p>It's released under the MIT license so feel free to use it as you wish. If you find it useful or have some suggestions for improvements feel free to let us know if the comments below.</p> How to set up a Yealink VoIP Phone on 2Talk http://nicegear.nz/blog/how-to-set-up-a-yealink-voip-phone-on-2talk/ 2017-11-22T03:23:21.604525Z 2010-06-11T00:45:04.255532Z Hadley Rich <p>The <a href="/yealink/">Yealink IP Phones</a> we sell are a great quality and really well priced range. Whether you're looking for a low cost entry into the money saving VoIP world, or an executive desk phone there is something there to suit. Many of them are currently on special too.</p> <p><a href="https://www.2talk.co.nz/signup/referral.html?code=nicetech">2Talk</a> are a popular New Zealand VoIP provider, we use them for our calling here at nicegear and have done for the last few years so I can vouch for their service being reliable.</p> <p>This post is about bringing the two together - how to set up a Yealink VoIP phone to work with the 2Talk service. So, down to business;</p> <ul> <li>First things first, you need a <a href="/yealink/">Yealink phone</a>, of course we would be happy to sell you one :)</li> <li>Second, <a href="https://www.2talk.co.nz/signup/refsignup.html?code=nicetech">sign up with 2Talk</a>.</li> <li>Once you have your phone, plug it in, once it's booted up you'll need to find it's IP address. Press the "OK" button in the middle of the direction keys, this screen will show the IP address. For example we will use 192.168.0.7</li> <li>Open a web browser and go to the IP address, e.g. http://192.168.0.7 it will load the phones web configuration page.</li> <li>Click the "Account" tab along the top, there's a few settings to change on this tab.</li> <li>Change "Account Active" to "On".</li> <li>In the "Display Name" field, enter your name (or whatever you like).</li> <li>In both the "Register Name" and "User Name" fields, enter your 2Talk phone number.</li> <li>In the "Password" field, enter your 2Talk password.</li> <li>In the "SIP Server" field, enter "2talk.co.nz".</li> <li>Scroll to the bottom of the page and click the "Confirm" button.</li> </ul> <p>In moments your phone will be ready to make calls (this is one of the nice features of the Yealink phones - settings are updated really quickly without long reboots etc.).</p> <p>A couple of further settings; to get the correct time, head over to the "Phone" tab and change the timezone drop down list to "+12 New Zealand(Wellington,Auckland)", click confirm down the bottom of the page again. While on that tab, click on the "Tones" link at the top (under the tab list) and choose New Zealand from the list, click confirm. This makes the ring, dial tone, etc. sound correct for New Zealand.</p> <p>This covers the basic settings required to start making calls. Stay tuned for a follow up post containing some more advanced settings to make using your Yealink phone a better experience, including a New Zealand dial plan (so you don't have to push send after dialing).</p> <p>In the interests of full disclosure; do note that our referral code is contained in the 2Talk links, this means we get a small commission when people sign up with them. Don't worry though - we wouldn't recommend them unless we were sure, as noted above we've been using them for a few years now.</p> Switchfin, a new firmware for ATCOM IP PBX series http://nicegear.nz/blog/switchfin-a-new-firmware-for-atcom-ip-pbx-series/ 2017-11-22T03:23:21.646837Z 2010-06-13T01:15:27.391681Z Hadley Rich <p>Since the beginning of 2010 the guys over at <a href="http://switchfin.org/">Switchfin</a> have re-invigorated development on Astfin2, the software which powers the <a href="/atcom/">ATCOM IP PBX devices</a>. Things are really starting to come along now, they have made upgrades to existing software and implemented some exciting new features, some of which are still in testing and some of which can be seen and used now.</p> <p>I'm a fan of lists, so here's some of the new things in list form;</p> <ul> <li>Many updates, fixes and enhancements to the web GUI</li> <li><a href="http://switchfin.org/index.php?option=com_content&amp;view=article&amp;id=68:dhcp-server-in-switchfin&amp;catid=34:blog">Optional DHCP server</a></li> <li><a href="http://switchfin.org/index.php?option=com_content&amp;view=article&amp;id=70:switchfin-uses-asterisk-1432-for-production-envirounment&amp;catid=34:blog">Updated to the latest Asterisk 1.4 release</a></li> <li><a href="http://switchfin.org/index.php?option=com_content&amp;view=article&amp;id=65:asterisk-16-integrated-in-switchfin&amp;catid=1:latest-news">Asterisk 1.6 with all it's new features available for testing</a></li> <li>Optional building of G729 support</li> <li>Updated to DAHDI from Zaptel</li> <li><a href="http://switchfin.org/index.php?option=com_content&amp;view=article&amp;id=67:voice-recording&amp;catid=1:latest-news">Call recording functionality</a></li> <li>Updated SpanDSP library for more robust callerid and fax support</li> <li><a href="http://switchfin.org/index.php?option=com_content&amp;view=article&amp;id=60:fax2email-added-in-switchfin-&amp;catid=1:latest-news">Fax2Email functionality using the SpanDSL library</a></li> <li>Optional TFTP server</li> <li>SSMTP mail server</li> <li>Vim text editor for those who like doing things by hand</li> <li>Improved firmware upgrade procedure</li> <li>Many others that I haven't listed...</li> </ul> <p>As you can see it's a pretty comprehensive list with a few very exciting points. The ones that will obviously stand out for many people are Asterisk 1.6 and G729. As G729 is patent encumbered it's not built by default, but is there in the build system for those who are not restricted by software patents and would like to use it.</p> <p>With a DHCP server as well as Asterisk 1.6 this may pave the way towards being able to provision phones directly from an ATCOM IP PBX. The support in asterisk-gui is at least partially there, as the Digium AA50 Appliance has been able to provision <a href="/polycom/">Polycom phones</a> for a while. This is something that we will be looking into here at nicegear.</p> <p>If you try out the Switchfin firmware then let us know what you think. If you've got one of our <a href="/atcom/">ATCOM IP PBX appliances</a> and want a hand to try it out then let us know.</p> Configuring a Yealink IP Phone for use in New Zealand http://nicegear.nz/blog/configuring-a-yealink-ip-phone-for-use-in-new-zealand/ 2017-11-22T03:23:21.697082Z 2010-06-16T09:06:52.915056Z Hadley Rich <p>As promised in <a href="/blog/how-to-set-up-a-yealink-voip-phone-on-2talk/"> last week's blog post on setting up a Yealink phone for 2talk</a> here is a more comprehensive post on setting up a Yealink phone with the correct settings for use in New Zealand.</p> <p>Building on our old <a href="/blog/new-zealand-dialplan-for-snom-phones/"> blog post with a NZ dial plan for snom phones</a> and borrowing a couple of ideas from <a href="http://www.geekzone.co.nz/sbiddle/7208">Steve Biddle's great post on configuring Linksys VoIP devices for NZ</a> here is a configuration for the excellent <a href="/yealink/">Yealink IP Phones</a>.</p> <p>To make things super simple, we've put together and are hosting a configuration or "provisioning" file so all you need to do is point your Yealink phone to a URL and everything will be set up automatically.</p> <p>Once your phone is all powered up either with <a href="/blog/whats-so-good-about-power-over-ethernet-poe/">Power over Ethernet</a> or the included wall adapter you need to find it's IP address. The simplest way to do this is to press the "OK" key in the middle of the directional keys. The screen that is shown will list your phones IP address.</p> <p>When you have the phones IP (we'll use 192.168.0.4 as an example), open a web browser and go to that IP - e.g. http://192.168.0.4/ - you will be asked for a username and password, enter "admin" for both. Once that loads, click the "Upgrade" tab, and then below the line of tabs click "Advanced".</p> <p><img src="/obj/yealink-provisioning-screenshot.png" alt="Yealink provisioning screenshot" /></p> <p>As shown in the screen shot, enter "http://nice.net.nz/" in the field labelled "URL", change the drop down list labelled "Check New Config" to "Power On", and then click the "Auto Provision" button just below that.</p> <p>The phone will now proceed to download the settings from the Internet and reboot to apply all the settings. Give it about a minute or so and you will be all up and running with a customised New Zealand configuration. All you have to do now is enter your VoIP account details and you are ready to start making calls (see our <a href="/blog/how-to-set-up-a-yealink-voip-phone-on-2talk/">previous post for more info</a> on this)</p> <p>The Yealink provisioning setup is quite straight-forward, if you are interested you can see the contents of the provisioning file at <a href="http://nice.net.nz/y000000000000.cfg">http://nice.net.nz/y000000000000.cfg</a> - this shows the settings that are going to be applied to your phone.</p> <p>If you've got any queries or comments then as usual feel free to let us know either in the comments below or you'll find our contact details at the link to the top left of the page.</p> How to access the console on an ATCOM IP PBX http://nicegear.nz/blog/how-to-access-the-console-on-an-atcom-ip-pbx/ 2017-11-22T03:23:21.753884Z 2010-06-29T00:32:41.202810Z Hadley Rich <p>There's a lot of stuff to configure on an <a href="/atcom/">IP PBX</a>. More than your average ADSL router. You've got to worry about SIP registrations, call routing, etc. etc. That said, a lot of folks like to get things done themselves, and why not.</p> <p>Occasionally things won't work out and you might be left wondering why. As the <a href="/atcom/">ATCOM IP PBX</a> units use the popular Asterisk software underneath there is a relatively easy way that will usually help to figure out what's going on. Enter the console.</p> <p>The console is a text based command line interface that you can use to send commands and receive information about the system. You can access the console on the <a href="/atcom/">ATCOM IP PBX</a> using SSH (Secure Shell). A small program called Putty is needed to do this on Windows, you can <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">download Putty here</a>.</p> <p>Open Putty and on the main screen enter the IP address of your IP PBX (192.168.1.100 is the default) in the field titled "Host Name (or IP address)". Select SSH as the "Connection Type" just below that and then click connect. You will be prompted to enter a username and password. The username to use is "root" and the password is "12xerXes06" (both without the quotes).</p> <p>Once you have logged in you should see a black screen with a prompt saying "root:~>" you can then type commands. To access the Asterisk console which will show you information about your phone system you should type "asterisk -r" (without the quotes). You will then see the prompt change to say "IP0x*CLI>".</p> <p>When you see this prompt you should type "core set verbose 5" (without the quotes). This enables the display of additional useful information. Now you can go ahead and make configuration changes in the web interface and place calls etc. When you do logging information will show up in the console.</p> <p>The logging information may give you a hint as to some configuration you need to change. Even if it doesn't help you directly, if you need to ask someone else for help then this information will help them help you.</p> How to set up incoming calling from 2Talk to your ATCOM IP PBX http://nicegear.nz/blog/how-to-set-up-incoming-calling-from-2talk-to-your-atcom-ip-pbx/ 2017-11-22T03:23:21.797776Z 2010-06-29T11:44:17.015043Z Hadley Rich <p>We've had a couple of people lately having difficulty getting incoming calling working from 2Talk with their <a href="/atcom/">ATCOM IP PBX</a>. This is understandable, there are a lot of settings in phone systems which can be a little daunting.</p> <p>I've just spent some time resetting an <a href="/phone-systems/atcom-ip04-asterisk-appliance/">IP04</a> to default configuration and making sure that these simple instructions work. This is a very basic guide and only deals with getting incoming calls to enter the PBX system. Routing the calls to where you want them and other useful things aren't covered.</p> <p>In the web GUI for your PBX use the main menu on the left to navigate to the "Trunks" page. Click on the "VoIP Trunks" tab and then click the "New SIP/IAX Trunk" button. Enter the details below and then click "Save";</p> <pre>Provider Name: 2Talk Hostname: 2talk.co.nz Username 028xxxxxxx Password: your_password</pre> <p>You may change the "Provider Name" field to anything you choose, your username is your 2Talk phone number and your password is of course your 2Talk password. The field "Contact ext." will be automatically filled with "s" for you. This is important.</p> <p>Now using the main left hand menu navigate to "Incoming Calling Rules" and then click the "New Incoming Rule" button. Enter the following information and click "Save";</p> <pre>Time Interval: None Trunk: 2Talk Pattern: s Destination: User Extension 6001</pre> <p>You may choose a different "Time Interval" if that is a feature you use. The pattern "s" is important and the reason it is "s" is a peculiarity from the software used on the system. Of course the "Destination" field can be whatever you choose, you will need to setup users or call groups etc. before hand to send calls to them.</p> <p>Once you are done, click the "Apply Changes" button in the top right corner of the screen and this should get you started with incoming calling from 2Talk on your ATCOM IP PBX.</p> Who said water and electronics don't mix? http://nicegear.nz/blog/who-said-water-and-electronics-dont-mix/ 2017-11-22T03:23:21.840067Z 2010-07-10T23:33:20.058431Z Hadley Rich <p>A nice box of gear just came in from the lovely folks over at Seeed Studio. The theme of this shipment seems to be water, we'e got a <a href="/electronics-gear/water-flow-sensor/">flow sensor</a>, a <a href="/electronics-gear/water-float-switch/">float switch</a>, and my personal favourite, a <a href="/electronics-gear/micro-hydro-generator/">micro hydro generator</a> which will let you power your projects from a running tap or the likes. Putting out 300mA at 3.6V there's plenty of power for the average micro controller project.</p> <p>All of these are just itching to be hooked up to an <a href="/electronics-gear/arduino-duemilanove/">Arduino</a> or the more cost effective <a href="/electronics-gear/seeeduino-v328/">Seeeduino</a> to create some water filled and water fuelled fun.</p> <p>That brings us nicely to the other couple of goodies that were in the box; we've now got stock of...</p> <p>The <a href="/electronics-gear/seeeduino-mega/">Seeeduino Mega</a> which is a neat board. It's compatible with the original <a href="/electronics-gear/arduino-mega/">Arduino Mega</a> in the sense that it uses the same Atmega1280 micro controller, but unlike the original Mega it's pin compatible with the standard Arduino. This means better compatibility with the <a href="/search/?q=shield">multitude of existing Arduino Shields</a> out there. And...</p> <p>The <a href="/electronics-gear/seeeduino-stalker/">Seeeduino Stalker</a>, a super cool Arduino compatible board perfect for data logging, tracking etc. As well as the micro-controller it includes a Real Time Clock (RTC), microSD slot and XBee style socket. The onboard FTDI has been removed which helps save power, useful if you're running a battery powered sensor node.</p> Get a real VoIP Conference Phone http://nicegear.nz/blog/get-a-real-voip-conference-phone/ 2017-11-22T03:23:21.882360Z 2010-07-12T10:37:36.774927Z Hadley Rich <a style="float:left;" href="/ip-phones/polycom-soundstation-ip-5000/"><img src="/obj/images/150/soundstation-ip5000-lg-a.jpg" alt="SoundStation IP 5000" /></a> <p><a href="/polycom/">Polycom</a> really are the undisputed king of conference phones. They have been with <a href="/analog-phones/">analog conference phones</a> and still are with <a href="/tags/conference/">VoIP conference phones</a>.</p> <p>Up until now, to save money a lot of people have stuck with one of the original analog SoundStation2 conference phones in conjunction with an <a href="/analog-telephone-adaptors/">Analog Telephone Adapter (ATA)</a> to get connected to VoIP. Now there's really no need...</p> <p>The <a href="/ip-phones/polycom-soundstation-ip-5000/">Polycom SoundStation IP 5000</a> is now available and we've got it at a fantastic price of $845 (all our prices include GST and freight). At that price there's really no excuse not to get the best quality VoIP conference phone for your business.</p> <p>We've also just gone and lowered our Polycom prices even further making the "voice quality standard" even more competitive with other brands. This includes the IP 5000's sibling conferencing phones, the <a href="/ip-phones/polycom-soundstation-ip-6000/">IP 6000</a> and <a href="/ip-phones/polycom-soundstation-ip-7000/">IP 7000</a> as well as the entire <a href="/polycom/">Polycom Soundpoint desk phone range</a>.</p> Now we've got clearance products http://nicegear.nz/blog/now-weve-got-clearance-products/ 2017-11-22T03:23:21.924093Z 2010-07-26T10:47:25.953722Z Hadley Rich <p>From time to time we get products that we can't sell as new like normal. They might have a damaged box, be returned by a customer (but not faulty) or just be unpopular or excess stock. Up until now we've been selling these to people who specifically enquired, or just piling them up in the corner of the store room.</p> <p>To help us stop piling these up in the corner and to allow you to get some better than normal deals we've created our <a href="/clearance/">clearance area</a>. Whenever we've got these type of products available we'll add them to this page. Each item will have listed the reason it is on clearance. As these are individual items, stock is strictly limited to what's listed, so it's first in first served.</p> <p>As I write this there's three items currently available, more will be added as they are dug out of the store room and they will drop off as they are purchased.</p> <p>Still in the works is an RSS feed of clearance items so you don't have to keep an eye on the page all the time. For now if you'd like to be notified when new items are added just drop us a line.</p> New official Ethernet Shield from Arduino http://nicegear.nz/blog/new-official-ethernet-shield-from-arduino/ 2017-11-22T03:23:21.965393Z 2010-07-29T22:01:44.689609Z Hadley Rich <p>We've just received a brief update from the Arduino team about a couple of new products;</p> <p><strong>A new Ethernet shield with many improvements over the original. It is compatible with the Arduino MEGA board, has an on board micro SD card connector and an on-board reset controller.</strong></p> <p><img src="/obj/misc/new-arduino-ethernet-shield.jpg" alt="arduino ethernet" style="" /></p> <p><strong>A custom made box that will fit an Arduino Duemilanove or a Mega with an Ethernet shield and some room for a battery too.</strong></p> <p><img src="/obj/misc/new-arduino-case.jpg" alt="arduino box" style="" /></p> <p>The products will be available from the Arduino team themselves soon so should filter through the supply chain before too long.</p> Miniature canon http://nicegear.nz/blog/miniature-canon/ 2017-11-22T03:23:22.050289Z 2010-08-06T06:16:03.336830Z Hadley Rich <p>I just had to post this for something interesting on Friday night. A super cool miniature real-gunpowder-using cannon.</p> <object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/Wi4g_U0hoOg&amp;hl=en_US&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Wi4g_U0hoOg&amp;hl=en_US&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object> Yealink T22P Default Password http://nicegear.nz/blog/yealink-t22p-default-password/ 2017-11-22T03:23:22.091681Z 2010-08-10T00:56:10.804128Z Hadley Rich <p>So I (Hadley) went to setup a <a href="/ip-phones/yealink-sipt22p/">Yealink T22P</a> the other day and couldn't access the administration web page or the settings menu on the phone itself. This was puzzling. I looked up the default username and password in the user manual just to make sure I wasn't going mad. The manual says admin/admin which is what I was trying to use.</p> <p>After talking with our support guys it seems that a few of the <a href="/ip-phones/yealink-sipt22p/">Yealink T22P</a> units slipped out of the factory without the password being set so if you come across this user "admin" as the username and a blank password.</p> <p>I know at least one customer was caught out by this too. My apologies for that and hopefully others find this post before going to too much trouble.</p> Loads more electronics gear, new shipping policy http://nicegear.nz/blog/loads-more-electronics-gear-new-shipping-policy/ 2017-11-22T03:23:22.008651Z 2010-08-17T00:21:31.704719Z Hadley Rich <p><a href="/new-products/">Check out all this new stuff</a>, even the new stuff page itself is new! We've been busy adding more electronics gear and there's still more to come.</p> <a href="/components/triple-output-led-rgb-diffused/"><img src="/obj/images/50/09264-1.jpg" /></a><a href="/components/laser-card-module-red/"><img src="/obj/images/50/Laser-0.jpg" /></a><a href="/sensors/temt6000-ambient-light-sensor-breakout-board/"><img src="/obj/images/50/08688-03-L.jpg" /></a><a href="/components/magnet-disk-0709/"><img src="/obj/images/50/08890-02-L.jpg" /></a><a href="/components/reed-switch/"><img src="/obj/images/50/08642-02-L.jpg" /></a><a href="/electronics-gear/stando/"><img src="/obj/images/50/00444-1.jpg" /></a><a href="/electronics-gear/standoffs-plastic-long/"><img src="/obj/images/50/09155-02-L.jpg" /></a><a href="/electronics-gear/protoboard-wombat/"><img src="/obj/images/50/08619-02-L.jpg" /></a><a href="/electronics-gear/protoboard-square-2/"><img src="/obj/images/50/08811-02-L.jpg" /></a><a href="/electronics-gear/protoboard-square-1-single-sided/"><img src="/obj/images/50/08808-03-L.jpg" /></a><a href="/electronics-gear/protoboard-triangle-shape/"><img src="/obj/images/50/08887-01.jpg" /></a><a href="/electronics-gear/logomatic-v2-serial-sd-datalogger/"><img src="/obj/images/50/08627-01.jpg" /></a><a href="/electronics-gear/battery-holder-2xaa-with-cover-and-switch/"><img src="/obj/images/50/09547-01.jpg" /></a><a href="/electronics-gear/breakout-board-for-xbee-module/"><img src="/obj/images/50/XBeeBreakout-03-L.jpg" /></a><a href="/cables-connectors/2mm-10pin-xbee-socket/"><img src="/obj/images/50/2mmSocket-01-L.jpg" /></a><a href="/components/magnet-square-025/"><img src="/obj/images/50/08643-02-L.jpg" /></a><a href="/cables-connectors/dc-barrel-power-jackconnector/"><img src="/obj/images/50/00119-03-L.jpg" /></a><a href="/cables-connectors/6-pin-right-angle-male-smd-header/"><img src="/obj/images/50/09015-03-L.jpg" /></a><a href="/components/ceramic-resonator-16mhz/"><img src="/obj/images/50/09420-1.jpg" /></a><a href="/components/crystal-16mhz/"><img src="/obj/images/50/00536-02-L.jpg" /></a><a href="/rfid/rfid-reader-breakout-board/"><img src="/obj/images/50/ID12Breakout-01-L.jpg" /></a><a href="/electronics-gear/barrel-jack-adapter-usb-to-55mm/"><img src="/obj/images/50/08639-01.jpg" /></a><a href="/electronics-gear/rs232-shifter-smd-no-db9/"><img src="/obj/images/50/08780-03-L.jpg" /></a><a href="/components/super-capacitor-10f25v/"><img src="/obj/images/50/SuperCap.jpg" /></a><a href="/sensors/pir-motion-sensor/"><img src="/obj/images/50/08630-03-L.jpg" /></a><a href="/electronics-gear/mini-push-button-switch/"><img src="/obj/images/50/00097-03-L.jpg" /></a><a href="/electronics-gear/breadboard-power-supply-stick-5v33v/"><img src="/obj/images/50/09319-1.jpg" /></a><a href="/robotics/servo-large/"><img src="/obj/images/50/09064-03-L.jpg" /></a><a href="/robotics/servo-small/"><img src="/obj/images/50/09065-03-L.jpg" /></a><a href="/routers/54mbps-wireless-access-point-wap3000/"><img src="/obj/images/50/WAP-3000-v1.jpg" /></a><a href="/single-board-computers/intel-atom-miniitx-board-d510mo/"><img src="/obj/images/50/D510MO_lg.jpg" /></a><a href="/cables-connectors/jumper-wire-jst/"><img src="/obj/images/50/08670-03-L.jpg" /></a><a href="/arduino-boards/arduino-fio/"><img src="/obj/images/50/09712-01.jpg" /></a><a href="/cables-connectors/barrel-jack-to-2pin-jst/"><img src="/obj/images/50/08734-03-L.jpg" /></a><a href="/cables-connectors/jumper-wire-jst-to-female-header/"><img src="/obj/images/50/08599-03-L.jpg" /></a><a href="/arduino-boards/seeeduino-v22/"><img src="/obj/images/50/seeeduinov22.jpg" /></a><a href="/electronics-gear/power-converter-6-in-1-pack/"><img src="/obj/images/50/powerconv1.jpg" /></a><a href="/sensors/mini-photocell/"><img src="/obj/images/50/09088-02-L.jpg" /></a><a href="/sensors/one-wire-digital-temperature-sensor-ds18b20/"><img src="/obj/images/50/00245-1.jpg" /></a><a href="/electronics-gear/piezo-buzzer/"><img src="/obj/images/50/piezo-buzzer.jpg" /></a><a href="/electronics-gear/honywell-hall-effect-sensor/"><img src="/obj/images/50/honeywell-ss443r.jpg" /></a><a href="/cables-connectors/break-away-headers-male-right-angle/"><img src="/obj/images/50/00553-03-L.jpg" /></a><a href="/cables-connectors/break-away-headers-female-straight/"><img src="/obj/images/50/00115-02-L.jpg" /></a><a href="/cables-connectors/break-away-headers-male-straight/"><img src="/obj/images/50/00116-02-L.jpg" /></a><a href="/components/capacitor-ceramic-01uf/"><img src="/obj/images/50/08375-03-L.jpg" /></a><a href="/components/capacitor-ceramic-22pf/"><img src="/obj/images/50/Capacitor-01MF-01-L.jpg" /></a><a href="/components/capacitor-electrolytic-decoupling-100uf25v/"><img src="/obj/images/50/00096-03-L.jpg" /></a><a href="/rfid/rfid-tag-combo-kit-125khz/"><img src="/obj/images/50/RFID-tags-125khz-5-pcs.jpg" /></a><a href="/sensors/rolling-ball-tilt-switch/"><img src="/obj/images/50/MountainTiltSwitch.jpg" /></a><a href="/cables-connectors/jst-2-pin-power-connector/"><img src="/obj/images/50/seeed-jst-pigtail.jpg" /></a><a href="/accessories/dual-band-24ghz5ghz-antenna-with-reverse-sma-connector/"><img src="/obj/images/50/antsma.jpg" /></a><a href="/accessories/wistron-dnma92-80211abgn-minipci-card/"><img src="/obj/images/50/dnma92.jpg" /></a><a href="/cables-connectors/arduino-stackable-header-kit/"><img src="/obj/images/50/10007-01.jpg" /></a><a href="/sensors/tmp36-temperature-sensor/"><img src="/obj/images/50/TMP36.jpg" /></a><a href="/cables-connectors/breadboard-jumper-wires-70-piece-pack/"><img src="/obj/images/50/breadboard-jumpers-1.jpg" /></a><a href="/electronics-gear/basic-breadboard/"><img src="/obj/images/50/basic-bread-board.JPG" /></a><a href="/sensors/ac-current-sensor-clamp-30a/"><img src="/obj/images/50/current-clamp-30a.jpg" /></a><a href="/single-board-computers/pc-engines-alix-6e2/"><img src="/obj/images/50/alix6e2.jpg" /></a><a href="/electronics-gear/voicebox-shield/"><img src="/obj/images/50/09799-01.jpg" /></a><a href="/electronics-gear/graphic-lcd-128x64-stn-led-backlight/"><img src="/obj/images/50/GDM-LCD-0.jpg" /></a><a href="/electronics-gear/rs232-shifter-smd/"><img src="/obj/images/50/00449-03-L.jpg" /></a><a href="/electronics-gear/mini-button-pad-set-white/"><img src="/obj/images/50/08998-08-L.jpg" /></a><a href="/electronics-gear/mini-button-pad-pcb/"><img src="/obj/images/50/08963-03-L.jpg" /></a><a href="/sensors/force-sensitive-resistor-05/"><img src="/obj/images/50/09375-1.jpg" /></a><a href="/electronics-gear/thumb-joystick/"><img src="/obj/images/50/09032-03-L.jpg" /></a><a href="/ip-phones/yealink-sipt18p/"><img src="/obj/images/50/yealink-t18p.jpg" /></a><a href="/sensors/water-float-switch/"><img src="/obj/images/50/float-switch.jpg" /></a><a href="/sensors/water-flow-sensor/"><img src="/obj/images/50/flowsensor1.jpg" /></a><a href="/electronics-gear/micro-hydro-generator/"><img src="/obj/images/50/micro-hydro.jpg" /></a><a href="/cordless/doro-dect-repeater/"><img src="/obj/images/50/doro-rp2001x.jpg" /></a><a href="/routers/draytek-vigor-2700ge-adsl-2-modemrouterwireless/"><img src="/obj/images/50/Vigor2700Ge.jpg" /></a><a href="/single-board-computers/intel-atom-miniitx-board-d945gsejt/"><img src="/obj/images/50/D945GSEJT.jpg" /></a><a href="/gps/locosys-ls20031-gps-receiver/"><img src="/obj/images/50/08975-03-L.jpg" /></a><a href="/arduino-boards/seeeduino-mega/"><img src="/obj/images/50/seeeduino-mega.jpg" /></a><a href="/arduino-boards/seeeduino-stalker/"><img src="/obj/images/50/seeeduino-stalker.jpg" /></a><a href="/routers/levelone-80211bgn-router-wbr6011/"><img src="/obj/images/50/WBR-6011-v1.jpg" /></a><a href="/single-board-computers/pc-engines-alix-2c10/"><img src="/obj/images/50/alix2c10.jpg" /></a><a href="/electronics-gear/5v-dc-to-dc-step-up-pcb/"><img src="/obj/images/50/08290-03-L.jpg" /></a><a href="/electronics-gear/breadboard-mini-selfadhesive-blue/"><img src="/obj/images/50/08801-03-L.jpg" /></a><a href="/electronics-gear/breadboard-mini-selfadhesive-green/"><img src="/obj/images/50/08802-03-L.jpg" /></a><a href="/electronics-gear/breadboard-mini-selfadhesive-red/"><img src="/obj/images/50/08800-03-L.jpg" /></a><a href="/electronics-gear/breadboard-mini-selfadhesive-white/"><img src="/obj/images/50/07916-01-L.jpg" /></a><a href="/electronics-gear/breadboard-mini-selfadhesive-black/"><img src="/obj/images/50/08803-03-L.jpg" /></a><a href="/electronics-gear/blinkm-i2c-controlled-rgb-led/"><img src="/obj/images/50/BlinkM.jpg" /></a><a href="/electronics-gear/megashield-kit-for-arduino/"><img src="/obj/images/50/09346-1.jpg" /></a><a href="/sensors/lpg-gas-sensor-mq6/"><img src="/obj/images/50/09404-01.jpg" /></a><a href="/sensors/methane-cng-gas-sensor-mq4/"><img src="/obj/images/50/09404-01.jpg" /></a><a href="/sensors/carbon-monoxide-gas-sensor-mq7/"><img src="/obj/images/50/09403-01.jpg" /></a><a href="/electronics-gear/gsm-cellular-shield-with-sm5100b/"><img src="/obj/images/50/09607-04.jpg" /></a><a href="/electronics-gear/nintendo-ds-touch-screen-with-connector-breakout/"><img src="/obj/images/50/08977-03-L.jpg" /></a><a href="/gps/65-channel-sup500f-10hz-gps-receiver-with-smart-antenna/"><img src="/obj/images/50/09758-01b.jpg" /></a><a href="/sensors/gyro-breakout-board-ly530al-300s/"><img src="/obj/images/50/09425-02.jpg" /></a><a href="/sensors/gas-sensor-breakout-board/"><img src="/obj/images/50/08891-03-L.jpg" /></a><a href="/sensors/alcohol-gas-sensor-mq3/"><img src="/obj/images/50/08880-03-L.jpg" /></a><a href="/robotics/easydriver-stepper-motor-driver/"><img src="/obj/images/50/09402-01.jpg" /></a><a href="/robotics/stepper-motor-with-cable/"><img src="/obj/images/50/09238-01.jpg" /></a><a href="/sensors/sparkfun-sensor-kit/"><img src="/obj/images/50/09383-01.jpg" /></a><a href="/electronics-gear/xbee-shield/"><img src="/obj/images/50/09841-01.jpg" /></a> <p>Ever since we started stocking hobby electronics gear people have been requesting smaller and smaller components. Things like temperature sensors, capacitors, particular IC's etc.</p> <p>Now, we aren't a general component store, there are others doing a great job at that. However there are some specialised components and a few generally useful items that do go well with our existing stuff.</p> <p>It doesn't really make sense for us to offer free shipping on items which are around $1, so for this reason we've decided to change our shipping policy slightly. Instead of offering free shipping on all items, we'll now offer free shipping on all orders $50 or more.</p> <p>This means that most products and orders will still ship for free, we can lower the price of some lower cost items, and allows us to bring you an even wider range of electronics components. In fact we have done exactly that, most all of the stuff that was around $50 or less is now about $5 cheaper. So if you want more than one, you're saving money right off the bat.</p> Wondering why the DSO Nano is out of stock? http://nicegear.nz/blog/wondering-why-the-dso-nano-is-out-of-stock/ 2017-11-22T03:23:22.133089Z 2010-08-17T07:10:06.284851Z Hadley Rich <img src="http://www.seeedstudio.com/blog/wp-content/uploads/2010/08/DSC_01671.jpg" /> <p><strong>What's Changed?</strong></p> <p>1. Upgraded to semi-steel case for:</p> <p style="padding-left: 30px;">a Mechanical endurance</p> <p style="padding-left: 30px;">b Shielding of noises</p> <p style="padding-left: 30px;">c Easier assembly</p> <p>2. Unibody PCB design for better reliability</p> <p>3. Complete charging circuit with LTC4054 IC</p> <p>4. Dedicate channel for signal generating.</p> <p>5. Extra button for quick adjustment</p> <p>6. Fixed battery connector</p> <p>7. Compact dimension (95mm*62mm*13mm, 76g)</p> <p>8. Updated software (something beyond v2.4 is on going)</p> <p>Not sure exactly when we'll have stock available but it shouldn't be too far away. Let us know if you want to secure stock from the first shipment.</p> New feeds http://nicegear.nz/blog/new-feeds/ 2017-11-22T03:23:22.174960Z 2010-08-18T11:15:01.199299Z Hadley Rich <p>RSS/ATOM feeds are handy.</p> <p>We've had feeds for our news items and blog since we re-launched the site back in mid 2008. I've just added some more feeds so now we have;</p> <ul> <li><a href="/new-products/feed/">New products as they're added to the site</a></li> <li><a href="/comments/feed/">Comments as they are posted</a></li> <li><a href="/blog/feed/">Blog posts</a></li> <li><a href="/news/feed/">News items</a></li> </ul> <p>There's also individual feeds for each product and blog post so you can follow just those if you're interested. These are linked from the individual pages.</p> <p>Enjoy.</p> Your order might take longer than a day http://nicegear.nz/blog/your-order-might-take-longer-than-a-day/ 2017-11-22T03:23:22.216636Z 2010-08-18T22:09:26.435542Z Hadley Rich <p>Like a lot of businesses in New Zealand, nicegear is a small business. Many of you will know this already.</p> <p>I (Hadley) do a large amount of the day to day running of the business; picking &amp; packing orders, ordering stock, customs clearances, answering emails (and occasionally the phone), etc.</p> <p>Like many small businesses, as much as I know they should be, a lot of the processes aren't completely documented and I'm not as good at showing people how to do things as I should be. This means when I go away, things don't run as smoothly as when I am here.</p> <p>Long story short, I'm away at a conference in Australia next week <strong>any orders placed the week of the 23rd to 27th August may be delayed shipping out</strong>. Of course we are still open and accepting orders, emails will be answered (and the phone, sporadically).</p> <p>Please accept my apologies for the inconvenience and (hopefully) thank you for your patience.</p> Free Arduino Box http://nicegear.nz/blog/free-arduino-box/ 2017-11-22T03:23:22.258042Z 2010-08-22T22:10:55.800262Z Hadley Rich <p> It's Monday.</p> <p>Buy an <a href="/arduino-boards/arduino-duemilanove/">Arduino</a> or <a href="/arduino-boards/seeeduino-v22/">Seeeduino</a> today and get a free <a href="/accessories/arduino-project-box/">Project Box</a> to put it in. Just mention this blog post in your order comments.</p> <img src="/obj/images/150/arduino-box.jpg" alt="Arduino Box" style="float:left" /> <p style="clear:both;">While stocks last, first in first served, etc. etc.</p> New PC Engines ALIX cases http://nicegear.nz/blog/new-pc-engines-alix-cases/ 2017-11-22T03:23:22.300098Z 2010-09-05T21:42:15.297841Z Hadley Rich <img src="/obj/alix-case-2.jpg" /> <p>We've had a few requests from customers for a more feature-full case for the <a href="/pc-engines/single-board-computers/">PC Engines ALIX single board computers</a> While the standard cases are nice and small and cost effective they do lack a few things for some people. As you can see from the pictures here we've found some alternative cases from NRG Systems in Germany.</p> <img src="/obj/alix-case-1.jpg" /> <p>Some benefits over the standard PC Engines cases; <ul> <li>External Compact Flash card access</li> <li>Optional bracket for mounting a 2.5" Hard Drive</li> <li>More antenna cutouts</li> </ul> They are larger and more expensive than the standard case but will be perfect for applications requiring more storage etc. We have a bunch of these on the way to us at the moment and they will be added to the store soon. Feel free to get in touch if you would like to pre-order. </p> Canterbury Earthquake Appeal http://nicegear.nz/blog/canterbury-earthquake-appeal/ 2017-11-22T03:23:22.342999Z 2010-09-06T02:29:45.291221Z Hadley Rich <p>The Earthquake centred near Christchurch is in our neighbourhood. Luckily Timaru is far enough away to be only mildly affected. Our thoughts are with those (including our families) in and around Christchurch who are affected.</p> <p><a href="http://www.redcross.org.nz/">The Red Cross</a> are helping out those in need on the ground up there. We are contributing our small part by donating $5 from each order placed this week and $10 for orders over $100.</p> <p>You can <a href="http://www.redcross.org.nz/">make a donation at the Red Cross website</a> too.</p> WorldxChange Xnet VFX http://nicegear.nz/blog/worldxchange-xnet-vfx/ 2017-11-22T03:23:22.385632Z 2010-09-10T00:29:35.015888Z Hadley Rich <p>We had a couple of customers lately enquiring about using various devices with WorldxChange's Xnet VFX VoIP service.</p> <p>Unlike other providers, WorldxChange suggest using only <a href="/linksys/">Linksys VoIP equipment</a> which they will automatically provision and lock down for you. You can however choose to go with their unsupported "OpenVFX" service if you would like to use your own device.</p> <p>First I tested the <a href="/yealink/">Yealink IP Phones</a> with OpenVFX and these worked great.</p> <p>Next I tested the <a href="/atcom/phone-systems/">ATCOM phone systems</a>, these don't work out of the box. I loaded up the <a href="/blog/switchfin-a-new-firmware-for-atcom-ip-pbx-series/">Switchfin</a> firmware which worked with some minor modifications to handle the separate authentication username. These modifications have now been included in the Switchfin firmware for everyone to use.</p> <p>Finally I tested with our local FreeSWITCH install, this worked fine with a few minor tweaks to the dialplan for outgoing calls like so; <pre>&lt;action application="bridge" data="{sip_contact_user=3746xxxx,sip_cid_type=none}sofia/gateway/pan.wxnz.net/$1"/&gt;</pre> </p> <p>We don't use WorldxChange's service ourselves so can't comment further other than the fact that it works in our limited testing.</p> A few new bits and pieces http://nicegear.nz/blog/a-few-new-bits-and-pieces/ 2017-11-22T03:23:22.426961Z 2010-09-14T01:51:58.637124Z Hadley Rich <p>We're almost always adding new products to the site, here's a selection from the past week or two;</p> <ul style="list-style:none;"> <li> <a href="/components/microswitch-2-terminal/"> Microswitches <img src="/obj/images/150/09414-1.jpg" alt="Microswitch" /> </a> </li> <li> <a href="/robotics/wheel-90x10mm-pair-black/"> Wheels <img src="/obj/images/150/10077-01.jpg" alt="Wheel" /> </a> </li> <li> <a href="/accessories/yealink-exp39-expansion-panel/"> Yealink IP Phone Accessories <img src="/obj/images/150/EXP39.jpg" alt="EXP39" /> </a> </li> <li> <a href="/routers/cisco-srp527w/"> Cisco All-in-one Router <img src="/obj/images/150/srp-527w.jpg" alt="Cisco SRP-527W" /> </a> </li> <li> <a href="/draytek/"> Draytek ADSL Routers <img src="/obj/images/150/draytek-vigor-2710e.png" alt="Draytek" /> </a> </li> <li> <a href="/swissbit/"> Swissbit Industrial CF Cards <img src="/obj/images/150/swissbit_1gb.jpg" alt="Swissbit" /> </a> </li> </ul> <p>Check the <a href="https://nicegear.co.nz/new-products/">new products page and feed</a> for all the goodies. While we're talking about it we also added a <a href="/top-sellers/">page listing our top sellers</a> and a <a href="/top-rated/">page listing the top rated products by our customers</a>.</p> Powered by Cherokee Web Server http://nicegear.nz/blog/powered-by-cherokee-web-server/ 2017-11-22T03:23:22.468561Z 2010-09-15T10:36:20.475720Z Hadley Rich <p>We've made a few changes to our hosting infrastructure today shifting from the traditional and popular <a href="http://www.apache.org/">Apache Web Server</a> to the fancy and (comparatively) new <a href="http://www.cherokee-project.com/">Cherokee Web Server</a>. Of course these are both fantastic open source products.</p> <p>I've noticed that the website has been a lot snappier with faster page loads and the server is running with more free memory than before which is nice. If you have any questions problems or comments feel free to let us know below.</p> Timely Advice on Security http://nicegear.nz/blog/timely-advice-on-security/ 2017-11-22T03:23:22.509562Z 2010-09-20T08:40:33.733940Z Hadley Rich <p>Here's some timely advice from the Switchfin developers regarding security on your PBX;</p> <p>"In case any of you were wondering why there has been a fairly notable upswing in the attacks happening on SIP endpoints, the answer is "script kiddies." In the last few months, a number of new tools have made it easy for knuckle-draggers to attack and defraud SIP endpoints including Asterisk-based systems as the one Switchvoice manufacture. There are easily-available tools that scan networks looking for SIP hosts, and then scan hosts looking for valid extensions, and then scan valid extensions looking for passwords."</p> <p><a href="http://switchfin.org/index.php?option=com_agora&task=topic&id=72&Itemid=54">Read the full post here.</a></p> New products September '10 http://nicegear.nz/blog/new-products-september-10/ 2017-11-22T03:23:22.593170Z 2010-10-04T22:31:12.765826Z Hadley Rich <p>Here's a recap of a few of the new items we've added in the last couple weeks;</p> <ul style="list-style:none;"> <li> <a href="/arduino-boards/arduino-uno/"> The latest and greatest Arduino Uno <img src="/obj/images/150/09950-01.jpg" alt="Arduino Uno" /> </a> </li> <li> <a href="/accessories/nrg-systems-case-for-pc-engines-alix-2d3/"> Fancy new cases for the PC Engines ALIX boards <img src="/obj/images/150/CaseNRGFrontCF.jpg" alt="PC Engines ALIX case" /> </a> </li> <li> <a href="/components/broadcom-crystal-hd-decoder-card-bcm970015/"> The Broadcom Crystal HD Decoder Card <img src="/obj/images/150/bcm970015.jpg" alt="Broadcom Crystal HD" /> </a> </li> <li> <a href="/sensors/weather-meters/"> DIY Weather Meters <img src="/obj/images/150/08942-01-L.jpg" alt="Weather Meters" /> </a> </li> <li> <a href="/cables-connectors/obdii-to-db9-cable/"> An OBDII to DB9 Cable <img src="/obj/images/150/10087-00.jpg" alt="OBDII DB9" /> </a> </li> </ul> <p>And plenty more including various electronic components, another GPS to add to our range, and various network equipment. As usual check the <a href="/new-products/">new products page and feed</a> for all the details.</p> Christmas is coming http://nicegear.nz/blog/christmas-is-coming/ 2017-11-22T03:23:22.635784Z 2010-12-05T22:23:34.401538Z Hadley Rich <p><strong>Update, 15th December: We had our 1000th order for the year yesterday. As a nice surprise for Vivienne, we gave her a full refund.</strong></p> <p>Looking back at the start of this year we were at order #2713, the latest as of this morning is #3681. Doing some simple maths gives us 968 orders so far this year. That's around 2.65 orders per day which, if it continues, should get us to 1000 by Christmas! If your order is #3713 we've got a surprise for you.</p> <p>Over the year we've added a massive range of <a href="/electronics-gear/">hobby electronics gear</a> in addition to our staple of VoIP equipment. We've brought in many new products which weren't available in New Zealand anywhere else, and had some great specials.</p> <p>None of this would be possible without you, our fantastic customers. With your help we've grown even more and also managed to raise money for a couple of great causes - the Red Cross Canterbury Earthquake Appeal and Movember Mens Health.</p> <p>We've managed to locate some precious time to spend adding enhancements to the website, with more feeds of new comments and products, a clearance section where you can get some great deals, more high quality product images, and a few tweaks to the layout here and there. We've also added more automation to our back-end systems, so even with the increased demand your orders still go out as smoothly and quickly as possible.</p> <p>We've been sporadically updating this blog as usual in fits and starts, again as usual I'll try and do my best to keep the blog posts coming, with updates, specials and more howto guides. We've been working on a couple of interesting projects with embedded electronics which some of you might like too.</p> <p>We'll be taking some time off over the holiday period to spend with family and friends. The website will still be accepting orders of course, but there will be some delays in getting them sent out. If you have any worries just send us an email and we'll be able to help out.</p> <p>So. A big thanks to all of you for your support over the year. <strong>Happy Holidays!</strong></p> Big Red Buttons (and other things) http://nicegear.nz/blog/big-red-buttons-and-other-things/ 2017-11-22T03:23:22.678714Z 2010-12-09T23:51:19.076365Z Hadley Rich <p>It's been a while since we've posted about new products, that doesn't mean we aren't still adding them though. Below is a snapshot of what's been added over the last little while, check out the <a href="/new-products/">new products page</a> for more details.</p> <p><a href="/cables-connectors/polarized-connectors-header-2pin/"><img src="/obj/images/50/Connectors.jpg" alt="Polarized Connectors - Header (2-Pin)" /></a><a href="/cables-connectors/polarized-connectors-header-3pin/"><img src="/obj/images/50/Connectors.jpg" alt="Polarized Connectors - Header (3-Pin)" /></a><a href="/cables-connectors/polarized-connectors-housing-3pin/"><img src="/obj/images/50/Connectors.jpg" alt="Polarized Connectors - Housing (3-Pin)" /></a><a href="/cables-connectors/polarized-connectors-housing-2pin/"><img src="/obj/images/50/08095-02-L.jpg" alt="Polarized Connectors - Housing (2-Pin)" /></a><a href="/cables-connectors/polarized-connectors-crimp-pins/"><img src="/obj/images/50/8100-04.jpg" alt="Polarized Connectors - Crimp Pins" /></a><a href="/cables-connectors/screw-terminals-5mm-pitch-3pin/"><img src="/obj/images/50/3PinScrewTerminal-01-L.jpg" alt="Screw Terminals 5mm Pitch (3-Pin)" /></a><a href="/cables-connectors/screw-terminals-5mm-pitch-2pin/"><img src="/obj/images/50/2PinScrewTerminal-01-L.jpg" alt="Screw Terminals 5mm Pitch (2-Pin)" /></a><a href="/cables-connectors/screw-terminals-35mm-pitch-3pin/"><img src="/obj/images/50/ScrewTerminal.jpg" alt="Screw Terminals 3.5mm Pitch (3-Pin)" /></a><a href="/cables-connectors/screw-terminals-35mm-pitch-2pin/"><img src="/obj/images/50/PRT-08084-01.jpg" alt="Screw Terminals 3.5mm Pitch (2-Pin)" /></a><a href="/rfid/rfid-tag-transparent-mifare-1k/"><img src="/obj/images/50/10128-01.jpg" alt="RFID Tag - Transparent MIFARE 1K" /></a><a href="/rfid/rfid-tag-abs-token-mifare-1k/"><img src="/obj/images/50/10127-02.jpg" alt="RFID Tag - ABS Token Mifare 1K" /></a><a href="/rfid/rfid-tag-laundry-mifare-1k/"><img src="/obj/images/50/10131-02.jpg" alt="RFID Tag - Laundry MIFARE 1K" /></a><a href="/rfid/rfid-module-sm130-mifare/"><img src="/obj/images/50/10126-01.jpg" alt="RFID Module - SM130 Mifare" /></a><a href="/cables-connectors/jumper-2-pin/"><img src="/obj/images/50/09044-02-L.jpg" alt="Jumper - 2 Pin" /></a><a href="/tools/heat-shrink-kit/"><img src="/obj/images/50/09353-01.jpg" alt="Heat Shrink Kit" /></a><a href="/electronics-gear/2500-mah-nimh-battery-aa/"><img src="/obj/images/50/00335-02-L.jpg" alt="2500 mAh NiMH Battery - AA" /></a><a href="/lcds/10-single-digit-alphanumeric-display-red/"><img src="/obj/images/50/09932-01.jpg" alt="1.0" Single Digit Alphanumeric Display - Red" /></a><a href="/lcds/10-single-digit-alphanumeric-display-blue/"><img src="/obj/images/50/09932-01.jpg" alt="1.0" Single Digit Alphanumeric Display - Blue" /></a><a href="/lcds/10-single-digit-alphanumeric-display-greenyellow/"><img src="/obj/images/50/09932-01.jpg" alt="1.0" Single Digit Alphanumeric Display - Green/Yellow" /></a><a href="/lcds/serial-alphanumeric-display-driver/"><img src="/obj/images/50/10103-01.jpg" alt="Serial Alphanumeric Display Driver" /></a><a href="/arduino-shields/canbus-shield/"><img src="/obj/images/50/10039-01.jpg" alt="CAN-BUS Shield" /></a><a href="/components/big-red-dome-push-button/"><img src="/obj/images/50/09181-05-L.jpg" alt="Big Red Dome Push Button" /></a><a href="/components/missile-switch-cover/"><img src="/obj/images/50/09278-1.jpg" alt="Missile Switch Cover" /></a><a href="/components/toggle-switch/"><img src="/obj/images/50/09276-1.jpg" alt="Toggle Switch" /></a><a href="/electronics-gear/infrared-keychain-remote-control/"><img src="/obj/images/50/10280-01.jpg" alt="Infrared Keychain Remote Control" /></a><a href="/sensors/ir-receiver-diode/"><img src="/obj/images/50/10266-01.jpg" alt="IR Receiver Diode" /></a><a href="/tools/dso-nano-v2/"><img src="/obj/images/50/10244-03b.jpg" alt="DSO Nano V2" /></a><a href="/tools/flush-cutters/"><img src="/obj/images/50/10029-01.jpg" alt="Flush Cutters" /></a><a href="/lcds/7segment-serial-display-kelly-green/"><img src="/obj/images/50/09764-01.jpg" alt="7-Segment Serial Display - Kelly Green" /></a><a href="/lcds/7segment-serial-display-red/"><img src="/obj/images/50/09764-01.jpg" alt="7-Segment Serial Display - Red" /></a><a href="/lcds/7segment-serial-display-blue/"><img src="/obj/images/50/09764-01.jpg" alt="7-Segment Serial Display - Blue" /></a><a href="/lcds/7segment-serial-display-yellow/"><img src="/obj/images/50/09764-01.jpg" alt="7-Segment Serial Display - Yellow" /></a><a href="/components/infrared-led-850nm/"><img src="/obj/images/50/09469-1.jpg" alt="Infrared LED - 850nm" /></a><a href="/lilypad/lilypad-coin-cell-battery-holder/"><img src="/obj/images/50/10084-01.jpg" alt="Lilypad Coin Cell Battery Holder" /></a><a href="/lilypad/lilypad-led-bright-white/"><img src="/obj/images/50/10044-01.jpg" alt="LilyPad LED Bright White" /></a><a href="/components/rocker-switch/"><img src="/obj/images/50/08837-01-L.jpg" alt="Rocker Switch" /></a><a href="/components/nchannel-mosfet-60v-30a/"><img src="/obj/images/50/10213-01.jpg" alt="N-Channel MOSFET 60V 30A" /></a><a href="/gps/50-channel-d2523t-helical-gps-receiver/"><img src="/obj/images/50/09566-01.jpg" alt="50 Channel D2523T Helical GPS Receiver" /></a><a href="/electronics-gear/breakout-board-for-vs1000d/"><img src="/obj/images/50/08849-1.jpg" alt="Breakout Board for VS1000D" /></a><a href="/ip-phones/cisco-spa303/"><img src="/obj/images/50/cisco-spa303.jpg" alt="Cisco SPA303" /></a><a href="/ip-phones/cisco-spa301/"><img src="/obj/images/50/spa301.jpg" alt="Cisco SPA301" /></a><a href="/telephony-cards/atcom-g01-gsm-module/"><img src="/obj/images/50/atcom-g01.jpg" alt="ATCOM G01 GSM Module" /></a><a href="/telephony-cards/atcom-ax4g/"><img src="/obj/images/50/atcom-ax4g.jpg" alt="ATCOM AX-4G" /></a><a href="/components/ultraviolet-led/"><img src="/obj/images/50/08662-02-L.jpg" alt="Ultraviolet LED" /></a><a href="/cables-connectors/audio-jack-35mm/"><img src="/obj/images/50/Audio-3.5mm.jpg" alt="Audio Jack 3.5mm" /></a><a href="/cables-connectors/hookup-wire-brown/"><img src="/obj/images/50/Hook-Up-Wire.jpg" alt="Hook-up Wire - Brown" /></a><a href="/telephony-cards/digium-aex410p/"><img src="/obj/images/50/aex410.png" alt="Digium AEX410P" /></a><a href="/sensors/triple-axis-accelerometer-board-mma7361/"><img src="/obj/images/50/09652-01.jpg" alt="Triple Axis Accelerometer Board - MMA7361" /></a><a href="/sensors/triple-axis-accelerometer-board-adxl335/"><img src="/obj/images/50/09269-1.jpg" alt="Triple Axis Accelerometer Board - ADXL335" /></a><a href="/cables-connectors/break-away-headers-male-long/"><img src="/obj/images/50/10158-01.jpg" alt="Break Away Headers - Male Long" /></a><a href="/lilypad/lilypad-light-sensor/"><img src="/obj/images/50/08464-03-L.jpg" alt="LilyPad Light Sensor" /></a><a href="/electronics-gear/arduino-and-breadboard-holder/"><img src="/obj/images/50/10059-01b.jpg" alt="Arduino and Breadboard Holder" /></a><a href="/electronics-gear/thermoelectric-cooler-40x40mm/"><img src="/obj/images/50/10080-01.jpg" alt="Thermoelectric Cooler - 40x40mm" /></a><a href="/electronics-gear/soic-to-dip-adapter-8pin/"><img src="/obj/images/50/00494-01.jpg" alt="SOIC to DIP Adapter 8-Pin" /></a><a href="/routers/54mbps-wireless-access-point-with-poe-wap3100/"><img src="/obj/images/50/WAP-3000-v1.jpg" alt="54Mbps Wireless Access Point with PoE - WAP-3100" /></a><a href="/wireless/xbee-explorer-serial/"><img src="/obj/images/50/09111-03-L.jpg" alt="Xbee Explorer Serial" /></a><a href="/dvb-cards/technotrend-s2400-dvbs-usb/"><img src="/obj/images/50/tt-s-2400.jpg" alt="Technotrend S-2400 DVB-S USB" /></a><a href="/lilypad/lilypad-arduino-328-main-board/"><img src="/obj/images/50/08465-09-L.jpg" alt="LilyPad Arduino 328 Main Board" /></a><a href="/lilypad/conductive-fabric-12-x-13-ripstop/"><img src="/obj/images/50/10056-03b.jpg" alt="Conductive Fabric - 12" x 13" Ripstop" /></a><a href="/lilypad/lilypad-bobbin/"><img src="/obj/images/50/09384-01.jpg" alt="LilyPad Bobbin" /></a><a href="/lilypad/lilypad-led-yellow-5pcs/"><img src="/obj/images/50/5pack.jpg" alt="LilyPad LED Yellow (5pcs)" /></a><a href="/lilypad/lilypad-led-blue-5pcs/"><img src="/obj/images/50/5pack.jpg" alt="LilyPad LED Blue (5pcs)" /></a><a href="/lilypad/lilypad-led-green-5pcs/"><img src="/obj/images/50/5pack.jpg" alt="LilyPad LED Green (5pcs)" /></a><a href="/lilypad/lilypad-led-red-5pcs/"><img src="/obj/images/50/5pack.jpg" alt="LilyPad LED Red (5pcs)" /></a><a href="/lilypad/lilypad-protoboard-small/"><img src="/obj/images/50/09102-03-L.jpg" alt="LilyPad Protoboard Small" /></a><a href="/lilypad/lilypad-protoboard-large/"><img src="/obj/images/50/09101-03-L.jpg" alt="LilyPad Protoboard Large" /></a><a href="/lilypad/lilypad-lipower/"><img src="/obj/images/50/08786-03-L.jpg" alt="LilyPad LiPower" /></a><a href="/lilypad/lilypad-temperature-sensor/"><img src="/obj/images/50/08777-03-L.jpg" alt="LilyPad Temperature Sensor" /></a><a href="/lilypad/lilypad-button-board/"><img src="/obj/images/50/08776-03-L.jpg" alt="LilyPad Button Board" /></a><a href="/lilypad/lilypad-tricolor-led/"><img src="/obj/images/50/08467-06-L.jpg" alt="LilyPad Tri-Color LED" /></a><a href="/headsets/jabra-gn9350-wireless-headset/"><img src="/obj/images/50/jabra-gn9350e.png" alt="Jabra GN9350 Wireless Headset" /></a><a href="/electronics-gear/solid-state-relay-ssr/"><img src="/obj/images/50/ssr.jpg" alt="Solid State Relay - SSR" /></a></p> <p>The <a href="/components/big-red-dome-push-button/">Big Red Button</a> is one of my favourites. Some of the other things worth mentioning are; a big range of <a href="/lilypad/">LilyPad wearable electroncs gear</a> added a few weeks back, some new <a href="/search/?q=accelerometer">accelerometers</a> and <a href="/gps/">GPS modules</a>, <a href="/rfid/">MIFARE RFID stuff</a>, and last but not least, the <a href="/telephony-cards/atcom-ax4g/">4 port GSM card from ATCOM</a>.</p> Browser Statistics http://nicegear.nz/blog/browser-statistics/ 2017-11-22T03:23:22.728522Z 2010-12-12T23:29:46.261936Z Hadley Rich <p>Being a relatively technical audience, I thought some of you may be interested in some statistics on the operating system and browser usage of nicegear. As you can see Firefox is still leading the way with Chrome coming up in third. Windows is still certainly ahead in the operating system stats, with Mac and Linux in a relatively even second and third.</p> <p><img src="/obj/browsers.png" alt="Browser usage" /></p> <p><img src="/obj/operating-systems.png" alt="Operating system usage" /></p> Welcome to 2011, new stuff http://nicegear.nz/blog/welcome-to-2011-new-stuff/ 2017-11-22T03:23:22.772199Z 2011-01-10T01:30:57.620940Z Hadley Rich <p>Welcome to 2011! Hopefully you all had a fantastic Holiday break. I know I (Hadley) did, just returning this weekend from a week at <a href="http://www.terracedowns.co.nz/">Terrace Downs</a> - a beautiful golf resort. To all of you who ordered over the holiday break; thanks for your orders and your patience, everything will be shipping out to you today.</p> <p>To kick of the year we've just added 30 new products to the site in the "Electronics Gear" categories. These include an <a href="/arduino-shields/power-driver-shield-kit/">Arduino "Power" shield</a> which allows you to switch higher voltage/current DC than the Arduino can normally handle. This means with the <a href="/electronics-gear/solid-state-relay-ssr/">SSR</a>s we've now got AC and DC covered.</p> <a href="/arduino-shields/power-driver-shield-kit/"><img src="/obj/images/10305-01.jpg" alt="Arduino Power MOSFET Shield" /></a> <p>We've also got a <a href="/search/?q=el">range of electroluminescent or "EL" wire and drivers/controllers including an Arduino shield</a>. This stuff is super neat, like small flexible neon you can DIY. Great for decorations, effects, Christmas and Halloween decorations etc.</p> <a href="/search/?q=EL"><img src="/obj/images/10193-01.jpg" alt="EL Wire" /></a> <p>There are various other bits and pieces too so if you haven't lately, <a href="/new-products/">head on over to the new products page</a> and check it all out.</p> <p>Thanks to all of you our great customers We had a fantastic year in 2010 and 2011 is going to be even better.</p> Yealink v60 Firmware Release http://nicegear.nz/blog/yealink-v60-firmware-release/ 2017-11-22T03:23:22.814805Z 2011-01-13T21:33:32.407864Z Hadley Rich <p>Earlier this week the final version of Yealink's v60 firmware was released. This has been in beta release for a while and it's great to see it officially out now. The big news of course is IPv6 support. Also definitely worth a mention is Action URI/URL support; this allows you to not only control the phone via HTTP requests but also have the phone notify a web server on certain events e.g. incoming calls, outgoing calls etc.</p> <p>The list of new features is pasted below and the <a href="http://www.yealink.com/Uploads/download/4d11552fedb56.pdf">full changelog can be found here</a> [yealink.com]. I'd recommend everyone look at upgrading to get some great new features, enhancements and a few bug fixes.</p> <ul> <li>Added IPV6 support.</li> <li>Supported Action URL/URI.</li> <li>Added ACD function.</li> <li>Added LLDP support.</li> <li>Supported PushXML.</li> <li>Enable Broadsoft ACD synchronization.</li> <li>Supported Broadsoft Network Call Log.</li> <li>Supported Broadsoft Network Phonebook.</li> <li>Supported Zero-Sp-Touch.</li> <li>Enabled HuaWei ATS Conference.</li> <li>Added Watchdog function.</li> <li>Enabled transfer RTP package from PC port.</li> <li>Enabled optional of WAN and PC ports speed.</li> <li>Supported Send Sound of headset can be adjusted.</li> <li>Enabled user-defined of Button Sound and Send Sound.</li> <li>Enabled Registration Random.</li> <li>Enable calling out with no registration.</li> <li>Supported Hebrew input method and displaying from right to left function.</li> <li>Added Password Dial-up function.</li> <li>Enabled whether Use Outbound Proxy In Dialog configurable.</li> </ul> Distinctive Ring on Yealink Phones http://nicegear.nz/blog/distinctive-ring-on-yealink-phones/ 2017-11-22T03:23:22.857029Z 2011-01-19T23:02:42.222980Z Hadley Rich <p>A common query for people implementing IP based phone systems is how to have a phone ring differently for internal (from within the office) and external (from the PSTN) calls. To do this you'll need two things; a phones that supports this - here we're using Yealink phones, and a VoIP server that supports the "Alert-info" header - many do such as the popular open source solutions Asterisk and FreeSWITCH. Other than that it's all pretty straight forward.</p> <p>Firstly we will configure the Yealink phone. To do this go to the "Phone" tab and then to the "Ring" page under that.</p> <img src="/obj//yealink-distinctive-ring.png" alt="Yealink Distinctive Ring" /> <p>Once there add an entry into the first set of boxes. Under "Internal Ringer Text" choose a short descriptive name for the ring, I've called it "Internal" as I'm going to use it to change the ringer for internal calls. Under "Internal Ringer File" select the ring that you would like to use. That's it as far as the Yealink phone configuration goes.</p> <p>Configuring the VoIP PBX differs depending on the SIP server you are using. For Asterisk you need to add a line to the extension or incoming rule configuration such as the following;</p> <pre>exten => s,1,SIPAddHeader(Alert-Info: &lt;http://localhost/&gt;;info=Internal)</pre> <p>The "Internal" at the end of that line correlates to what was entered into the phone configuration. This can be added either directly into the configuration file, or perhaps through the GUI interface that your PBX provides.</p> <p>For FreeSWITCH things are much the same with a slightly different syntax. Add a line to the extension rule such as the following;</p> <pre>&lt;action application="export" data="alert_info=&lt;http://localhost/&gt;;info=Internal"/&gt;</pre> <p>Again the "Internal" at the end of that line correlates to what was entered into the phone configuration.</p> <p>This is all the configuration you need, you can set up as many different rings as your phone and VoIP PBX system allow.</p> Tweezers Help Hatch a Kiwi Chick http://nicegear.nz/blog/tweezers-help-hatch-a-kiwi-chick/ 2017-11-22T03:23:22.897716Z 2011-02-08T22:03:09.813965Z Hadley Rich <p>We just had the best email to say that some <a href="/tools/tweezers-straight/">tweezers</a> we sold over the holiday period helped <a href="http://kiwibird.co.nz/">Kiwi Birdlife Park</a> hatch a kiwi chick!</p> <pre>After an assisted hatching on Sunday morning, the latest brown kiwi chick to hatch at the Queenstown Kiwi Birdlife Park is showing all the signs of growing into a healthy young chick.</pre> <p>Big congratulations Nic and the team and Kiwi Birdlife Park and thanks for making our day.</p> <p><a href="http://www.odt.co.nz/your-town/queenstown/147056/cannot-get-more-kiwi">Read the full story in the Otago Daily Times</a></p> Christchurch Earthquake http://nicegear.nz/blog/christchurch-earthquake/ 2017-11-22T03:23:22.938341Z 2011-02-22T20:10:25.414791Z Hadley Rich <p>Thanks to all our friends and suppliers who have sent messages of support. We're in Timaru which is about 150km south of Christchurch. We and all our family and friends are safe to the best of our knowledge.</p> <p>If you would like to help the Red Cross have an appeal at <a href="http://www.redcross.co.nz/">www.redcross.co.nz/</a> (though it's not up at the moment). We have donated money to the ASB appeal (account 12-3205-0146808-00) and will be donating more money as we did for the last earthquake in September. Part of the profit from your orders will go to assist those just up the road from us.</p> <p>We shipped out some orders and will continue to do so but please note that they may not get through for some time.</p> <p>Our thoughts are with all those effected.</p> Android Gingerbread (2.3.3) http://nicegear.nz/blog/android-gingerbread-233/ 2017-11-22T03:23:22.980097Z 2011-03-03T20:48:01.928092Z Hadley Rich <img src="/obj/android-gingerbread-home.png" alt="Android Gingerbread home screen" style="float:right;padding:5px;margin-right:10px;" /> <p>Last night my (Hadley) phone, a Nexus One, prompted me to do an over the air (OTA) update to Android Gingerbread, the latest 2.3.3 version of Google's operating system.</p> <p>After the update had completed the initial start up took quite some time, the phone was also pretty unresponsive for several minutes. I guess there was still a substantial amount of things going on in the background. Once left for a few minutes I had a quick flick through my normal applications; K9 email, the built in web browser, Google reader and Handcent SMS. Interestingly things do seems a little but snappier than before. Pages are rendering faster in the browser, application screens seem to be shown a little quicker than before and menu selections are acted on more instantly.</p> <p>As you can see from the screenshots (these are of my phone) the theme has changed a bit, the top notification bar is dark instead of light, the phone/browser/web button down the bottom is squarer and a little green. There's also a nifty animation when you turn the screen of reminiscent of turning off an old school CRT TV, very cool.</p> <img src="/obj/android-gingerbread-voip-settings.png" alt="Android Gingerbread VoIP settings" style="float:left;padding:5px;margin-left:5px;" /> <p>As well as the speed improvements and new prettiness, there is one new feature that I've especially been waiting for. Built in VoIP.</p> <p>As soon as I'd started up and had a quick play around I went straight into the call settings to find out how this VoIP thing worked. To test I registered the phone as an extension to our local FreeSWITCH VoIP server here, as you can see in the screenshot I've made it extension 806. Once I entered the SIP username, password and server address the phone registered and I could immediately place calls. Easy. I've also registered to a test account on 2Talk which appears to work fine.</p> <img src="/obj/android-gingerbread-voip-account-settings.png" alt="Android Gingerbread VoIP settings" style="float:right;padding:5px;margin-right:5px;clear:right;" /> <!--<p>As you can see from the screen-shots of the settings screens there's a few settings which should allow you to connect to most VoIP providers without too much trouble.</p> <img src="/obj/android-gingerbread-voip-account-advanced-settings.png" alt="Android Gingerbread VoIP settings" style="float:left;padding:5px;margin-left:5px;" />--> <p>The call quality is good, our FreeSWITCH server is set up to prefer the G722 wideband codec, then G711 (ULAW/ALAW), a few others and then GSM. When the GSM codec was listed, even at the end, the Android client chose GSM which isn't great quality and leaves a poor impression. After removing the GSM codec from the choices the Android client chooses G711 ULAW which although is bandwidth intensive, is good quality. If we had G729 available this may be a possibility for lower bandwidth usage. As G729 is a licensed CODEC and we have enough bandwidth not to worry, we just use G711.</p> <p>I currently have the phone set to ask whether to place outgoing calls via VoIP or the mobile network every time, you can choose a preference here too. I can't see this replacing my desk phone as what I want to use every day - there's nothing quite like picking up a decent handset - but it's certainly useful when I'm not sitting in front of my desk.</p> <div style="clear:both;"></div> PC Engines ALIX Boards Power over Ethernet http://nicegear.nz/blog/pc-engines-alix-boards-power-over-ethernet/ 2017-11-22T03:23:23.021668Z 2011-04-11T02:31:15.927588Z Hadley Rich <p>We occasionally get asked what the deal is with the Power over Ethernet (PoE) on the <a href="/pc-engines/single-board-computers/">PC Engines "ALIX" series of single board computers</a>.</p> <p>It's not the same as the PoE that most <a href="/ip-phones/">IP Phones</a>, IP Cameras and <a href="/switches/">network switches</a> use. To save money on components so you can buy them at such good prices PC Engines decided to use "passive" PoE technology, which is basically sending DC power down the unused pairs of the network cable. The voltage can be anything in the range that the ALIX boards accept (7-20V) which is again different to the 48V that 802.3af PoE uses.</p> <p>There's a couple of useful products to power the ALIX boards with; firstly the <a href="/accessories/pc-engines-poe-injector-for-alix-boards/">standard PC Engines injector</a> which lets you just use the same jack that you would normally plug directly into the board, but remotely. Then there's the <a href="/accessories/freetronics-4channel-power-over-ethernet-midspan-injector/">Freetronics 4-Channel PoE Injector</a>, this is much the same thing, but will let you power 4 devices.</p> <p>If you've already got a <a href="/switches/">PoE Switch</a> powering other things on your network then you can use this neat product from LevelOne; the <a href="/accessories/levelone-poe-splitter-pos1002/">"POS-1002" PoE splitter</a>. This neat little box converts the 48V from your PoE switch to various selectable voltages and even comes with a selection of output jack sizes which will let you power all sorts of devices, including the ALIX boards.</p> <p>Hopefully this gives some insight into powering the <a href="/pc-engines/single-board-computers/">PC Engines ALIX boards</a> with Power over Ethernet (PoE). To finish off, since we're talking about powering the ALIX boards, here's <a href="http://1wt.eu/articles/alix-ups/">a neat article with a DIY UPS for the ALIX boards</a> as a bonus.</p> Arduino Controlled Networked Thermostat http://nicegear.nz/blog/arduino-controlled-networked-thermostat/ 2017-11-22T03:23:23.063943Z 2011-04-27T23:58:47.448654Z Hadley Rich <p>As the colder months set in we all naturally start to think about heating the house. Down here in South Canterbury, things are starting to get a little chilly lately.</p> <p>Our family house has a log burner installed which, as well as being cosy, is an efficient, sustainable and cheap form of heating. For the past couple of years we have enjoyed the warmth of our fire in the living area but the temperature in the bedrooms wasn't quite up to par, especially at night.</p> <p>Our living area is quite large (10m x 5m) with a chapel ceiling at 4.5m high, which makes for a large volume of heated air sitting around up there where no one can really feel it - what a waste! I've measured the temperature up there and with the fire going it quickly gets up to 35&deg; - 40&deg; C. To combat this wastage I recently installed a heat transfer unit which moves the air from the living space ceiling down to the bedrooms. This is a simple system, consisting of a fan mounted in the roof space, some well insulated ducting, and ceiling vents.</p> <p>Now of course I could have purchased an off the shelf thermostat to go with the system but what fun would that be? It would also require a new 240V circuit wired up, with the associated electrical inspector fees. I decided to whip one up using an <a href="/arduino-boards/">Arduino</a>, a <a href="/sensors/one-wire-digital-temperature-sensor-ds18b20/">temperature sensor</a>, and a <a href="/electronics-gear/solid-state-relay-ssr/">Solid State Relay (SSR)</a>. To make things a little more interesting, I also added <a href="/arduino-shields/freetronics-ethernet-shield-with-poe/">Ethernet capability</a>.</p> <p>To save the electrical regulation complications, I used the existing wiring from an old ceiling fan, this just required a replacement switch on the wall. I designed the unit to degrade gracefully, this means that if there is no network connection it will behave just like a normal on/off switch as people would expect. With the network connection though things get a little more interesting with the following features;</p> <ul> <li>Automatically start and stop fan dependant on temperature</li> <li>Ability to set/adjust on and off temperatures remotely</li> <li>Override automatic mode (force fan on or off)</li> <li>Send temperatures to a web server for logging</li> </ul> <p>Here you can see a picture of the assembled unit, inside you can see the Arduino/Ethernet combo (bottom right), a 12V power supply to run it (top right), and the SSR (top left). Coming out each end is the ends of an off-the-shelf extension cord and out the side is the Ethernet and temperature sensor cable.</p> <img style="" src="/obj/arduino-network-thermostat.jpg" alt="Arduino Network Thermostat" /> <p style="">Here's a sample of the basic web page output from the Arduino itself.</p> <img style="" src="/obj/arduino-network-thermostat-web.png" alt="Arduino Network Thermostat Web Interface" /> <p>Like any good project the code is open source. Like a lot of projects it was hacked together rather quickly and re-used various snippets, in other words it isn't that pretty. It's always better to release early than never to get around to releasing at all though right? You can find the code available on launchpad for now; <a href="http://bazaar.launchpad.net/~hads/+junk/heat-transfer/files">http://bazaar.launchpad.net/~hads/+junk/heat-transfer/files</a></p> <p>Although the code is a little messy it does have some good examples of storing configuration data in EEPROM, running a web server as well as a client at the same time, using the DHCP, DNS and DallasTemperature libraries. If anyone has any questions about getting it going, or better yet suggestions/comments/criticisms/patches, then by all means feel fee to comment below!</p> <p>As well as a private server here, I've been uploading the data to the new ThingSpeak service, they have a neat charting API to visualise the output data;</p> <iframe width="450" height="250" style="border: 1px solid #cccccc;" src="https://www.thingspeak.com/channels/365/charts/1?timescale=20&days=1"></iframe> <p>In the very near future we'll have a new product from Freetronics, the <a href="/arduino-boards/freetronics-etherten/">EtherTen</a>, which is an Arduino and Ethernet shield all built into one board. This is the perfect type of project for it and would allow you to save money on the components too.</p> <p>I hope this is an interesting little project for you, I'll try and find some more time in the future to share some of the other home automation projects I've installed around our house - Hadley</p> <p><strong>Warning: This system involves mains (240V) voltages which can kill you. If you're going to try this at home please exercise caution.</strong></p> IPv6 Day http://nicegear.nz/blog/ipv6-day/ 2017-11-22T03:23:23.104725Z 2011-05-05T23:48:33.205830Z Hadley Rich <p><a href="http://isoc.org/wp/worldipv6day/">World IPv6 day</a> is on 8th of June 2011, it starts at 00:00 UTC which means lunchtime here (IPv6 day will run into the 9th by 12 hours here). So with a little over a month to go we've prepared our serves for it and started testing by serving the site at <a href="http://ipv6.nicegear.co.nz">ipv6.nicegear.co.nz</a> (<strong>Note this link will only work if you have IPv6 connectivity</strong>). When IPv6 day arrives we'll be serving the main site at the normal address dual stacked (both IPv4 and IPv6).</p> <p>As we don't have native IPv6 transit yet we're currently using IPv6 tunnels from <a href="http://tunnelbroker.net">Hurricane Electric</a>. Set up on our servers took very little time, just adding an interface and DNS records. The thing that took the longest was setting up things here at the office so we could test everything. Our old <a href="/routers/linksys-wrt54gl/">WRT54GL</a> router was running a super old version on <a href="http://openwrt.org">OpenWRT</a>, it's now been upgraded to their latest "Backfire" release which includes a spiffy new GUI.</p> <p>So let us know if you're using the IPv6 site or if you have any other comments/questions about it.</p> Website Speed and Downtime http://nicegear.nz/blog/website-speed-and-downtime/ 2017-11-22T03:23:23.146285Z 2011-05-24T08:50:22.735498Z Hadley Rich <p>You may have noticed the website running a little slowly over the past few weeks with some "Gateway Timeout" HTTP errors. The 15 minutes downtime at 6pm this evening should have solved that issue.</p> <p>nicegear runs on a KVM virtual machine (VM) on a dedicated server running <a href="http://www.ubuntu.com">Ubuntu</a> which we lease from <a href="http://www.sitehost.co.nz">SiteHost here in New Zealand</a>. On the host server we were seeing <a href="http://en.wikipedia.org/wiki/Load_(computing)">load average</a>s spike from 5 to 25 while on the VM the load was running normally at less than 1. At first I thought the reason for the slow down was just high load from increased traffic to nicegear and other websites running on other VMs. This wasn't correct.</p> <p>After some investigation it turns out that one of the disks in the main <a href="http://en.wikipedia.org/wiki/RAID">RAID</a> volume has been failing. Normally you would see errors from either <a href="http://en.wikipedia.org/wiki/S.M.A.R.T.">S.M.A.R.T.</a> or other RAID monitoring services when you have a disk failing, in this instance I didn't spot the issue quickly as there were no errors, just very average write performance which was partially masked by the RAID system.</p> <p>After some serious debugging I took the step of failing the disk out of the main array and falling back to a single disk. Immediately after doing this the load average on the bare metal host dropped from 15 down underneath 0.5 - which for a quad core system is very healthy.</p> <p><a href="http://www.sitehost.co.nz">SiteHost</a> were kind enough to head down to the data centre this evening and replace the dodgy drive. The data is re-syncing across to the new drive at the moment and everything is back running at a nice speed.</p> Social Media Widgets http://nicegear.nz/blog/social-media-widgets/ 2017-11-22T03:23:23.187000Z 2011-06-03T00:15:56.503925Z Hadley Rich <p>Google in the last few days released the <a href="http://www.google.com/+1/button/">+1 Button</a> for general website use. After neglecting our social toolbox for a couple of years we've just got with the program and decided to add a few of these tools to our product pages.</p> <p>We've now got the Google +1 button, the Facebook Like button, the good old del.icio.us social bookmark button and a Tweet button for sharing on Twitter. You'll find the little buttons down the left hand side of the product pages, below the price and other details. If there are any other services you use and would like to see on the site just let us know in the comments below.</p> <p>As a little bonus for reading this short post you might want to check out the <a href="/ip-phones/snom-320/">snom 320</a> which we've got on special today only for $50 off.</p> #WorldIPv6Day http://nicegear.nz/blog/worldipv6day/ 2017-11-22T03:23:23.227572Z 2011-06-08T02:03:14.193871Z Hadley Rich <p>As I <a href="/blog/ipv6-day/">previously posted</a>, World IPv6 Day is today, right now, and running until midday tomorrow NZST. We've now enabled IPv6 access on the main nicegear.co.nz domain (as well as the existing IPv6 only <a href="http://ipv6.nicegear.co.nz">ipv6.nicegear.co.nz</a>. If your ISP provides IPv6 access for you then you will automatically be using IPv6 to access the website, if they don't then you should automatically fall back to the normal IPv4 site.</p> <p>In some small circumstances your ISP or your hardware will not work at all, that means you won't be reading this. You also won't be able to reach Google today to see what's wrong. You should call your ISP and complain or replace the equipment that isn't ready for IPv6.</p> GPRS with the SM5100B Arduino GSM Shield http://nicegear.nz/blog/gprs-with-the-sm5100b-arduino-gsm-shield/ 2017-11-22T03:23:23.269538Z 2011-06-29T08:13:36.497659Z Hadley Rich <p>The <a href="/arduino-shields/gsm-cellular-shield-with-sm5100b/">SparkFun SM5100B Arduino GSM Shield</a> is a really neat device. Unfortunately there's not a whole heap of good documentation around, more unfortunately a lot of the forum blog posts discussing it are incomplete or actually wrong. There's a bit around on SMS functionality but when it comes to GPRS support things are even worse.</p> <p>Recently John Boxall from tronixstuff has done a <a href="https://tronixstuff.wordpress.com/tag/sm5100b/">couple of getting started tutorials for the SM5100B</a> which contain some of the best documentation around. He hasn't (yet?) covered GPRS though.</p> <p>I (Hadley) have recently been trying to help a customer work through some issues with GPRS on the <a href="/arduino-shields/gsm-cellular-shield-with-sm5100b/">SM5100B Shield</a> and made some time after hours to look into it. I thought I'd post my findings hopefully to the benefit of others.</p> <p>I'm not going to provide code at this stage as I don't have a complete working solution, just a bunch of rough hacked together debugging code to see why things aren't working. Instead I'm going to post a check list of things that you might want to look out for. It is an area (one of many) that I'm personally interested in so perhaps I'll have time to write some more code in the future, if so I'll post an update.</p> <p>So without further ado, a list of things to watch out for when doing GPRS on the <a href="/arduino-shields/gsm-cellular-shield-with-sm5100b/">SM5100B GSM Shield</a>;</p> <ul> <li>It's been said before but it needs saying again. <strong>Make sure you have enough power!</strong> You <em>might</em> get away with sending an SMS with a 1A supply or even USB, but doing GPRS, you'll need <strong>at least 2A</strong>. I used a 2A supply and it wasn't enough, 2.5A did it. <strong>If you don't have enough power your module will randomly reset itself</strong> you'll see various +SIND: lines scroll past and things won't work. You <strong>need to plug the power supply into a pin on the shield</strong>, either VIN if it's 12V or the 5V pin if it's a regulated 5V supply.</li> <li><strong>You need to use a hardware UART</strong>, unfortunate but true. NewSoftSerial doesn't cut it for receiving data base enough from the SM5100B module. It seems to work fine for reading responses from AT commands so you can use it for SMS etc. When reading the response from a network socket you'll get dropped characters and missing data. Because of this, you'll either need an <a href="/search/?q=mega">Arduino Mega</a> with it's extra UARTs, or use the single UART on an Uno and have difficulty uploading code and debugging.</li> <li>Leading on from the last point, you need to <strong>increase the SM5100B UART speed from 9600 to 115200</strong>. I haven't tried speeds in between but this is what I found worked. The SM5100B module spits out data quickly, if you don't keep up it will drop it and then it's gone. Even with a hardware UART I had to up the speed to keep up. The symptom of this is making an HTTP GET request and receiving only part of the response back from the server.</li> <li>The final note on the same subject, <strong>don't mess around when data is available from the socket</strong>. If there's data there start reading it off straight away, if not you'll run into the same issue with buffers.</li> <li>When sending data with AT+SDATASEND, you need to <strong>encode the data to HEX and set the correct length - of the HEX encoded data</strong>.</li> <li>When you send CTRL-Z, don't use Serial.println() - this will send extra characters such as a line feed which will confuse the module. If you can only do something once, such as send an SMS, open a socket etc. and after that continuously get "+CME ERROR: 4" this is probably the problem. Use "Serial.print(26, BYTE);" rather than println.</li> </ul> <p>So that's my list of things I learnt so far while debugging GPRS on the <a href="/arduino-shields/gsm-cellular-shield-with-sm5100b/">SM5100B</a>. There's certainly more to learn, as I said I haven't got a complete working sketch yet. If you've got any questions or comments please feel free to say so below.</p> Credit Cards and PCI-DSS Security Requirements http://nicegear.nz/blog/credit-cards-and-pcidss-security-requirements/ 2017-11-22T03:23:23.310448Z 2011-07-11T08:42:22.318996Z Hadley Rich <p>We were recently signed up with a third party security auditing company called Trustwave as part of the merchant agreement with our bank for credit card processing. Their job is to test for <a href="https://www.pcisecuritystandards.org/">PCI-DSS</a> compliance which is basically security regarding credit card processing.</p> <p>Even though <strong>we don't store any credit card details</strong>, we still need to comply with these standards as part of our agreement with the bank which allows us to accept credit cards. This is because the card details are entered on our e-commerce site and transmitted to our processing gateway.</p> <p>As well as a lengthy questionnaire about security practices, part of the process is a vulnerability scan on our website. Being the mostly technical group that our customers are, I thought that some of you may be interested in seeing the details of the report.</p> <p>You can find the <a href="/obj/trustwave_scan_report-2011-07-08.pdf">PDF Report on our site here</a>.</p> <p>There are a few information items (not errors or warnings, just informative) in the report regarding the website's SSL certificate. This appears to be because Trustwave's list of trusted certificate signing authorities isn't as complete as those in common browsers and operating systems.</p> <p>Apart from the SSL information items, and a couple of other unimportant things the report is all clear which means the site responded well (as it should) to the security scan. This isn't a big surprise here as we already run security scans on the website ourselves as part of our general development practice. One useful thing that did come from the scan was we discovered that the 404 error page wasn't being cached as it should causing high load under an aggressive scan. This has now been taken care of and will make the site more responsive in these circumstances.</p> <p>If anyone has any questions or comments please feel free to comment below or contact us directly.</p> Siemens Gigaset IP Phones http://nicegear.nz/blog/siemens-gigaset-ip-phones/ 2017-11-22T03:23:23.354163Z 2011-07-15T03:25:22.472576Z Hadley Rich <p>Like many of our products, nicegear were the first to bring the <a href="/siemens/">Siemens Gigaset IP Phones</a> to the market in New Zealand. With our many great supplier relationships we've been able to keep a consistent supply of stock while others have had difficulty.</p> <p>Siemens are now making a late entry into the New Zealand market and will finally be officially releasing their IP products here. In the coming months there are a couple of new products being released; one a high featured all-in-one desktop phone with optional cordless handsets, and two a new high end cordless phone with more features than the current models.</p> <p>The current Gigaset IP products available in New Zealand are;</p> <ul> <li><a href="/cordless/siemens-gigaset-a580ip/">Gigaset A580IP Base Station with Cordless Handset</a></li> <li><a href="/cordless/siemens-gigaset-a58h/">Gigaset A58H Additional Cordless Handset</a></li> <li><a href="/cordless/siemens-gigaset-c47h/">Gigaset C47H Additional Cordless Handset</a></li> <li><a href="/cordless/siemens-gigaset-e49h/">Gigaset E49H Additional Cordless Handset</a></li> </ul> <p>The two new products being released in the coming months are;</p> <ul> <li>Gigaset DX800A All-in-one</li> <li>Gigaset C610IP Base Station with Cordless Handset</li> </ul> <p>Following is some details on the new products. We'll have these available for purchase on the website as soon as we can get them from the distributors.</p> <h3>DX800A all in one</h3> <img src="http://gigaset.com/medias/sys_master/DX800A_all_in_one_SYS_TR_pianoblack_titanium_530x315neu.jpg" alt="Gigaset DX800A all in one " /> <ul> <li>Multiline desktop phone: fixed, IP and ISDN line</li> <li> Large TFT colour display and exceptional HD sound</li> <li> Up to 4 parallel calls and multiple handsets – up to 6</li> <li> Three answering machines – ideal for SOHOs</li> </ul> <p><strong>The high-end hybrid desktop phone for VoIP and ISDN or fixed line calling.</strong></p> <p>The Siemens Gigaset DX800A all in one is the professional multiline desktop phone for small offices and home offices. From its comfortably modern design to its large 3.5 TFT colour display, this corded phone has executive chic and the business-like functionality to match. Being a hybrid phone means the Gigaset DX800A all in one is truly flexible and can be configured to either IP with ISDN, or IP with fixed line. Because it’s a multiline phone it can support up to 4 parallel calls and expand with multiple handsets – up to 6 in total. Managing contacts is easy with up to 1.000 vCard entries. You can synchronise with your PC to access Outlook contacts and locate details easily with auto look-up. The Gigaset DX800A all in one has best-in-class hands-free for wired or wireless hands-free talking. And what’s more, every single conversation is heard in exceptional High Definition sound quality. With its range of energy-saving features and radiation-free mode, this telephone is better for the environment. And thanks to three integrated answering machines with a combined recording time of up to 55 minutes, the Gigaset DX800A all in one is equipped to support small businesses.</p> <p>With its executive features, VoIP with ISDN or fixed line and large colour display, the Gigaset DX800A all in one is ideal for small offices and home offices. This multiline desktop phone is capable of meeting the daily demands of up to four professionals.</p> <p><img title="DX800A all in one" src="http://gigaset.com/medias/sys_master/content_DX800A_all_in_one_grafik.png" border="0" alt="DX800A all in one" align="right" /> Because the Gigaset DX800A all in one is a hybrid desktop phone, it is a completely flexible Next Generation-ready solution and a real investment for the future. When you configure this telephone you choose between VoIP and regular fixed line or VoIP and ISDN, based on the needs of your small office or home office. And as the needs of the future change, the Gigaset DX800A all-in-one can be reconfigured as required. Being a multiline telephone means it supports up to 4 calls in parallel; ideal for busy environments and if you ever need to expand your horizons with multiple handsets the Gigaset DX800A all-in-one supports up to 6.</p> <p>The Gigaset DX800A all in one manages your contacts professionally. As well as providing an address book for up to 1.000 vCards, this valuable multiline desktop phone links to your Outlook contacts. When someone in your small office or home office needs to locate the details of other businesses, the Gigaset DX800A all in one saves time with access to an online net directory and Yellow Pages search. With auto look-up it’s even easier to find the details needed. The online benefits of this hybrid desktop phone do not end there; get useful Gigaset info services direct to your large colour display – RSS news feeds, a weather forecast and more. Also receive email notification, showing details of the sender, subject, time and date. And with Link2Mobile Bluetooth® technology you can make and receive mobile calls from the comfort of the Gigaset DX800A all in one, whenever it suits you.</p> <p><img title="Answering machine" src="http://gigaset.com/medias/sys_master/content_icon_AnsweringMachine_75x75.png" border="0" alt="Answering machine" width="75" height="75" align="left" /> The three separate answering machines of the Gigaset DX800A all in one, with a combined recording time of up to 55 minutes, mean your associates will never be cut short, even when leaving detailed messages. This dependable multiline desktop phone does all it can to let you know when new messages are waiting, from notification on the large TFT colour display to sending an SMS. And for the convenience of everyone that uses your small office or home office, the answering machines of the Gigaset DX800A all in one can even record calls.</p> <p>Environmental efficiency.<br /> <img title="green home logo" src="http://gigaset.com/medias/sys_master/content_logo_GreenHome_no_radiation_energy_220x144.png" border="0" alt="green home logo" width="220" height="144" align="right" />The Gigaset DX800A all in one has an energy-saving power supply, meaning it consumes less electricity saving you money and helping the environment. For further energy savings, a time controlled night mode switches off the display when not in use. When no cordless handsets are registered to the base station the DECT power is switched off completely. When handsets are registered, the transmitting power to the base station is variably reduced depending on their distance apart. You can also reduce the transmitting power by 80% by selecting the ECO Mode. Furthermore, radiation-free ECO Mode Plus turns off the transmitting power when the handset is in standby. Rely on the Gigaset DX800A all in one for professional energy-efficiency.</p> <p>With its smart design, HD sound and flexible configuration – VoIP with ISDN or fixed line – the Gigaset DX800A all in one is a real investment for the future and the savvy choice for your professional small office or home office.</p> <h3>C610 IP</h3> <p><img id="prodPictBig" src="http://gigaset.com/medias/sys_master/C610_IP_C610A_IP_SYS_TR_black_IPDisNeu_530x315.jpg" alt="Gigaset C610 IP" /></p> <p><strong>Smart communication</strong></p> <ul> <li>VoIP and landline phone for up to 3 parallel calls</li> <li>HD sound (HDSP) for VoIP calls</li> <li>Access to your Email, Facebook, Twitter, and eBay accounts</li> <li>energy-saving ECO DECT</li> </ul> <p><strong>The internet and landline phone that brings communication to new heights with online features, parallel calls, and exceptional sound.</strong> </p> <p>On the Gigaset C610 IP, you enjoy the advantages of choosing either internet or landline calls to suit your needs. Up to 3 online or landline calls can be made in parallel, giving you great talking flexibility. All VoIP calls reach you in exceptional HD sound with HDSP technology. Thanks to the internet connection, you can also access online information via the Gigaset C610 IP. And energy-saving ECO DECT technology makes this state-of-the-art internet phone an environmentally friendly choice in telephony. If you are looking for an elegant internet and landline phone, the Gigaset C610 IP is your solution.</p> <p><strong>The benefits of VoIP</strong><br /> The ability to make up to 3 parallel calls via the internet or landline makes the Gigaset C610 IP a truly exceptional communication solution. You can switch between internet and landline calls with ease. All internet calls are delivered in HDSP for exceptional HD sound – even when you talk in hands-free mode. Another major benefit of VoIP calling: telephone for free, worldwide, when you call other Gigaset VoIP phones via Gigaset.net. These VoIP bonuses and more on the Gigaset C610 IP bring your calling to a new level.</p> <p><img title="Smart online convenience" src="http://gigaset.com/medias/sys_master/content_Info_services_Weather_nomirror_200x120.jpg" border="0" alt="Smart online convenience" width="200" height="120" align="left" /><strong>Smart online convenience<br /> </strong>With the Gigaset C610 IP, you enjoy many intelligent online tools that truly bring telephony to a new level. An entire spectrum of online information are at your fingertips: news, weather, and horoscope are updated daily, and you can consult the translator, biorhythm checker, encyclopedia, unit converter in just a few button clicks. And if you own an account on eBay® , Facebook® or Twitter®, you can get instant notifications in your bids, friends and tweets®. The email viewer lets you check the latest status of your inbox without having to turn on your PC. Use the Gigaset C610 IP’s online phonebook to look up people and businesses (white and yellow pages).</p> <p><a href="http://gigaset.com/hq/en/cms/PageInternetInfoServices.html" onclick="pageTracker._trackPageview('/outgoing/gigaset.com/hq/en/cms/PageInternetInfoServices.html?referer=http://www.kiwivoip.co.nz/');">more informations</a><br /> <strong>User-friendly extras<br /> </strong>Designed with an elegant look and for intuitive use, the Gigaset C610 IP provides state-of-the-art materials and features. Its large, high-resolution colour display makes reading and navigating the handset’s menu completely trouble-free and easy on your eyes. The address book holds up to 150 entries with VIP groups, so you can keep your favourite contacts and contacts groups within quick reach on the Gigaset C610 IP.</p> <p><strong>ECO DECT: Pure energy savings and radiation-free</strong><img title="ECO DECT" src="http://gigaset.com/medias/sys_master/logo_GreenHome_energy_saving_nomirror_220x100.png" border="0" alt="ECO DECT" width="220" height="100" align="right" /><br /> The energy-saving power supply of the Gigaset C610 IP consumes less electricity, so it’s kinder to the environment, and kinder to your wallet. Like all Gigaset cordless phones, it variably reduces the transmitting power from the handset to base station depending on their distance apart. You can also reduce the transmitting power of the Gigaset C610 IP’s base station by 80% simply by selecting the ECO Mode. Furthermore, radiation-free ECO Mode Plus turns off the transmitting power when the phone is in standby.</p> <p>The Gigaset C610 IP is the VoIP and landline phone for smart communication with online conveniences and parallel calls.</p> Dispatch delays next week http://nicegear.nz/blog/dispatch-delays-next-week/ 2017-11-22T03:23:23.396951Z 2011-08-15T21:02:40.838992Z Hadley Rich <p>Basically the same post as <a href="/blog/your-order-might-take-longer-than-a-day/">this time last year</a>, so I'm going to copy and paste a lot of it.</p> <p>I (Hadley) am heading off to an annual conference in Australia next week. Because nicegear is a small business and I do a lot of the day to day grunt work (including packing orders for the courier), <strong>orders placed next week (22nd to 26th August) may be delayed shipping out</strong>.</p> <p>Whether your order is delayed or not depends on what you're ordering and where the stock is held. We keep most of the electronics equipment here at the office, this will be delayed. Although we keep a lot of the VoIP equipment here too, we've also got alternative suppliers from whom we can ship direct - these should have little or no delay.</p> <p><a href="/contact/">Drop us a line</a> and we can give you specifics. Of course we are still open and accepting orders, emails will be answered etc. <strong>Any delayed orders will be shipped by Monday the 29th</strong>.</p> <p>Please accept my apologies for the inconvenience and thank you for your patience.</p> Low Power Arduino Tutorial http://nicegear.nz/blog/low-power-arduino-tutorial/ 2017-11-22T03:23:23.438231Z 2011-08-17T21:12:08.523494Z Hadley Rich <pre>Why is this important? If we are using a 200mAh CR2032 20mm coin cell battery, we have a very limited power supply. If you use 10mA, you'll get 20hrs of use out of your project (200mAh / 10mA = 20hr). If you manage to reduce the power a little to 100uA, you'll get (200mAh / 0.1mA = 2000hr) 83 days of use - a huge difference! Let's see just how low the ATmega328 will go.</pre> <p>Check out this great tutorial from Nate at SparkFun about <a href="http://www.sparkfun.com/tutorials/309">making an Arduino use minimal amounts of power for battery operation</a></p> <p>Also in the comments is a link to a <a href="https://github.com/rocketscream/Low-Power">useful looking Arduino sleep library</a> for those wishing to save power but not go to quite the same amount of trouble.</p> Repeat this post http://nicegear.nz/blog/repeat-this-post/ 2017-11-22T03:23:23.478584Z 2011-09-06T22:44:22.255238Z Hadley Rich <p>We had a repeat performance of <a href="/blog/website-speed-and-downtime/">this post here</a> - a failed hard drive in the server. Once again everything is back up and running like normal this morning.</p> Awesome Arduino Comic http://nicegear.nz/blog/awesome-arduino-comic/ 2017-11-22T03:23:23.519381Z 2011-09-13T00:49:07.657158Z Hadley Rich <p><a href="http://www.jodyculkin.com/comics-2/introduction-to-arduino"><img src="/obj/comic.png" alt="Arduino comic" /></a></p> <p>Check out this great <strong>Introduction to Arduino in the form of a Comic</strong> from <a href="http://www.jodyculkin.com/comics-2/introduction-to-arduino">Jody Culkin</a>, click through for the full PDF.</p> DIY CNC Mill http://nicegear.nz/blog/diy-cnc-mill/ 2017-11-22T03:23:23.560199Z 2011-09-23T04:58:27.316563Z Hadley Rich <p>Check out what our good customer Graham has been up to with his home built CNC mill he built from various purchased from us right here. Great work Graham;</p> <a href="/obj/graham-cnc.jpg"><img title="CNC milled book" src="/obj/graham-cnc.jpg" style="width:640px;height:480px;" /></a> Office Closed Friday 11/11/11 http://nicegear.nz/blog/office-closed-friday-111111/ 2017-11-22T03:23:23.609804Z 2011-11-07T02:05:12.365942Z Hadley Rich <p>We'll be closed this Friday on the lovely date of the 11/11/11. We're off supporting <a href="http://theundie700.co.nz/">"The Undie 700" - a charity scooter ride from Timaru to Nelson</a>, raising money for men's health.</p> <p>If anyone is interested in donating funds to the cause you can <a href="/payment/?notes=Undie700">do so online here</a> or <a href="/contact/">drop us a note here</a>. Any money donated will go directly to the <a href="http://nz.movember.com/">Movember charity</a> - <strong>and we will match it dollar for dollar</strong>.</p> <p>This does mean that any orders placed after final shipping Thursday afternoon won't be shipped until Monday. Our apologies for the inconvenience but I'm sure you'll understand that it's for a good cause.</p> 2011 Holiday Period Hours http://nicegear.nz/blog/2011-holiday-period-hours/ 2017-11-22T03:23:23.706823Z 2011-11-29T01:58:45.815564Z Hadley Rich <p>Realising the need to spend time with our families nicegear will be in a limited mode of operation from Friday 16th December through Monday 9th January. Last orders need to be in by 3pm on the 16th for dispatch that afternoon.</p> <p>Of course we will still be taking orders but just bear in mind that there may be a delay before your order is dispatched. We will be checking emails occasionally, so if you have something urgent send an email through and we'll look at it to see what we can do.</p> <p>I would like to take the time to thank all of our supportive customers over the past year, we look forward to helping you all out over the course of the next year.</p> <p>Happy holidays to all from the nicegear team!</p> Factory reset a Yealink http://nicegear.nz/blog/factory-reset-a-yealink/ 2017-11-22T03:23:23.751708Z 2011-12-07T22:18:19.026316Z Hadley Rich <p>A quick post so we've got a place to point people that ask. If you ever need to <strong>reset a Yealink phone without the admin password</strong> it's actually really easy - just <strong>hold down the OK button for 10 seconds</strong> and you'll be prompted to reset and restart the phone. Done.</p> Courier delays yesterday http://nicegear.nz/blog/courier-delays-yesterday/ 2017-11-22T03:23:23.792951Z 2011-12-12T20:33:49.434494Z Hadley Rich <p>Our regular Courierpost driver has taken ill, as such we've had a mix of temporary drivers over the last week or so. Courierpost have been great and things have kept moving along like clockwork. Unfortunately yesterday the driver forgot to make our last pickup of the day. This means that North Island orders will be delayed one day. South Island orders have been put on same day service and should hopefully arrive on time.</p> <p>Please accept our apologies for the inconvenience.</p> Siemens takes the gigaset.co.nz domain name off us http://nicegear.nz/blog/siemens-takes-the-gigasetconz-domain-name-off-us/ 2017-11-22T03:23:23.834375Z 2011-12-14T00:12:49.586154Z Hadley Rich <p>We sell Gigaset phones, to help us sell these back in February we registered the gigaset.co.nz domain and pointed it to our website. When we started selling Gigaset phones back in 2010 we were the only ones bringing them into the country and selling them. No local support from Siemens.</p> <p>In July this year the AU/NZ manager for Siemens contacted us requesting the gigaset.co.nz domain for their own use. I (Hadley) responded saying; <blockquote>"I'm happy to discuss gifting the gigaset.co.nz domain to you guys for use promoting the brand in New Zealand. Perhaps we could talk about a compromise such as a preferential link on your new site back to nicegear as an online retailer of Gigaset phones."</blockquote> which I thought was quite reasonable. After many email exchanges Siemens eventually came back with <a href="/obj/siemens-legal-stuff.pdf">this document prepared by their legal team in Germany</a>. It involves some interesting things that we would have to agree to;</p> <ul> <li>Pay for the Siemens to transfer the domain name to their name.</li> <li>Waive all sorts of legal rights.</li> <li>Not talk about the agreement during and two years after it's existence.</li> <li>Siemens could terminate the agreement whenever they wanted (and keep the domain).</li> </ul> <p>As you may have gathered, we didn't agree to the terms.</p> <p>Consequently Siemens lodged a claim with the Domain Name Commissioner's Disputes Resolution Service in late September. Following through that process, at their cost of $2000, an expert was appointed in late November to decide the outcome. Last week the expert made their ruling stating that the domain name should be transferred to Siemens. There's a <a href="http://dnc.org.nz/sites/default/files/content/711.pdf">copy of the ruling available here</a>.</p> <p>All in all it's been an interesting experience. I'm not terribly concerned that the domain was taken, I don't personally consider it an unfair registration, we registered it to help people find Gigaset phones available for sale in New Zealand, not to hurt Siemens or mislead anyone.</p> Waiting for Motorola Remote Stock http://nicegear.nz/blog/waiting-for-motorola-remote-stock/ 2017-11-22T03:23:23.877325Z 2012-01-19T00:48:09.597075Z Hadley Rich <img src="/obj/images/0000184.jpg" style="float:right;" /> <p>You have have seen the <a href="/htpc/motorola-htpc-remote/">Motorola HTPC Remote control</a> that we got into stock late last year.</p> <p>Unfortunately <a href="http://www.pulse-eight.com/">Pulse-Eight</a> (through no fault of their own) ran into a bit of trouble with the quality control from Motorola's factory. After learning about this I (Hadley) personally went through the entire shipment and hand tested them for two issues;</p> <ul> <li>Left arrow button being a little hard to press</li> <li>Severe range degradation</li> </ul> <p>The left arrow issue is a hardware fault and the range issue appears to be some sort of incompatibility between the dongle and certain PC motherboards USB systems.</p> <p>As it turns out, a reasonable percentage of the first shipment we received turned out to be faulty in one way or another. As far as I'm aware we have now replaced all of the faulty units that were sent out before we tested the entire batch - if you still have a unit which is exhibiting any faults, let us know and we will sort it out.</p> <p>Pulse-Eight have come to the party to sort everything out and have arranged replacements for all the faulty units. We're just waiting on the new hardware revision to be built and get stock shipped over to us here. Hopefully they will be arriving with us in late February.</p> Rhombus-Tech, RaspberryPi & More http://nicegear.nz/blog/rhombustech-raspberrypi-more/ 2017-11-22T03:23:23.919251Z 2012-01-31T21:03:19.056614Z Hadley Rich <p>We've been waiting patiently for the <a href="http://www.raspberrypi.org/">Rapsberry Pi</a> to become available as we're going to be distributing this in New Zealand and there is a lot of interest.</p> <p>One thing that has concerned myself and others is the binary blobs and closed source libraries being used on the Raspberry Pi. While discussing this on the NZ Linux Users Group mailing list this morning one of the users mentioned the <a href="http://rhombus-tech.net/allwinner_a10/">Allwinner A10 by Rhombus-Tech</a>, a GPL compatible, more powerful, and cheaper ($15!) board. Now that's something to get excited about. Click through to Free Software Magazine to read more below;</p> <a href="http://www.freesoftwaremagazine.com/articles/allwinner_a10_gplcompliant_computer_15"><img src="/obj/fsmag.png" /> </a> XBee Configuration on Linux and Mac (and Windows) http://nicegear.nz/blog/xbee-configuration-on-linux-and-mac-and-windows/ 2017-11-22T03:23:23.961257Z 2012-03-08T18:44:25.883730Z Hadley Rich <p>I just came across a <a href="http://arduino.cc/blog/2012/03/08/easy-cross-platform-configurator-for-xbee-modules/">post on the official Arduino blog</a> about a new piece of software similar to Digi's X-CTU but cross platform for all those people who don't use Windows.</p> <blockquote>Italian company "moltosenso" has released a free, cross-platform software that allows you to configure all the parameters of your XBee modules. moltosenso Network Manager IRON is the cross-platform answer for the users of Digi International® X-CTU. </blockquote> No Raspberry Pi Here http://nicegear.nz/blog/no-raspberry-pi-here/ 2017-11-22T03:23:24.003734Z 2012-03-19T21:45:37.633101Z Hadley Rich <p>A few weeks back I posted here that we were looking forward to selling the Raspberry Pi. Well we're still looking forward to it but not quite as much as we won't be selling it (for now, at least).</p> <p>We were talking with The foundation over email for quite a while and had lined up to distribute the Raspberry Pi here in New Zealand, things were looking good. Then unfortunately sometime in February we stopped getting email replies. Not too long afterwards we found out along with everyone else that the foundation had chosen Farnell and RS Componenets as their worldwide distributors.</p> <p>Although it's great news that the Raspberry Pi boards will be easily available to everyone worldwide, it's a little disappointing finding out the way that we did. To to all our customers who were looking forward to purchasing one from us, sorry we can't help you now, perhaps in the future or with another product.</p> Direct Credit Payments Just Got Better http://nicegear.nz/blog/direct-credit-payments-just-got-better/ 2017-11-22T03:23:24.047709Z 2012-04-02T22:30:13.440784Z Hadley Rich <p>We bank with ASB Bank. They recently (yesterday) started processing incoming and outgoing funds transfers hourly throughout the day. This means that where before you would have to use a credit card to ensure your payment was cleared by us on the same day, you can now use a direct credit.</p> <p>You can see the full announcement with details on processing times etc. <a href="https://www.asb.co.nz/story24915.aspx">over on the ASB website.</a></p> Auto generated, persistent MAC address for Arduino Ethernet http://nicegear.nz/blog/auto-generated-persistent-mac-address-for-arduino-ethernet/ 2017-11-22T03:23:24.090615Z 2012-04-18T22:22:31.699459Z Hadley Rich <p>Most of the <a href="/arduino-boards/">Arduino</a> projects we create here are network connected using Ethernet. Probably the most annoying thing about <a href="/search/?q=arduino+ethernet">Arduino Ethernet shields</a> is that they don't each have a unique MAC address. This means that if you're deploying a number (any number more than one, actually) on a local network then you're going to run into trouble.</p> <p><strong>Update: <a href="/blog/autogenerated-random-persistent-mac-address-for-arduino-ethernet/">Here's a post showing an alternative, more random option.</a></strong></p> <p>A lot of people and most examples on the Internet hard-code the MAC address into the sketch. This is fine but soon becomes a hindrance if you're deploying a few boards or store your code in a version control system.</p> <p>Generating a random MAC address is useful and quite simple but ideally we don't what the MAC address of each node to change each time it boots, this can cause issues with DHCP and also having a persistent MAC address is useful for sending with messages over the network to uniquely identify which node it came from.</p> <p>Here's a simple example sketch which generates a random MAC address and stores it in EEPROM (non-volatile memory, the Arduino has a small amount). The random MAC address is generated on first boot, on each subsequent boot after that it is read back out of EEPROM to ensure it stays the same.</p> <pre> #include &lt;SPI.h&gt; #include &lt;Ethernet.h&gt; #include &lt;EEPROM.h&gt; byte mac[6] = { 0xBE, 0xEF, 0x00, 0x00, 0x00, 0x00 }; char macstr[18]; void setup() { Serial.begin(9600); // Random MAC address stored in EEPROM if (EEPROM.read(1) == '#') { for (int i = 2; i &lt; 6; i++) { mac[i] = EEPROM.read(i); } } else { randomSeed(analogRead(0)); for (int i = 2; i &lt; 6; i++) { mac[i] = random(0, 255); EEPROM.write(i, mac[i]); } EEPROM.write(1, '#'); } snprintf(macstr, 18, "x:x:x:x:x:x", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); // Start up networking Serial.print("DHCP ("); Serial.print(macstr); Serial.print(")..."); Ethernet.begin(mac); Serial.print("success: "); Serial.println(Ethernet.localIP()); } void loop() { } </pre> <p>Feel free to use this example code for whatever you wish. The only thing to watch out for is if you are using EEPROM elsewhere in your sketch that you don't clobber the values. You can remove the macstr variable and associated print lines to save on program space and RAM (memory) if you need it.</p> Auto-generated, Random, Persistent MAC Address for Arduino Ethernet http://nicegear.nz/blog/autogenerated-random-persistent-mac-address-for-arduino-ethernet/ 2017-11-22T03:23:24.141148Z 2012-04-21T08:43:54.523330Z Hadley Rich <p>This is a follow up to <a href="/blog/auto-generated-persistent-mac-address-for-arduino-ethernet/">our post from a couple of days on the same subject</a>.</p> <p>Whilst I still often use the code from our previous post without any issues, it was pointed out that the way it generates random addresses isn't random (the standard Arduino random functions aren't really random). This isn't an issue for most people's usage as it's not overly common to have loads (20+) of Arduino devices on the same local network.</p> <p>Regardless, here's an updated version which is more random. It uses the TrueRandom library from tinkerit. The TrueRandom library generates random numbers by using a complicated algorithm, described by the authors themselves;</p> <blockquote>It is hard to get a truly random number from Arduino. TrueRandom does it by setting up a noisy voltage on Analog pin 0, measuring it, and then discarding all but the least significant bit of the measured value. However, that isn't noisy enough, so a von Neumann whitening algorithm gathers enough entropy from multiple readings to ensure a fair distribution of 1s and 0s.</blockquote> <p>The TrueRandom library does include a function to generate a MAC address for you, however it generates random bytes for all six octets of the address. This can cause issues as the first three octets are important and some network devices - such as your DHCP server - will ignore invalid addresses.</p> <p>The first three octets are the "Organizationally Unique Identifier" or OUI, these are assigned to companies. I've use the OUI from GHEO Sa, which is the correct one for Arduino Ethernet. Then the rest of the MAC address or the last three octets is randomly generated.</p> <p>Here's the code;</p> <pre>#include &lt;SPI.h&gt; #include &lt;Ethernet.h&gt; #include &lt;EEPROM.h&gt; #include &lt;TrueRandom.h&gt; byte mac[6] = { 0x90, 0xA2, 0xDA, 0x00, 0x00, 0x00 }; char macstr[18]; void setup() { Serial.begin(9600); // Store MAC address in EEPROM if (EEPROM.read(1) == '#') { for (int i = 3; i &lt; 6; i++) { mac[i] = EEPROM.read(i); } } else { for (int i = 3; i &lt; 6; i++) { mac[i] = TrueRandom.randomByte(); EEPROM.write(i, mac[i]); } EEPROM.write(1, '#'); } snprintf(macstr, 18, "x:x:x:x:x:x", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); // Start up networking Serial.print("DHCP ("); Serial.print(macstr); Serial.print(")..."); Ethernet.begin(mac); Serial.print("success: "); Serial.println(Ethernet.localIP()); } void loop() { } </pre> <p>As it includes an external library it's a little more annoying if you want to distribute your sketch and it also adds a little size to your program. For most situations you can use either solution and be completely fine, I've added this post for completeness.</p> <p>Thanks for Mike for the prompt, if anyone else has any comments please feel free to add them below.</p> Home Automation with Arduino MQTT http://nicegear.nz/blog/home-automation-with-arduino-mqtt/ 2017-11-22T03:23:24.191484Z 2012-04-30T10:44:15.266301Z Hadley Rich <p>I've been working on a few networked projects with Arduino lately as well as looking into combining the various home automation hacks into a more cohesive system. MQTT has kept popping up on my radar for a while now and is perfect for building my centralised home automation system. Basically MQTT is a lightweigt publish/subscribe messaging protocol, every message has a topic and an optional payload.</p> <p>I have had the Open Source <a href="http://mosquitto.org/">Mosquitto MQTT Broker</a> set up on our server for a while now. Added a basic Python script doing some logic and some Arduino clients using the <a href="https://github.com/knolleary/pubsubclient/">Arduino MQTT library</a> to send button presses and flash LEDs etc.</p> <p>As a proof of concept it's working fantastically, but to go further I need some sort of defined schema for home automation using MQTT. I thought I would publish this in the hopes that someone else has thought about this before and has feedback/suggestions/criticism on it.</p> <p>Below is what I've come up with so far - really just a brain dump. The left side of the = being the topic and the right side being the various payload options (separated by a forward slash or a range shown by a dash). 00:00:00:00:00:00 is an example MAC address of an input or output node. $PERSON represents a unique person id.</p> <p>General environmental;</p> <pre>/home/all/time = sunrise/sunset /home/all/alarm = security/fire/earthquake/flood </pre> <p>Some meta messages designed to be sent on startup of the node, notifying the server of start and the various inputs or outputs that are available.</p> <pre>/home/00:00:00:00:00:00/meta/start /home/00:00:00:00:00:00/meta/output/0 = digital/fader /home/00:00:00:00:00:00/meta/input/0 = button/motion/light </pre> <p>Some environmental data, temperature etc. The beginnings of prescence to facilitate actions on peoples movements;</p> <pre>/home/00:00:00:00:00:00/event/env/temperature = 18.2 /home/00:00:00:00:00:00/event/env/humidity = 50 /home/00:00:00:00:00:00/event/env/light = 0-100 /home/00:00:00:00:00:00/event/presence/$PERSON = enter/exit </pre> <p>And the guts of it, inputs and outputs, this is the part I'm struggling with the most currently - whether to breakout the events into buttons, motion, timers etc. or stick with just input/output;</p> <pre>/home/00:00:00:00:00:00/input/0 = press/hold/release/motion/no-motion /home/00:00:00:00:00:00/input/0/feedback = ? /home/00:00:00:00:00:00/output/0 = on/off/blink/fade=0-100/timer=10 </pre> <p>The inputs/outpus may well be on different nodes, an <a href="/arduino=boards/">Arduino</a> lightswitch, an <a href="/search/?q=arduino+mega">Arduino Mega</a> or <a href="/single-board-computers/beaglebone/">Beaglebone</a> inside a switching box etc.</p> <p>There's other things to consider, for starters; the input/output id (on the end of the topic) will need to be translated on the node.</p> <p>If anyone has any suggestions on the general schema, language used, or anything I would welcome it. Please let me know, either in the comments below or by email.</p> Analytics Q1 2012 http://nicegear.nz/blog/analytics-q1-2012/ 2017-11-22T03:23:24.235975Z 2012-05-03T01:09:23.939184Z Hadley Rich <p>At the end of 2010 I made <a href="/blog/browser-statistics/">a post with browser and operating stats</a>. This is a follow up to that to see what's changed.</p> <p>You'll see the graphs are a little different this time around, for a while now we've been using <a href="http://piwik.org/">Piwik, open source web analytics</a> instead of Google Analytics to give our users the option of privacy possible.</p> <p>To the actual statistics. Browsers; Last year it was Firefox, IE and Webkit (Chrome/Safari) in first second and third, this year it's Webkit, Firefox and IE so a bit of a switch around.</p> <p>Operating systems haven't changed too significantly, Mac and Linux are similar, Windows has lost ground to "Others". Just to mention again, our site isn't typical due to the product focus and technical audience.</p> <p><img src="/obj/2012-stats-1.png" alt="Browser usage" /></p> <p><img src="/obj/2012-stats-2.png" alt="Operating system usage" /></p> New Product: Polycom SoundStation Duo http://nicegear.nz/blog/new-product-polycom-soundstation-duo/ 2017-11-22T03:23:24.280293Z 2012-05-09T21:11:03.854977Z Hadley Rich <p>The <a href="/ip-phones/polycom-soundstation-duo/">Polycom SoundStation Duo</a> is a new product from Polycom, the de-facto standard for conferencing phones. Previously you had to choose between one of the traditional <a href="/analog-phones/">analogue conference phones</a> or their new <a href="/search/?q=soundstation+ip">VoIP conference phones</a>. Now with the new <a href="/ip-phones/polycom-soundstation-duo/">SoundStation Duo</a> you get the best of both worlds and all at a very good price. Stock on order now and due in June.</p> <a href="/ip-phones/polycom-soundstation-duo/"><img src="https://nicegear.co.nz/obj/images/polycom-soundstation-duo.jpg" alt="Polycom SoundStation Duo" /></a> Arduino 1.0.1 Release and Arduino Leonardo Stocked http://nicegear.nz/blog/arduino-101-release-and-arduino-leonardo-stocked/ 2017-11-22T03:23:24.326295Z 2012-05-22T09:40:25.563814Z Hadley Rich <p>The latest Arduino creation from Italy has been released and we're now allowed to talk about it - the <strong><a href="/arduino-boards/arduino-leonardo/">Arduino Leonardo</a></strong>. We've got a limited amount <strong>in stock now!</strong> <del>on order which have left Italy and are winging there way to us as we speak</del>. They should be here in around a week or 10 days.</p> <img src="https://nicegear.co.nz/obj/images/arduino-leonardo.jpg" alt="Arduino Leonardo" /> <p>The interesting thing about the Leonardo is that rather than having a separate chip/controller to talk USB to the computer it's all based on one micro-controller - the ATmega32u4. This keeps the price down and also allows some really neat things, like acting as a USB keyboard/mouse amongst many others. The Arduino Leonardo <a href="http://arduino.cc/en/Guide/ArduinoLeonardo">getting started guide</a> is a great read and will fill you in on all the details along with a few tricks.</p> <p>Along with the <a href="/arduino-boards/arduino-leonardo/">Arduino Leonardo</a> comes a new maintenance release of the Arduino Development Environment (IDE) - 1.0.1 - <A href="http://arduino.cc/blog/2012/05/22/arduino-1-0-1-release/">here's the official announcement</a>.</p> <p>The main features of the Arduino 1.0.1 release are support for the Leonardo and some new translations. Apart from that there are a bunch of bug fixes so it's a recommend upgrade for everyone. Here are a couple of the bug fixes that are interesting for our usage here;</p> <ul> <li><a href="https://code.google.com/p/arduino/issues/detail?id=716">Issue 716</a>: DHCP lease handling - this is a big one if you work with DHCP environments and want to start using the built in DHCP support of the Ethernet library from 1.0+</li> <li><a href="https://code.google.com/p/arduino/issues/detail?id=454">Issue 454</a>: Add Stream.readString() and Stream.readStringUntil() that return String instances - the String objects are a time saving and convenient features so it's good to see more options for using them.</li> <li><a href="https://code.google.com/p/arduino/issues/detail?id=728">Issue 728</a>: Core support for ATmega1284P - the ATmega1284P (and Atmega644P) are great chips which deserve to be included in the main distribution.</li> </ul> <p>Thanks for reading and keeping us here running around mad trying to keep up with everything!</p> Linux Laptops! http://nicegear.nz/blog/linux-laptops/ 2017-11-22T03:23:24.369994Z 2012-07-05T04:03:22.038545Z Hadley Rich <p>A couple of years ago we had a selection of Laptops with no Windows or operating system installed. These were mostly for people who use Linux or other Free/Open Source software. Unfortunately we haven't been able to source Laptops without Windows through the "normal" suppliers for quite a while now. </p> <p>Today though, things have changed. We still can't get them, but, great news! <a href="https://zareason.co.nz/">Zareason has set up a store in New Zealand selling Laptops built from the ground up to run Linux.</a> They are great people and if you're looking for a new laptop you must head on over there to check out their great products.</p> <p style="text-align:center;"><a href="https://zareason.co.nz/"><img src="https://zareason.co.nz/skin/za_dark/images/vivid_dreams/logo.png" alt="Zareason Logo" /></a></p> <p>By the way we aren't related to Zareason at all, except for the fact that we both love open source. So you can take this as an impartial recommendation.</p> New Zealand XML Dialplan for snom IP phones http://nicegear.nz/blog/new-zealand-xml-dialplan-for-snom-ip-phones/ 2017-11-22T03:23:24.419627Z 2012-07-16T21:58:46.862067Z Hadley Rich <p>This is a follow up post to <a href="/blog/new-zealand-dialplan-for-snom-phones/">my previous post from back in 2008</a>. <a href="http://blog.etc.gen.nz/">Andrew</a> nicely sent me an email the other day saying that he had translated the regular expression based dial plan I created into the snom XML dialplan format. Here's what he cam up with below, thanks Andrew!</p> <pre>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;dialplan&gt; &lt;TEMPLATE MATCH="3.." Timeout="1" User="Phone"/&gt; &lt;!-- Emergency Services --&gt; &lt;TEMPLATE MATCH="1,1.." Timeout="1" User="Phone"/&gt; &lt;!-- Local and national calling to landlines --&gt; &lt;TEMPLATE MATCH="1,[2-9]......" Timeout="1" User="Phone"/&gt; &lt;TEMPLATE MATCH="1,0[3-4][2-9]......" Timeout="1" User="Phone"/&gt; &lt;TEMPLATE MATCH="1,0[6-7][2-9]......" Timeout="1" User="Phone"/&gt; &lt;TEMPLATE MATCH="1,09[2-9]......" Timeout="1" User="Phone"/&gt; &lt;!-- Free calling (0800, 0508) and expensive (0900) services --&gt; &lt;TEMPLATE MATCH="1,0800......" Timeout="1" User="Phone"/&gt; &lt;TEMPLATE MATCH="1,0508......" Timeout="1" User="Phone"/&gt; &lt;TEMPLATE MATCH="1,0900....." Timeout="1" User="Phone"/&gt; &lt;!-- Vodafone (021) --&gt; &lt;TEMPLATE MATCH="1,02102......" Timeout="1" User="Phone"/&gt; &lt;TEMPLATE MATCH="1,021[3-4]....." Timeout="1" User="Phone"/&gt; &lt;TEMPLATE MATCH="1,021[6-9]....." Timeout="1" User="Phone"/&gt; &lt;TEMPLATE MATCH="1,0210[0-1]....." Timeout="1" User="Phone"/&gt; &lt;TEMPLATE MATCH="1,0210[3-9]....." Timeout="1" User="Phone"/&gt; &lt;TEMPLATE MATCH="1,021[1-9]......" Timeout="1" User="Phone"/&gt; &lt;!-- 2Talk VoIP mobile numbers --&gt; &lt;TEMPLATE MATCH="1,02889...." Timeout="1" User="Phone"/&gt; &lt;!-- All other mobile numbers --&gt; &lt;TEMPLATE MATCH="1,024......." Timeout="1" User="Phone"/&gt; &lt;TEMPLATE MATCH="1,027......." Timeout="1" User="Phone"/&gt; &lt;TEMPLATE MATCH="1,029......." Timeout="1" User="Phone"/&gt; &lt;!-- Paging services --&gt; &lt;TEMPLATE MATCH="1,0261....." Timeout="1" User="Phone"/&gt; &lt;TEMPLATE MATCH="1,0262......" Timeout="1" User="Phone"/&gt; &lt;!-- Default --&gt; &lt;TEMPLATE MATCH="*" Timeout="15"/&gt; &lt;/dialplan&gt;</pre> WiFi Light Painting Wellington http://nicegear.nz/blog/wifi-light-painting-wellington/ 2017-11-22T03:23:24.460783Z 2012-07-17T23:19:07.073234Z Hadley Rich <p>Some guys at Trade Me got in touch the other day about an office challenge they were having. They wanted to create something like <a href="http://www.nearfield.org/2011/02/wifi-light-painting">this, WiFi light painting</a>.</p> <p>Using an <a href="/arduino-boards/arduino-mega-2560/">Arduino Mega 2560</a> and a <a href="/components/super-bright-led-white-100-pack/">bunch of super bright LEDs</a> they created their own version. Check out the super-cool picture of the result;</p> <img src="/obj/wifi-light-painting-wellington.jpg" alt="WiFi Light Painting Wellington" /> How to program 55 Arduinos and stay sane http://nicegear.nz/blog/how-to-program-55-arduinos-and-stay-sane/ 2017-11-22T03:23:24.502348Z 2012-07-19T02:47:21.438068Z Hadley Rich <img src="/obj/55-arduinos.jpg" alt="55 Arduino Boards" /> <p>For a recent, yet to be blogged about project I had to program 55 Arduino boards. I don't really mind repetitive jobs but you still want to make things as simple as possible. There's no point doing something that takes one minute 55 times if you can write a script in 5 minutes and then take 10 seconds to do the job 55 times. That's a saving of at least half an hour, or a lot more if you have to do the job more than once!</p> <p>In this particular instance, as you can see from the picture above, we chose the <a href="/arduino-boards/seeeduino/">Seeeduino v3.0</a> from Seeed Studio. There were a couple of reasons for this; one was cost, they are a large enough amount cheaper than the alternatives that when you multiply it by 55 the saving certainly adds up. Two was the low profile nature of the Atmega chip, power jack and USB connector, with the shield we stacked on top this was useful.</p> <p>So if I stop beating around the bush, this is the part you want to know. Using the excellent <a href="http://inotool.org/">command line Arduino toolkit, Ino</a> and a tiny script I wrote, all you need to do is plug and un-plug an Arduino and watch the screen. That's it. This is the script;</p> <pre>#!/bin/bash if [ -z $1 ]; then echo 'Usage: '$0' /dev/tty...' exit 1 fi DEVICE=$1 NEW=true echo 'Ready to program Arduino on '$DEVICE while true; do if [ -c $DEVICE ]; then if $NEW; then ino upload NEW=false echo 'Next please...' fi else NEW=true fi sleep 0.2 done </pre> <p>For those who are after more info on the project itself I've got some more info to come which I'll be posting on the blog. Any questions in the mean time feel free to comment below.</p> Some Raspberry Pi accessories have landed! http://nicegear.nz/blog/some-raspberry-pi-accessories-have-landed/ 2017-11-22T03:23:24.543165Z 2012-07-31T23:37:00.609634Z Hadley Rich <p>The Raspberry Pi $50 Linux computer has created quite a stir selling out the first shipment within minutes and having a huge demand worldwide. People have been waiting to get their hands on the little boards for quite some time and they are just now becoming more available.</p> <p><img src="/obj/adafruit-pi-accessories.jpg" alt="Adafruit Raspberry Pi Accessories" /></p> <p>Thanks to our distributor arrangement with the fantastic <a href="http://adafruit.com/">Adafruit</a> we've managed to get our hands on some great accessories so people can properly play with their little Raspberry Pi computers. The following are currently available;</p> <ul> <li><a href="/electronics-gear/adafruit-prototyping-pi-plate-kit-for-raspberry-pi/">Adafruit Prototyping Pi Plate Kit for Raspberry Pi</a></li> <li><a href="/cables-connectors/gpio-ribbon-cable-for-raspberry-pi/">GPIO Ribbon Cable for Raspberry Pi</a></li> <li><a href="/electronics-gear/adafruit-pi-cobbler-breakout-kit-for-raspberry-pi/">Adafruit Pi Cobbler Breakout Kit for Raspberry Pi</a></li> <li><a href="electronics-gear/adafruit-pi-box-enclosure-for-raspberry-pi-computers/">Adafruit Pi Box - a beautiful clear perspex enclosure</a> (very limited supply right now).</li> </ul> <p>If you want your own Raspberry Pi to go with these fantastic acccessories head on over to Element14 or RS Componenets who are the exclusive distributors - we don't have any sorry, no one else has.</p> Arduinos in Schools http://nicegear.nz/blog/arduinos-in-schools/ 2017-11-22T03:23:24.584894Z 2012-08-27T23:22:00.301384Z Hadley Rich <p>A good customer and now friend <a href="http://www.mbeckett.co.nz/">Mark Beckett</a> has been doing great work passing on his experience with electronics and Arduino to some 10-12 year olds from <a href="http://www.swannanoa.school.nz/Swannanoa_School/Welcome.html">Swannanoa School</a> up north of Christchurch.</p> <img src="/obj/swannanoa1.jpg" alt="Swannanoa School Kids Learning Electronics" /> <p>We (along with <a href="http://blog.ponoko.com/2012/07/20/arduino-fun-for-kids/">Ponoko</a> and <a href="http://www.theshedmag.co.nz/online/">The Shed Magazine</a> helped out with the hardware while Mark donated his own time and money to give the kids some great education during the holidays. The course was very well received and a majority of the students have now purchased their own kits to continue to experiment with.</p> <img src="/obj/swannanoa2.jpg" alt="nicegear sponsored electronics kits for Swannanoa School" /> <p>Great work Mark! We're really pleased to be involved.</p> <p>If you've got a project that you would like to chat about, feel free to <a href="/contact/">drop us a line</a>.</p> Milking Cows with Arduino - Part 1 http://nicegear.nz/blog/milking-cows-with-arduino-part-1/ 2017-11-22T03:23:24.626552Z 2012-09-04T22:02:27.343592Z Hadley Rich <p>I'm going to break this up into a couple of shorter posts, starting with a general introduction here. Please feel free to let me know in the comments if there is anything specific you would like me to cover.</p> <p>Over the past couple of years I've been working with some local farmers building an automated calf feeder (that's a topic for another post). Over the winter one of the farmers involved in that project came to me asking if I could tackle another project, this time in his milking shed with grown up cows.</p> <p>While his cowshed (a rotary with 54 milking bales/stalls) is only a few years old, the electronics in it were failing, and unfortunately the company who installed it were offering no support. A replacement system from one of the traditional dairy companies was going to run up to $50,000 or more, and the one he had his eye on wasn't ready to install for this season (marketing departments are often ahead of R&D).</p> <p>The electronics in question are relatively simple, each milking bale has a few inputs - buttons and switches - and a few outputs - air solenoids for switching vacuum on and off. Sounds like something perfect for an <a href="/arduino-boards/">Arduino</a> to do, but remember as there's one for each bale anything we do we're going to need to do 54 times over.</p> <img src="/obj/rotary.jpg" alt="Rotary Cowshed" style="padding-left:10px" /><p style="font-size:10px;color:#777;margin-top:2px;"> Photo: <a href="https://commons.wikimedia.org/wiki/User:Cgoodwin">Cgoodwin Wikipedia</a></p> <p>The proposal he came to me with was to see whether we could come up with something low cost to use in the interim, to get him through a few seasons until he decides what he would like to do about a commercial solution. The kicker was that we only had a couple of months over winter to design and implement the solution, it needed to be ready for July when cows start to calve and need to be milked. No milk on a dairy farm is a big problem.</p> <p>Some specifics about the electronics: There are 4 main digital inputs and outputs - easy for an <a href="/arduino-boards/">Arduino</a> to do, but the shed's electronics all run at 24 volts so dedicated drivers need to be switched from the Arduino logic for the outputs.</p> <p>The four inputs are; 1) A button which starts and stops the milking process for each stall. 2) A switch which detects when the user lifts the cups and automatically starts the milking process. 3) A milk flow meter so we can tell when the cow has finished being milked. and 4) A voltage input to tell us that the plant is being washed. 1 and 2 are basic inputs, 3 and 4 come from an external voltage source so need to be isolated from the Arduino.</p> <p>The four outputs are air solenoids switching vacuum pressure. One controls the main vacuum for taking the milk from the cows udder back to the tank, two control the pulsators which actually milk the cow, and the final one controls an air ram which removes the cups once the cow is finished milking.</p> <p>I looked for a while at off the shelf solutions, there are loads of <a href="/arduino-shields/">Arduino Shields</a> around these days and even some which offer similar functionality to what I needed, but nothing quite fitted perfectly. In the end I decided to go down the route of creating a custom shield - a big step considering it's not something I had done before. I enlisted the help of <a href="http://hairy.geek.nz/">hairy.geek.nz</a>, who I knew had experience designing PCBs as <a href="/prototyping/breadboard-psu/">we sell one of his products</a>. This worked out great and he was really helpful throughout the project.</p> <p>That's all for this instalment, next time I'll go into the board and electronics and putting things together.</p> <p><a href="/blog/milking-cows-with-arduino-part-2/">Part 2 is available here.</a></p> Milking Cows with Arduino - Part 2 http://nicegear.nz/blog/milking-cows-with-arduino-part-2/ 2017-11-22T03:23:24.668339Z 2012-09-18T04:51:50.876627Z Hadley Rich <img src="/obj/pulsator.jpg" alt="Pulsator" style="float:right;padding:10px;" /> <p>This is a follow up to <a href="/blog/milking-cows-with-arduino-part-1/">part 1, the introduction</a>. This post will talk about the electronics we designed and built. To the right you can see a picture of one of the air solenoids that we needed to drive.</p> <p>First things first I built up a prototype controller. To get going as quickly as possible I used some off the shelf breakout boards from the store. Paired with a <a href="/arduino-boards/freetronics-eleven/">Freetronics Eleven</a> I used a <a href="">Prototyping shield</a>, four <a href="/electronics-gear/freetronics-nmosfet-driver-module/">Freetronics N-MOSFET Driver Modules</a>, a couple of rectifier diodes and a birds nest of <a href="/search/?q=hook-up+wire">Hook Up Wire</a>. I didn't get a picture of the set up but you're not missing much - it wasn't that pretty anyway.</p> <p>I took the prototype electronics down to the dairy shed, plugged it in to a power supply, wired up a couple of buttons to act as inputs and wired up the vacuum solenoids to the MOSFETs. It worked - a good start! The next stage was back home, designing the actual PCB to use in the installation.</p> <p>Although I am competent with basic electronics theory and know how to draw a circuit I've never designed or built a PCB before, so everything was a little new to me at this point. I opened up Eagle CAD - a PCB design program - and quickly decided that I was out of my depth. With no experience and a 2 month time frame for completion now was not the time to be learning how to design a PCB.</p> <p>As I mentioned last time I enlisted the help of <a href="http://hairy.geek.nz/">hairy.geek.nz</a>, after he agreed to help I sent through a photo of a rough drawing I made with a pen and paper. Quickly I received back a picture of a PCB ready to be sent off to a board factory to be made. A couple of emails back and forth later and I did just that - sent the boards off to Mitch from <a href="http://www.hackvana.com/store/">hackvana.com</a>.</p> <p>There are loads of prototype PCB services out there to choose from but Mitch at Hackvana does a lot to support people creating open source hardware, his prices are great, and the turn around is good and quick. About 10 days after sending the design through to Hackvana I had a set of 5 prototype boards in my hand. I built a couple up and took them down to the farm (about 30 minutes drive).</p> <p>When I got down to the farm ready to hook up my shiny new board I was quite excited. I pulled out my <a href="/tools/digital-multimeter/">multimeter</a> to check there was power before wiring things up to the shed's power supply and that is where I ran into the first issue - the shed runs on 24 volts, which the Arduino can't handle as a direct input. Originally when I talked to the farmer he had told me it was all 12 volts. First lesson learnt - don't rely on provided information, test things yourself.</p> <p>We worked around that for the moment to see if the everything else with the electronics (basic program, inputs and MOSFET outputs) was working - which it was. So at the end of the day, some good points and some bad. Back home to work on a new board revision.</p> <p>I talked to hairy.geek.nz again and decided that the best solution considering the time frame we had to work with was adding an off the shelf switching regulator to the existing design. It was rated to convert 24V to 9V, and then let the Arduino regulator convert the 9V to 5V as it normally does. He quickly sent through a new board layout which I sent through to Hackvana for another set of prototypes.</p> <p>I think that's enough for this instalment so I'll leave it there. Next time I'll talk about the production of the boards which I didn't manage to get to this time and hopefully the installation. Any questions so far? Please feel free to ask in the comments.</p> <p><a href="/blog/milking-cows-with-arduino-part-3/">Part 3 is available here.</a></p> Milking Cows with Arduino - Part 3 http://nicegear.nz/blog/milking-cows-with-arduino-part-3/ 2017-11-22T03:23:24.710981Z 2012-09-20T22:59:36.744502Z Hadley Rich <p>This is the third and final instalment in a series, <a href="/blog/milking-cows-with-arduino-part-1/">part 1, the introduction, is here</a>. This post will talk about the custom Arduino shield we designed and built, and the installation.</p> <p>We left off last time having sent the second PCB revision to Hackvana for a prototype run of 10 boards. These arrived in good time. I built up one of the boards and took it down to the farm to test. Plugged it in to the 24V shed power supply to test the new regulator set up, wired it up and everything worked as expected. I then went ahead and ordered the full production run of 50 boards. With the prototype run that gave 60 boards total, we needed 54 so that left a margin of 6 spares.</p> <p>While I was waiting for the production boards to arrive I assembled a couple of boards to get a head start. This is when the reality hit me of how long the build was going to take. I timed one of the builds and it took 20 minutes, some quick maths leads us to 55 x 20 minutes = 1100 minutes, or, 18 and a half hours! Second lesson learnt, do a time budget before you start. A multiplication factor of 50 makes even the smallest job much bigger than you think.</p> <p>The production boards and parts arrived, a few late nights and lots of solder later, this was the result (well most of it, I couldn't fit all 55 boards in the picture);</p> <img src="/obj/driver-shields.jpg" alt="Rotary Cowshed" style="padding-left:10px" /> <p>After my experience building that number of boards I've started working with surface mount components to allow for more automation in assembly.</p> <p>Next up was the installation, despite never having worked with PCB manufacturing before, and learning a huge amount there, I think I learnt nearly as much from the installation.</p> <p>To keep the cost down for the farmer we re-used an IP66 rated enclosure from part of the previous electronics. While the Arduino and shield fitted well in this, by the time all the cables (eight double insulated cables) were put through glands it was a very tight fit. Small lesson learnt - you need a much bigger enclosure than you think when you're dealing with more than a couple cables.</p> <p>Partly due to the enclosure size but also just due to the general amount of work required the installation proved to take quite some time. I timed it at about 30 minutes per board. As this was going to be too much time for me alone I employed the help of another local consultant. He normally does residential and commercial audio visual installations so this was a bit of a change for him but he was well suited to the job - wiring is wiring.</p> <p>Another one of the things I discovered while installing the boards was that screw terminals are stronger when they are all clipped together in a long row. Having them spaced apart (as you can see in the picture) doesn't give them all the torsional strength that they could have which leads to some movement when tightening down the screws. Not a big deal but something to consider for a new revision.</p> <p>After installing a few of the boards we decided to switch things on for a test. This is where things went a bit wrong and I learnt my biggest lesson of the project - do better testing. Although we tested with the actual load (the vacuum solenoid valves), we didn't test for an extended period of time. Turns out that we had an error in the board which was causing the MOSFET to not switch completely on. This resulted in heating and eventually, the destruction of the board.</p> <p>So at the end of the first day things didn't seem to be going very well, we were taking longer than we thought to install the boards and the ones we had installed were trying to catch on fire. After a bit of a stressful afternoon I discovered the problem and had a patch fix. One of the traces on the PCB was not quite going to the right place, this was causing the solenoid to look like a resistor which created a voltage divider, this in nturn lowered the voltage to the gate of the MOSFET so it didn't turn fully on. Cutting one of the PCB traces and soldering a resistor in its place fixed the issue.</p> <p>Although I had a fix, at this point in time we didn't have enough time to create a new set of boards, wait for them to be delivered and build them up. Instead we patched all the boards and installed them as they were. Not completely ideal but the fix was solid and there really wasn't any other choice.</p> <p>I'm pleased to say that the cowshed has been running perfectly for the last few months with no failures. The farmer is happy with his system, which is running better than it ever has, and saved a bunch of money too. If anyone has any questions feel free to ask in the comments below or get in touch through the contact page.</p> Bulk Relay Control with an Arduino http://nicegear.nz/blog/bulk-relay-control-with-an-arduino/ 2017-11-22T03:23:24.752059Z 2012-10-17T07:26:00.200418Z Hadley Rich <p>Check out what the folks over at <a href="http://cladlab.com/electronics/projects/luxcity-uv-tonic-control-system">Clandestine Laboratories</a> are up to with an <a href="/arduino-boards/arduino-uno/">Arduino</a>, a stack of <a href="/arduino-shields/freetronics-8channel-relay-driver-shield/">Freetronics Relay Driver Shields</a> and a pile of <a href="/components/relay-spdt-sealed/">relays</a> controlling <a href="/robotics/12v-solenoid-valve-34/">solenoid valves</a>.</p> <img src="/obj/arduino-and-relay-shield-stack-vertical.jpg" /> Polycom SoundPoint IP and SoundStation IP Default Password http://nicegear.nz/blog/polycom-soundpoint-ip-and-soundstation-ip-default-password/ 2017-11-22T03:23:24.794625Z 2012-11-06T22:04:01.711840Z Hadley Rich <p>A common question we get is the default web interface password for phones and other gear that we sell. Most people try admin/admin admin/password and various other common combinations. That won't get you very far with Polycom IP Phones, they chose the username "<strong>Polycom</strong>" and the default password "<strong>456</strong>". That password also works through the phone interface too.</p> Giving away a Rapsberry Pi tomorrow! http://nicegear.nz/blog/giving-away-a-rapsberry-pi-tomorrow/ 2017-11-22T03:23:24.837456Z 2012-11-07T22:08:56.379713Z Hadley Rich <p>We've got <a href="/search/?q=raspberry">a few Raspberry Pi accessories</a> available in the store now and we've been doing a few things with the Rapsberry Pi ourselves too. Currently I (Hadley) am working on a solar powered remote webcam and weather monitor using 3G to upload data to the Internet.</p> <p>Since we've got a few of the new 512MB Raspberry Pi units here I thought it would be fun to give one away too. All you need to do to enter is follow and mention us on twitter - use the #nicegear hashtag or if you don't do that Twitter thing post a comment on this blog entry.</p> <p>A winner will be selected at random tomorrow (Friday 9th November) at around 4pm using <a href="https://www.random.org/">random.org</a>. Good luck!</p> Electricity Meter Usage over MQTT http://nicegear.nz/blog/electricity-meter-usage-over-mqtt/ 2017-11-22T03:23:24.880696Z 2012-11-13T23:53:17.115300Z Hadley Rich <p>Last week some guy came around and switched out our old meters for new ones. Not "smart" meters, just new dumb meters, which is fine as the current crop of "smart" meters don't seem to benefit the customer, rather just the company.</p> <p>A couple years back we used to have a Currentcost device which I had hacked with an Arduino to put data on the network but I always had issues with phantom loads so the transmitter stopped working I never did anything about sorting it out.</p> <p>Anyway, the new meters have a red LED impulse output that flashes 1600 times per kWh used. These are just about the perfect way to hack into your meter - no dangerous (and potentially illegal) connections required and super easy to do. It should also be very accurate since the meters are certified correct.</p> <p>Here's a photo of the meter box showing the new meters and the sensors (with black tape over them). The two meters are on the outside and the ripple control in the middle. The Arduino and enclosure are just outside the photo to the right mounted on the wall, I thought it best to keep "odd looking things" out of way of the power company.</p> <img src="/obj/meterbox.jpg" alt="Electricity meter box with Arduino light sensors counting impulse flashes then broadcasting over MQTT" /> <p>For the controller I used a <a href="/arduino-boards/freetronics-etherten/">Freetronics EtherTen</a> which is an Arduino Uno compatible with built in Ethernet, these are great boards that we use a lot of here. The sensor is just a <a href="/sensors/mini-photocell/">Photocell</a> on the end of a small twin core wire connected back to a <a href="/arduino-shields/freetronics-protoshield-short/">Prototyping Shield</a> with a <a href="/components/resistor-kit-14w-500-total/">resistor</a>.</p> <p>The sensors are covered in black duct tape to keep out ambient light and connected up to the two interrupt digital input pins on the Arduino to make counting the pulses really easy (see the code below).</p> <p>I already use MQTT (which is a simple network publish/subscribe system, great for machine to machine (M2M) communication) for some home automation around the house so publishing the electricity usage there made perfect sense. The EtherTen publishes the data on the network and any number of clients can subscribe to this and receive updates. Currently there's just a Python server which logs the data into a redis db for historic graphing. Here's an example graphs;</p> <img src="/obj/power.png" alt="Example electricty usage" /> <p>You can see that our house and its young family has a long way to go with saving energy. The blue graph is the standard meter and the red graph is the water heater circuit. This graph is actually higher than normal, it was a cold day but not cold enough to have the log burner on which heats up the entire house. You can see overnight the electric heaters in the children's bedrooms cycling on and off and at 6am the heat pump (air conditioner) ramping up to heat up the living area.</p> <p>Of course you could also add any other network device and have it subscribe to the electricity usage MQTT topic. Perhaps I'll build a little <a href="/lcds/usb-serial-backpack-kit-with-16x2-rgb-backlight-positive-lcd/">RGB LCD display</a> and have it show the current usage with a colour that reflects how well (or badly) we're doing at saving energy.</p> <p>Here's the code I've been playing around with, suitable for Arduino 1.0+ and the not quite latest Arduino MQTT client (there was <a href="http://knolleary.net/2012/11/11/updated-arduino-client-for-mqtt/">an update released this weekend</a> which I has a small API change - easy fix).</p> <pre> /* * By Hadley Rich <[email protected]> * Released under the MIT license. * Some ideas taken from arduino.cc example code. */ #include &lt;stdio.h&gt; #include &lt;SPI.h&gt; #include &lt;Ethernet.h&gt; #include &lt;PubSubClient.h&gt; byte mac[6] = { 0x90, 0xA2, 0xDA, 0x44, 0x34, 0x28 }; char macstr[18]; const int chan1_pin = 2; const int chan2_pin = 3; const float w_per_pulse = 0.625; const unsigned long ms_per_hour = 3600000UL; unsigned int chan1_count = 0; unsigned int chan2_count = 0; unsigned long report_time = 0; unsigned long chan1_first_pulse = 0; unsigned long chan1_last_pulse = 0; volatile byte chan1_pulse = 0; unsigned long chan2_first_pulse = 0; unsigned long chan2_last_pulse = 0; volatile byte chan2_pulse = 0; PubSubClient client("sodium.nice.net.nz", 1883, callback); void callback(char* topic, byte* payload, unsigned int length) { } void chan1_isr() { chan1_pulse = 1; } void chan2_isr() { chan2_pulse = 1; } boolean connect_mqtt() { Serial.print("MQTT..."); if (client.connect(macstr)) { Serial.println("connected"); char topic[35]; snprintf(topic, 35, "house/node/%s/state", macstr); client.publish(topic, "start"); return true; } Serial.println("Failed."); return false; } void setup() { pinMode(chan1_pin, INPUT); pinMode(chan2_pin, INPUT); attachInterrupt(0, chan1_isr, RISING); attachInterrupt(1, chan2_isr, RISING); Serial.begin(9600); delay(1000); snprintf(macstr, 18, "x:x:x:x:x:x", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); Serial.print("DHCP ("); Serial.print(macstr); Serial.print(")..."); if (Ethernet.begin(mac) == 0) { Serial.println("Failed."); while(true); } Serial.println(Ethernet.localIP()); } void loop() { char topic[35]; char value[6]; static unsigned int chan1_watts; unsigned long chan1_delta; // Time since last pulse static unsigned int chan2_watts; unsigned long chan2_delta; // Time since last pulse if (!client.connected() && !connect_mqtt()) { return; } client.loop(); if (millis() - chan1_last_pulse > 60000) { chan1_watts = 0; } if (millis() - chan2_last_pulse > 60000) { chan2_watts = 0; } if (millis() - report_time > 5000) { chan1_delta = chan1_last_pulse - chan1_first_pulse; if (chan1_delta && chan1_count) { chan1_watts = (chan1_count - 1) * w_per_pulse * ms_per_hour / chan1_delta; chan1_count = 0; } chan2_delta = chan2_last_pulse - chan2_first_pulse; if (chan2_delta && chan2_count) { chan2_watts = (chan2_count - 1) * w_per_pulse * ms_per_hour / chan2_delta; chan2_count = 0; } if (!(report_time == 0 && chan1_watts == 0 && chan2_watts == 0)) { snprintf(topic, 35, "house/power/meter/1/current"); snprintf(value, 6, "%d", chan1_watts); client.publish(topic, value); snprintf(topic, 35, "house/power/meter/2/current"); snprintf(value, 6, "%d", chan2_watts); client.publish(topic, value); Serial.print("Chan1 "); Serial.println(chan1_watts); Serial.print("Chan2 "); Serial.println(chan2_watts); report_time = millis(); } } if (chan1_pulse == 1) { chan1_count++; chan1_pulse = 0; chan1_last_pulse = millis(); if (chan1_count == 1) { // was reset chan1_first_pulse = chan1_last_pulse; } snprintf(topic, 35, "house/power/meter/1/usage"); client.publish(topic, "0.625"); } if (chan2_pulse == 1) { chan2_count++; chan2_pulse = 0; chan2_last_pulse = millis(); if (chan2_count == 1) { // was reset chan2_first_pulse = chan2_last_pulse; } snprintf(topic, 35, "house/power/meter/2/usage"); dtostrf(w_per_pulse, 4, 1, value); client.publish(topic, "0.625"); } int dhcp_status = Ethernet.maintain(); /* returns: 0: nothing happened 1: renew failed 2: renew success 3: rebind fail 4: rebind success */ if (dhcp_status) { long now = millis(); Serial.println("DHCP Lease"); } } </pre> <p>All that's left to do now is tidy up the Ethernet cable... Any questions or comments please feel free to leave a comment below.</p> What Size Solar Panel and Battery Do I Need? http://nicegear.nz/blog/what-size-solar-panel-and-battery-do-i-need/ 2017-11-22T03:23:24.923560Z 2012-11-26T21:28:24.803706Z Hadley Rich <p>I (Hadley) do a little work with solar powered installations. Lately I've had a few people ask how to work out what size solar panel they need to run some electronics so I thought I would take the time to note down how to calculate it here. Solar dimensioning is pretty straight forward once you know what equations you need to work out. One thing you'll probably notice is that you need a lot bigger solar panels and batteries than you think, especially if you want to run something 24 hours a day.</p> <p>First for this theoretical example we'll make a few assumptions. <ul> <li>The load we want to run is 10W</li> <li>We want to run the load 24 hours a day</li> <li>We get an average of 4 hours of peak sun each day.</li> <li>We want to size the system large enough to handle four rainy/cloudy days without sun.</li> <li>We'll be using lead acid (car) batteries.</li> </ul> </p> <p>Now to the actual calculations you need. To start with we work out what sized batteries we need and then what size solar panels we need to charge them.</p> <p>Lets work out the Watt-Hours we'll be using, our load is 10W and it's running all day and night so: 24 hours <i>10 x 24 = <b>240 Watt-Hours</b></i></p> <p>Once we have the Watt-Hours and the type of battery we're using we can work out the Amp-Hours, 240 Watt-Hours divided by 12 Volts: <i>240 / 12 = 20 Amp-Hours</i>. That's only for one day though and we wanted to withstand four days of bad weather (autonomy). Let's multiply: <i>20 x 4 = <b>80 Amp-Hours</b></i></p> <p>With a lead acid battery you really only want to discharge the battery to 50% at the most, any more and the battery will wear out quickly. So double the Amp-Hours needed and we get a battery size of <b>160 Amp-Hours</b> - quite a lot bigger than you would think, also that's quite a big battery, it will be about 30kg!</p> <p>Now that we have our battery size we can move on to working out what size solar panel we need to charge it. Remember from our first calculation three paragraphs above our daily use is 240 Watt-Hours. Our assumed daily sunshine is 4 hours. To recharge the battery for one days worth of usage in one day charging, we need a solar panel that is: <i>240 Watt-Hours / 4 hours = <b>60 Watts</b></i>.</p> <p>The charging system isn't 100% efficient, a good rule of thumb is to allow for 20% losses. You might also want to add some solar panel capacity to allow for a quicker recovery from extended periods of bad weather, perhaps another 20%. So your panel choice may by up to: <i>60 Watts x 140% = <b>84 Watts</b></i>. A standard panel sizes are 60W and 90W, depending on your exact usage and the level of autonomy you want somewhere between those would be a good choice.</p> <p>I hope that gives some insight into how you go about sizing up a solar and battery system. There are some web based solar calculators out there which may do some of this work for you. Have a search around the web. Just beware that a lot of them aren't fantastic quality and it's not all that difficult to do the calculations yourself on a plain old calculator.</p> <p>To calculate the actual sun hours for places around New Zealand, including the differences between summer and winter, check out <a href="http://solarview.niwa.co.nz/">SolarView from the good folks at NIWA</a></p> <p>While we don't sell large solar system components talked about here we do have a range of <a href="/search/?q=solar">small solar modules and components</a> which you might like to check out. If you've got any neat projects you're doing please do let us know in the comments below. Cheers!</p> Christmas Opening Hours 2012 http://nicegear.nz/blog/christmas-opening-hours-2012/ 2017-11-22T03:23:24.965442Z 2012-12-17T21:29:51.960631Z Hadley Rich <p>Just a quick note to with all our fantastic customers a Merry Christmas and Happy New Year. Also to let you all know our holiday operating times for the 2012 holiday season.</p> <p>We are a family business and think it's important to spend the holidays with family. Our office will be <strong>closed from this Friday 21st of December</strong>, the website will of course still be accepting orders but dispatch will be delayed until we <strong>reopen on Monday 7th January</strong>.</p> <p>If you have any urgent requirements feel free to email. I (Hadley) will be sporadically checking emails and <i>may</i> be able to respond during the holidays.</p> <p>All the best to you and yours for the holidays, enjoy yourselves, stay safe, and try not to eat too much!</p> <p>Cheers!</p> Rocks http://nicegear.nz/blog/rocks/ 2017-11-22T03:23:25.007275Z 2013-06-05T03:03:28.598404Z Hadley Rich <p>A customer of ours sent in this neat photo from the Rock & Mineral Show that they put on at the <a href="http://www.mineralclub.co.nz/">Mineral Club of Hutt Valley and Wellington.</a></p> <p style="text-align:center;"><img src="/obj/rock-show-1.jpg" alt="Rock & Mineral Display" /></p> <p>Here you can see the left hand part of the display in more detail, there's a <a href="/arduino-boards/freetronics-etherten/">Freetronics EtherTen</a> controlling the turntable which moves various radioactive rocks into position under an old Geiger counter, very cool!</p> <p style="text-align:center;"><img src="/obj/rock-show-2.jpg" alt="Rock & Mineral Display" /></p> Get a real MAC address for your Arduino Ethernet http://nicegear.nz/blog/get-a-real-mac-address-for-your-arduino-ethernet/ 2017-11-22T03:23:25.048782Z 2013-06-07T06:51:01.048172Z Hadley Rich <a href="/arduino-shields/mac-protoshield/"><img style="margin-left: 60px;" src="/obj/mac-protoshield-installed.jpg" alt="MAC ProtoShield installed on an EtherTen" /></a> <p>There's this thing that some people like to call the "Internet of Things" (IoT), mostly this is just a fancy name for "devices that don't have a person sitting in front of them connected to the Internet". As part of that general theme, Ethernet connected Arduino projects are very popular, we use them a lot ourselves here. Most of the projects we do are connected to some sort of network.</p> <p>If you've ever had more than one Arduino device with Ethernet on the same network then you will have had to deal with the issue of MAC addressing. When you've just got one one you can make one up, the good old DE:AD:BE:EF:FE:ED is popular. What happens though if you want to add another project to your network? Things stop working.</p> <p>There are various solutions, we've <a href="/blog/auto-generated-persistent-mac-address-for-arduino-ethernet/">posted</a> a <a href="http://nicegear.co.nz/blog/autogenerated-random-persistent-mac-address-for-arduino-ethernet/">couple</a> on this very blog, none of them are just right though.</p> <p>So we created a shield to solve the problem once and for all. Introducing the <strong><a href="/arduino-shields/mac-protoshield/">MAC ProtoShield</a></strong> - an oddly shaped shield for an Arduino which gives you <strong>an official MAC address</strong>, none of this made up stuff, no having to manually hard code one in for each Arduino.</p> <p>You can see it above installed on a <a href="/arduino-boards/freetronics-etherten/">Freetronics EtherTen</a> along with an 802.3af Power over Ethernet (PoE) module. That's the reason for the funny shape - you can fit one of the Freetronics PoE regulators inside the MAC ProtoShield footprint, making it easy to do tidy one cable installations.</p> <p>The secret is seen in the bottom of the picture, a tiny surface mount EEPROM chip which has a built in MAC address accessible over I2C. You also get 2Kbit of extra EEPROM to play with. We've got some simple <a href="https://github.com/hadleyrich/MAC-ProtoShield/blob/master/mac-protoshield.ino"><strong>example code</strong></a> available to show you how to incorporate it into your next project. It's really easy and small, only 40 lines of code.</p> <p>You also get a small prototyping area with power rails and if you use stackable headers it's a good solution to the problem of the Ethernet jack getting in the way of a full sized shield. Although we like to use them with the EtherTen, they also work just fine with a standard <a href="/arduino-shields/arduino-ethernet-shield/">Arduino Ethernet Shield</a>, <a href="/arduino-boards/arduino-ethernet/">Arduino Ethernet</a> or anything else that supports the "r3" headers.</p> <p>The board design is open source and available on GitHub if you're interested. We'd love to hear your comments or questions via the comment form below or you can <a href="/contact/">contact us directly here</a>.</p> Building the OrBlink USB RGB LED http://nicegear.nz/blog/building-the-orblink-usb-rgb-led/ 2017-11-22T03:23:25.091393Z 2013-06-11T09:55:19.529818Z Hadley Rich <p>This is the guide to building the <a href="/electronics-gear/orblink-kit/">OrBlink USB RGB LED Kit</a>.</p> <p>You'll need a few tools which aren't included in the kit. To assemble the board you'll need a <a href="/tools/soldering-iron-30w/">soldering iron</a>, <a href="/tools/solder-leaded-100gram-spool/">some solder</a>, some <a href="/tools/wire-strippers-30awg/">wire strippers</a> and some <a href="/tools/flush-diagonal-cutters/">small wire cutters</a>. To pull apart and put together the orb you'll need a large flat head screwdriver (or a coin), a small phillips screwdriver, and a drill or something else to make a hole. Other useful items are a <a href="/tools/helping-third-hand-magnifier-wmagnifying-glass-tool/">helping hand tool</a> to hold the board while you solder which will make things much easier and a <a href="/tools/digital-multimeter/">good multimeter</a> to test your joints but they aren't strictly necessary.</p> <p><strong>Step 1.</strong> Check the parts, you should have the following; <ul> <li>1 Orb</li> <li>1 OrBlink PCB</li> <li>1 Pre-programmed ATTiny85 microcontroller</li> <li>1 DIP socket for the microcontroller</li> <li>1 RGB LED</li> <li>2 Zener diodes (D1,D2)</li> <li>1 220 ohm resistor (R1 - red red brown)</li> <li>1 330 ohm resistor (R2 - orange orange brown)</li> <li>1 150 ohm resistor (R3 - brown green brown)</li> <li>2 68 ohm resistors (R4,R5 - blue grey black)</li> <li>1 1.8k ohm resistor (R6 - brown grey red)</li> <li>1 USB Cable</li> </ul> </p> <img src="/obj/orblink/orblink-assembly-step-0.jpg" alt="OrBlink Assembly Step 0" /> <p><strong>Step 2.</strong> Remove the base of the orb, it's best to use a coin here or a really big flat head screwdriver - they tend to be pretty tight.</p> <img src="/obj/orblink/orblink-assembly-step-1.jpg" alt="OrBlink Assembly Step 1" /> <img src="/obj/orblink/orblink-assembly-step-2.jpg" alt="OrBlink Assembly Step 2" /> <p><strong>Step 3.</strong> Remove the old PCB and battery assembly from the orb. Save the screws, do whatever you like with the old PCB.</p> <img src="/obj/orblink/orblink-assembly-step-3.jpg" alt="OrBlink Assembly Step 3" /> <p><strong>Step 4.</strong> Install R1 (220 ohms, red red brown), R2 (330 ohms, orange orange brown) and R3 (150 ohms, brown green brown). Bend the legs, insert them through the holes and bend as per the picture to hold them in while you solder.</p> <img src="/obj/orblink/orblink-assembly-step-4.jpg" alt="OrBlink Assembly Step 4" /> <img src="/obj/orblink/orblink-assembly-step-5.jpg" alt="OrBlink Assembly Step 5" /> <p><strong>Step 5.</strong> Solder the resistors by touching each lead with the soldering iron a piece of solder lightly. Trim off the leads with your flush cutters.</p> <img src="/obj/orblink/orblink-assembly-step-6.jpg" alt="OrBlink Assembly Step 6" /> <p><strong>Step 6.</strong> Install R4, R5 (68 ohm blue grey black) and R6 (1.8k ohm brown grey red) using the same technique as above.</p> <img src="/obj/orblink/orblink-assembly-step-7.jpg" alt="OrBlink Assembly Step 7" /> <img src="/obj/orblink/orblink-assembly-step-8.jpg" alt="OrBlink Assembly Step 8" /> <p><strong>Step 7.</strong> Install the zener diodes using the same technique as the resistors above. Be careful as diodes are polarised - you need to install the stripe to match the stripe on the PCB.</p> <img src="/obj/orblink/orblink-assembly-step-9.jpg" alt="OrBlink Assembly Step 9" /> <img src="/obj/orblink/orblink-assembly-step-10.jpg" alt="OrBlink Assembly Step 10" /> <p><strong>Step 8.</strong> Solder in the DIP socket, orient it so that the end with the notch cut out is at the same end as the small circle pin 1 marker on the PCB.</p> <img src="/obj/orblink/orblink-assembly-step-11.jpg" alt="OrBlink Assembly Step 11" /> <img src="/obj/orblink/orblink-assembly-step-12.jpg" alt="OrBlink Assembly Step 12" /> <p><strong>Step 8.</strong> Place the RGB LED through the PCB, leave it sticking up around 15mm so it doesn't cast shadows of the other components on the inside of the orb. Orient the LED so the flat side of the plastic is facing towards R4.</p> <img src="/obj/orblink/orblink-assembly-step-14.jpg" alt="OrBlink Assembly Step 14" /> <p><strong>Step 9.</strong> Solder in the LED. Use a little solder here as the pads are quite close together and may bridge if you use too much.</p> <img src="/obj/orblink/orblink-assembly-step-13.jpg" alt="OrBlink Assembly Step 13" /> <p><strong>Step 10.</strong> Install the ATTiny85 microcontroller, if you need to you can bend the legs in slightly by pressing down on a flat surface. The end with the little round impression on the top goes at the end of the socket with the notch in it.</p> <img src="/obj/orblink/orblink-assembly-step-15.jpg" alt="OrBlink Assembly Step 15" /> <img src="/obj/orblink/orblink-assembly-step-16.jpg" alt="OrBlink Assembly Step 16" /> <p><strong>Step 11.</strong> That's the PCB assembly completed, well done! Now you just need to put the orb back together.</p> <img src="/obj/orblink/orblink-assembly-step-17.jpg" alt="OrBlink Assembly Step 17" /> <p><strong>Step 12.</strong> Cut the end off the USB cable (not the one that plugs into the computer) and strip the large outer insulation, then the four smaller wires inside that. You only need a short amount os the inner insulation stripped.</p> <img src="/obj/orblink/orblink-assembly-step-18.jpg" alt="OrBlink Assembly Step 18" /> <img src="/obj/orblink/orblink-assembly-step-19.jpg" alt="OrBlink Assembly Step 19" /> <p><strong>Step 13.</strong> Remove the rubber gasket from around the orb base and drill a small hole in the very bottom of the thread. It needs to be big enough to fit the USB cable, around 3mm.</p> <img src="/obj/orblink/orblink-assembly-step-20.jpg" alt="OrBlink Assembly Step 20" /> <p><strong>Step 14.</strong> Insert the stripped end of the cable through the orb base and the large hole in the PCB.</p> <img src="/obj/orblink/orblink-assembly-step-21.jpg" alt="OrBlink Assembly Step 21" /> <p><strong>Step 15.</strong> Solder the stripped wires into the PCB, most USB cables use standard colors. Red for 5V, black for ground, green for D+ and yellow for D- match them up to the labels on the PCB.</p> <img src="/obj/orblink/orblink-assembly-step-22.jpg" alt="OrBlink Assembly Step 22" /> <p><strong>Step 16.</strong> Screw the newly completed OrBlink PCB into the existing holes in the orb base with the screws you saved from the start.</p> <img src="/obj/orblink/orblink-assembly-step-23.jpg" alt="OrBlink Assembly Step 23" /> <p><strong>Step 17.</strong> Screw the base back on to the orb, plug the OrBlink into your computer and start making colors!</p> <img src="/obj/orblink/orblink-assembly-step-24.jpg" alt="OrBlink Assembly Step 24" /> <p>If you're new to soldering you might want to test the USB cable to make sure there aren't any shorts which may cause damage to your computers USB port. This is up to you.</p> Introducing the OrBlink, a USB connected RGB LED Orb http://nicegear.nz/blog/introducing-the-orblink-a-usb-connected-rgb-led-orb/ 2017-11-22T03:23:25.133823Z 2013-06-20T21:00:12Z Hadley Rich <p><img src="/obj/blog/orblink-blue.jpg" alt="OrBlink Blue" style="float:right;padding:5px 10px;" /> Introducing <a href="/electronics-gear/orblink-kit/">the OrBlink, a USB connected RGB LED Orb</a>, plug it into your computer (any will do, no drivers required) and use it to indicate whatever you can imagine.</p> <p>I (Hadley) came up with the idea for making one in early 2013 when our Mr3, our 3 year old got confused about when to get out of bed. Daylight savings had ended and it was quite dark in the mornings, this meant Mr3 didn't know if it was really early or not.</p> <p>Mr3 already has a low power computer in his room which we use to play music for him so I thought I could leverage that for power and logic to control an RGB (Red Green Blue) LED and show him when it was an okay time to get up.</p> <p>I wanted something nice and soft and diffused so it didn't cast shadows in the room, kids don't tend to like that much. So I hunted around and found some nice little plastic orbs or spheres, about 80mm in diameter. These were designed as a color changing LED to start with, but battery powered and not controllable.</p> <p>I purchased up a few orbs and when they arrived I pulled one apart. There was a small circuit board in there with a couple of cheap batteries and LEDs, conveniently held together with screws for easy removal.</p> <p>This was the time I turned to the Internet and typed <a href="https://duckduckgo.com/?q=avr+usb+rgb+led">"avr usb rgb led" into DuckDuckGo</a> (which is a great alternative to Google but that's another story). The "avr" in there is for a type of microcontroller from Atmel, much the same as what's used in <a href="/arduino-boards/">Arduino Boards</a>, the rest of the search is pretty self explanatory. The <a href="https://code.google.com/p/avr-usb-rgb-led/">first link</a> in my search was to some code written and kindly published by <a href="http://davehillier.wordpress.com/2009/03/10/cube-hack-part-ii-software/">some bloke called Dave</a> back in 2009 who built something pretty much exactly the same, thanks Dave!</p> <p>With that information found I knew pretty much what I needed to do, a simple circuit based on the <a href="/electronics-gear/avr-8-pin-20mhz-8k-4ad-attiny85/">ATTiny85</a>, a <a href="/components/triple-output-led-rgb-diffused/">RGB LED</a> and a few other passive <a href="/components/resistor-kit-14w-500-total/">components</a>. I put together an ugly little prototype on a cut down <a href="/prototyping/protoboard-square-1-single-sided/">square protoboard</a> (we were all out of <a href="/prototyping/protoboard-round-1/">round protoboards</a>) with bits I found around the workshop hanging off it left right and center. Ugly it may have been but it worked first try which is always a bonus.</p> <p>Using my newly found interest in designing custom printed circuit boards (PCBs) I set out and created a replacement PCB that would fit in the existing little base of the orb. Here's the schematic I came up with.<img src="/obj/blog/orblink-schematic.png" alt="OrBlink Schematic"></p> <p><img src="/obj/blog/orblink-assembly.jpg" alt="OrBlink Assmebly" style="float:left;padding: 5px 10px;" /> I sent my board design off to <a href="http://www.hackvana.com/">Hackvana</a>, the friendly custom PCB making service, a short time later I had some prototypes in my hand. Here's what they look like, assembled with all the through hole components, but not yet mounted in the orb.</p> <p>Looking at the little built up PCB made me think that perhaps other people might like to build one of their own, and it fits in pretty nicely with all the other stuff we sell, so I decided to make up a bunch of kits and put them up for sale <a href="/electronics-gear/orblink-kit/">on the website here</a>.</p> <p>There are a few other very similar products around all created recently such as the Blink(1) by ThingM and the BlinkStick by Agile Innovative. They are all based on the same basic hardware and principle, most of them are based on the same source code too. I think ours is neat since we made it of course, and it comes in a neat little Orb which looks great sitting on a table.</p> <p>All the source code for the <a href="https://github.com/hadleyrich/OrBlink">OrBlink is available on GitHub</a>, including the hardware design files (created in Eagle), the firmware to run on the ATTiny85 firmware (modified from Dave's code, which is originally based on a V-USB example), a C command line program to control the OrBlink (again based on code by Dave), and some Python code written by me based on pyusb.</p> <p>Why not <a href="/electronics-gear/orblink-kit/">pick up an OrBlink Kit</a> today, learn some new or practice your existing soldering skills, and end up with a neat useful little gadget at the end of it.</p> <p>Have you got any questions or comments? Want us to consider stocking pre-assembled ones? Anything else? Let us know in the comments below or get in <a href="/contact/">contact</a> directly (especially if our comment form spam protection is being hyper active again).</p> <p>All the best - Hadley</p> 10000th Order Milestone http://nicegear.nz/blog/10000th-order-milestone/ 2017-11-22T03:23:25.176308Z 2013-07-19T03:29:33.972069Z Hadley Rich <p>At exactly 8am yesterday (Thursday) the nicegear web store reached quite a neat milestone, order #10000 was placed. Matt from Christchurch ordered a <a href="/single-board-computers/raspberry-pi-model-b/">Raspberry Pi</a>. Like most orders this was shipped out the same day, unlike most orders and because it was such a special number we gave it away for free.</p> <p>I was contemplating how fast we've progressed to that number and what the interval timing of it was so I jumped into the database to have a look with this command;</p> <pre>SELECT id, created FROM orders WHERE id % 1000 = 0 ORDER BY id;</pre> <p>After pasting the results into LibreOffice Calc (a spreadsheet app) I was given the following graph;</p> <img src="/obj/blog/10000-orders.png" alt="Graph of 10000 orders" /> <p>I'm really stoked with the performance of our little operation run out of good old Timaru, New Zealand.<p> <p>Needless to say I'm quite proud of what we've achieved over the years (which seem to have just flown past!) but I mostly wanted to put this in writing to say a huge thanks to all of you, our customers. We don't advertise, pretty much the only way we get the amount of business we do is through fantastic folks such as yourselves who tell a friend or family member about us.</p> <p style="font-weight: bold; font-size:130%;">Thank you all very much.</p> <p>- Hadley Rich</p> Testing Products with Products http://nicegear.nz/blog/testing-products-with-products/ 2017-11-22T03:23:25.217962Z 2013-08-15T03:09:25.892765Z Hadley Rich <p>We like to have quality products. Right from when we began back in 2005/06 that was one of the core ideas, to sell quality hardware which was hard to find locally. Selling crap gear is no fun for anyone; the customer gets a rude shock when whatever they purchased arrives and is big let down. We don't make any money because people return the bad products to us for refunds. Basically everybody is unhappy and we go out of business.</p> <p>Back then it was quite easy, back then I could count on one had the manufacturers of the products we sold and sales were small enough for me (Hadley) to spend plenty of time on each one. Fast forward to 2013 and these days with the large order volume, wide variety of products we sell and sources we get them from, it's not quite so easy. It's important for me to be vigilant and make sure that we're not turning into just another online store selling bulk, cheap low quality goods.</p> <p>Of course all of this isn't to say that we don't get faulty products, of course we do. There's always going to be a few defective products and if you start selling in a reasonable volume then this can start to mount up quickly if you're not careful. Thankfully selling the products we do means that there's usually sometime useful lying around to make testing things out easier.</p> <p>We recently had a customer having issues with a <a href="/electronics-gear/usb-wall-power-adapter-high-power-4-ports/">4 port USB wall charger</a>. This is an interesting case as I am pretty confident that the chargers are decent quality. Like most products I had tested them myself before they were listed for sale. We arranged a return of the charger to check it out here.</p> <img src="/obj/blog/usb-load-test.jpg" /> <p>You can see a picture of me testing it above with one of my favourite toys, an electronic DC load. You plug into that the load you want to simulate - in this case 2.1A which is the rated specification of the USB charger - hook up the device and press go. So I didn't have to cut up another USB cable I used another handy product, the <a href="/cables-connectors/sparkfun-hydra-power-cable-6ft/">SparkFun Hydra Cable</a> which plugs into a USB port and gives you various outputs such as banana plugs I used here.. <p>If you ignore the reflection of trees out my window you can see on the pretty display of the electronic load 2.1A at 4.56V. This is within the USB voltage specification and shows the adapter can supply what it says it does. I left this running for an hour or so, it did get a little warm but seemed perfectly stable. You'll note it's not quite 5V that USB is meant to be. This is a combination of droop from the charger under load and voltage drop over the length of the USB cable which is normal.</p> <p>So what was the problem the customer was having? Turns out they were trying to draw quite a bit more than the USB adapter is rated for. They were wanting to charge two iPads and two iPhones all at the same time. Looking at the specifications these can draw up to 2A each so that is possible 8A total, four times more than the charger is capable of. At that load the voltage would drop and it may stop charging completely. I've since added a clarification to the product page so others don't make the same mistake in the future. </p> Using an I2C Real Time Clock (RTC) with a Raspberry Pi http://nicegear.nz/blog/using-an-i2c-real-time-clock-rtc-with-a-raspberry-pi/ 2017-11-22T03:23:25.260756Z 2013-10-10T23:10:08.116810Z Hadley Rich <p style="font-size:200%;line-height: 160%;margin:70px auto;text-align: center;"><strong><a href="/blog/using-a-ds3231-i2c-real-time-clock-rtc-with-a-raspberry-pi-updated-for-jessie/">Updated instructions for newer Pi's over here.</a></strong></p> <p>Unlike most computers the <a href="/single-board-computers/raspberry-pi-model-b/">Raspberry Pi</a> doesn't contain a Real Time Clock (RTC), we assume it was left out of the design to save space and/or money. A RTC is a coin cell battery powered clock which keeps accurate time, even when the computer is powered off. Without one, the Raspberry Pi isn't capable of keeping time by itself.</p> <p>If you're using a <a href="/single-board-computers/raspberry-pi-model-b/">Pi Model B</a> with an Internet connection then you can get the time from the Internet using Network Time Protocol (NTP), however if you're using a <a href="/single-board-computers/raspberry-pi-model-a/">Model A</a> or just don't have a network connection, then you'll need an RTC to keep time.</p> <p>We've found a <a href="/electronics-gear/high-precision-real-time-clock-for-raspberry-pi/">simple to use RTC module for the Raspberry Pi</a> with the Dallas DS3231 I2C RTC chip which is also a bunch more accurate than the commonly used DS1307 chip. It's also tiny, and fits right on the Pi's GPIO header (seen top left of the image).</p> <a href="/electronics-gear/high-precision-real-time-clock-for-raspberry-pi/"><img src="/obj/images/raspberry-pi-real-time-clock-rtc-ds3231-3.jpg" alt="Raspberry Pi RTC Module installed" /></a> <p>Here's the basic steps you need to get the <a href="/electronics-gear/high-precision-real-time-clock-for-raspberry-pi/">Pi RTC Module</a> going on the latest Raspbian distribution you can download from the Raspberry Pi Foundation's website.</p> <pre> # Remove the module blacklist entry so it can be loaded on boot sudo sed -i 's/blacklist i2c-bcm2708/#blacklist i2c-bcm2708/' /etc/modprobe.d/raspi-blacklist.conf </pre> <pre> # Load the module now sudo modprobe i2c-bcm2708 </pre> <pre> # Notify Linux of the Dallas RTC device echo ds1307 0x68 | sudo tee /sys/class/i2c-adapter/i2c-1/new_device </pre> <pre> # Test whether Linux can see our RTC module. sudo hwclock </pre> <p>That's it! You can also add the i2c initialisation command to rc.local which means it will be run at every boot up;</p> <pre> # Add the RTC device on boot sudo sed -i 's#^exit 0$#echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device#' /etc/rc.local echo exit 0 | sudo tee -a /etc/rc.local </pre> <p>This doesn't cover automatically setting the clock on boot and but you can do so by adding another line (above exit 0) to rc.local with;</p> <pre> hwclock -s </pre> Raspberry Pi Timelapse Camera Rig http://nicegear.nz/blog/raspberry-pi-timelapse-camera-rig/ 2017-11-22T03:23:25.303085Z 2013-11-06T02:50:06.431036Z Hadley Rich <p><img align="right" src="/obj/blog/halogen-work-light.jpg" alt="Halogen Work Light" /> A couple of weeks ago I was asked to set up a time-lapse camera rig to take a medium term timelapse video - 4-6 weeks worth of footage. The trick was that I only had a couple days notice and no budget (it's for a charity event). Since I had to work with what was available on hand here my immediate thought was a <a href="/single-board-computers/raspberry-pi-model-b/">Raspberry Pi</a> with a <a href="/electronics-gear/raspberry-pi-camera-board/">Raspberry Pi Camera Module</a>.</p> <p>To use as an easily mountable weatherproof enclosure with a glass front for the camera I picked up a cheap halogen work light from a local hardware store. Quite cost effective at $14. After removing the handle and all of the interior parts, there's enough room for a Raspberry Pi, camera board and <a href="/electronics-gear/cigarette-lighter-usb-adapter/">USB power supply</a>.</p> <p>As the time-lapse set up was going to be mounted into a caravan it needed to run on 12V, an easy way to do so was to use a <a href="/electronics-gear/cigarette-lighter-usb-adapter/">Cigarette Lighter USB power supply</a>, that way everything was "plug and play" with a standard <a href="/cables-connectors/usb-microb-cable-6-foot/">Micro USB Cable</a>.</p> <p>A 12V lead acid battery (standard car battery in this case, donated by another sponsor) was procured to power the rig. To decrease the power usage I switched to a <a href="/single-board-computers/raspberry-pi-model-a/">Raspberry Pi Model A</a>, which due to the fact that it has no Ethernet controller, uses less power. Measured with the bench power supply here about 50mA less. The Model B Raspberry Pi with camera etc. used around 120mA, the Model A version only used around 70mA, a significant difference when running on battery power.</p> <p>Not shown installed in the picture (it was taken half way through set up) is one of our <a href="/electronics-gear/high-precision-real-time-clock-for-raspberry-pi/">High Precision Real Time Clock (RTC) Modules for Raspberry Pi</a> - since this rig isn't connected to the Internet it requires an external clock to keep accurate time for the image filenames. This will make things much easier to deal with when it comes to creating the video.</p> <p>The original plan was to install a <a href="/storage/dashdrive-mini-usb-drive-32gb/">tiny 32GB USB drive</a> for the images, unfortunately it didn't quite fit, very close but not quite. It would have been fine if we had one of the <a href="/electronics-gear/lowprofile-microsd-card-adapter-for-raspberry-pi/">Low-profile microSD card adapters</a> in stock but unfortunately we had run out. I ended up just using a <a href="/storage/microsd-card-32gb/">32GB microSD card</a> for the operating system and the storage. It will fill up at some stage if it's not tended to. There's enough space for around 3-4 weeks worth of images taken once per minute.</p> <p>The software side of things was very simple. Install Raspbian, enable the camera module, <a href="/blog/using-an-i2c-real-time-clock-rtc-with-a-raspberry-pi/">set up the RTC</a>, add a cron job to save the images from the camera and that's it;</p> <pre>#!/bin/bash directory=/media/usb0 filename=image-$(date +"%Y-%m-%dT%H%M%S").jpg raspistill -o $directory/$filename -w 1920 -h 1080</pre> <p>And below you see the final result, the USB power supply is mounted behind the Raspberry Pi board, the camera was stuck to the glass with some tape and the Pi itself held in place with a small piece of foam wedged against the glass.</p> <p style="text-align:center;"><img src="/obj/blog/halogen-timelapse-rig.jpg" alt="Raspberry Pi Timelapse Rig" /></p> Building 100 Arduino Vacuum Pressure Gauges http://nicegear.nz/blog/building-100-arduino-vacuum-pressure-gauges/ 2017-11-22T03:23:25.347187Z 2013-11-18T08:56:13.905314Z Hadley Rich <p>Last year I installed some electronics controllers in a dairy cow shed, you can read about that project on the <a href="/blog/milking-cows-with-arduino-part-1/">blog here</a>.</p> <p>After the job was completed and everything installed, the shed was tested by a milking machine testing specialist. Normally a milking plant would be tested once a year to make sure everything is running as it should. The machine tester will test various aspects of the plant to ensure that the cows are milked efficiently and without any pain or damage to their teats or udder.</p> <p>As the electronics that we installed controlled the pulsation of the milking cups it was necessary to test this as it's a crucial part of the milking procedure. Happily for everyone the controllers were working well within specification and, according to the tester, better than a lot of the other commercial off the shelf systems.</p> <p>The tester made a comment that if they were adjusted by 20 milliseconds then they would be running perfect timing. As it's all software this was a 10 second change to implement - not including uploading the code to the devices. It's nice to have the flexibility to change things to work exactly how you would like - not something you get with a lot of products.</p> <img src="/obj/blog/vacuum-gauge.jpg" alt="Analogue Vacuum Gauge" style="float:right; margin:0 5px 10px 10px;" /> <p>I got to talking with the machine tester after that and it seems that the vacuum pressure of the milking plant is one of the most overlooked things in cow sheds. If the vacuum is out of specification then it can cause damage and discomfort to the cows, or make milking take longer than necessary. He was interested in something which can alert the worker in the cowshed to the fact that the vacuum is out.</p> <p>Most cowsheds have a standard manual vacuum gauge pictured right. These vacuum gauges work perfectly fine but are easy to ignore (especially if it's 5am and dark). So at his request, using what I learnt from the cowshed project I set out to make a replacement, a digital vacuum gauge.</p> <p>If you read my <a href="/blog/milking-cows-with-arduino-part-1/">series on Milking Cows with Arduino</a> I learnt a few interesting things, one of those was that assembling even a relatively small number of PCBs (fifty in that case) can end up taking up quite a lot of time. Since then I've done quite a lot more PCB design and have learnt to use surface mount (SMD) technology. Using SMD means that production can be more easily automated but it's still surprisingly easy to do by hand.</p> <p>Taking an idea from one of the products we stock, the <a href="/lcds/7segment-serial-display-red/"> SparkFun Serial Enabled 7-Segment LED Display</a> I decided to create a similar custom Arduino board with a <a href="/lcds/7segment-display-1-tall-red/">larger 7 segment LED display</a> and a built in pressure sensor to measure the vacuum and display it all on one board.</p> <p>Here's a picture of my hand assembled first prototype, the LED display is out of sight on the bottom of the board;</p> <br style="clear:both;" /> <img src="/obj/blog/milk-bar-prototype-1.jpg" alt="Milk Bar First Prototype" style="float:left; margin:0 20px 10px 5px;" /> <p>The large chip in the middle is an ATMega328P (TQFP package), the same microcontroller used on the standard Arduino board, just surface mount instead of DIP through hole. The large component that looks a bit like a digital spider on the left is a Freescale MPXV5050 pressure sensor which can sense -50 to 0 kPa (-7.25 to 0 psi) vacuum pressure. This has an easy to interface with 0-5V analog voltage output, something that is super simple to do with Arduino.</p> <p>After putting this board together and doing some basic electrical testing on it with a multimeter, everything seemed to be okay, I plugged it into a power supply and no smoke came out - always a good sign! Unfortunately I couldn't do much else without programming the ATMega, and first I had to learn how to do that.</p> <p>It took a little while to figure out the ins and outs of programming a bare ATMega chip. Normally with an Arduino board you would plug it into your computer using USB or an <a href="/search/?q=FTDI">USB to TTL converter such as an FTDI cable/board</a>, open the Arduino IDE and hit "upload". The reason you can do so is because of the Arduino bootloader that's already been programmed on there for you.</p> <p>When you buy an ATMega chip in bulk they're usually blank i.e. no bootloader, to get started you need to use an <a href="/search/?q=isp+programmer">ISP programmer</a> which allows you to program the chip with your code and also program a bootloader, like the Arduino, to make uploading code in the future easier.</p> <p>To program the boards I used a <a href="/electronics-gear/pocket-avr-programmer/">Pocket AVR Programmer</a> combined with an <a href="/electronics-gear/isp-pogo-adapter/">ISP Pogo Adapter</a>.</p> <p>A neat trick I discovered was, rather than burning the bootloader and then programming the code onto the chip separately, you can upload both of those together, saving time. To do so I burned the bootloader using the ISP programmer mentioned above, switched to an <a href="/electronics-gear/sparkfun-ftdi-breakout-5v/">FTDI breakout</a> to upload the code from the Arduino IDE, and then used avrdude to "backup" the entire chip contents into a file on the computer. Then I could use avrdude again to upload that file to all the other boards in one step, effectively cloning the first board onto all the others.</p> <p>The commands I used to clone the boards with avrdude were; <pre> # Backup bootloader an sketch into a file /usr/local/share/arduino-1.0.4/hardware/tools/avrdude -C/usr/local/share/arduino-1.0.4/hardware/tools/avrdude.conf -v -patmega328p -cusbtiny -Uflash:r:/home/hads/milkbar-with-bootloader.hex:i # Upload the bootloader and sketch in one go /usr/local/share/arduino-1.0.4/hardware/tools/avrdude -C/usr/local/share/arduino-1.0.4/hardware/tools/avrdude.conf -v -patmega328p -cusbtiny -Uflash:w:/home/hads/milkbar-with-bootloader.hex:i </pre> </p> <img src="/obj/blog/milk-bar-prototype-2.jpg" alt="Milk Bar Second Prototype" style="float:right" /> <p>Normally when designing a PCB you'll make it as small as possible to save on the cost of the PCB material, this is what I did with the prototype above. When it came time to mount the board in an enclosure, I discovered that it would be easier to redesign the board to be slightly larger to fit and mount in a specific enclosure. Conveniently we have some great <a href="/electronics-gear/seeeduino-stalker-v2-enclosure/"> IP rated enclosures with a clear top cover</a> so naturally I grabbed one of those off the shelf and used that. I increased the board size, had the corners routed out and located the mounting holes to match the enclosure. You can see to the right the second revision and production prototype.</p> <p>I briefly mentioned earlier how surface mount technology allows more automation in assembly. While I do like assembling boards, I don't have time to manually place the components on 100 boards, that's a lot of work with tweezers. I called around a few PCB assembly businesses in New Zealand and found one who was happy to complete a small run of 100 boards for me. All that's then required is shipping the PCBs and a box of components and for a nominal fee they will put them all together and send back the completed boards.</p> <p>One thing that most assembly houses will require is a board in a panel, multiple copies of the board in one large board. This makes it easier to run through the robotic machines on their assembly production line. Luckily my friendly PCB supplier <a href="http://hackvana.com">Hackvana</a> offers panellised boards, here's a picture of the board panels ready to ship off for assembly.</p> <img src="/obj/blog/milk-bar-panels.jpg" alt="Milk Bar PCB Panels" /> <p>Once we received the assembled boards back at the office, we then had the rather large task of final assembly. Below you can see me just finished soldering the LED displays on to a batch of 20 boards. After that they head on over to be installed in the prepared enclosures and connected up to the air line and power connectors.</p> <img src="/obj/blog/milk-bar-batch.jpg" alt="Milk Bar Batch Assembly" /> <p>Overall, the project went really well, I didn't encounter any major issues. The main lessons learnt form this project were;</p> <p>Sometimes it's better to pay someone else to do what they are good at. As much as I would love an in-house pick and place machine, forking out $20,000 plus isn't a smart option when you're doing a production run of 100 boards. When do we get to buy one? I'm not sure, maybe one day. Even when we are doing doing larger production runs there's still the learning curve of using a machine to take into consideration.</p> <p>Allocate more time for programming and testing. I had plans to build a programming and testing jig to make life easier. A programming or testing jig basically allows you to clip in your PCB and have connections automatically made to upload the code and test to make sure each board is working correctly. In the end I didn't leave enough time in my project schedule to build one, it would have required designing another PCB, getting it made, making sure it works, possibly getting another revision made etc. All that would take a couple of weeks at minimum and perhaps 4-6 weeks by the time you wait for shipping. I could have pushed the delivery date back (the client wasn't actually that worried about it) but I wanted to stick with the schedule.</p> <p>Designing the electronics is only a relatively small part of a project/product. The physical side of things is also a huge part of it. It took me probably just as long to sort out the enclosure, mounting standoffs, decide on the right air hose, air hose connectors, power connectors etc. There's also a lot of time involved in final assembly, drilling holes in enclosures, installing glands and things and just screwing things together.</p> <p>And here's the final product;</p> <img src="/obj/blog/milk-bar-table.jpg" alt="Milk Bar Units" /> <p>Like most of my blog posts this has turned into a bit of a brain dump rather than anything particularly structured, I hope some useful points have come across. If there's anything specific you'd like me to go into more detail about, please feel free to leave a comment or get in touch.</p> <p>Hadley</p> We're Moving! http://nicegear.nz/blog/were-moving/ 2017-11-22T03:23:25.389742Z 2013-12-04T08:41:11.230899Z Hadley Rich <p>We need more room. This Friday the 6th December we're moving offices. Please excuse us if we're slow to reply to emails on Thursday and Friday.</p> <p>This also means that any orders placed after 3pm Thursday afternoon won't be shipped until Monday December 9th. Our apologies for the inconvenience.</p> Holiday Opening Hours 2013 http://nicegear.nz/blog/holiday-opening-hours-2013/ 2017-11-22T03:23:25.431600Z 2013-12-12T07:42:12.012233Z Hadley Rich <p>Thank you all our fantastic customers for another stupendous year! We had our 10,000 order not long ago and well on our way again at nearly 12,000. Merry Christmas and Happy New Year to you all.</p> <p>We are a family business and think it's important to spend the holidays with family. Our office will be <strong>closed from Friday 20th of December</strong>, the website will of course still be accepting orders but dispatch will be delayed until we <strong>reopen on Monday 6th January</strong>.</p> <p>If you have any urgent requirements feel free to email. I (Hadley) will be sporadically checking emails and <i>may</i> be able to respond during the holidays.</p> <p>All the best to you and yours for the holidays, enjoy yourselves and stay safe.</p> <p>Cheers!</p> Analytics Q1 2014 http://nicegear.nz/blog/analytics-q1-2014/ 2017-11-22T03:23:25.472578Z 2014-03-06T23:47:16.289140Z Hadley Rich <p>In <a href="<a href="/blog/browser-statistics/">2010</a> and <a href="/blog/analytics-q1-2012/">2012</a> I posted with browser and operating stats</a>. This is another follow up to that to see what's changed.</p> <p>The graphs are a little different again, we're still using <a href="http://piwik.org/">Piwik, open source web analytics</a> instead of Google Analytics but there was recently a major version update which is really nice.</p> <p>To the actual statistics. Browsers; Last year it was Webkit (Chrome/Safari), Firefox and IE in first second and third, this year it's the same, even more pronounced.</p> <p><img src="/obj/blog/2014-stats-1.png" alt="Browser usage" style="float:left" /></p> <p><img src="/obj/blog/2014-stats-2.png" alt="Browser usage" style="float:left" /></p> <p><img src="/obj/blog/2014-stats-3.png" alt="Browser usage" style="float:left" /></p> <p style="clear:both;">Operating systems haven't changed too significantly. Just to mention again, our site isn't typical due to the product focus and technical audience.</p> <p><img src="/obj/blog/2014-stats-4.png" alt="Operating system usage" style="float:left" /></p> <p><img src="/obj/blog/2014-stats-5.png" alt="Operating system usage" style="float:left" /></p> <p style="clear:both;"></p> How to Install Eagle 6.5.0 in Ubuntu 14.04 64 Bit http://nicegear.nz/blog/how-to-install-eagle-650-in-ubuntu-1404-64-bit/ 2017-11-22T03:23:25.513722Z 2014-05-14T23:11:47.549945Z Hadley Rich <p>If you download CadSoft Eagle ready to install it on your new Ubuntu installation so you can design some PCBs you'll run into an issue. It doesn't work and the error message isn't helpful. You'll see something similar to;</p> <pre>eagle-lin-6.5.0.run: /tmp/eagle-setup.2645/eagle-6.5.0/bin/eagle: not found</pre> <p>What this actually means is that you're missing the required 32bit libraries to run both Eagle and it's setup program.</p> <p>You can install the required packages like so;</p> <pre>sudo apt-get install libxrender1:i386 libxrandr2:i386 libxcursor1:i386 libfreetype6:i386 libfontconfig1:i386 libxi6:i386 libpng12-0:i386 libstdc++6:i386 libjpeg62:i386 libssl1.0.0:i386</pre> <p>Once you've done that you'll be able to install and run Eagle.</p> Happy Holidays 2014 http://nicegear.nz/blog/happy-holidays-2014/ 2017-11-22T03:23:25.555386Z 2014-12-15T23:00:22.078911Z Hadley Rich <p>I was looking back at my Holiday Hours blog post from last year and I saw that we were nearly at order number 12,000, we're now over order number 17,000 so it's been another fantastic and busy year here at nicegear. Thank you once again to all our fantastic customers for another great year! Merry Christmas and Happy New Year to you all.</p> <p>I also noticed my miserable attention to the blog over the last year, with two measly posts about nothing particularly exciting. Sorry! I'll try and do better, I know there's at least a couple of people out there who enjoy my more technical posts about electronics projects.</p> <p>We are a family business and think it's important to spend the holidays with family and friends, take a break and a chance to rejuvenate for the new year ahead. Our office will be <strong>closed from Friday 19th of December</strong>, the website will of course still be accepting orders but dispatch will be delayed until we <strong>reopen on Monday 5th January</strong>.</p> <p><strong>The last chance for orders to be shipped before the holidays is 3pm, Friday 19th of December.</strong> After that time orders will be dispatched after the break unless by special arrangement.</p> <p>If you have any urgent requirements feel free to email. I (Hadley) will be sporadically checking emails and <i>may</i> be able to respond during the holidays, please don't be upset if I don't though.</p> <p>All the best to you and yours for the holidays, enjoy yourselves and stay safe. Here's looking forward to another great year in 2015.</p> <p>Cheers!</p> Site Updates and Happy Holidays 2015 http://nicegear.nz/blog/site-updates-and-happy-holidays-2015/ 2017-11-22T03:23:25.598649Z 2015-12-10T02:03:59.342128Z Hadley Rich <p>There seems to be a direct relationship with the order frequency on the store and the amount of blog posts I manage to complete. This year has been the best/worst ever. We've processed the most orders ever in the last calendar year, 1000 more than last year, and I've posted exactly zero times on the blog. One if you count this one.</p> <p class="lead text-center"><em>TL/DR:</em> We won't be shipping from <strong>Wed 23rd Dec</strong> to <strong>Thurs 7th Jan</strong>.</p> <p>I know there are a few people who enjoy my more technical posts on the various projects I do so I'm sorry for the lack of interaction from me this year. It's been pretty full on with consulting work, the store with a lot of orders, and with staff coming and going.</p> <p>Checking in our database, we've added 584 products so far since the start of the year and now have over 3000 products available with a large percentage of those in stock in our store room. A lot of those have been added at the request of customers. If there's something that you want that we don't have, feel free to let us know, we can more often than not get it for you.</p> <p>In the last couple of weeks you might have noticed some minor updates to the look of the website, this is the first real round of changes since I designed the current version back in 2008. It's served us very well over that time and continues to do so now but I thought it was about time for a freshen up and some new features.</p> <p>The main areas I've focussed on so far are;</p> <ul> <li>A more mobile friendly layout which works on phones and tablets as well as larger monitored devices. This is ongoing and is definitely a work in progress but it's a start.</li> <li>Wishlists. These have been popping up on other retails sites around the place more and more and I think they are a useful addition, if only just for myself. People often contact us and ask if we have a kit for this that or the next thing. We often don't as I mostly like to let people build their own. Some people aren't so keen on that though so this is where a wishlist comes in handy. It's also useful for educators who are running a class and can show people what they need to participate.</li> <li>A better account management area where you can update your details, manage your addresses for orders and other day to day things. I really neglected this previously which has been frustrating for people so this is a good thing. More to come here too.</li> <li>More automation. This may not be interesting to a lot of people but it's important for us. The most changes in the site by far have been in automating more things in our backend and making more intelligent decisions for stock ordering etc. This helps us to keep our quick dispatch targets (overnight most of the time) and response time to queries. There's a lot more that could be done here but it's a very incremental thing.</li> </ul> <p>I'd like to take the time to say <strong>thanks once again to all our great customers for your support</strong> through the year. I wish you all Happy Holidays and a great break with family and friends. We will be taking a break ourselves, I believe it's very important to spend time with family and friends relaxing and recharging for the next big year to come. The office will be <strong>closed from Wednesday 23rd of December</strong>, the website will of course still be accepting orders but your order won't ship until we <strong>reopen on Thursday 7th January</strong>.</p> <p><strong>The last chance for orders to be shipped before the holidays is 3pm, Tuesday 22nd of December.</strong> After that time orders will be dispatched after the break unless by special arrangement.</p> <p>If you have any urgent requirements feel free to email. I (Hadley) will be sporadically checking emails and <i>may</i> be able to respond during the holidays, please don't be upset if I don't though.</p> <p>All the best to you and yours for the holidays, enjoy yourselves and stay safe. Here's looking forward to another great year in 2016. Here's hoping you hear more from me on the blog!</p> <p>Cheers!</p> Where to buy the new Raspberry Pi 3 in New Zealand? http://nicegear.nz/blog/where-to-buy-the-new-raspberry-pi-3-in-new-zealand/ 2017-11-22T03:23:25.640322Z 2016-02-29T21:23:13.105776Z Hadley Rich <p>There's a new Raspberry Pi model in town, the <a href="/raspberry-pi/raspberry-pi-3/">Raspberry Pi 3</a>, just released on the 29th of February 2016 (which is actually the 1st of March here in New Zealand). It's a birthday present from the Raspberry Pi Foundation for their own 4th birthday.</p> <p style="font-size:150%;line-height: 160%;margin:70px auto;text-align: center;"><strong><a href="/raspberry-pi/raspberry-pi-3/">Buy the Raspberry Pi 3 right here at nicegear!</a></strong></p> <p style="text-align: center;"><a href="/raspberry-pi/raspberry-pi-3/"><img src="/obj/images/raspberry-pi-foundation-raspberry-pi-3-model-b-1.jpg" width="512" height="288" alt="Raspberry Pi 3" /></a></p> <p>The form factor and connectors for the Pi 3 are exactly the same as the Pi 2. However there are a few upgrades. First off, we get a new 64-bit processor; the new BCM2837 has a quad-core, 64-bit ARMv8 running at 1.2GHz. Additionally, the Raspberry Pi 3 has on-board WiFi and BLE (no more USB WiFi dongles). Finally, and not quite so interestingly, there's a new switching power source that supports up to 2.5 amps. The standard <a href="/raspberry-pi/raspberry-pi-2-micro-usb-power-supply/">2 Amp micro-USB power supply for the Raspberry Pi</a> will still work just fine, it's just that the Pi itself can provide more power to the connected USB devices, if you need it for whatever reason.</p> <p>The biggest change is the inclusion of integrated Wireless LAN and Bluetooth 4.1 on board adding two great connectivity options straight out of the box. The Wireless LAN should be compatible with all home network setups and is supported in the latest NOOBs image.</p> <p>Bluetooth will allow you to use a wireless keyboard/trackpad without extra dongles, keeping things nice and tidy.</p> <h3>Performance</h3> <p>Compared with the Raspberry Pi 2 the CPU is running at a 33% faster clock rate (1.2GHz vs 0.9GHz) the more modern core also means a more efficient instruction set, especially when performing operations on 64-bit values.</p> <p>Video and 3D performance has also seen a bump with the VideoCore being clocked at 400MHz for video processing (up from 250MHz) and the 3D graphics processor running at 300MHz (up from 250MHz).</p> <p>In general use you can expect the Raspberry Pi 3 to perform around 50% quicker than the Raspberry Pi 2 running the same software. In the future as software adds optimisations for the architecture the gap will widen further.</p> <h3>Interesting things to note</h3> <ul> <li>You will need the latest NOOBS image (1.8.0) for the Wireless LAN and Bluetooth drivers to be installed.</li> <li>The indicator LEDs have moved (to accommodate the Wireless LAN antenna) which may affect some cases.</li> <li>The microSD slot is no longer spring-loaded meaning a little more access space is required which may effect some cases.</li> <li>Cases made from metal may cause signal issues with the Wireless LAN and Bluetooth.</li> <li>Some of the smaller components on the board have moved or changed, this doesn't effect much, you can now take flash photos of the Pi without it resetting.</li> </ul> <h3>Raspberry Pi 3 - Model B Features</h3> <ul> <li>Now&nbsp;<strong>10x Faster</strong>&nbsp;- Broadcom BCM2387 ARM Cortex-A53 Quad Core Processor powered Single Board Computer running at 1.2GHz!</li> <li>1GB RAM so you can now run bigger and more powerful applications</li> <li>Fully HAT compatible</li> <li>40pin extended GPIO to enhance your "real world" projects.</li> <li>Connect a Raspberry Pi camera and touch screen display (each sold separately)</li> <li>Stream and watch Hi-definition video output at 1080</li> <li>Micro SD slot for storing information and loading your operating systems.</li> <li>10/100 BaseT Ethernet socket&nbsp;to quickly connect the Raspberry Pi to the Internet</li> </ul> <h3>Raspberry Pi 3 - Model B Technical Specification</h3> <ul> <li>Broadcom BCM2387 chipset</li> <li><strong>1.2GHz Quad-Core ARM Cortex-A53</strong></li> <li><strong>802.11 bgn Wireless LAN and Bluetooth 4.1</strong>&nbsp;(Bluetooth Classic and LE)</li> <li><strong>1GB RAM</strong></li> <li><strong>64 Bit CPU</strong></li> <li>4 x USB ports</li> <li>4 pole Stereo output and Composite video port</li> <li>Full size HDMI</li> <li>10/100 BaseT Ethernet socketbr</li> <li>CSI camera port for connecting the Raspberry Pi camera</li> <li>DSI display port for connecting the Raspberry Pi touch screen display</li> <li>Micro SD port for loading your operating system and storing data</li> <li>Micro USB power source</li> </ul> <h3>Compare the new Pi 3 to the older Pi 2</h3> <table class="table"> <tbody><tr> <th></th> <th>Rasbperry Pi 2 Model B</th> <th>Raspberry Pi 3 Model B</th> </tr> <tr> <th>SoC</th> <td>Broadcom BCM2836</td> <td>Broadcom BCM2837</td> </tr> <tr> <th>CPU</th> <td>32-bit 900 MHz quad-core ARMv7</td> <td>64-bit 1.2 GHz quad-core ARMv8</td> </tr> <tr> <th>RAM</th> <td>1 GB</td> <td>1 GB</td> </tr> <tr> <th>USB 2.0 Ports</th> <td>4</td> <td>4</td> </tr> <tr><th>Ethernet</th> <td>Yes</td> <td>Yes</td> </tr> <tr><th>Audio Out</th> <td>Yes</td> <td>Yes</td> </tr> <tr><th>Composite Video Out</th> <td>Yes</td> <td>Yes</td> </tr> <tr><th>HDMI Out</th> <td>Yes</td> <td>Yes</td> </tr> <tr><th>CSI Camera Port</th> <td>Yes</td> <td>Yes</td> </tr> <tr><th>DSI Display Port</th> <td>Yes</td> <td>Yes</td> </tr> <tr><th>GPIO Pins</th> <td>40</td> <td>40</td> </tr> <tr><th>Storage</th> <td>microSD Card Slot</td> <td>microSD Card Slot</td> </tr> <tr><th>Power</th> <td>5 V via Micro USB</td> <td>5 V via Micro USB</td> </tr> <tr><th>Mounting</th> <td>4x M2.5 mounting holes</td> <td>4x M2.5 mounting holes</td> </tr> <tr><th>WiFi</th> <td>No</td> <td>Yes</td> </tr> <tr><th>Bluetooth Low Energy</th> <td>No</td> <td>Yes</td> </tr> </tbody></table> <p>This post was compiled from info found around the Internet including SparkFun, Pimoroni and The Pi Hut.</p> Using a DS3231 I2C Real Time Clock (RTC) with a Raspberry Pi (Updated for Jessie) http://nicegear.nz/blog/using-a-ds3231-i2c-real-time-clock-rtc-with-a-raspberry-pi-updated-for-jessie/ 2017-11-22T03:23:25.681852Z 2016-07-28T00:10:13.848610Z Hadley Rich <p></p> <p>Unlike most computers the <a href="/p/14178/">Raspberry Pi</a> doesn't contain a Real Time Clock (RTC), we assume it was left out of the design to save space and/or money. A RTC is a coin cell battery powered clock which keeps accurate time, even when the computer is powered off. Without one, the Raspberry Pi isn't capable of keeping time by itself.</p> <p>If you're using a <a href=""/p/14178/">Pi 3</a> with an Internet connection then you can get the time from the Internet using Network Time Protocol (NTP), however if don't have a network connection, then you'll need an RTC to keep time.</p> <p>We've found a <a href="/electronics-gear/high-precision-real-time-clock-for-raspberry-pi/">simple to use RTC module for the Raspberry Pi</a> with the Dallas DS3231 I2C RTC chip which is also a bunch more accurate than the commonly used DS1307 chip. It's also tiny, and fits right on the Pi's GPIO header (seen top left of the image). The image is of an older Raspberry Pi but the RTC modules works just fine on the Pi 3, Pi 2, B+ and original Model B</p> <a href="/electronics-gear/high-precision-real-time-clock-for-raspberry-pi/"><img src="/obj/images/raspberry-pi-real-time-clock-rtc-ds3231-3.jpg" alt="Raspberry Pi RTC Module installed" /></a> <p>Here's the basic steps you need to get the <a href="/electronics-gear/high-precision-real-time-clock-for-raspberry-pi/">Pi RTC Module</a> going on the latest Raspbian Jessie distribution you can download from the Raspberry Pi Foundation's website.</p> <p>In raspi-config, go to "9 Advanced Options" / "A7 I2C" and enable it including loading the module:</p> <pre> sudo raspi-config </pre> <p>Edit the file /lib/udev/hwclock-set</p> <pre> sudo nano /boot/config.txt </pre> <p>Comment out the following three lines:</p> <pre> if [ -e /run/systemd/system ] ; then exit 0 fi </pre> <p>to make them look like this:</p> <pre> #if [ -e /run/systemd/system ] ; then # exit 0 #fi </pre> <p>Check the system date/time is correct</p> <pre> date </pre> <p>Finally, set the hardware clock to the correct time</p> <pre> sudo hwclock -w </pre> <p>That's it! Things have become easier than our earlier instructions due to changes in the Raspbian operating system.</p> Hacking a Mitsubishi Heat Pump / Air Conditioner http://nicegear.nz/blog/hacking-a-mitsubishi-heat-pump-air-conditioner/ 2017-11-22T03:23:25.726567Z 2016-10-11T01:55:49.595542Z Hadley Rich <p>Quite a few years back I decided that I wanted to hack my heat pump. The infrared remote control was boring, who wants to press buttons. I thought about automatically generating the infrared remote button protocol like a few others have done before but that still doesn't tell me what the heat pump is doing. Did it actually turn on after you sent those commands? I thought I could do better, so I decided to pull apart my newly installed heat pump unit and start poking around in there with a meter to see what happened.</p> <p style="margin-bottom:30px;">Surprisingly, I remembered to take a couple of photos this time Here's the unit after pulling off the cover and poking around to find where all the wires were going. Try not to die if you do this with the power on - there's 240V in there.</p> <img src="/obj/blog/heat-pump-hacking-1.jpg" alt="Hacking a Mitsubishi Heat Pump / Air Conditioner" /> <p style="margin-bottom:30px;">Here I've pulled out the control board. Tiny little thing isn't it! You'll see one of the wiring looms connected here, this is what we need to connect to communicate with the unit from the outside world - thoughtfully of them they made us a serial port to talk to, it's 5V TTL UART running at 2400 bps and even parity. A little weird, I discovered that with a <a href="/p/13490">Saleae Logic Analyser</a> - a very handy little hacking tool. The connector is called CN105 on the Mitsubishi board.</p> <img src="/obj/blog/heat-pump-hacking-mitsubishi-cn105-connector-pinout.png" alt="Hacking a Mitsubishi Heat Pump / Air Conditioner" /> <p style="margin-bottom:30px;">After I had manually poked about and figured out the CN105 pin output and discovered it was a UART, I found this picture of the pinout of the Mitsubishi CN105 connector! Would have been nice to have earlier! Posted here in case you're building your own cable. The original cable I built was actually a JST PH connector that I carved and sanded to fit in the existing PCB end - figuring out what type of connector was on the board was one of the most annoying parts of the whole thing! I've since discovered (after extensive searching!) that it's a JST PA series and I do have a few cable pigtails here so if you want one drop me a line.</p> <img src="/obj/blog/heat-pump-hacking-2.jpg" alt="Hacking a Mitsubishi Heat Pump / Air Conditioner" /> <p style="margin-bottom:30px;">At this stage I'm putting the control board assembly back into the heat pump and connecting it back up to all the factory wiring looms. Once of those is the internal temperature sensor with I did some testing on sensor as part of trying to decode the communications protocol - I think I'll go into the protocol in a separate post to keep this from getting too long.</p> <img src="/obj/blog/heat-pump-hacking-4.jpg" alt="Hacking a Mitsubishi Heat Pump / Air Conditioner" /> <p style="margin-bottom:30px;">Once I got the air conditioning unit back together it was time to implement the hack in a reusable manner. I decided to base my modification on a <a href="/raspberry-pi/">Raspberry Pi</a>. I could have gone with something smaller such as an <a href="/arduino/">Arduino</a>, or an <a href="/search/?q=ESP8266">ESP8266 board</a> but I decided to go with the Pi as it would give the ability to relatively easily build a completely stand alone controller for people who don't have an existing home automation controller to interface with.</p> <img src="/obj/blog/heat-pump-hacking-6.jpg" alt="Hacking a Mitsubishi Heat Pump / Air Conditioner" /> <p style="margin-bottom:30px;">Above is the simple <a href="/raspberry-pi/pibreak-plus-raspberry-pi-prototyping-board/">Raspberry Pi break out board</a> mounted on a <a href="/raspberry-pi/">Raspberry Pi</a>. The couple I have running (one in the office and one at home) are both running on a Raspberry Pi 2 as this was all done before the release of the <a href="/p/14178">Pi 3 with built in WiFi</a>. It should work on the Pi 3 okay but I've not tested it as yet and there is a change in the Pi UART due to the on board Bluetooth. I guess it should still be able to handle 2400 bps okay but if you test it out let me know!</p> <img src="/obj/blog/heat-pump-hacking-5.jpg" alt="Hacking a Mitsubishi Heat Pump / Air Conditioner" /> <p style="margin-bottom:30px;">This is just the bottom of the prototype board with some <a href="/search/?q=hook+up+wire">hook up wiring</a> and a <a href="/p/13311">12V to 5V converter from Pololu</a> to power the Pi. The heat pump has a 12V output on the CN105 connector so there's no external power needed for the Raspberry Pi. There's also a 5V supply on the connector but I wasn't sure how much I could draw from that so I decided it was safer to use the 12V rail.</p> <img src="/obj/blog/heat-pump-hacking-7.jpg" alt="Hacking a Mitsubishi Heat Pump / Air Conditioner" /> <p style="margin-bottom:30px;">Here's the final prototype that's running in my office. The wiring isn't the tidiest but that's probably inconsequential when you look at the rest of the office most of the time! I won't include a photo of that.</p> <img src="/obj/blog/heat-pump-hacking-console.png" alt="Hacking a Mitsubishi Heat Pump / Air Conditioner" /> <p style="margin-bottom:30px;">This is the console output from the program which bridges the Mitsubishi Air Conditioner / Heat Pump to an MQTT broker. The <a href="https://github.com/hadleyrich/MQMitsi">code is up on Github here</a>, there's not a lot of documentation but you should be able to get something working from it.</p> <img src="/obj/blog/heat-pump-hacking-control-interface.png" alt="Hacking a Mitsubishi Heat Pump / Air Conditioner" /> <p>This is a simple control interface in HTML using MQTT over websockets, we use this in house as part of a larger system. I haven't had a chance to extract this bit of code yet.</p> <p><b>Update, as usual I forgot to mention a bunch of things</b> : This is true bi-directional communication with the heat pump, meaning that you can send it commands and get back a response on whether they succeeded. The heat pump will also send unsolicited updates when things change such as using the IR remote. This means that the network interface will always be in sync with what the air conditioner unit is actually doing, no guesswork.</p> <p>There's a bunch of documentation to do on this project which I've currently run out of time for - though I do hope to be able to pick it up again soon. The next post I hope to do is on decoding the serial line communication protocol. If you've got any questions let me know in the comments.</p> Holiday Break 2016 http://nicegear.nz/blog/holiday-break-2016/ 2017-11-22T03:23:25.769947Z 2016-12-19T04:23:59.726203Z Hadley Rich <p class="lead text-center"><em>TL/DR:</em> We won't be shipping from <strong>Wed 21st Dec</strong> to <strong>Thurs 5th Jan</strong>. Cut off for orders to be shipped out is <strong>3pm Tuesday 20th</strong>.</p> <p>This time of year I like to take the time to say <strong>thanks once again to all our great customers for your support</strong> through the year. I wish you all Happy Holidays and a great break with family and friends. As always we will be taking a break ourselves, it's very important to spend time with family and friends relaxing and recharging for the next year. The office will be <strong>closed from Wednesday 21st of December</strong>, the website will of course still be accepting orders but your order won't ship until we <strong>reopen on Thursday 5th January</strong>.</p> <p><strong>The last chance for orders to be shipped before the holidays is 3pm, Tuesday 20th of December.</strong> After that time orders will be dispatched after the break unless by special arrangement.</p> <p>All the best to you and yours for the holidays, enjoy yourselves and stay safe. Here's looking forward to another great year in 2017.</p> <p>Cheers!</p>