Magnetic filament monitor specs and status
-
Thanks for the super fast reply, David.
It's entertaining that I ended up with the same sensor, though now I wonder - are you just reducing the resolution of the AS5600 in the ATTINY44A firmware for simpler processing on the Duet? Or is the encoder actually set to a lower resolution to reduce noise or similar? And are you using the analog output from the sensor, or the I2C (or PWM, or...these sensors have a lot of output options)?
Good to hear that there's another batch in process - I'll wait for the timing info on that batch, though now that I know my next step of a micro in front of the encoder sending the data pretty much matches the official version, and the sensor is the same, I think I will actually get this implementation fully together for initial testing. I'll probably throw a Arduino Mega on there - massive, massive overkill, but again, what I have on hand...
Thanks again David - have a good day.
-
We're using the I2C interface of the AS5600. We drop the lowest 2 bits because they are noisy and we don't need that much precision anyway.
-
Great, thanks again X) Looks like I get to hack up some firmware.
-
Nice project! Monitoring the idler wheel is a good idea.
-
This post is deleted! -
@dc42 hi!
Can you help me?
what is the correct pinout and setting fuse bits attiny45/85?// Pin allocations on the ATTINY44A implementation
#define PIN_SWITCH PINA
const unsigned int PinSwitchBitNum = 2;#define PORT_LED PORTB
#define DDR_LED DDRB
const unsigned int PortLedRedBitNum = 0;
const unsigned int PortLedGreenBitNum = 1;#define PORT_OUT PORTA
#define DDR_OUT DDRA
const unsigned int PortOutBitNum = 7;#define PIN_PROG PINB
const unsigned int PinProgBitNum = 2;Thankyou
-
@metabo7000 see line 127 of the main.cpp file.
-
-
hello!
David eltudná e küldeni a teljes Magnetic filament monitor v2 forráskodot abban még látuk a attiny45 config lehetöséget mert a gibhub ezt gyüjti de már nem tudjuk letölteni csak v3..v4!
v2 giphub no compiled avr studio v7 link text
Nekünk megfelel a filament monitor v2 mert régi firmwert is használunk duet2 alat 2.26 !
Köszi! -
-
@metabo7000 we switched from attiny45 to attiny44a during the prototyping phase. The firmware has changed a lot since then.