Closed Ralim closed 3 years ago
Here is the first step, this will read register 0x01
which is the id reg. and should return 0x13
(in decimal this is 19).
Could someout out of ( @leonardpitzu, @Philipp-3 and @Airmonkdev) please flash this and test it and show us what number shows up ?
it reads 19
Can confirm leonrdpitzu reading at mine
Fantastic.
Will write up a rough driver for this when I get a chance.
Will be back with a tester once that's done.
Edit: U->I, stupid autocorrect
Alrighty, attempt one (possibly buggy).
This should show 4 numbers on the screen.
For example, it could show 3 for left hand, 2 for flat (in the middle) and 1 for right handed for example.
The numbers are laid out as:
Accel X Accel Y
Accel Z Orientation
Same on mine, independent from orientation: 000000 000000 000000 000
Hey Ralim, just tried the read_id and it return 19 (0x13).
All zero, as Philipp-3 for the regs
Ah bummer, probably my mistake. Will try and fix shortly
Attempt 2, less typo's this time :) MSA301_attempt_2.zip
flat on the table (tip pointing right - last 2 digits jumping around):
065319 0653334
009780 000
right hand soldering:
062760 005386
007710 000
left hand soldering:
002614 004612
007950 000
thus orientation stays 000
Fantastic, Could you test this version to see if the orientation changes now?
Tried with attempt 2 and it works! Not simple to get the number but here there is my output:
flat on the table tip pointing left: 0653XX 0653XX 0084XX 000
please consider that when flat in the table it is nor real flat because of the holder shape (where you insert the tip the diameter is bigger than the end of the iron where sit the USB-C port). I've tried to "level" the solder and it seems to me that when really flat the second number is going to 0: 0653XX 000000 0084XX 000
...the first number changes when I rotate the solder (immagine to use it like a screwdriver) and it seems to going to 0 when flat, increase from 0 to 065XXX when turning clockwise and decrease from 065XXX to 0 when turning counterclockwise Also the third number changes when turning the iron but not sure how. The last one is always 000
Just flashed the attemp3 and yes! Now also the 4th number changes: solder vertically with the tip pointing up: 080 solder vertically with the tip at 90degree right: 112 solder vertically with the tip at 90degree left: 96 solder vertically with the tip pointing down: 064
PS: sorry to put this comment here but I can't use the TS80P connecting it to the USB-C port (thunderbolt 3) of my MacBook Pro 13" 2020: I can flash it but when I connect it in normal mode it seems to reboot...
Great work!
seems to be 16bit signed numbers.
take 1 (holding naturally in hand):
take 2:
Fantastic ❤️
Alrighty, this attached firmware should act basically the same. If you could flash it and thumbs up if it acts about the same would be great. (with exception of orientation below) (This is validating that the bulk register read works, and is last step before testing on real firmware).
The orientation numbers will be different, and instead should be showing as:
@Airmonkdev PS: sorry to put this comment here but I can't use the TS80P connecting it to the USB-C port (thunderbolt 3) of my MacBook Pro 13" 2020: I can flash it but when I connect it in normal mode it seems to reboot...
Apple stuff is a more fussy than most things, and have not been able to capture this behaviour on my datalogger so far. 😢
with the iron flat on the table, I get:
with the iron in the soldering position (hand resting on the table and holding the iron like a "pen"):
Just flashed the Validate: it seems to works fine changing from 0 to 1 when on left or right hand but sometimes it show 3. It seems that the 3 value is shown when I turn little bit the iron while on my hand.
PS: may I open an issue for the Apple stuff? Do you think I can help you to solve also this issue with some tests or debug version?
Could you please test this and use the debug menu to check that the version is detected as 4 (not 99) If that works, could you look at the mov time in the debug menu and it should update the number when the unit moves, and when it sits still it should stay at the same number.
if that works, could you try putting the screen rotation to auto and flipping the unit around and seeing how the screen behaves.
If this works as expected then support should be done (i hope....)
PS: may I open an issue for the Apple stuff? Do you think I can help you to solve also this issue with some tests or debug version?
You can, but I cant promise much here because I dont really have access to any apple devices to test against.
thanks a bunch!
Yeees!!! Everything seems to work fine now!
Really thanks for the great work!
Just tested on mine, works great! Such a pleasure to use the soldering iron now. Many thanks for the fantastic service, Ralim!
This is a breakout from #749 As the issue is unreleated to the latest release.
It looks like there is a new model of accelerometer using I2C address 0x3C. Looks like this could be
MSA301
Plan: