Show Posts
Pages: [1] 2 3
1  Community / Exhibition / Gallery / Re: ThingSpeak Live Chart, multi channel, second axis, historical data, csv export on: February 12, 2014, 07:32:01 pm
hi turgo, great splash with JS
I'm actually a newbie @ JS as well, and finding my way through all the amazing JS stuff to be able to display basic data.

I've posted your version here
https://github.com/neilh10/thingspeakmultichannel-highcharts
It can be forked and other people can add comments. Github being an amazing place to share code.
For anybody looking to see what it takes to modify turgo's KS
At the above github reference click/step into "ThingSpeakMultichannel001.html"
then press the "Blame" button and the new window will show the modifications by line number in light yellow "b8238f46 ยป"
For any 3rd person to make modifications, copy ThingSpeakMultichannel001.html into a file of your own, and then from the line numbers shown in the "Blame" view make the modifications in your file.

For the hell of it I've also put it up here where it runs on the web
http://js.do/code/thingspeakmultichannel-highcharts
however it seems like there isn't a way of sharing it.
If it can find away of sharing it, it would be easy for anyone to make small changes to - add their channel numbers and fields - and see what happens, no website needed.
Neil
2  Using Arduino / Project Guidance / Re: renewable power for rechargeable batteries - planning advice needed on: February 12, 2014, 01:49:52 pm
For batteries you could look at the following  options for different batteries and some simple ideas for charging
http://www.batteryspace.com/lifepo4cellspacks.aspx
The benefit of LiFePO4 is life time number of discharges, and safety. They are being designed for ElectricVehicles
LiIon has good energy density, safety issues, and lifetime issues, but not as bad as NiMH
NiMH has lifetime discharge memory
All rechargeable batteries can be used in series - that is solar panel to LiFeP04 charger -> LiFePO4 batteries -> your board.
However you need to understand the voltage range of the battery technology - for LiFePO4 its 3.7V fully charger to about 2.5V for LVD (Low Voltage Disconnect) to preserve the life of the battery.
Basically unless you use a standard battery pack that does this for you, you are going to need to do some engineering.
There are some SolarLed Lighting products that have integrated solar panels and LiFePO4 batteries that if you can live with the power budget might do everything for you.
lowes.com "Portfolio 3-Pack Black Solar-Powered LED SpotLights" - by my experiment the solar panel is under powered and the batteries on a full daily charge/discharge cycle are loosing capacity.

I'm looking at a project and specifying   
1) Total power budget for 7 days - this sizes the battery
2) Expect there to be 7 days of inclement weather with no solar and when the sun returns  recharge in 4hrs - this sizes the solar panel
The big issue with standard Arduino boards I've seen is they are not built for battery powering - the DC regulators and always on LEDs - so my criteria is for the hardware to be put to sleep - and have a low quiescent power usage of less than 0.5mA.
The Teensy3.1 has some powering  metrics that are in the uA and a good starting point for a battery powered board.

Back some years ago, I rolled my own Mega2560 board and interfaced it to a cellular module which required bursts of 1.2A@5V for transmit and 700mA  for Rx. Overall it took  1minute to make a cellphone connection and transmit data. The cellphone was on a 1hr reporting schedule, the quiescent power of the board asleep was about 0.7mA
I powered it off a 2.2ALiIon battery  and I think a 6Watt solar panel and its been very successful, it was a lot of work in software to manage the power.
Arduino software/libs - which prioritizes ease of understanding and is fantastic for accessibility  - however so far I've not seen any priority for power management.  From what I've seen using yield() makes it challanging to create algorithims to do power management. TinyOs.net "wireless networking" has some documents together on power management algorithms  - however they are engineering concepts.  Linix 3.8+ is also evolving power management capabilities

