Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Windmills : PicLog finally updated, Ver 1.2
Page 1 of 2 | |||||
Author | Message | ||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Done for now. Improved current resolution, small circuit changes, added Watt Hours display. http://www.thebackshed.com/Windmill/PicLog.asp Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
nzseagull Newbie Joined: 07/06/2006 Location: New ZealandPosts: 17 |
Hi Glen Thanks for the hard work on the Logger As im sure you would know im going to use the ACS750 I assumed that cap and zener and 1k to the neg leg of the shunt be removed ???? And that the ACS 750 current sensor Pin 3 be connected to Pin 6 of the PIC Pin 2 to ground Pin the to the 5 volt Vcc rail if the board And Legs 4 - 5 on the V- of the bat Thanks Bevin |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Hi Bevin Those conenctions will work fine. You could also put Pins 4 & 5 on the +ve side of the battery, as the ACS750 is isolated internally. The 4.7v zenner and 1k resistor are there to provide some protection to the PicAxe input pin. If the pin voltages goes above 5 volts then the PicAxe will be damaged. But if you run the ACS750 from the +5 volt supply, then its output should not exceed 5 volts and work ok with the PicAxe. However if the ACS750 is some distance from the PicAxe, then spikes on the leads could still damage the PicAxe. I would leave the zener and resistor there myself for extra protection. The capacitor smooths out any erratic current changes that may give "jumpy" amp readings. Let me know how this goes, very interrested. Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
domwild Guru Joined: 16/12/2005 Location: AustraliaPosts: 873 |
Glenn, Have downloaded your new version but have not had a look at it. From the comments here it looks as if you have gone the Allegro way. Thanks for your hard work. Have noticed you do a lot of calibrations using VB. I take it the 08 just does not have the Basic lines available to do the calibrations. Dominic Taxation as a means of achieving prosperity is like a man standing inside a bucket trying to lift himself up. Winston Churchill |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Yeah the PicAxe only works in integers. 0 to 1024 for the ADC input, no decimals. So I used the VB program on the PC to divide that down to a nice decimal number. The PicAxe is really just used as a AD converter and frequency counter, sending the data out the serial cable. Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
domwild Guru Joined: 16/12/2005 Location: AustraliaPosts: 873 |
Sorry Glenn, you did not go the Allegro way. A fellow Kiwi (James) like Bevin helped me with Allegro coding for the Picaxe. Here it is for those, like myself, who are not in the know: If Vcc is 5.0V, then readadc10 has a resolution of 5.0V/1024 = 4.888mV. Average Amps is 40mV per Amp or 0.122A. Therefore use 122 as the scale factor; integers only! Example given by James: If readadc10 returns 872. Subtract 512 for the zero offset, remember 0 Amps is the equivalent of Vcc/2 giving 872 - 512 = 360. Multiply by scale factor of 122 gives 43920. This is to be read as 43.920A but due to the resolution is only accurate to 43.9A. Hope that helps. Dominic Taxation as a means of achieving prosperity is like a man standing inside a bucket trying to lift himself up. Winston Churchill |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Thanks for that info Dominic. Yeah I would like to try the Allegro one day, its a neat little sensor. You know how it is, too many projects, only one lifetime Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
RifRaf Newbie Joined: 15/10/2006 Location: AustraliaPosts: 32 |
Hi Gizmo, Awesome work on the piclog, am just trying to make up a schematic for eagle so i can make up a few pcbs cause have not used pcbexpress, also gonna use an atmega cause I like them. Will be happy to share with anyone that is interested. This is start of it http://eds.dyndns.org:81/~rifraf/windmill/windlogger.png btw: the F&P windmill plans rock, got the bracket together last night and turns nicely |
||||
brucedownunder2 Guru Joined: 14/09/2005 Location: AustraliaPosts: 1548 |
RifRaf. Hi , I'd be interested in a kit to assemble ,or you can make it. Let me know how you feel about this ,suppose it can be posted in a little padded Australia Post bag-- lets know how u feel and the cost- brucedownunder@hibis.wbs.net.au Thanks bruce Bushboy |
||||
nzseagull Newbie Joined: 07/06/2006 Location: New ZealandPosts: 17 |
Hi nice job on the AVR tell me are you going to use a ACS 750 current sensor |
||||
RifRaf Newbie Joined: 15/10/2006 Location: AustraliaPosts: 32 |
Ok made progress, Have the boards routed and a couple of prototypes made with atmega8. The VB piclog app is reading the data fine though only have voltage working with the code so far and sending dummy data so i can see the graph function etc. Once again Gizmo, the more i learn about it the better it gets, cool app. http://eds.dyndns.org:81/~rifraf/windmill/windlogger.jpg Brucedownunder can probly help you out, can you make your own pcbs? if so can give you the eagle files or else can probly make you one. With the help of a friend is a nice pcb, single sided with no vias. all components are through hole. NZseagull , for now will just use a sense resistor till i understand things a bit more and get the present version going as per Gizmos specs. Have broken out the ports i need for the direction sensor and will integrate that somehow i hope later. |
||||
RifRaf Newbie Joined: 15/10/2006 Location: AustraliaPosts: 32 |
haha, you changed the current output of the picaxe to <I>data</I> in stead of <A>data</A> :) . Anyway have got a functional AVR version now with windirection added and thinking of using the few spare i/o for some temp sensors. the piclog program has been changed to accomodate the new features but is still a work in progress. The current sense resistor is getting a bit warm so may change that and the relay is getting a bit warm but will fix that. Current prototypeshttp://eds.dyndns.org:81/~rifraf/windmill/datalogger3.jpg |
||||
scnarine Newbie Joined: 17/06/2011 Location: United StatesPosts: 29 |
I am trying to build Gizmo's Picaxe based Windmill Controller/Charger but pin 9 and 10 in the PIC AXE shows a crystal but does not have a value....Does anyone knows what is the value? http://www.thebackshed.com/Windmill/articles/GizmoPicaxeChar ger/charger-cct-2.gif Thank You Sudesh |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Hi Sudesh That crystal usually comes with the PicAxe X28 chip. It sounds like it didn't come with yours, so you need to find a 4MHz crystal. You local electronics shop should stock them, or get one in for you. Or you could order it from the supplier of the X28 chip. Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
scnarine Newbie Joined: 17/06/2011 Location: United StatesPosts: 29 |
Thanks Glenn |
||||
scnarine Newbie Joined: 17/06/2011 Location: United StatesPosts: 29 |
Can someone please conform this..it took me all day....to make...... |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Hi Sudesh Had a quick look over it, I think its OK. But I could be wrong, I'm a bit tired Are you going to make this using a etch pen or photo resist? Either way, I would make one to test before making any more. Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
scnarine Newbie Joined: 17/06/2011 Location: United StatesPosts: 29 |
@Glenn, I will use the toner transfer then etching....but also trying to learn how to use a CNC mill... Here are the Sprint Layout files power board not completed..2012-02-10_035842_Gizmo's_Windmill_Charge_Controller.zip |
||||
Johann Uys Newbie Joined: 18/02/2012 Location: South AfricaPosts: 5 |
Make a difference |
||||
scnarine Newbie Joined: 17/06/2011 Location: United StatesPosts: 29 |
I can't seems to find the PICAXE-28X but I can get PICAXE-28X2 (PIC18F25K22) but the code does not work on PICAXE-28X2. I found PIC16F873A which supposed to be PICAXE-28X but the programming editor does not communicate. I guess it is also different. Any help will be highly appreciated, I really like to build this circuit. Thank in advance. |
||||
Page 1 of 2 |
Print this page |