![]() |
Forum Index : Windmills : piclog question
![]() ![]() |
|||||
Author | Message | ||||
Gill![]() Senior Member ![]() Joined: 11/11/2006 Location: AustraliaPosts: 669 |
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: AustraliaPosts: 149 |
|
||||
GWatPE Senior Member ![]() Joined: 01/09/2006 Location: AustraliaPosts: 2127 |
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: AustraliaPosts: 669 |
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: AustraliaPosts: 149 |
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: AustraliaPosts: 149 |
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? free power for all McAlinden WA |
||||
Gill![]() Senior Member ![]() Joined: 11/11/2006 Location: AustraliaPosts: 669 |
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: AustraliaPosts: 5117 |
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 |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |