#hazzy Logs

Aug 07 2020

#hazzy Calendar

05:05 AM TurBoss: good morning
05:05 AM JT-Cave: morning
05:05 AM TurBoss: sup JT?
05:05 AM TurBoss: finished the fences?
05:20 AM JT-Cave: they are at the powder coater now
05:22 AM TurBoss: great!
05:23 AM JT-Cave: yea tired of screwing with it... need to get the 1800's spoke lathe project done now
05:24 AM TurBoss: cool
05:24 AM JT-Cave: trying to drill down to the base code to run a DotStar led string
05:25 AM JT-Cave: buried somewhere in here is my answer I think https://github.com/adafruit/Adafruit_Blinka/tree/master/src/adafruit_blinka/microcontroller
05:25 AM TurBoss: hmmm
05:25 AM TurBoss: wich board do you have?
05:26 AM TurBoss: a Pi?
05:26 AM JT-Cave: yea Rpi 3 or 4
05:26 AM JT-Cave: https://www.adafruit.com/product/2433?length=4
05:27 AM JT-Cave: that's the dotstar I have on the way
05:27 AM JT-Cave: ups says I'll get it today
05:29 AM TurBoss: https://www.jonwitts.co.uk/archives/1010
05:29 AM TurBoss: it says you may need a level shifter
05:29 AM TurBoss: from 3.3 to 5v?
05:29 AM TurBoss: not sure
05:30 AM JT-Cave: yea, I have a sack of level shifters
05:30 AM TurBoss: great
05:30 AM JT-Cave: https://learn.adafruit.com/adafruit-dotstar-leds/python-circuitpython
05:31 AM JT-Cave: down the page a bit it shows the spi wiring as straight in
05:31 AM TurBoss: yup
05:31 AM TurBoss: i saw
05:31 AM * TurBoss uploaded an image: image.png (109KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/MNKeeSlqgYZzKxjCYcRUMryG >
05:32 AM JT-Cave: yep
05:32 AM TurBoss: great
05:32 AM TurBoss: I have 2 strips of neo pixels to do a VU metter
05:33 AM JT-Cave: the 5vdc 10 amp power supply showed up yesterday
05:36 AM JT-Cave: As with NeoPixels, adding a 1000µF (6.3V or higher) capacitor close to the strip (between 5V and GND wires) is a good idea
05:36 AM JT-Cave: hmm I wonder if I have a cap in my pile of stuff
05:39 AM JT-Cave: https://learn.adafruit.com/assets/63125
05:41 AM JT-Cave: https://www.sparkfun.com/products/12009
05:42 AM JT-Cave: I have some similar to that one
06:15 AM JT-Cave: I need to figure out how to use the dotstar without any extra libraries
06:23 AM TurBoss: wich language?
06:23 AM TurBoss: python?
06:31 AM TurBoss: https://www.pololu.com/file/0J891/APA102C.pdf
06:32 AM TurBoss: https://www.pololu.com/product/2554/resources
06:32 AM TurBoss: https://www.pololu.com/product/3088
06:52 AM JT-Cave: yea python
07:07 AM TurBoss: https://github.com/adafruit/Adafruit_DotStar_Pi has python + C sources maybe you can steal from there
07:07 AM TurBoss: not micro or circut python
07:08 AM JT-Cave: made a copy of that for study
07:10 AM JT-Cave: need to port that to python 3 if I use that
07:11 AM TurBoss: seems you only need to run "make" to get the .so file
07:11 AM TurBoss: the import it from python
07:11 AM TurBoss: https://github.com/adafruit/Adafruit_DotStar_Pi/blob/master/strandtest.py
07:12 AM TurBoss: but yea
07:12 AM TurBoss: seems python2
07:12 AM TurBoss: :/
07:19 AM TurBoss: found a python 3 fork
07:19 AM TurBoss: https://github.com/dhocker/Adafruit_DotStar_Pi
07:50 AM JT-Shop: yea
07:53 AM JT-Cave: TurBoss, thanks
07:53 AM TurBoss: :-)
07:53 AM * JT-Cave goes to cut a log into lumber
08:20 AM TurBoss: https://www.seeedstudio.com/ODYSSEY-X86J4105800-p-4445.html
03:22 PM * TurBoss uploaded a video: buildbot.webm (3145KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/dVzeAaBMMacTjURdNxsWnvat >
04:10 PM hazzy-m: TurBoss: hurray!
04:14 PM TurBoss: \o/
04:15 PM TurBoss: I only have to fix some minor things
04:46 PM Not-c0dc: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JJX89
04:46 PM Not-c0dc: [02qtpyvcp] 07KurtJacobson 031889e16 - ENH: HalButton - only add checked hal pin if the button is checkable
04:48 PM Not-c0dc: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+520/-0/±0] 13https://git.io/JJX8F
04:48 PM Not-c0dc: [02qtpyvcp] 07traviscibot 03dd46c00 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
04:50 PM Not-c0dc: [02qtpyvcp] 07KurtJacobson pushed 032 commits to 03master [+0/-0/±2] 13https://git.io/JJX8A
04:50 PM Not-c0dc: [02qtpyvcp] 07KurtJacobson 031dce75f - ENH: Merge remote-tracking branch 'origin/HalButtonIO'
04:52 PM Not-c0dc: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+520/-0/±0] 13https://git.io/JJX8j
04:52 PM Not-c0dc: [02qtpyvcp] 07traviscibot 032bb8fcf - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
05:49 PM TurBoss: great you merge Hal IO stuff!
05:49 PM TurBoss: thanks
05:50 PM TurBoss: * great you merged Hal IO stuff!
05:50 PM * TurBoss installed a new dev on linuxcnc iso 2.8 test
05:51 PM TurBoss: http://www.linuxcnc.org/temp/
06:19 PM Joco[m]: hi
06:20 PM Joco[m]: Anyone aware of anyone putting lcnc to work controlling a surface grinder?
06:21 PM Joco[m]: Have heard someone on Practical Machinist was using Mach3 and seen Shadon HK from Bar Z using a siemans controller with custom programming.
06:24 PM TurBoss: the one i have at work is just numeric
06:24 PM TurBoss: not cnc
06:24 PM Joco[m]: what's the difference?
06:25 PM Joco[m]: other than no compyer
06:25 PM TurBoss: not cpu just some triggers at the limmits that change direction
06:25 PM TurBoss: electrica
06:25 PM TurBoss: * electrical
06:26 PM Joco[m]: ok - I have been wondering if an arduino/embeded type controller could be an option.
06:26 PM TurBoss: has encoders with a dro
06:26 PM TurBoss: all other operated by hand lol
06:27 PM Joco[m]: I want to get the table traversing left/right in an automated way with control over amoutn of travel and get the Z under automation. I think I will stick with manual control of the Down Feed at this point
06:27 PM Joco[m]: It' no rush. Just starting to think about what would make the process more fun and less tedious
06:28 PM Joco[m]: But the manual at the moment is invaluable to understand what fast, slow etc does
06:28 PM TurBoss: if I can I'll take a vid
06:28 PM TurBoss: its like a pool on wheels
06:28 PM Joco[m]: TurBoss: that would be awesome. Like I said, not mad rush. Just stating to collect knowledge
06:28 PM TurBoss: can take a week
06:29 PM hazzy-m: Joco: can be difficult to CNC a SG, since vibration from the motors can show up in the surface
06:30 PM hazzy-m: Does Tormachs SG use pathpilot? They used special motors to get it to run smooth, and then ended up using those motors on their mills!
06:31 PM TurBoss: we need PB_SG
06:31 PM TurBoss: lol
06:31 PM Joco[m]: hazzy: I'm not sure re the tormach SG. On the motor front for the table I have been heading towards servo for the table with a belt drive interface. either timing or poly-v and for the Z using a Nema 32 stepper like Shadon from Bar Z did
06:32 PM Joco[m]: TurBoss: you may laugh but that was essentially where I was originally heading. Using pyqtvcp to build a lcnc SG gui
06:33 PM hazzy-m: That would be awesome! You wouldn't even need to use gcode
06:33 PM TurBoss: :-)
06:34 PM Joco[m]: I can see a very HAL centric path but I can also see a gcode path that is based on standard skeleton macros that get params sent to them and are called in a suitable loop
06:36 PM Joco[m]: But you could do the whole thing, which I suspect tormach did, with no lcnc in the mix and some canned electronic logic or using a simple embeded controller to add any programmable smarts
06:37 PM TurBoss: I think relay logic can do
06:37 PM Joco[m]: just that with a gui you can get all sorts of cool eye candy and you could also combine it direct inputs from 1um or 0.5um scales on downfeed and perhaps in Z
06:37 PM TurBoss: how is the diamond end toold to rectify the wheel?
06:38 PM Joco[m]: <TurBoss "how is the diamond end toold to "> hmm?
06:38 PM Joco[m]: how mean?
06:38 PM TurBoss: to make the will flat
06:38 PM TurBoss: * to make the wheell flat
06:38 PM TurBoss: sek
06:38 PM Joco[m]: for dressing the wheel?
06:40 PM Joco[m]: I think some automation there could be very useful. you could have preset Z feed rates to create different dresses
06:40 PM TurBoss: its a stop on the table where the wheel can go to do that
06:40 PM TurBoss: I'll take on the vide
06:41 PM Joco[m]: I see what you mean.
06:41 PM Joco[m]: pre mounted dressing tool at known location.
06:41 PM TurBoss: yup
06:41 PM TurBoss: that
06:41 PM TurBoss: some have a mechanical system to hide it
06:41 PM Joco[m]: but operator would still the bulk of that prcoess?
06:41 PM Joco[m]: I can full automation having that go badly wrong in a spectacular way
06:42 PM TurBoss: in the current work machine is too old and its manual
06:42 PM TurBoss: but on other places they had cnc
06:42 PM TurBoss: but can't remember some siemens stuff
06:43 PM Joco[m]: i gues if the machine has good knowledge of the wheel size both nominal and current actual then it would be ok. Some clever sensors would be needed for it to be safe
06:44 PM Joco[m]: If I look at my current machine from a stages angle, then automation of table oscillation would be step 1
06:44 PM TurBoss: https://www.youtube.com/results?search_query=rectificadora+tangencial
06:49 PM Joco[m]: oh dear some of those guys are speaking sooo fast
06:51 PM TurBoss: 😀
06:52 PM Joco[m]: right ... back to the garage and some lathe work.
07:45 PM hazzy-m: anybody need a food pedal?
07:45 PM hazzy-m: https://www.ebay.com/itm/324254496198
07:45 PM * hazzy-m is trying to clean house