Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 41
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Download (31)
ScottH (37)


Next birthdays
11/03 Electroguy (94)
11/04 nitromarsjipan (2024)
11/04 mb (31)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

Experiments with the AD5040

Move Thread LAN_403
TheMerovingian
Sun Mar 21 2010, 04:08PM Print
TheMerovingian Registered Member #14 Joined: Thu Feb 02 2006, 01:04PM
Location: Prato/italy
Posts: 383
I managed to obtain few samples of the Ad5040 rotary encoder from Austria Microsystems. I set up a small PCB board to house the ic and a few resistors, 2 leds, and some decoupling capacitors (Important!) to test it using two multimeters one for PWM output ( 0-5V corresponding to 0-360°) and one for the pulse output (256 pulses per revolution, plus one additional quadrature channel) and an analog oscilloscope to see the waveforms. I'm very surprised about the accuracy and tolerance to vibration and magnet misalighnment, also i used a cubic magnet instead of a cylincrical one. I'm planning to use two of them for the new version of the wind logger, adding a channel for the wind vane using those chips as sensors. One chip will be used for the wind vane sampling the PWM (filtered) output ad DC voltage with the onboard PIC-adc, the other will be used for speed measurement sampling the 256 pulses-per-revolution with the PIC-onboard counter. The wind speed resolution will increase from 0,5 Km/h (sampling time 1s) to 0,1 km/h (sampling time 0,5s). The drawback of those chips is power consumption, that is about 15-18 mA per chip.

Back to top
TheMerovingian
Tue Apr 13 2010, 09:24PM
TheMerovingian Registered Member #14 Joined: Thu Feb 02 2006, 01:04PM
Location: Prato/italy
Posts: 383
Update:

I constructed an anemometer sensor using a 4mm 1cm long radially polarized NdFeB (N45 grade) magnet and an AD5040 working in default mode (256 pulses per revolution, quadrature A-B). The cups of the anemometer ar coupled to a rotating shaft where the magnet is housed (inside a PVC tube). The circuit is kept ad a distance of 2mm from the rotating magnet and is totally waterproof. The 256 pulses per revolution give an insane resolution (0.05 Kmh) way below the accuracy of the mechanical part. Alignment is simple observing the magnetic fault outputs (pulled low if the magnetic field configuration is invalid). Bigger radially polarized magnets interact too strongly with the earth magnetic field but the 4mm one minimizes this effect. The windvane works on the same principle listening to the PWM output instead of the incremental one giving a filtered voltage from 0 to 5V proportional to the angle. The bearing was a rollerblade bearing sonicated in DichloroMethane (to remove the grease) and oiled with firearm grade spray oil. Questions?
1271193849 14 FT86141 Cimg2617

1271193849 14 FT86141 Cimg2619

1271193849 14 FT86141 Cimg2620

1271193849 14 FT86141 Cimg2622

1271193849 14 FT86141 Cimg2623

1271193849 14 FT86141 Cimg2627
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.