element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino Projects
  • Products
  • Arduino
  • Arduino Projects
  • More
  • Cancel
Arduino Projects
Blog 2. AardEnergy – Set Up Uno and Due
  • Blog
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino Projects to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: peterjcs23
  • Date Created: 26 Nov 2015 11:57 AM Date Created
  • Views 3209 views
  • Likes 4 likes
  • Comments 20 comments
  • debug
  • setup
  • meter
  • due
  • uno
  • energy
  • arduino
Related
Recommended

2. AardEnergy – Set Up Uno and Due

peterjcs23
peterjcs23
26 Nov 2015

In this Blog

Download the Arduino software and power up the Uno and Due. Look at debug, does it exist from the Arduino GUI?

See previous Blog…

http://www.element14.com/community/groups/arduino/blog/2015/11/23/1-aardenergy-kick-off--a-new-project

IDE Download

IDE Down load from Uno board page, version 1.6.6 (I had already installed 1.6.5, so an upgrade). 1.6.5 uninstalled first, 1.6.6 now in place.

image

However, under Tools>Board…Due is not listed.

Get Started with Uno

Use the IDE, Help>Getting Started.

  • Plug USB into socket on Uno
  • Power LED is on (and port  LED is blinking)
  • In Windows Device manager select Ports and find Arduino Uno (COM3) (note Windows 8.1)
  • Right click and update driver from C:\Program Files (x86)\Arduino\drivers
  • Open Blink in IDE File > Examples >01.Basics > Blink
  • Select board as Uno
  • Select Serial Port (COM3 as determined above)
  • Upload, TX, RX LEDs flash happily.
  • And LED on pin 13 is flashing, so all good.

That went well but the Due was not listed so let’s try that from the link above.

Get Started with Due

Due board needs a micro B USB cable. Order this one:

http://www.amazon.co.uk/dp/B00FAAGNLU/ref=pe_385721_37986871_TE_item

The cable has arrived and fits the board programmer port (and it fits the Native USB port). The Due powers up, Green LED is on and the yellow LED blinks.

There are some special factors to keep in mind with the Due, read the guide:

https://www.arduino.cc/en/Guide/ArduinoDue

Follow the guidance on the drivers:

(Note that is says “tested on Windows XP and, but we are using 8.1)

From Device Manager>Ports, Arduino Due Programming Port is COM4. Right Click and Update Driver Software. Browse to C:\Program Files (x86)\Arduino\drivers. Hit Next and drivers are up to date.

Also load the core software to support the Due:

From Tools>Board>Boards Manager

image

Install the SAM board ARM Cortex-M3

The Due can now be selected from the list of boards.

image

Test the set up by loading the Blink programme:

  • Open Blink in IDE File > Examples >01.Basics > Blink
  • Select board as Due
  • Select Serial Port (COM4 as determined above)
  • Upload, TX, RX LEDs flash happily.
  • And yellow LED is flashing, so all good.

Software Debug

I am curious about how to debug the software, is there a Debug Mode or JTAG port? There is nothing on the GUI as far as I can tell at the moment. A Search for Arduino Uno Debug threw up a discussion on element14:

http://www.element14.com/community/thread/17697/l/debugging-atmega328?displayFullThread=true

Looks like print on the serial port is the Arduino “debug” unless you add some other utility. In essence a Uno Sketch needs to be simple to get away with no debug tool. This also might help:

http://www.element14.com/community/groups/arduino/blog/2012/09/30/the-first-practical-arduino-debugger

On the Due there is a Debug connector marked up but is not described in the top level Arduino document. A search throws up comments about the port as JTAG but used with third party tools:

http://forum.arduino.cc/index.php?topic=134907.0

So as a challenge I’ll attempt to use Arduino GUI and see how far I get with a fairly ambitious project to do real time calculations using Due board!

Other Blogs:

1. AardEnergy – Kick Off - a new project

3. AardEnergy – Current and Voltage Transformers

 

Next Steps

After a bit more shopping I have a Current Transformer and a Voltage Transformer to evaluate. In the next blog there will be some analysis of the signals from these sensors as well as some measurements to assess performance. That should lead on to a design for the Uno and the Due interface. The plan is to use a metering chip with the Uno and to a use direct analog input to the Due.

 

These are the sensors:

image

And, here is the ARDUINO MEGA, REV 3 Farnell 2285197 prototype board, which appears to be compatible with the Due.

image

  • Sign in to reply

Top Comments

  • peterjcs23
    peterjcs23 over 10 years ago in reply to mcb1 +2
    I am limiting the scope of my blog to this set up: All other connections, that in any way access live cabling, are out of scope for an essentially home hobby style project. The content of your blog goes…
  • mcb1
    mcb1 over 10 years ago in reply to peterjcs23 +1
    That is the insulated and armoured service cable into the house If that were true you wouldn't be able to get the clamp around it, and secondly you wouldn't get any current reading. I used to deal with…
  • peterjcs23
    peterjcs23 over 10 years ago in reply to peterjcs23 +1
    The service feed into the house is an armoured cable and the live and neutral tails are terminated in the meter. The CT is on the live tail, the insulation on the live wire is reinforced so meets the same…
  • mcb1
    mcb1 over 10 years ago in reply to peterjcs23

    Brilliant.

     

    Does your CT tail have any codes on the cable?

    Unfortunately every picture we've seen these are either missing or not able to be read.

     

    mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to mcb1

    Yes the left is showing 2 layers of insulation which is good but the thing these are attempting to show is that connecting over a double wire (Live and Neutral) vs a single core will not work as the magnetic fields will cancel out. they are confusing it by showing different cables at the same time, but Mark is aboslutly correct in identifying that the one on the left is truely double insulated, the one on the right is also double insulated as is but if the grey is stripped back to allow the clamp to only go over one of the inner wires then the remaining insulation will be single insulated

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • peterjcs23
    peterjcs23 over 10 years ago in reply to peterjcs23

    The service feed into the house is an armoured cable and the live and neutral tails are terminated in the meter. The CT is on the live tail, the insulation on the live wire is reinforced so meets the same quality requirement as double insulated. The CT itself is insulated and rated at 1000VAC/min so in fact we have double insulation as well as reinforced insulation. So no danger.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 10 years ago in reply to peterjcs23

    peterjcs23

    I noted this picture on the openEnergymonitor website.

    CT on cable - right & wrong

    source Current Transformer Installation | OpenEnergyMonitor

     

    The one on the left would indicate two layers of insulation.

     

    Do you know if the cabling you show is the same.?

     

     

    mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 10 years ago in reply to Robert Peter Oakes

    Robert Peter Oakes

    That is a good find, and I have no doubt the actual CT is insulated.

     

    It's interesting looking at two datasheets for the same device from the same mnaufacturer.

    Seeedstudio suggest it is 6000v between shell and Output

    http://www.seeedstudio.com/depot/images/product/2009511142810295.gif

     

    While the signed manufacturer copy states 1000v

    http://garden.seeedstudio.com/images/1/10/SCT013-000_datasheet.pdf

     

    and this seller has it down as 6000v as well. (it is the 100A version)

    http://www.ebay.com/itm/100A-SCT-013-000-Non-invasive-AC-current-sensor-Split-Core-Current-Transformer-/252137745365

     

     

    There is a very good report (well except for the cable rating) here.

    http://openenergymonitor.org/emon/buildingblocks/report-yhdc-sct-013-000-current-transformer

     

    There is a few warnings here about insuring there is a limiting device to prevent the open circuit voltage from exceeding the CT insulation.

    http://openenergymonitor.org/emon/buildingblocks/ct-sensors-interface

     

     

    mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube