Hi Hans,

Very nice project!

Kind regards,

Rob

________________________________
Van: [email protected] <[email protected]> namens hans 
<[email protected]>
Verzonden: zaterdag 24 juni 2023 18:56
Aan: jallib <[email protected]>
Onderwerp: Re: [jallib] AS5600

Hello all,
In the meantime I have my wind set working with the AS5600. I had some problems 
with the included magnet and replaced it with a small radial bar magnet. I also 
made the axle from non-magnetic material. It works flawlessly.
regards
Hans

Op woensdag 4 januari 2023 om 21:29:33 UTC+1 schreef hans:
Hello all,
Was trial and error. The first delivery was defective, the second was missing 
the magnet, the third works fine. I2C from Bert's book used. When the case 
definitions are built in I'm going to pour everything full. Thanks for your 
suggestions.
Hans

Op dinsdag 27 december 2022 om 08:59:11 UTC+1 schreef Kiste:
And just there my suggestion looses its worth: You can sink your AS5600 board 
moisture-proof in a block of epoxy resin (including the wire ends). The magnet, 
nickel plated, can be moisture-proof. Magnetic coupling is one of the few 
environmentally independent means of data transfer.

Greets,
Kiste

Am Dienstag, 27. Dezember 2022, 08:52:06 MEZ hat vsurducan <[email protected]> 
Folgendes geschrieben:


Hans, designing a thing to work at -20C+45C and IP67 (protected from dust and 
rain from all directions) is a very difficult task, even if you'll use 
something like Kiste pointed to ( I have the Japanese resistive version of that 
position sensor in 2% linearity).  One thing you should care about is the dew 
point.
https://www.vaisala.com/en/expert-article/dew-point-temperature-what-does-it-mean-and-how-can-it-be-calculated
That's because you will have humidity even in a completely closed box. The most 
dangerous temperature for dewpoint in my area is around +8C.
The only way you can avoid moisture problems is to immerse your PCB completely 
in transformer varnish ( several times, not once) and dry it each time after. 
Of course no more HW debugging after that.
P.S: I think your wife is right. :)
best wishes,

On Mon, Dec 26, 2022 at 11:40 PM hans <[email protected]> wrote:
Hi Tom/ Kiste
, Thank you for your detailed response. Years ago I tried an Arduino set, but I 
didn't get further than a few simple examples. After my C64 and C-basic period, 
I don't feel like tripping over all those small changes in the language again. 
I'm happy to stay with JAL. I've had so much fun with it already.
I made my anemometer about fifteen years ago. I read the 16 positions with 4 
light barriers and one IC shows the LEDs along a cable to our living room. . 
For the wind speed I adapted a bicycle spedometer.
Now there are some moisture problems and I want to make some adjustments.
I will take your experience with me in my adventure
What Kiste indicates is quite a nice thing, but according to my wife I am done 
much too quickly. And she is often right.
Anyway, as soon as the Chinese package arrives, I can continue.
 Happy new year and best wishes to all.
regards
Hans

Op maandag 26 december 2022 om 19:42:18 UTC+1 schreef Tom:

(resent with smaller photo files...)


-------- Forwarded Message --------
Subject:        Re: [jallib] AS5600
Date:   Mon, 26 Dec 2022 13:34:09 -0500
From:   Tom Crawford <[email protected]>
Reply-To:       [email protected]
To:     [email protected]


Some answers to the several questions some of you have asked; hopefully they 
are helpful.
First, most of my 8 bit work is with Arduino, and their IDE.  I have used PICs 
and JAL in the past, but not recently.

