ClearCore + HMI in 45 Minutes: Skip the 40 Hour Learning Curve

Поділитися
Вставка
  • Опубліковано 14 січ 2025

КОМЕНТАРІ • 115

  • @ShopHumor
    @ShopHumor 3 місяці тому +48

    Man, I'm not sure how you don't have a million subs. I've learned so much from your videos over the years.

    • @StanislavG.
      @StanislavG. 3 місяці тому +4

      For real the most informative "maker" channel on YT. I learned Fusion just by watching James' videos.

    • @ShopHumor
      @ShopHumor 3 місяці тому

      @@StanislavG. James is definitely top tier.

    • @UncleKennysPlace
      @UncleKennysPlace 3 місяці тому

      Simply because of the wide variety of stuff he covers. Plus some hobby machinists don't like any computer control.

    • @joedowling5452
      @joedowling5452 3 місяці тому

      James is more nerdcentric and “in the weeds” than most Also he doesn’t have dog that gets screen time nor does he drop a bunch of dad jokes. I subscribe to a variety of them so I ’m not knocking those channels that do, just pointing out the differences. Think of it as education vs edutainment

    • @v8Mercury
      @v8Mercury 3 місяці тому

      ​@@joedowling5452 I wonder if that's it. I also think Mark Presling is under subscribed. Could be similar reasons.

  • @karenauntipode2684
    @karenauntipode2684 3 місяці тому +1

    Large kudos for having the grit to plow through so many hoops of frustration!

  • @bigmuz_pilot
    @bigmuz_pilot Місяць тому

    This is so awesome, I'm just starting with PCB design and the process and possibilities are blowing my mind. Thanks so much for this James, legend 🙏

  • @Daniel-vh9lg
    @Daniel-vh9lg 7 днів тому +1

    "Plug it into the usb, ask me how I know". Good! I thought I was the only one.😂

  • @notsonominal
    @notsonominal 3 місяці тому +4

    When I need light pipes in prints i just print a empty pipe sized for the 1.75mm filament and cut pieces of filament to size and press in. That also allows me to have as smooth or diffused surface as I want independent of build plate texture.

  • @patchvonbraun
    @patchvonbraun 3 місяці тому +21

    We use their larger ClearPath(tm) motors on our large-satellite-dish (12.8m) restoration project. Instead of using the ClearCore board, we use the SC4 comms hub, and their SDK for Linux (and Windows). I ended up writing a little "Motion Server" that uses the ClearPath SDK, but it can talk to Python scripts via XMLRPC. So all our high-level motion control is actually implemented on a fairly general-purpose computer running Linux. Throwing 5.6 tonnes around with relative ease, using 1.1 and 1.5HP motors and adequate gearing. I still get nervous every time we run it :)

    • @RaineyPeng
      @RaineyPeng 3 місяці тому +1

      Glad to know they make massive clear path motors, wish they would make smaller ones (some places claim they used to make nema17 but they don’t exist anywhere for sale so I’m not sure)

  • @ROBRENZ
    @ROBRENZ 3 місяці тому

    Wow James, its a good thing you do this for a living. This is obviously going to work great for you but makes me very glad I did the PLC route. Cant wait to see it completed.
    ATB, Robin

    • @ga6287
      @ga6287 2 місяці тому

      What plc did you use? Was looking but can't make up my mind.

    • @ROBRENZ
      @ROBRENZ 2 місяці тому

      @@ga6287
      Automation direct BRX plc is what I used on my Harig but I am getting ready to do a second and may try their LS electric XGB plc which has more motion comands available.

    • @LordSaliss
      @LordSaliss Місяць тому

      @@ga6287 There are lots of PLCs that can do it all, but I think a "BRX" is perfect for this as it is relatively easy to learn especially if you already know PLCs, it is relatively cheap, yet has a ton of features and built in 3 high speed axis. Useful since you want to do an X, Y, and Z. It also supports interrupts and high speed inputs which can be nice for the E stops and carriage overtravels. Free software too, which not every PLC comes with. Look at the 10 input/8 output sinking model.

  • @eberseth
    @eberseth 3 місяці тому

    I really like that HMI interface. It certainly makes GUI controls easier for smaller embedded systems where you would probably need to install a Raspberry Pi or similar and write a bunch of GTK or Qt controls.

  • @rallymax2
    @rallymax2 2 місяці тому

    Seams like it’s screaming to have a CTS line.
    It’s refreshing to have an embedded software engineer doing the UA-cam commentary btw. It’s like a work conversation instead of hearing well intended but uninformed “experts”.
    Oh, and a shout out with love to Tag Connect for the SWD plugless header. Love them.

  • @ThatRobHuman
    @ThatRobHuman 3 місяці тому +27

    This is, in fact, part 11

  • @m3chanist
    @m3chanist 3 місяці тому +23

    Have you used platformIO in VS James? The ice debugger is supported. If so, what advantages does Visual Micro offer? Those 4D screens are as cute as a button (high, low ...), have used them a couple of times, luxury for doing a front end.

    • @MarcelRobitaille
      @MarcelRobitaille 3 місяці тому +2

      I love platformio

    • @MarcelRobitaille
      @MarcelRobitaille 3 місяці тому

      Watching this video, I guess you could say the advantage is Arduino Ide interop, but I see that as a downside. Just let me define my board and libraries in a text file and give me a command I can run to compile and upload.

    • @AnthonyTaylor
      @AnthonyTaylor 3 місяці тому +2

      Yeah, platformIO is the way to go

    • @joseph9915
      @joseph9915 3 місяці тому

      Besides platformIO not being 100% compatible with Arduino code, can't the Microchip IDE debug some MCUs that platformIO can't easily, like the Chips in the UNO etc? And as it uses the Microchip APIs maybe it can too?

    • @m3chanist
      @m3chanist 3 місяці тому

      @joseph9915 avr stub, the free builtin, is used for the avr chips such as found in the uno whereas ice is used just for SAM, a nice system in my opinion as it caters to people starting out working with a uno etc that haven't yet started playing with the bigger chips nor made the investment in an ice. And yes it's true the interop isn't 100% but with a tiny bit of file renaming when you setup your project you can be if you need to go back and forth, personally I don't. It's generally a one way trip for me, import the arduino code and that's it.

  • @ruebendockery9277
    @ruebendockery9277 2 місяці тому

    Awesome Video

  • @toplist2613
    @toplist2613 3 місяці тому +2

    Love seeing progress on the project.

  • @AngryMarkFPV
    @AngryMarkFPV 3 місяці тому

    Absolute legend.

  • @KevinBuckham1
    @KevinBuckham1 2 місяці тому

    I wish ClearCore supported 12V-15V for automotive use. Thanks for the great ideas!

  • @StevenJevnisek
    @StevenJevnisek 3 дні тому

    Hey James...
    I don't know how much you wld have to take the panel back and forth between the grinder and your software developement station, but if it was a significant amount, you could consider making docking stations for both.

  • @StevenJevnisek
    @StevenJevnisek День тому

    Hi James:
    If yo ever realize what a great teacher you are, and decide to provide interactive classes on this sort of programming, or the other things you do, PLEASE let me know! Though I would love to support you on Patreon, along with others, I am not able to do so. That said, I would gladly pay you to learn such things as you have done with your Grizzley lathe and V-mill, and the grinder, and how yo apply these lessons to my own machines. (I have a 9" South Bend lathe, a 15" LeBlond lathe, and a Bridgeport V-mill I would love to at least automate, if not convert to CNC. PLEASE consider holding some subscription classes for a limited number of students, teaching the things you have learned!

  • @JarheadCrayonEater
    @JarheadCrayonEater 3 місяці тому +1

    Back when I was a control system engineer we always tried to find information like this, but it didn't exist. Showing up at a customer site, seeing a PLC, HMI, or SCADA application that you've never seen before but have to fix is an experience you'll never forget. Especially when it happens frequently, because there are so many manufacturers and models still in operation spanning decades.
    This will be a great video, one that I would have appreciated back in the day, that will have an good impact on others!

  • @dhollm
    @dhollm 3 місяці тому

    Genie HMI seems to reminiscent of Visual Basic 6... forms, controls, even DoEvents! Fun.

    • @ferrumignis
      @ferrumignis 3 місяці тому

      All the cheap (Chinese) HMIs seem to look like this. You can still make some pretty nice displays if you have some design/artistic skills, sadly I don't.

  • @siberx4
    @siberx4 3 місяці тому +7

    PlatformIO looks like it covers similar ground to your VS Micro approach, except with Visual Studio Code instead of Visual Studio. Not sure if it supports this exact combination of hardware, but it's a lot more commonly used for Arduino-derived projects that outgrow the normal Arduino IDE (3D printer firmware projects are often large enough that they require/expect you to use PlatformIO to build them for example).

    • @ferrumignis
      @ferrumignis 3 місяці тому

      Does it support in circuit debugging?

    • @Kmnri
      @Kmnri 3 місяці тому

      @@ferrumignis Of course

    • @ulwur
      @ulwur 2 місяці тому

      I also think VS Code has a less intimidating UI, less UI clutter while having it all.

  • @paulmace7910
    @paulmace7910 3 місяці тому +1

    Thank you James. You are getting the functionality of high end industrial equipment at a fraction of the cost. This is great for hobby level installations. I wish there was such detailed instructions for doing the same thing with Rockwell Automation products and stand-alone servo motors and controls. Great work!

  • @ferrumignis
    @ferrumignis 3 місяці тому

    I'm currently developing a project using the Clearcore, it's so well priced for what you get. I started with Arduino, very quickly got sick of the awful IDE and moved to Microchip Studio which is a lot better, but nowhere near as slick and reliable as Keil which I've used at work for years. Thank you so much for letting me know about the VS plugin, I'm definitely going to give that a go.
    One question, will the debugging in Visual Studio _only_ work with the Atmel ICE, or can you use any debugger that Microchip Studio can use? I have a Segger JLink Plus which I've been using, and the Segger RTT (real time transfer) is super useful for logging larger amounts of data with minimal CPU impact (unlike serial prints).
    I love your Clearcore cover with the debug port, super professional! I really want to making a cover for the Teknic CCIO digital IO expander which doesn't come with one for some reason, though my 3D design skills are pretty basic so that will probably be a bit more hair pulled out at some point.

  • @bobweiram6321
    @bobweiram6321 3 місяці тому +9

    On 26:03, why not change the color of the axis name to red, or the entire row when selected? It adds more contrast when viewing at an angle or at distance.

  • @johannglaser
    @johannglaser 3 місяці тому +1

    That was really interesting with all the technical details!

  • @petrasvestartas4359
    @petrasvestartas4359 2 місяці тому

    Please show how to control 5 motor using two ClearCore Teknic boards.

  • @FrankGraffagnino
    @FrankGraffagnino 3 місяці тому +2

    very very cool video. if you ever hear from them on how you can get that startup delay down to something more manageable, i'd be interested in that. Because of this video, i'm considering a 4D systems display for a car project, but a 5 second delay from the time the key turns on could be a little too cumbersome. Thanks for taking the time to video all this. This is probably the best advertisement that ClearPath and 4D systems could ever ask for.

  • @wls3118
    @wls3118 3 місяці тому

    Come on James. You knew it was part 11!

  • @patricklucki5368
    @patricklucki5368 3 місяці тому

    Im thinking of getting a 3d printer and after your videos im thinking of the Bambu carbon. Ive never used a 3d printer, was woundering your thoughts and if thats the way to go or something else.

  • @cornnatron3030
    @cornnatron3030 3 місяці тому

    hi james small question unrelated to this but related to your els project, to just program the TI + boost board is the external 5v required or is it also possible to just do it thru usb by leaving those 3 jumpers in place?
    also what are your thoughts on kwackers fork of the els with the thread to shoulder option?

  • @opieshomeshop
    @opieshomeshop 3 місяці тому +2

    *_Another great video that, as usual, went clean over my head. I mean like, jet liner at 35,000 feet over my head. When I finally get my surface grinder, if it doesn't have an automatic function, I know who to call and have come over to work on mine._* 👣👣👣👣👣👣👣👣👣👣

  • @JoeZheng-d8q
    @JoeZheng-d8q 3 місяці тому

    My friend, you are awesome. I also work on industrial sensor products. How can I contact you?😀

  • @VanguardSys
    @VanguardSys 3 місяці тому +2

    I need a drink during and after this!

  • @lwilton
    @lwilton 3 місяці тому +7

    How about having the HMI's first rational action after reboot be sending an "I'm alive!" message to the controller. You could then wait for that instead of 5 seconds to know when it is time to start running. Or simply treat it as an event in the event loop that does a state transition from a wait to run mode for the rest of the code. (And have the 5 second wait as an event, so that if you don't see the alive event within 5 seconds you know something is wrong and can maybe try to recover.)

  • @slipspectrum9253
    @slipspectrum9253 Місяць тому

    Why don’t you implement an error handler for the NAKs at startup? I get that just waiting works, but why not just handle it? Say you get a NAK or failed checksum or something. Best practice would be to handle those errors gracefully as you guys in the software side of ware should be , um, aware? Just playing with you!r OCD. Great video! I got to check out one of those HMIs. I started building an automated cat feeder and the scope got blown to include a display and that looks a lot easier than trying to code menus and all that from the microcontroller side, even using a menu library.

  • @havenview
    @havenview 3 місяці тому

    Is it not possible to have the panel send an "I am OK" command when *it* is ready so you don't wait 5s you just wait for that prompt?

  • @notsonominal
    @notsonominal 3 місяці тому +1

    Haha, I almost expected it to not be part 11 just to troll the comment section:D

  • @Ideasite
    @Ideasite 3 місяці тому

    You get the logo on the display - you know you are the man!

  • @wernerberry7800
    @wernerberry7800 3 місяці тому

    Ok ok I have thought that James is pretty good... but after this video, I now believe there is some genius there! Great video, buddy. Thanks for sharing! Werner

  • @mkosmo
    @mkosmo 3 місяці тому +6

    Any particular reason you chose Visual Micro over something like PlatformIO?

  • @hjvisagie
    @hjvisagie 3 місяці тому +3

    Wow mind blown, I have no idea what you’re talking about or what all the terms mean, but I wish I could understand it.

    • @hjvisagie
      @hjvisagie 3 місяці тому

      Sorry man too much for my level of understanding

    • @robbobsjobs8456
      @robbobsjobs8456 3 місяці тому +1

      Stick with it, eventually it will start to make sense

  • @donkultgen4643
    @donkultgen4643 3 місяці тому

    Damn, you're a good salesman. As a longtime systems engineer for automotive imbedded controllers, you sure know how to sweet talk a guy.

  • @Kmnri
    @Kmnri 3 місяці тому

    Have you heard of platformio? This is the cross platform, cross mcu professional alternative to arduino ide that can not only run arduino core but also vendor cores like ESP-IDF for esp32 controller, baremetal AVR and many many more.

    • @Clough42
      @Clough42  3 місяці тому

      I've heard of it and used it. Didn't see ClearCore support.

    • @charlesstrahan3781
      @charlesstrahan3781 3 місяці тому

      @@Clough42 you’d just need to set up some PlatformIO configuration to specify the target details and the Arduino core to use. The upside is that you can check that into your source control, and whoever wants to contribute can use VSCode + PIO completely for free.
      I’ll see if I can write a config a little later today.

  • @PatFarrellKTM
    @PatFarrellKTM 3 місяці тому +1

    That old code style reminds me of writing Windows programs for Windows/386 versions before 3.0. That was 34 years ago. We had to do that all the time.

  • @dannirr
    @dannirr 3 місяці тому +1

    Very interesting - thank you. With so much screen real estate available, why not make the DRO bigger? Also, a suggestion: the indicator for number resolution and axis selection seems confusing - why not simply change the digits to another color that both shows the axis selected, and the number of digits that are "in play"?

    • @ferrumignis
      @ferrumignis 3 місяці тому

      He did say this was simply an initial test to get some code up and running and learn how to use it. I would suspect there would be plenty more on the screen by the end

  • @zkasprzyk
    @zkasprzyk 3 місяці тому +1

    There is Visual Micro plugin for Microchip Studio too.

    • @Clough42
      @Clough42  3 місяці тому +1

      Oh, interesting. Thanks for the tip!

  • @rbyt2010
    @rbyt2010 3 місяці тому

    Wow, great video!! I can see I need to start watching the discord server.

  • @twobob
    @twobob 3 місяці тому +1

    Homage to your dedication

  • @joell439
    @joell439 3 місяці тому

    😳😳😳😳😳 watching this channel often confirms how little I know

  • @hasanzakeri8708
    @hasanzakeri8708 3 місяці тому

    Awesome video!
    Do you plan on implementing direct feedback/readout from linear encoders or scales?

  • @neumero4te
    @neumero4te 3 місяці тому

    This IDE setup sounds like a clunkier and more expensive PlatformIO

  • @klw141
    @klw141 3 місяці тому +3

    This is why we invented industrial PLC's and HMI's. With those tools (more $$$ to be sure) would be done in a day. Unless you are in it for the learning experience, embedded code is painful!

    • @w.lindberg86
      @w.lindberg86 3 місяці тому

      Yep. Came here to say just that. I would never mess with code like this. Give me a PLC and I'll make anything happen.. but this type of hardware and the coding, debugging and massive headache just doesn't seem worth it. Even the cost of a decent PLC is almost nothing now. You can snag up a productivity 1000 series that can do motion control for under $200. Maybe an I/O card and a motion control card and you're out the door for maybe $500?

    • @ferrumignis
      @ferrumignis 3 місяці тому

      @@w.lindberg86 Do you have to program that in the archaic ladder language? The reason I got a Clearcore is 30 years experience in C and C++, ladder feels painful to use to me.

  • @thedeviant
    @thedeviant 3 місяці тому

    Very nice. Way more gumption that I have. I'll still sticking with the Click PLC and Maple or C-More HMIs. Protocol level debugging? "Ain't nobody got time for that!"

  • @keithmonarch447
    @keithmonarch447 3 місяці тому +1

    James, when you were doing primarily, machine tasks. I really enjoyed watching your site. I'm past (All of this stuff) my career with controls. Like PLC plus more.

  • @siberx4
    @siberx4 3 місяці тому +1

    Your issues with the bring-up delay remind me of problems I had with various cheap USB serial adapters. These are often poorly documented, but many of them require some amount of "dead time" after changing any parameters (baud rate, flow control, stop bits) before they respond correctly. Quality serial adapters are better-behaved in this respect, but if you have a script that sets serial parameters and immediately tries to start sending/receiving over the port, you're going to have a bad time.

  • @sebastianb1368
    @sebastianb1368 3 місяці тому

    Your are Just crazy, this ist so impressive

  • @JGnLAU8OAWF6
    @JGnLAU8OAWF6 3 місяці тому +2

    Introducing hard coded delay instead of handling NACKs and retrasmitting seems like a bit of a hack.
    But that probably should've been handled by their library.

  • @neumero4te
    @neumero4te 3 місяці тому

    it's part 11

  • @mrtnsnp
    @mrtnsnp 3 місяці тому

    I would suggest to have a few small motors attached here, or at least a few LEDs to see the motion. Of course "small clearpath" motors are tricky to come by, but I guess you really want some feedback once you get to that stage.

  • @jerrymk6846
    @jerrymk6846 3 місяці тому +1

    36:50 Someone had too much fun in Visual Studio lol

  • @splackism
    @splackism 3 місяці тому +1

    I was thinking that vscode might be a better option, but it looks like Microsoft has recently given up on the extension for vscode. The community has forked but it remains to be seen if this is viable. Microsoft also removed it from the vscode marketplace and it does not appear on the Open VSX Registry...

    • @RoterFruchtZwerg
      @RoterFruchtZwerg 3 місяці тому

      How about naming the extension you're talking about? 🤔

  • @lyranem
    @lyranem 3 місяці тому

    3:33 aren’t those RJ61? Or 8P8C?
    edit: or RJ48, or T568

  • @Knatte_Anka
    @Knatte_Anka 3 місяці тому

    Could you set background color of xyz number for the selected row?

  • @seabreezecoffeeroasters7994
    @seabreezecoffeeroasters7994 3 місяці тому

    Next 'Mate' of mine that calls me a nerd for CNC'ing my mill gets a link to this entire Video series 😂Foolishly I have also started looking at a rotary Auto tool changer for the first 'upgrade' 🤦‍♂

  • @JJEMcManus
    @JJEMcManus 3 місяці тому

    I clicked on this after struggling with some CAD background for a painting and in desperate need of a Clough cooldown. I don’t want any of the stuff you’re building. I gots me own set of problems.
    Now what am I supposed to do?

  • @helgew9008
    @helgew9008 3 місяці тому

    I have to comment on the button that displays a value on it: I absolutely hate those, because they are not intuitive. Does the value tell me the current value or does it tell me what I will get if I press the button? In real life, BOTH variants appear, so there is no way to know, other than pressing the button and see what happens. Please use two (or more) buttons.

    • @Clough42
      @Clough42  3 місяці тому

      I can see that. Personally, I don't like the button because the current value displayed is too small. That can be fixed, too, but I'm still not super excited about it. That said, it's pretty common for a DRO to have a button labeled "inch" or "mm" and you press it to toggle.

  • @nendhang
    @nendhang 3 місяці тому

    can it do gcode?

  • @criggie
    @criggie 3 місяці тому +1

    Excruciating detail, you say? >piques interest

  • @tiagolomar
    @tiagolomar 3 місяці тому

    You really should pick up some real industrial plc motion control and hmi…..
    It really looks a mess to debug and test
    Awesome work as usual 😂

  • @Build_the_Future
    @Build_the_Future 3 місяці тому +1

    I would have just built the UI from scratch using flutter and a cheep tablet. It's easier than it sounds, and cheaper. I've done that before with a pi to interface with whatever board that controls the hardware over Wi-Fi or USB. The tablet can be set up as a kiosk to make it professional

    • @metroid031993
      @metroid031993 3 місяці тому +1

      I think you should probably watch the video. He gives plenty of good reasons to use it over just a Pi or other options.

    • @Build_the_Future
      @Build_the_Future 3 місяці тому

      ​@@metroid031993 I just used the pi as an example. Most cheap microcomputers like the pi would work for just the backend. Like he said in the video, you should not use the pi for the IO you would need a different board for that, and there are a few good options that work well with a pi or something similar.

    • @ferrumignis
      @ferrumignis 3 місяці тому

      The Clearcore doesn't have a USB host, so that wouldn't be any use.

  • @rjay1674
    @rjay1674 3 місяці тому +1

    Ok, these last few videos have made my brain hurt. I actually have a degree in less stress treatment. My recommendation to you is you need a new hobby. Something like building a mid 60's muscle car. Something with a small block Chevy. No electronics, all mechanical. Even a dumb red neck dolt can make those things run unbelievably well. I'm going to have a triple shot of Johnie Walker Blue Lable and go to bed. Thanks for the video. I'm sure I'm going to have a nightmare about this.😵‍💫Oh, and if you have a minute, I have a Tesla CyberTruck in my drivway. Do you think you can determine why my rear view camera washer doesn't spray and cleaner on it?

  • @stevesteve6506
    @stevesteve6506 3 місяці тому +1

    Understood nothing. Would love a dumbed down version

    • @ViniciusMiguel1988
      @ViniciusMiguel1988 3 місяці тому +7

      You’re not the target audience then 😅

    • @m3chanist
      @m3chanist 3 місяці тому

      ​@@ViniciusMiguel1988 Likely not, but what was the purpose of the laughing emoji? Was it your intent to come off as smug, patronising and generally cretinous, or is it simply that your social skills are as worthy of derision as you feel the OPs comment was.

    • @eslmatt811
      @eslmatt811 3 місяці тому +1

      Pick up an Arduino or a pi pico, follow a few basic tutorials. It is really fun to program in the physical world.
      Lots of info in this video, but yes it is high level. It is also really expensive equipment, so yes the video has limited appeal.

  • @cletusberkeley9441
    @cletusberkeley9441 3 місяці тому

    WOW! .....Mind-blowing, development work going on Clough42 Labs. As a fellow nerd. I'm following this build with great interest.😂