3  Community / Exhibition / Gallery / Re: ThingSpeak Live Chart, multi channel, second axis, historical data, csv export on: February 12, 2014, 12:46:41 pm
Wow turgo, this is amazingly cool. smiley-cool
I'm adapting it for a few projects of mine.
OK if I post it into github and then do modifications from there? I'll add some examples of making changes.
I'm finding a few issues, but this is a great bit of JS, though not perfect (for those people in search of the holy grail) way cool. thanks for sharing it
4  Products / Arduino Due / Re: Debugging Arduino Due using SAM-ICE JTAG (an approach) on: September 02, 2013, 03:12:30 pm
Hey glad it was useful. SAM3X has a lot of very nice opportunities with its internal ram and peripherals and low power.
Shame this fix hasn't made it in to the AS.
However it does seem the real productive programming is moving to anenvironment with python in it, and there is another productive OOPs paradigm that I've come across using www.squirrel-lang.org - one programsa 'nut' (ElectricImp.com is using it on WiFi SD card).
Neil
5  Products / Arduino Due / Re: arduino due + li-ion battery + usb charging on: July 16, 2013, 11:41:49 pm
Another option might be to use the newer LiFePO4 which has a working voltage of 2.9-3.3V and charging up to 3.6V.
LiFePO4 is designed to be intrinsically safe and can't blow up like LiIon can do(see Boeing Dreamliner Battery Pack issues)
There is also an interesting solar Powered LED Flood Lights with solar panel and charger and two LiFePO4 batteries
available at my local lowes.com for $30.
Portfolio 3-Pack Black Solar-Powered LED Flood Lights  Model #: SS13P-P2-BK-PK3
In the sealed solar module this has two removable LiFePO4 each 1AHr batteries.
I've attached a graph of the battery voltage using just one LiFePO4/1AHr over about 3days of solar charging, and then at night the LED Floodlight turns on and when the battery is discharged it Low Voltage Disconnects. When the sun comes up it charges the battery till it is full and then jumps from 3.35V to 3.65V
6  General Category / General Discussion / Re: Is there an interest in 3d printed custom enclosures? on: May 20, 2013, 05:50:01 pm
Hi rep8
I could be interested.
What would be really ***nice*** is if you post what you are doing and perhaps how you are doing it.
I picked up Alibre Design a couple of years ago thinking I might get round to do some mech - but my brain wasn't able to make it work thoughI didn't try very hard
Solid products - need a design enclosure that works for the application. Easy to say, but takes a lot of figuring out the application. The experts politely call it iterative design.