1. Cold weather:
- I do not know yet, although I believe it will work fine.  The new device has 
only been bench tested indoors so far.  So many projects, so little time!  
Also, the new device is for the weather station parts of our Little Free 
Library (LFL, see https://littlefreelibrary.org/ for more info), located at the 
end of our driveway.  It was renovated this summer, and re-installed without 
the weather station or the internal computer systems, since it was getting 
colder, and the reno work had already taken too long.  It is now more difficult 
to add the items to the LFL, and to test them...
We have had a LFL for about 7 years, with Arduino Nano's, solar power, 
batteries, and digital radio. The system has worked near perfectly all this 
time, summer and winter, snow, rain, wind...
It is unfortunate I did not have this weather station outside this past week; 
temperatures down to about -20C, winds gusting to about 100 kph!  my location 
is in southern Ontario, Canada.  Some regions around us declared disaster 
emergencies!  We were fortunate not to lose power...

2. Outputs:
My testing has been done only with the I2C interface, and has worked very well. 
 I will include test code below.  I have checked that the analog output works 
okay, but I use only the I2C outputs for my application.

3. Wireless:
I have used the NRF24L01 transceiver module  at both remote and in-house ends, 
for data collection and some control, for years also.  Again, has worked very 
well.  A nice system to connect with Arduino Nano.  Uses SPI interface.  Have 
also built a NRF24L01 to Ethernet WiFi Gateway, using an ESP32 module, intended 
for connection to a Home Automation system (not configured yet).

4. Software:
The library I used for testing is:
https://github.com/RobTillaart/AS5600.
I also made some use of the Seeed Studio Library:
https://github.com/Seeed-Studio/Seeed_Arduino_AS5600

The simple test software I used (a modification of a SEEED studio test app) is 
attached as AS5600_MagDiag1.ino (open as simple text file, if you do not use 
the Arduino IDE for anything).  Allows easy data capture / graphical display 
using the Arduino IDE Serial Monitor and Serial Plotter tools.

5. System:
I see the PDF I included in an earlier post, chopped a couple of my pictures, 
when I modified it for smaller size...
I have attached one of these correctly, and added another pic:
1 - the LFL just prior to renovations, showing general appearance, weather 
station sensors, solar panels...  It is located near the road, with no 
connection to house power.  Other features include Neopixels,  internal LED 
lighting, door switches...
2 - the weather station sensors (temporarily fastened to a piece of wood for 
bench testing and painting), and electronics package.  The electronics and 
batteries (3x AA NiMH) are mounted on a wooden panel that slides into the 
"attic" of the LFL.  The Nanos are actually Arduino "Micros"; an ATMEGA386 pcb 
with no USB chip, to reduce power consumption.  You can see an external TTL - 
USB interface connected to one of them, for program and test.  Temperature and 
humidity sensors are also on this board.  Weather data, switch states, solar 
charge, discharge and battery state are all sent periodically over the radio 
link.  Local control of lighting uses the RF24L01 back channel.

Hope this little summary is helpful...
Tom

[X]

[X]



On 12/26/2022 4:56 AM, hans wrote:
Hello Tom,
Delicious, a JAL project !! That is the great strength of Arduino, practical 
examples.
It looks like my problem. Now my wind direction works with a Greats disc and 
light cells, but they are affected by the weather.
.
  That's why my question. Do you use the analog output or the spi? Do you work 
wirelessly? And do you also have information for me about the program?
Well, the risk if you give me an answer that I have many more questions
  I ordered a set with the magnet
  It's still fun.
regards
Hans

Op maandag 26 december 2022 om 09:15:30 UTC+1 schreef Tom:
(Resend to provide smaller attachment)



-------- Forwarded Message --------
Subject:        Re: [jallib] AS5600
Date:   Sun, 25 Dec 2022 14:15:33 -0500
From:   Tom Crawford <[email protected]>
Reply-To:       [email protected]
To:     [email protected]


Hello Hans,
Yes, I have some experience with it.
I needed to replace a failing set of reed switches in a weather vane.  I 
replaced them with an AS5600 sensor, and did some testing with it.
I have attached a PDF file from a presentation I did in September, that may be 
of interest.  The overall project was the refurbishing of our Little Free 
Library.  The weather vane discussion (mainly photos) is in the 2nd half of the 
PDF, showing the old reed switch / I2C installation, and the new AS5600 install 
inside the 3D printed mounting.  The upgrade is not outdoors yet, so not 
weather tested...

Some things to be aware of:
- the rotating magnet and it's mount location are very critical.  I originally 
did not order the AS5600 (from Aliexpress) with magnets, since I have a large 
collection of small salvaged magnets in my junk box.  But only 2 of those 
magnets had the correct orientation of magnetic field to adequately  operate 
the AS5600!  See test graph for results; a proper magnet would produce even 
better results.  I have ordered additional AS5600's for other uses, and 
included the proper magnets with that order.

Tom



On 12/25/2022 4:35 AM, hans wrote:
Hey
I need a position sensor that provides a rotation of 360 degrees. I found the 
AS5600. Does anyone have experience with this?
regards
Hans
--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/cb4a9866-829f-46cb-90dc-2b3bf14ae59en%40googlegroups.com<https://groups.google.com/d/msgid/jallib/cb4a9866-829f-46cb-90dc-2b3bf14ae59en%40googlegroups.com?utm_medium=email&utm_source=footer>.


[X]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
    
Virus-free.www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/0a123447-d3f5-44b8-8b34-5cce6d39d77dn%40googlegroups.com<https://groups.google.com/d/msgid/jallib/0a123447-d3f5-44b8-8b34-5cce6d39d77dn%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/c7fc0cf0-1319-45e7-b939-dcb83c02cd91n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/c7fc0cf0-1319-45e7-b939-dcb83c02cd91n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/CAM%2Bj4quWUcxUZks%3D-xL7p9MeHHtAKgc5LF28TkZRRJEBVzM_NA%40mail.gmail.com<https://groups.google.com/d/msgid/jallib/CAM%2Bj4quWUcxUZks%3D-xL7p9MeHHtAKgc5LF28TkZRRJEBVzM_NA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/188d561f-fce6-456b-98ea-c7f5326afc6fn%40googlegroups.com<https://groups.google.com/d/msgid/jallib/188d561f-fce6-456b-98ea-c7f5326afc6fn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/GVXP195MB16375BF9980AABE491BDF9C3E621A%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM.

Reply via email to