Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:59 15 Jul 2025 Privacy Policy
Jump to

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 question

     Page 3 of 3    
Author Message
Gill

Senior Member

Joined: 11/11/2006
Location: Australia
Posts: 669
Posted: 12:06pm 18 Aug 2008
Copy link to clipboard 
Print this post

Martin,
Firstly it should have worked as Glenn advises they can handle up to 30 Volts. Have you got the opto in with the grooved edge line on the top surface to the left?
It wouldn't hurt to double the resistance from 10k to 20k just to be sure as your up near the max with a 24V unit.
There are two inputs to modify with the 24V unit and Glenn has these noted on the schematic. They are Voltage sense and current sense. Likely you've done both these to 39k already.

With the high-low readings the reed switch is OK, so it seems to be an opto problem to me.
was working fine... til the smoke got out.
Cheers Gill _Cairns, FNQ
 
martinjsto

Senior Member

Joined: 09/10/2007
Location: Australia
Posts: 149
Posted: 12:35pm 18 Aug 2008
Copy link to clipboard 
Print this post

  Gill said   Martin,
There are two inputs to modify with the 24V unit and Glenn has these noted on the schematic. They are Voltage sense and current sense. Likely you've done both these to 39k already.
i have changed the voltage sense to 39k but the current shows a 1k resistor, is that the one your talking about?



and yes i have checked the opto's i originally had the one you fixed wrong but the ones on this board are correct.
i have edited the software to the changes in noted above with the missing # and the missing /
reprogrammed the chip but still no input from the wind speed
thanks again for your help
martin
free power for all
McAlinden WA
 
GWatPE

Senior Member

Joined: 01/09/2006
Location: Australia
Posts: 2127
Posted: 12:37pm 18 Aug 2008
Copy link to clipboard 
Print this post

Hi Gizmo,

On the piclog I made, I used a resistor/4V7zener/resistor protection on an opto LED in AC ccts. The preregulator gives forward and reverse protection and filtering with a single component. I use vishay 4pin opto's.

Gordon.


become more energy aware
 
Gill

Senior Member

Joined: 11/11/2006
Location: Australia
Posts: 669
Posted: 12:21pm 19 Aug 2008
Copy link to clipboard 
Print this post

Sorry Martin,
I was referring to PicLog Version 1.1.3 schematic from the piclog page and you are using PicLog Version 1.2 .
So you are correct. There is indeed only one to change.

To test the opto:
Use a volt meter and put the + probe to the lower right pin and the - probe to 0V.
Turn the anemometer head and you should get 2 x Hi and Low readings per rev. Hi will be over 4V not exceed 5v and I'd expect Low to be under 0.5v .

Is that happening?

If so, the problem is then most likely in the PicAXE.


Ah Haaar! I have found the problem. There is no code for sending wind speed.

You have a jumper to choose Wind Speed or Regulate. Right?
Well there are two codes. The first is for logging(includes Wind Speed) and the second is for regulation. If you put the jumper to Wind Speed, you will need to run the 'logging' code(ver. 2) and if you put the jumper to regulate, you will need to run the 'log and regulate' code (ver. 1).

So download ver. 2 of the code and see how that goes.
was working fine... til the smoke got out.
Cheers Gill _Cairns, FNQ
 
martinjsto

Senior Member

Joined: 09/10/2007
Location: Australia
Posts: 149
Posted: 12:43pm 19 Aug 2008
Copy link to clipboard 
Print this post

i see your correct thanks gill.

and yes i have the jumpers for wind speen or dump and i do get the low/high voltage through the opto
i have the ver1 code, i will download the v2 and try again
well picked up gill, and i just purchased 2 new optos lol never mind they will come in handy for other projects or i might just make a spare board.
unfortunately i have to wait another 2 weeks b4 i can return to the block to get some data to post.

should have it working good and proper by then though

i will let you know the outcome
martin
free power for all
McAlinden WA
 
martinjsto

Senior Member

Joined: 09/10/2007
Location: Australia
Posts: 149
Posted: 11:46am 20 Aug 2008
Copy link to clipboard 
Print this post

well done gill


the code was the final problem all is working now as it should, just need to get it connected to my mill and calibrate it.

well it was a interesting project to say the least,
but the outcome is always worth the frustrations of learning new things, i have learned a lot from this and also from you guys, gill, glen and gordon, thanks for putting up with my in-experience.

thanks again
martin

PS... could i just add the extra code from the dump version 1 to the version 2 then just choose what i want by the jumper or will this cause a conflict?
Edited by martinjsto 2008-08-21
free power for all
McAlinden WA
 
Gill

Senior Member

Joined: 11/11/2006
Location: Australia
Posts: 669
Posted: 12:15pm 20 Aug 2008
Copy link to clipboard 
Print this post

Excellent! Glad to hear all systems are GO for launch.

With this project successfully sorted, what bigger and better project is brewing next, I wonder.

Looking forward to some samples of your data.

Well done mate.
was working fine... til the smoke got out.
Cheers Gill _Cairns, FNQ
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5117
Posted: 01:20pm 20 Aug 2008
Copy link to clipboard 
Print this post

I did update the PicLog zip file a few days ago. I downloaded the latest version of the PicAxe programming editor, and it sure is different to the old copy I've been using. I like the simulator bit.

The editor picked up those invisible charactes you guys found in the Piclog code. I've fixed the PicLog code and updated the Zip file, hopefully this version is correct.

Out of interest I ran the code for the windmill charger/controller in the simulator, it found a problem there too. In the original code I used the word "byte" to store character data sent to the LCD module, as show in the old PicAxe manuals LCD examples. It looks like "byte" is now a reserved keyword. I fixed the charger code on the web site, I thinks its all OK now, but untested.

Dont you love software!

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
     Page 3 of 3    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025