TheemonTx Shield is an open source hardware arduino shield footprint compatible electricity and temperature monitoring shield that can be connected to any standard Arduino UNO, Leonardo, NanodeRF (for web connectivity and posting to
emoncms.org) or even the new Arduino Yun.
The board comes with all the SMT components the resistors, capacitors and LED already on the board. The non-smt components (the arduino headers, ftdi connector, CT and ACAC jack sockets) do not come pre-assembled and so a little soldering is still needed to complete the build of this board.
When assembling: The 3.5mm CT sockets and 2.1mm AC-AC Adapter socket needs to be soldered on the bottom of the PCB. This slightly unconventional design was chosen to make a low profile design possible.
The emontx shield is open hardware with the designs released under the Creative Commons Attribution-ShareAlike 3.0 Unported License. The schematics and board files can be viewed and downloaded from the openenergymonitor github hardware repository here:
-shield-smt
Preamble
Last December I built a minimal data viewer for emoncms data called phpfinaview here. It featured amongst other things a multigraph data viewer with one click add remove feed left/right axis control and a list of the stats of each feed below the graph view. I used it a lot to explore data from my heatpump, the combination of the easy feed addition/removal and the stats at the bottom meant I could get at COP figures at mean outside temperatures and flow temperatures much faster. I also added a feature to create a histogram of the data in the view to see at which power levels the heatpump used more energy over time without needing to create histogram feeds which are not supported on the low write mode of emoncms anyway.
In order to make it possible to have this functionality from within emoncms I have put this together as a new module called graph which can replace the default feed data viewer in emoncms. So that when you click on the view/eye icon on a feed it goes straight into this multigraph style environment. This is up and running now on
emoncms.org to test and the module is available on github here
View any feed as a histogram of the amount of time spent at the range of values in the view or in the case of power feeds the amount of kWh consumed at a given power level. The resolution of the histogram can be selected in the view.
Im thinking that saved graphs produced with this module could ultimately replace vis module visualisations: realtime, rawdata, bargraph, graph, multigraph. In-built data editing could replace edit daily and edit realtime. The histogram calculation on the fly can replace the need for the histogram input processor, feed engine and visualisations and on the fly averaging could replace the need for the PHPFiwa feed engine.
Data quality indicator
The module also calculates an indication of the data quality present for each feed by dividing the expected number of data points made in the request by the number of valid data points present. This is there to help notify of radio or internet connection issues early and feeds in the discussion here about radio reliability testing
Fixable data interval
This can be quite a useful option to use alongside the csv export if you wish to select a view and keep the data interval at say 30s, set the interval to 30 and then tick fix to lock. There is a request limit of 3000 datapoints, (8000 on emoncms v9 running locally)
I've been uploading sensor data from my Yun into a Google Drive spreadsheet via the Temboo API. Works great! Only problem is my free account is nearly exhausted for the month and I don't want to start paying for a subscription.
I'd like to find a similar service to Temboo but at no cost. I did checkout IFTTT.com, and they have a "trigger" that will upload from a URL and create a new Google Drive document file, but it creates a new file with every upload. I'm wanting to append a row to a file, preferably a spreadsheet.
I've been using GroveStreams for many months now, and it's by far the best such service I've seen. Less than 20 datastreams and less than 10K transactions/month are free. Rates for higher levels of service are very reasonable. It has very powerful and flexible data analysis and reduction capabilities, automation/alerts, charting, etc. Here are a few charts from a project I've been working on.
Thanks Robert. I did check out the new
data.sparkfun.com but it publicly shares everything you upload. I'm nervous about the public having access to the temperature and barometric pressure in my basement
I tried two of their tutorials complete with scripts. A Python program in the Yun's Linux system. The uploads are working but I still need to have it grab the Arduino temp readings (already being written to the SD) so that some real data is uploaded.
I also found they have an Arduino temperature tutorial that runs on an Arduino with Ethernet shield, which I have. I got that one working too and it is uploading actual temperature data in both C and F. It took some adjustments of their code to use my I2C sensor and static IP, but not too bad,.
@Jake, looking good there!. I've found GroveStreams to be very responsive to questions and issues. Bugs get fixed extremely quickly (I have found a few but I'd categorize all of them as minor or very minor) and emails from Mike Mills, the founder, are common. Mike is always looking to improve the service, and is genuinely interested in what users have to say, so don't hesitate to offer suggestions on the forum or via the email address on the support page.
Edit: I see you have F and C, that's a great example of the automation that GroveStreams offers. Only one of the two temperatures would need to be uploaded, then a derived stream could be created with the appropriate calculation.
Hi,
You can use simply http get to upload your data, and on the emoncms platform you can choose which data save to log and build as many dashboard as you want, in which plot your data.
I wrote this guide a long time ago, it's in italian and it's focused on the Arduino UNO + Eth/wifi shield.
But you can see at the bottom of the guide how is easy to create a dashboard and plot your data:
Web-app for processing, logging and visualising energy, temperature and other environmental data - GitHub - emoncms/emoncms: Web-app for processing, logging and visualising energy, temperature and ...
if you are talking about the emoncms instance, i used both.
I use often the "cloud" emoncms to show how it works and how easy is to use, and i have actually a small dashbord there (my home office power consumption, temperature & humidity).
I used also an AWS instance for a while (the free tier year :)), that ran very good.
I also tried to use it in free web hosting services (you need only http + php & mysql support), but in this case you have to limit the frequency of your GETs.
emonDC is a project aiming to develop DC current and voltage measuring tools compatible with
openenergymonitor.org project.
The main board in development is emonDCduo, a dual-channel generator/battery monitor, WiFi enabled, aimed at solar/battery systems.
My own DC-DC buck regulator featuring under-voltage lockout for battery protection, adjustable output voltage, rated at 3A for 10s or 1A continuous.note: using an onboard buck regulator is preceded by fuse F1.
Plan your cabling and equipment to allow installation of this energy monitor.
Have an understanding of shunts, high-side vs low-side shunt monitoring, and whether or not your electrical Ground needs earthing or can float.
1. Purchase 'standard' board through Megni shop, select hardware options to complete purchase.2. Take the enclosure and drill out access according to [this diagram]() (pre-drilled available from shop).3. Select a location near the current carrying cables and mount the empty enclosure, screwing or bolting it to a surface.4. You need two M5 bolts for each current channel. Put a serrated washer on each bolt, insert the bolts from the underside of the PCB, and then mount the PCB with the bolt threads showing, perhaps applying sideways pressure to the bolt to keep them from falling out.5. Use the M3 screws provided to mount the PCB to the enclosure.6. **Disconnect power from cables to be cut.** Make the cuts and strip 15mm from the ends.7. With a crimping tool or pliers, crunch the ring terminals onto the copper cable ends, you should not be able to pull the cable out of the crimped end..8. Note the 'source' and 'load' labelling on the board, bring the ring terminals onto the bolts and place the flat washer, then fit the nut.9. Tighten all bolts holding onto the crimp to keep it from spinning, the serrated washer will eventually grip and greatly help to make it tight.10. Connect the earth via the terminal or a by using a small ring under a mounting screw.11. Install buck-regulator, power up and log in to to the device by WiFi, here you can enter emoncms credentials, and other settings as found in emonESP.
Soldering required for minimal functioning shown below.
Then solder in two 5.08mm terminal blocks for the 5V and GND inputs.
Then 7.62mm terminal blocks (recommended) for connecting external shunts.
Secondly, short circuit protection needs to exist at different levels of the hardware design to avoid inadvertent damage to the unit, by assembly faults on part of the manufacturer (PCB and assembly) or assembler, or the user upon installation. This has been achieved by adding fuses and buffering certain inputs with resistors. The layout of the components factors into the safety significantly!
The range of requirements in DC monitoring applications require a flexible approach because of:
a. Unidirectional vs bidirectional measurement needs.
b. Amperage ranges and associated cable cross sectional area. Current carriers in DC systems can range from 4mm2 to over 25mm2. The target measurement range has significant physical design implications.
c. Different cable dimensions require terminations suitable to their size and application (screw terminals, bolt ring terminals, soldered connections, etc.) there is no single solution.
d. Whole battery systems can be monitored with one shunt or individual cells of the system can require a multi-cell monitoring unit.
e. I also consider high humidity, marine and automotive applications, and have designed DCduo for a waterproof case.
f. A wide range of working voltages.
3a8082e126