Typically a product design starts with the enclosure and the electronics fit to that design - as designers think more of the user and what they want from it, the Smart Designer will start with the enclosure. There is a talk this week
http://www.meetup.com/The-San-Francisco-Internet-of-Things-Meetup/events/118177032/
(http://smartdesignworldwide.com/ - I'm not affiliated, but plan on going to the talk)
A really nice concept is being released by www.electricImp.com - a "SD Card" that has WiFi on it - the SD card format is low cost-  and a fantastic idea to be able to be able to let it be retrofitted layer. The design is simple and very sweet - (disclosure - I hadn't hear of two weeks ago)
So yup, be great to hear about what works for the current designs - maybe what the challenges are - and who knows might feedback into the next generation of XXX - on how to make it work as an application.

These boards are coming out with some simple enclosures -
http://rayshobby.net/ Mega328 board
http://cubieboard.org/  Allwinner ARM A8 with 1Gram + Ehternet +USB Host+HDMI
http://www.alwaysinnovating.com/products/hdmidongle.htm - I think this is Open Source Android HDMI dongle, but maybe not - nice simple concept.

These don't appear to have enclosures yet - roll your own-
http://pinocc.io/  - Mega256RF
http://www.pcduino.com/ - Allwinner ARM A8 with 1Gram +Ethernet+USB HOST+HDMI

so be fantastic to hear what you're process is, what the difficulties are and results pictures etc
7  General Category / General Discussion / Re: The arduino Yun; cool, but what are some examples of how to leverage it? on: May 20, 2013, 02:44:17 pm
If you think of it as its being pitched  ~ the Linux/Liminio side that can do the networking ~ then it becomes really powerful, and only the web interfacing becomes the programmable area.
This can be into the internet - or if  WiFi supports 802.11s - Mesh Networking - then there is a mesh networking.
Also, what might really work is being able to do an HTTP based UI - if a decent java script server can be got running on the YUNs web page.

Another way of doing the same thing - a Arduino board with USB to an OpenWRT device - eg Netgear WNR3500L - its about the same thing.
So instead  http://rayshobby.net/ Atmega328 (or Pi) irrigation controller, it can be relays off a YUN with wireless or wired networking whatever is available, and a more sophisticated mash up of weather information.

The Maker 2013 in San Mateo did show a limitation of WiFi - there was so many SIDs broadcasting - none of them could work .
8  Products / Arduino Due / Re: An example of Arduino Due as an USB host mass storage on: April 23, 2013, 01:18:12 pm
Looks like some interesting work on USB host - I've had to put my project aside but interested to try this out at some point.

I believe the USB Host powering on external power has some issues - here is my reading of it, see my posts
http://arduino.cc/forum/index.php/topic,140839.0.html
http://arduino.cc/forum/index.php/topic,135399.0.html
http://arduino.cc/forum/index.php/topic,146574.msg1173826.html#msg1173826
I was wondering if there was a place to post this as a bug?
9  Products / Arduino Due / Re: Due Altium Schematic, PCB and PDF on: March 26, 2013, 07:39:45 pm
Hi, I'm wondering about the logic for the USB Host port supplying power, and your cct documentation
So just checking if anybody else is seeing this as an issue.

If the USB port is  to be used as HOST  and is to supply power, then there needs to be an external power supply capable of delivering the 0.5A on the USB Host +5V.
The LM2734 is capable of doing that from 7-12V

The comment on UOTGVBOF is I believe accurate - but erroneous in what it should do - the circuit has a bug,  the IC1B/LMV3518 +/- inputs are switched around (easy to do - I've got +/- wrong way round before)
I verified it working with the DUE hardware. There is a software fix for disabling the UOTGVBOF hw processing so that a Vin>7V can be used, but its a kluge and OTG isn't then supported.
It seems to me the "Taijiuino_Pro_ArduinoDue_V1.1" has an approach that works (but I haven't tested the hw), however it doesn't detect in hw if the input drops below 7V

http://arduino.cc/forum/index.php/topic,140839.0.html
http://arduino.cc/forum/index.php/topic,135399.0.html
10  Products / Arduino Due / Re: Ethernet Shield for Arduino Due on: March 26, 2013, 06:56:07 pm
I guess you need to work through why you would want the features and how you would use it to decide which is the 'best' for you.
If you don't know then just experiment with the lowest cost, as the POE is for specific remote powering.
11  Products / Arduino Due / Re: Atmel Studio With Arduino Due on: March 14, 2013, 12:28:42 pm
I found this as well and posted my fix
http://arduino.cc/forum/index.php/topic,134907.msg1144567.html#msg1144567

The fix seems to be change AS6 to be the sames as the arduino-1.5.1r2 in
C:\Program Files\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.128\ARMSupportFiles\Device\ATMEL\sam.h
/* Entire SAM3XA series */
#define SAM3XA_SERIES (SAM3X4 || SAM3X8 || SAM3A4 || SAM3A8)
from
#define SAM3XA_SERIES (SAM3A4 || SAM3A8)

I got it from
\My Documents\Arduino\arduino-1.5.1r2\hardware\arduino\sam\system\CMSIS\Device\ATMEL\sam.h
/* Entire SAM3XA series */
#define SAM3XA_SERIES ( SAM3X4 || SAM3X8 || SAM3A4 || SAM3A8)
12  Products / Arduino Due / Re: Debugging Arduino Due using SAM-ICE JTAG (an approach) on: March 05, 2013, 09:06:14 pm
Hmm yes I remember I got that problem as well and here is my correction -
The fix seems to be change AS6 to be the sames as the arduino-1.5.1r2 in
C:\Program Files\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.128\ARMSupportFiles\Device\ATMEL\sam.h
/* Entire SAM3XA series */
#define SAM3XA_SERIES (SAM3X4 || SAM3X8 || SAM3A4 || SAM3A8)
from
#define SAM3XA_SERIES (SAM3A4 || SAM3A8)

I got it from
\My Documents\Arduino\arduino-1.5.1r2\hardware\arduino\sam\system\CMSIS\Device\ATMEL\sam.h
/* Entire SAM3XA series */
#define SAM3XA_SERIES ( SAM3X4 || SAM3X8 || SAM3A4 || SAM3A8)

Let me know if that works for you.

Background: The fix is in the AS6 toolchain so it makes me nervous.
I did send it through to Eric Weddington Jan 10th,2013 and though he responded, he didn't say if the fix I proposed was good.
I see from
http://www.atmel.com/tools/atmelstudio.aspx
that there is another release
Atmel Studio 6.1 beta (build 2440)
and 6.1 has an upgraded  ARM Toolchain 4.7.2
from AS 6.0  ARM Toolchain 4.7.0.59 - GCC  4.7.0

13  Products / Arduino Due / Re: Debugging Arduino Due using SAM-ICE JTAG (an approach) on: March 04, 2013, 11:43:17 pm
Well here is the reference on github.com
git@github.com:neilh10/at91sam3xaz01.git
It incorporates an Arduino compilable port for Atmel Studio 6.
I've ported through Arduino SAM release 1.5.2 (but not run it) but it doesn't incorporate all Arduino SAM libray files. I did download and run tests on a version that had release 1.5.1 - so not that different.
I've  download the github zip file into a temporary directory, and in n AS6.0.1996 opened the project file  sam3xApp01\sam3xApp01.atsln
and then build the solution.
It compiled and linked OK - but I haven't tested it by downloading it through the JTAG.
AS6.0.1996 is the lowest rev  that supports JTAG/SAM-ICE through ATSAM3X JTAG.
It is "As Is" - a development snapshot for unit testing some of the hardware drivers.
See the "ReadMe-AboutThisBuild-SAM3XAZ.docx" - I intend to label any specific differences between my hw and this build as HWSAM3XAZA but not done yet.
Its also my first time through using github.com - and incredibly impressive as it is a fair number of files.
Last time I did such an impressive remote source control was in 2001 with a commerical system called "Continuus" that operated on a private network between two sites and that ended up supporting 50+ working programmers. The simplicity of GIT so far blows me away (though it took about 4 hours to get all of this uploaded). Thanks to all the people contributed to the gitHub online tutorials as well as the git cmd line utility and Git Gui and SSH to work.
Be interested in what you can share about the project you are working on. smiley
14  Products / Arduino Due / Re: Atmel Studio With Arduino Due on: March 01, 2013, 06:15:27 pm
My criteria for wanting to use the Atmel Studio IDE with the SAM3X is you've got the lovely exquisitely "just works" Arduino IDE humming and its just taking toooooo long to compile those expanding programs ....
AND you want some symbolics with a JTAG
AND you've read a goodly portion of the SAM3X manual and you really really REALLY want to try out some of those features that are implemented in hardware  with all your other modules
AND using the Arduino IDE & your favourite editor is just so frustrating navigating Arm Toolchain directories

THEN
the Atmel IDE is worth digging into - and its got a very nice helper to dig through all the .h files in the ARM environment to help you.
Also the ASF gives you an idea of what can be done with the hardware, and of course the objective is to write a C++ object to make it all work.
BUT the Atmel Studio is built has its own quirks, built on M$ Studio
and you have to learn (and praise/curse/grin/growl about) the ARM architecture - now why do so many people like it, of yes its common across all the modern processors.
...........a 2cents throwaway
15  Products / Arduino Due / Re: Debugging Arduino Due using SAM-ICE JTAG (an approach) on: February 28, 2013, 01:44:55 am
I'll see what I can do. I haven't done much with Atmel DUE port since the post, though I did merge in the 1.5.2 update and it broke some of the hooks. I'd be happy to try and get something going - though might be a few days.
I'm very focused on the USB Host and also low power implementation, so there changes to the Arduino Due approach to support that.
I've also got a rain gauge - tipping bucket that I'm interfacing to an extension board that goes on the DUE + Ehternet board. This is using the Arduino Due framework.
Pages: [1] 2 3