just some of the time stamps to make it easier to find them Fluidnc user interface 2:35 stepper motor and drivers 4:20 3.3V to 5V Logic Converter 8:00 Limit Switches 11:31 User input Buttons and Macros 16:08 and 24:15 TinyBee Board TinyBee Introduction 28:52 TinyBee YAML configuration 30:32
Great video. I recently updated my home made CNC from an Arduino Mega/GRBL to FluidNC using the TinyBee. I use external drivers for my motors (XYZ). Your video helped me get over some of the hurdles I was having with the configuration setup. I appreciate the your time in making a video like this. Great work!
Thank you so much for your kindness and taking the time to write to me!! Your feedback and gratitude is well received absolutely made my day! So pleased to hear about your success and good luck with the CNC journey 👍👍
@@NEWTechCreative Hi . I would like to know I can use Close loop Step motor with this project ? if yes , you can make video tutorial for close loop again ?
How did you wire your limit switches on the makerbase board? I see 2 wires coming out of the switches and 3 going into the board at different colors? I am trying to figure out my home switches with a mks dlc32 2.1 board.
Thanks for your comment. Some limit switches or sensors have a 5v function for the 3pin setup, however if only using basic switches like mine in the video, only need to wire one side to GND and other to Signal.
Absolutely fabulous video with lots of precious info. I just find it a shame that most videos mention "FluidNC" on the board, while it's a ESP 32 running Fluid NC. That's very confusing
Not sure if others mentioned already... quick correction... at 14:59 you say you are going to connect the limit switch in "parallel" but then you connect the wires in a "series" configuration... FYI "in-line" connection is series... split and "side-by-side" connection is parallel...
Ha! Yes you are correct. Thanks for pointing out…. I don’t know where my brain way that day… unfortunately UA-cam doesn’t allow re-uploading to correct a video, however I hope others will see you comment to clarify 🤩🤩
Firstly, thank you very much for uploading this video and others dealing with the MPCNC and FluidNC - I have some idea of the amount of time and effort this must have entailed. Great detailed information. I have been contemplating building a simple CNC for some time, and these videos have provided the tipping point for me. I would like clarification on one point in this video however. Have I misread it, or is it that in your wiring diagram commencing at 10.42 has the Y and Z stepper motor driver labels transposed?
Oh my gosh! You are the first to see this! I can’t believe I have made so many mistakes in this diagram!!! Thank you for bringing to my attention. They should be relating to the pin out on the board… please ignor where they are connected to in the motor drivers. Thanks for your support and bring this to my attention. Unfortunately UA-cam isn’t friendly with re-uploading, however I pin this comment to the top for others to see!! Thank you 🙏 🤩
@@NEWTechCreative I also saw this, since my setup did not work at all. I the rewired, based upon this, but no success either. BTW: the uln2003an only outputs 0.6V, so no amplification. This yields too little voltage to the drivers. What may be wrong?
Hi thanks for posting the videos on fluid nc. Has been a big help. Wondered what type of buttons are you using for macros and hold? Any links to the ones your using would be great. Thanks
Thanks for your comment! Great question. Probably best to ask the developers directly, however it isn’t a feature as yet, although one day it might! It probably has not been highly on the priorities to get this feature out due to the Wi-Fi user interface, rather than the lcd that consequently uses pins that could be used for other machine input/output pins.
It's a great video! Thanks for it! Only, I did not manage to have it working yet.... I saw the wiring diagram is messed up a little bit, and I have a ULN2003AN instead of ULN2003A. Does that matter? Keep up the good work!!
Thanks for your comment! The uln2003A and AN can both switch high current and won’t matter. This should work perfectly. I did have some incorrect wiring on my diagram that unfortunately I can change once uploaded, however the output should match the input wires to the motor drivers - I incorrectly show this. Just ensure you are using the GND from esp32 - don’t get confusion with the CMD output. If you continue to battle issues, I would suggest upgrading to an integrated board such as the tinybee…. This will solve many issues. Thanks for your support 🤩🤩
Thanks for your support Evan! I haven’t had a chance to go down this path, however I can’t see why not! Looks like other users have had success with similar boards so with some time, I’m sure this is possible.
Thanks John! Great to see you diving into the CNC world 😁 I assume you are using a touch probe with only 2wires? If so, you can use one of the inputs to wire this up such as gpio35, gpio36 or gpio39 and ensure that the black wire goes to GND and red wire goes to the com pin- not the 5v pin. Then state in the yaml file as the probe pin. More info found on the wiki: wiki.fluidnc.com/en/hardware/3rd-party/MKS_TinyBee And probe: wiki.fluidnc.com/en/config/probe
I notice when demonstrating the TinyBee controller and you drive the pairs of stepper motors, they appear to be travelling at different rates. Shouldn't they both be identical? If driving either side of an axis, different rates would cause the axis to skew and that would be bad. Is this because each motor is being driven from a different driver and perhaps they are setup for different step sizes or something? By the way, great video, very informative. I've had the desire to build a CNC for some years but time, space and $$ always seem to be a factor. Now I'm looking at the possibility of getting a kit to build for a club I'm in and your videos really help me get a better understanding of how it all works as a system. Keep it up!
Thanks for your message and kind support Mark!! Yes you are absolutely correct about moving steppers identically…. I purposely didn’t place the steppers motors to show differences, however as they were independently controlled by the tinybee I definitely could have but motors into sync with one another. Good spotting!! 🤩 I’m so pleased that this has helped you on your CNC journey and hope your able to dive into the CNC world soon! 😁
Great video In going to use a tinybee board with external drives. In the yaml file under the motor section. Do i need to change the stepstick part into something else?
Thank you for the effort you make to deliver information to your channel followers My question is, can I use the 3axis_v4.yaml file in the example_configs folder?
Hi, thank you for your detail video! I was wondering how to connect a router like a Makita on the ThinyBee board? I suppose I need a 5v relay. But where do I connect it, on one of the EXP1 or EXP2 GPIO ?
Great question! Yes you are correct. There are a few spare gpio pins such at 15, 16 and 17 in the EXP1 and maybe more in the EXP2 that could be used,however they might be 3.3v but haven’t had a chance to check sorry. You can also use any spare motor driver pins if you haven’t used all 5 slots… each motor driver had 3x 5v pins that could also be used!! Then use the relay spindle setup. Let me know how it goes!
Very detailed video thank you! I just got my Tinybee board and I am wondering where the laser control board hooks up? I have a Lasertree 40W diode that I am building a custom frame/enclosure for (hence the extra axis outputs) . On the original GRBL 1.1 board and the MKS DLC32 I understand there is a connection on the "S' terminal and 12v (3 wire total) going to a adapter board that takes the 24v in. Then this goes to the laser module. Where does the wire that is normally on the S terminal go? And do I get the 12v off this board to power the adapter? I am assuming that I need to tell the firmware this is also the case? And max power settings?
Great question! If you haven’t had a chance to view this wiki, check it out. wiki.fluidnc.com/en/hardware/3rd-party/MKS_TinyBee This shows gpio.2 for the ‘S’ (signal). There is a pinout IO diagram where to find it there as well. You will need to hookup an external 12v to laser and split your GND to one of your GND pins on tinybee and to your 12v supply. If you are powering your tinybee with 12v, you can wire the board and laser from same power supply, otherwise find a dedicated 12v to power your laser separately. Over voltage will fry your laser module. When you see the example on the wiki, copy and paste it into your own yaml as it provides the hz and speed map already. Here is the section to copy for yaml: Laser: pwm_hz: 5000 # on 3D Touch connector (has pdwn + PWM) output_pin: gpio.2:high:pd s0_with_disable: true tool_num: 1 speed_map: 0=0.000% 1000=100.000% Let me know how you go!
@@NEWTechCreative Thank You so much! I managed to get the laser to fire and the axis all moving in right direction and homing the way I want! I only tested at 1-6% power and see a difference. I will test it better tommorrow once I get wiring cleaned up and old laser out... The bad news is I had a accident and will be repairing my Lasertree 4-LDS control board... the 12-24v input to the adapter card had reverse +/- and I might have cooked the laser module. I am upgrading at the same time to the Laser tree K30 I couldn't turn down the pre black friday sale on now! I am tiding up wiring and looking to activate the fan via the fan 1/2 outputs on the Tinybee. I have seen the pinout diagram shows this to be IO147 and IO 148. But the example I have seen says - # FAN1 enable_pin: I2SO.16 I have also seen someone say they added a fan using this: #fan user_outputs: digital0_pin: i2so.19 I have tried a few things but can't seem to figure it out. Does this need to be in a specific spot in the config? How would one use the "fan1" output and does it come on all the time or only at a certain point? Thanks again for all your videos and help! It has been one of the best references I have found about tinybee. In fact I learned about it from your fluidnc flash video!! I returned the MKS DLC and got this 6 axis card!
Thanks for your message and sorry to hear about your laser board. Hopefully the new module will work ok. Yes you are on absolutely the right track for the fan output pin. The mks labeling of pins is quite different from the fluidnc pin labeling. Digital outputs work with the m63/4 p0 command. If you type m64 p0 into your commands, this should turn the digital_pin high (on) and typing m65 p0 will turn low (off). The digital_pin:1 will be controlled by m64 p1 and m65 p1 etc. if you use m62 and m63- this will be in sync with motion. Hope this makes sense? You can insert this into your gcode or make a macro to have a quick access button to turn on and off fan when needed. If you need more help with this, feel free to send me an email to newtechcreative@gmail.com
Great video. Thank you very much for your efforts. My non-original DM542 and DM556 work directly from the ESP32. How do you think? If they work, then don't change them? Or to be sure, it's better to convert to 5v?
Great question! They might be more than happy to receive the 3v input!! I wouldn’t upgrade unless you experience intermittent pulses or loss of steps! Great to hear they work directly 👍👍🤩🤩
At about 8:40 in, you discuss stepping up the signal voltage from 3.3v to 5v. Couldn't you have used a "Logic Level Converter Bi-Directional Module 5V to 3.3V for Arduino" (from Amazon) ?
This certainly could be possible, but I haven’t had a chance to use one of them! The stepper pins only require a single direction communication, so there wouldn’t be much use for the bi-direction, but might be useful for any return channels if needed!
Hello! Im amazed with this thing. I will implement on my homemade cnc router. However i cant find how to acces to discord. Can you help me please? Thank you!
Thank you for this blessed effort. I installed the ESP32 ESP-WROOM-32 ESP-32S Development Board 2.4GHz WiFi + Bluetooth and things went correctly and smoothly. Can I install the TS35-R LCD Display and how do I add its code if the answer is yes? my regards
Great question! Unfortunately lcd screens aren’t supported at this stage. The beauty of fluidnc is the ability to connect via Wi-Fi and use a wireless screen and no need for tethered screens. You can use an old phone or touch device as a dedicated screen.
Very good that you've had it running. Did you change anything significant to NT's wiring diagram? Is there a new diagram available? I got into Fluidnc as controller, but none of the motors respond. An escape to SourceRabbit did work, though - only I prefer the wifi option, which they removed.
Yes this could be possible. Unfortunately the tinybee board had only 3 dedicated limit plugs available, however you can also use the 3 inputs that I show in my video for the buttons pin 35, 36 and 39 for your 2 other axis. You will just need to use two other input pins for your axis e.g; For the second motor setup for your axis, add an independent pin for the limit switch. motor1: limit_neg_pin: gpio.35:low Hope this helps!
ah the good ole ULN2003, those were my first "stepper motor drivers" contolling unipolar motors (5 wire) lol they are super slow and easy to stall out but that's not their purpose, those bad boys are Darlington drivers. they are almost the perfect driver IC each of the inputs is protected from the output via a zener diode to deal with teh nasty back emp from the motors, i was looking at logic level shifters but those are doable as well so ill use those lol
Great video and explaination of wiring etc, but i cant seem to find a topic on how to wire a hot bed or extruder to an esp32. ive found it in the tinybee.yaml using the flood and mist pin, but i wanted to go for a 12v machine and a bit clueless on this step if you could assist please? thanks
Thanks for your message! Is this for a 3D printer? Fluidnc is made for CNC… unfortunately you wont be able to take advantage of 3D printer features. If your looking into how to convert a 3v3 to turn on a larger current, this is possible using either a mosfet or relay. Maybe look into fluid for 3D printing.
@NEWTechCreative excellent thanks, yes it was for a 3d printer. I have a scara I'm building and thought it was a great platform in a tiny package, not realising it's CNC. Thanks for replying
I wonder if you could help me with my dilemma? I built a CNC Plasma table and control it with an MKS DLC32 V2.1 board (with built in Wi-Fi) and Open Builds Control (which I really like). OB will run the g-code file just fine as long as the plasma machine (pilot arc) isn't turned on. Once the plasma cutter fires the CNC machine freaks out and ends up either stopping with the torch still firing, or it takes off in some random direction - and OB responds with a lost port error and I need to reconnect. Obviously this is an EMI issue. I've tried numerous shielding, grounding, and isolation methods with no luck. However, if I load the g-code file onto an SD card, insert it in the control board's card slot, and run the g-code on the card from the "MK Laser" app on my phone, I can get a successful cut - but this also has drawbacks as the MK Laser app doesn't have z-axis control (I hear it used to) and the Z-axis height changes once the g-code starts to run. Messing with the MK Laser app to get it working this way is just a huge PIA and I would prefer to have the code being executed from inside OB. What I would like to try is controlling the MKS DLC32 board via Wi-Fi through the Open Builds Control software, but OB doesn't find the board when I scan networks. I've read in the forums that OB uses "telnet?" and would need GrblHal to be installed on the MKS board. I've also read FluidNC might work. But this is where things start to get over my head. Nevertheless, I'm convinced I could flash my board with either GrblHal or FluidNC (maybe even old ESP?) but I would need to get some very simplistic instructions on what steps I need to take to accomplish this. I realize a better card with ethernet or parallel connectivity would be a smart alternative, but I'd really like to see if I could get this card to pull it off. If you could assist me without boggling my mind with too much tech jargon (since I'm over 60 and this stuff will surely not attach to my brain neurons without many reiterations of the same info) I would very much appreciate it. For me simple is like this: go to ___ and find ___ and open it and then navigate to ___ and place it in ___ by dragging to ___ and then... After you do that then go to ___ and download ___ and then open the folder named ___ and then... etc. Thanks! Robert H. (a struggling newbie in the world of files and configurations and other seemingly complex operations)
Thanks for your comment Robert. This sounds like an issue I would love to help you solve, however this is not the right platform to assist. Discord would be the best place to help you with this: discord.gg/C64SwECE Otherwise email me on newtechcreative@gmail.com Chat soon!
Thank you for the clarification and sorry for the many questions, please bear with me for a while Can I assign one pin to the laser and one to the pwn, or do I use one pin for both? my regards
Great question! Yes you can assign separate pins, however the reason why you would keep two on the same pin when using the 3axis board setup is to save the amount of pins used. You don’t have much to work with when just using the esp32 without shift registers to expand output pins. The other reason is that you would never use both as the same time! Hope this helps 🤩
I love this setup and video, and have been planning on trying this out for almost a year, and finally am about to do so, but I ran into a bit of a problem where I'm going to need to control/run x2 NEMA23 4.2amp stepper motors for the Y axis, which now I'm unsure how to do this using this type of ESP32 configuration? I purchased 3 DM556 Drivers a few months ago, which I'm guessing I will now need a 4th for the extra Y axis stepper being added, as you probably can't run x2 NEMA23 4.2amp stepper motors off on 1 DM556 right? And if so, would you just run 2 wires off of each of the Y Step and Y Direction coming out of the ULN2003A chip/board? Or will this setup not really work with two Y axis steppers? Any suggestions?? Please and thank you???
Great question. Yes you can run 2x motors off one driver, however the driver can only output max 5.6A and under power your motors (2.8A each). Best solution is to buy another driver and split step and direction from y axis from the uln2003A chip (yes only one needed per axis output). Alternatively you can purchase a dedicated esp32 CNC board that has additional outputs to control y axis separately and save additional wiring.
@@NEWTechCreative Oh awesome thanks. I was concerned that the output from the ULN2003A chip might then be underpowered as well for the Driver to work properly, kind of like before adding the ULN2003A and just running off of the 3v that the ESP32 puts out? So thought maybe I might need another ULN2003A chip added as well somehow? But you figure that shouldn't be an issue? Thanks for your feedback, I really appreciate it!
Nice Video, Nice information. I need help I want to make this machine 3 Axis and with 4 motor “X YY Z” . I want to connect 2 motors for Y Axis. What changes need in yaml file and Wiring using EPS32.
Unfortunately the if you are just using and ESP32 board, there will not be sufficient pins for 4 independent axis’s. However you can just double up the step and direction y output from the esp32 to both motor drivers, although you won’t achieve dual y axis homing/squaring. You won’t need to change the yaml for this.
@@NEWTechCreative Thank You For replying. But I want to ask you, it is possible to use G0, G2, G35 pin for separate Y Axis motor 1. This three pin is free
@SachinBhagat great question!! Unfortunately the gpio.0 is a boot loader pin and gpio.2 is a strapping pin… this can cause issues for the board and would stay clear. gpio.35 should be used as an input pin with a pull-up resistor. Unfortunately you will need to use a board with an i2S interface to achieve additional pins. More info here!! wiki.fluidnc.com/en/hardware/esp32_pin_reference
Yes that’s correct! The board is made for 3D printers, however works great for CNC’s as well. There are a large range of various boards available to check out 👍👍
Do you have a wiring diagram for tinybee running fluidnc ? For example there are 4 pins for connecting external drivers. Which pin is pulse, direction and enable? What is the fourth pi.?
I haven’t made a wiring diagram however the pins are labeled and will correspond with the motor driver inputs. The last pin is the enable pin to enable or disable the driver. Let me know how you go? If you need more info, send me an email at newtechcreative@gmail.com or discord (newtech).
I noticed that your stepper driver wiring on the Tiny Bee doesn't (seem to) require the boost converters that you used to step up the 3.3V ESP32 output to 5V for the stepper drivers earlier in the video. Am I to gather that the output voltage for external stepper drivers coming from the Tiny Bee is 5V?
Thanks for video! Which frequency output can generate ESD32 for 3 axis movement? I have old Yaskawa servo drives, step/dir input with 8192 pulses per round. Would like to have 8-10m/min on G0 and may be G1 (ballscrews 5mm). Is it possible?
Yes this shouldn’t be an issue!! I’m not familiar with these motor drivers, however you just need to set your steps per mm, max rate and acceleration to suit your drivers. Maybe ask the community over in the discord for more info!!
There has been no official release for this support, however people have been tinkering in the code to have some ability to work. If they haven’t shared the code, it probably because it was not stable. For info about implementing this type of code or reasons for no support check this out: wiki.fluidnc.com/en/hardware/pendants_displays
It's really a big shame that most of your Tiny URL Links don't work anymore. Your video is excellent. Would you please be able to update your links? If possible, to Amazon? :)
Yeah, i found the video...great explanation... :) One more thing...are you still using TMC2160 drivers? How are you satisfied? :) Also, does Tinybee has EMI protection for limitswitches? Like optocouplers or something similar? :)
I will be installing the TMC2160 drivers on my new machine and will give a good stress test soon. I have started a new series and will release the electronics episode in the next few weeks. Yes the tinybee has isolation from the input pins that handle EMI well. I am moving to the root CNC board that has high quality isolation in the next build.
Would you do a video on how to use fluid nc to mill something? In particular from file to part? I've been collecting parts to build a fluid NC machine but once its built and dialed in with the yaml, I'd have no clue how to make a vision a reality without manually moving the machine to make the part. Thanks
Thank you very much, ive tried looking but there arent any, only videos on how to setup & how great the system is. Again, thank you very much and look forward to watching :-)@@NEWTechCreative
I couldn't understand how the relay configuration is done in fluidnc. The wiki page has little information about this. I'm using a relay module, but as soon as I turn on the esp32 the relay activates (I'm just using the board and 3 drv8825). If I click to turn on the spindle, the module's LED becomes weaker, but it doesn't deactivate the relay. Where am I going wrong?
Thanks for your comment. There might be a few issues and hard to provide exact solution without seeing setup and config used. The relay should be a straight forward setup as all it needs is a signal and ground pins then just activated when high or low. I would check that your output voltage from the board is the correct voltage for the relay. I would also check if the pin your using needs a high or low state. Feel free to send me more info to newtechcreative@gmail.com 👍👍
@@NEWTechCreative Thank you for the excellent job. There isn't much videos about fluidnc on yt. I'll check the voltage of the pin today. I think the question is that the relay module is positive and negative triggered. Will check the status of the pin on and off with the multimeter. Tks so much for answer me and for the excellent channel. Nice weekend!!
No problems and thanks for your kind words! If it is the initial state that is turning in your relay, you can set the pin to high or low in the yaml eg: gpio.35:low or gpio.35:high - this will set the default state of the pin!! Have a play. Good luck 👍
@@NEWTechCreative Just to conclude and Maine help others.. My 3,3/5v regulator was the problem. 3,3 ok but I have almost 9v in the 5v outputs. Cause it the relay module was going crazy. Tks again man and When I finish here I'll send you a video showing all crazy stuff we make here. God bless u!
Oh sorry to hear about the voltage inconsistencies! Strange behavior, however glad that you were able to figure out issue. Thanks for sharing outcome. Would love to see your final result 🤩🙏
Hello Myles! On the tenth attempt, I managed to install install-wifi. All further attempts to install install-fs were unsuccessful. But WIFI works. Thanks for the help. Good luck!@@NEWTechCreative
These are feature that will be possible in future releases!! You will have success using 3rd party software with fluidnc that can expand this functionality like cncjs or UGS!!
I feel so foolish asking this but I'm not sure were else to go. I've been designing my own CNC machine for the better part of a year and I know all my motors/drivers/probe/etc stuff that I want to use. I recently found out about FluidNC and in particular I am interested in the Tinybee board. It seems to be marketed as a 3D printer controller, but is that it's only use case?
Great question! Never feel foolish to ask. Yeas this is 100% compatible with CNC’s however there will be some unused features on the board - these can be ignored. The great thing about the board is the access to the pins needed, isolated pins and compact size. I also love the boards by root CNC… These are better targeted towards CNC’s. Check what is available to you. For the price of a tinybee, you can always update down the track 👍😁
Great question! I doesn’t have a direct spindle control unfortunately such as rs485 or pwm10v, however it does have the possibility to utilize the pwm 5v output to control the spindle. It depends what spindle you have and what you can hook up. The pwm 5v could be hooked up to a 5-10v pwm converter to control the spindle if that is what is needed? Otherwise if it just needs a ‘relay’ or high/low signal, and the gpio.32 seems to be the pin for either on/off or pwm 5v. More info here: wiki.fluidnc.com/en/hardware/3rd-party/MKS_DLC32
Hi have question about tinybee or just want to clear some things out. Searched all-around internet but cannot find info about tinybee logic levels for stepper drivers... but seems that You are using different drivers (with written markings on them that they support 5-24V logic input) with different capabilities on single tiny bee board. Have stepper online closed loop Nema 34 kits.. and their datasheet clearly states that it supports logic level inputs starting 5v... and here I see that You are using tiny bee without any logic level converters (stepups) which I also want to avoid... So does Tinybee support 5v logic level for stepper drivers ???
Great question!! In short - YES the tinybee coverts the logic to 5v logic from eap32. From what I can see, the esp32 goes to a HC125 chip to convert logic voltage then onto the shift registers to handle the pin extension output to each driver at 5v logic.
@@NEWTechCreative thank You very much !!! have long time standing unfinished cnc... and for longest was waiting for proper controllers and firmware to come out... did not wanted to goo back to mega2560 and marlin, also to arduino and grbl or any other half backed grbl variation... especially when 3d printing with Vorons... so klipper equivalents or nothing... so linuxCNC (rare hardware, mostly custom with not much documentation) or grblHAL... meantime had few old BTT motherboards but their support also was half backed for grblHAl... and time to time was checking for new Ideas and your videos on DIY CNC came out... So congratulation on cool cnc builds. Love them all!!! videos also fully informative !!!! And also for quick response... Will definitely be ordering 2 tinybee's now. For old project (large format printNC mockup with diy rails) and for future project (with cutting area less than 1x1m)
Not a problem! I’m glad to hear you’re finally moving forward with finishing your CNC. The only downside is that there are limited pins on the tinybee but will be sufficient for 6axis and 4 inputs (limits and touch plate) put you can use a couple of other pins from the Exp slots, however limited. If you want to take advantage of all pins and have full spindle control with rs485 you can upgrade to a dedicated fluidnc board something like the root controller or barts 6pack board. Good luck with finishing your CNC!! 🤩🤩
Great question. Depends what you refer to as arduino? If you are referring to an arduino Uno or alike - these are 8bit boards and esp32 are 32bit boards (x4 faster!) with a dual core processor. The other great advantages are that they have built in wifi/bluetooth, they are cheap and common boards, tali’s have a stack on inputs and outputs in both analog and digital and can have a very low power usage. 👍👍
@@arbjfulNo, you don’t need a computer to run - if you load fluidnc or grblHAL you can use the webUI to control and send gcode via any device - even your smart phone. Essentially the esp32 stores a webpage that you use to control the CNC over Wi-Fi. You can also use grbl control software such as UGS, CNCjs, focus etc to connect and use as you would with a traditional grbl controller 👍👍
Hi man! Can you please post the configuration for TMC2160 or the whole config.yaml. In the documentation I was able to find many configuration properties which IMO don't work if the communication between the controller and the driver is not over SPI, which is the case with the Chinese drivers.
You can use any spare input pin! Depending what you have used already, you also have the exp1&2 ports to access some pins. Just check with what you have used already and refer to the tinybee pin out reference to check available pins. 👍👍
Yes absolutely! You will have to find an unused pin for the second y axis. The MT_DET pin out should work fine and is gpio.35. In the example tinybee yaml on fluidnc wiki, pin 35 is used of the reset button input that you can use as and replace with no_pin.
Hello. I want to get information about something. I'm having communication problems with the Mach3 so I'm going to replace the board. Can we do CNC embossing with Tinybee card? relief gcode files require high memory. Even a simple run contains 30-50mb gcode.
Most esp32 CNC boards have an Sd card module, otherwise you can connect an Sd module to the esp32 board. Once module is setup you can store files onto Sd card. What board are you using? You can also use direct from pc with usb if you want to use like mach3.
@@NEWTechCreative I don't have a card yet. I'm considering purchasing Tinybee. or I will buy one of the basic card. Is there any problem installing SD card on Tinybee card? Can we install an SD card by purchasing any card? İm using mach3 right now and i Want to give up it.
The tinybee comes with the Sd card module ready to go… very easy setup. You will need to use a micro Sd card that has 8gig or less as the larger Sd cards don’t play well with these boards. I purchased a stack of 4gig cards online cheap that work fine.
Hey, I hope you can help me out a bit, I have the Makerbase Servo57D Drivers on my nema 23s, wired to the tiny bee via the stepstick adapter, and they work as a normal stepper system fine, but im hoping to utilize the closed loop feature of the 57D's. Do you know how to get this working?
Great question! In fact I had purchased several of these a while back, however never tested. You can ignore the rs485 connections however unfortunately the output signal needed from the controller is ‘common anode’ signal which is essentially is reversed to what the tinybee provides. Instead of the step, dir & ena as positive inputs they need to be a negative/ground inputs if that makes sense? The com input is the 3v/5v from tinybee. I don’t believe the signals can be reversed on the tinybee, however there is a way. In my CNC wiring video I show how you can use a ULN2003 chip to reverse (or boost) the signal. There are better chips available, however these work just fine. If you need more info, let me know?
In addition, it seems that there is a limit switch input and output from the driver to the controller as well on other side of board that might be needed to be wired in!
yes that makes sense, I found a video on makerbase channel, that shows how they can be controlled via arduino over uart, but i am super unfamiliar with uart and controlling things over it. i might dabble in figuring something out. if you have any tips let me know.@@NEWTechCreative
Thanks for your comment! Can you send me your yaml setup and some photos/videos regarding this to newtechcreative@gmail.com or to my discord or Instagram account to assist you?
@NEWTechCreative did you make a video for the RS485 module via expansion header? At 36:00 of this video you mentioned it would be a future video. I'm considering this tinybee for CNC-ing my Bridgeport. If the video does not exist can I help you some how to get the video made?
Thanks for your comment! Unfortunately I didn’t get around to it sorry. I ended upgrading to a root controller that already had rs485 inbuilt. I just purchased a few rs485 modules to have a tinker with and see if I can get up and running but have to wait till they arrive. There have been some progress from some users with this - see at the bottom of this page: wiki.fluidnc.com/en/hardware/3rd-party/MKS_TinyBee
De description on the error on one of the stepper motores is not correct, on the input on one af the stepper driver, you just need a small res to the inputs. Its a opto input and in goes from arount 2.7 to 5volt.
Thanks for your comment! I’m not sure what you mean here. The output of the esp32 is 3v and 5v is required to drive some drivers hence the use of the Darlington transistor to convert the signal voltage. I use optocouplers with the limit switches if that is what you are referring to? My wiring diagram is not correct and from the uln2003 and have the wrong wires connected (not sure how I made this error).
Hi, i have tested all about fluidnc over esp32, but when i try to connect the sd card adapter and the sd, it give me this error, could you pls, help me about it? This is the error [MSG:ERR: sdmmc_card_init failed code 0x0x107] i am using the 3.7.0 fluidnc version
Thanks for your comment! There are a few issue why this could be so. I would suggest jumping over to the fluidnc discord or happy to help via my discord. I need to see you ymal setup and wiring to give you direction. Alternatively send me an email at newtechcreative@gmail.com
I had such a problem. Change the frequency of the SD card frequency_hz. I got it with frequency_hz: 10000 sdcard: cs_pin: gpio.5 card_detect_pin: NO_PIN frequency_hz: 10000
Thanks for your comment! Are you asking how to wire fluidnc for a 3axis machine? If so, I will depend on your chosen board and components. Happy to help
just some of the time stamps to make it easier to find them
Fluidnc user interface 2:35
stepper motor and drivers 4:20
3.3V to 5V Logic Converter 8:00
Limit Switches 11:31
User input Buttons and Macros 16:08 and 24:15
TinyBee Board
TinyBee Introduction 28:52
TinyBee YAML configuration 30:32
Thank you 😊
Great video. I recently updated my home made CNC from an Arduino Mega/GRBL to FluidNC using the TinyBee. I use external drivers for my motors (XYZ). Your video helped me get over some of the hurdles I was having with the configuration setup. I appreciate the your time in making a video like this. Great work!
Thank you so much for your kindness and taking the time to write to me!! Your feedback and gratitude is well received absolutely made my day! So pleased to hear about your success and good luck with the CNC journey 👍👍
@@NEWTechCreative Hi . I would like to know I can use Close loop Step motor with this project ? if yes , you can make video tutorial for close loop again ?
No Way! I've literally just opened youtube after ordering a tinybee for my new UltimateBee cnc, thankyou for posting this :)
I'd be interested in the wiring and setup for the TTL to RS485
Great timing :) Its a well developed board and so easy to use. Thanks for your support Marc :)
When I get it up and going, I'll definitely share.
Recientemente empece a construir mi MPCNC y este canal es lo mejor que he encontrado gracias Saludos desde México 🇲🇽
You are super kind! Thank you :)
How did you wire your limit switches on the makerbase board? I see 2 wires coming out of the switches and 3 going into the board at different colors? I am trying to figure out my home switches with a mks dlc32 2.1 board.
Thanks for your comment. Some limit switches or sensors have a 5v function for the 3pin setup, however if only using basic switches like mine in the video, only need to wire one side to GND and other to Signal.
Absolutely fabulous video with lots of precious info. I just find it a shame that most videos mention "FluidNC" on the board, while it's a ESP 32 running Fluid NC. That's very confusing
Not sure if others mentioned already... quick correction... at 14:59 you say you are going to connect the limit switch in "parallel" but then you connect the wires in a "series" configuration... FYI "in-line" connection is series... split and "side-by-side" connection is parallel...
Ha! Yes you are correct. Thanks for pointing out…. I don’t know where my brain way that day… unfortunately UA-cam doesn’t allow re-uploading to correct a video, however I hope others will see you comment to clarify 🤩🤩
Very detailed explanation man, just fantastic. Using Arduino Nano grbl on my CNC.
Thank you!! Yes I’m still cranking the arduino Uno on one of my machines! Still going strong 😁👍
hey man great work. Can you please share more details about ULN2003 and how to wire it up, the wiring diagram you give is little bit messy.
Firstly, thank you very much for uploading this video and others dealing with the MPCNC and FluidNC - I have some idea of the amount of time and effort this must have entailed. Great detailed information.
I have been contemplating building a simple CNC for some time, and these videos have provided the tipping point for me.
I would like clarification on one point in this video however. Have I misread it, or is it that in your wiring diagram commencing at 10.42 has the Y and Z stepper motor driver labels transposed?
Oh my gosh! You are the first to see this! I can’t believe I have made so many mistakes in this diagram!!! Thank you for bringing to my attention. They should be relating to the pin out on the board… please ignor where they are connected to in the motor drivers. Thanks for your support and bring this to my attention. Unfortunately UA-cam isn’t friendly with re-uploading, however I pin this comment to the top for others to see!! Thank you 🙏 🤩
@@NEWTechCreative I also saw this, since my setup did not work at all. I the rewired, based upon this, but no success either. BTW: the uln2003an only outputs 0.6V, so no amplification. This yields too little voltage to the drivers. What may be wrong?
Excellent video! Great description very informative!
Thanks Don :)
Hi thanks for posting the videos on fluid nc. Has been a big help. Wondered what type of buttons are you using for macros and hold? Any links to the ones your using would be great. Thanks
Thanks for your comment! I will be releasing a video in the next few days that should cover the button question! Stay tuned 🤩🤩
Excellente vidéo très bien documentée félicitations.
Pourquoi FluidNC ne prend pas en charge l’affichage graphique ?
Thanks for your comment! Great question. Probably best to ask the developers directly, however it isn’t a feature as yet, although one day it might! It probably has not been highly on the priorities to get this feature out due to the Wi-Fi user interface, rather than the lcd that consequently uses pins that could be used for other machine input/output pins.
It's a great video! Thanks for it! Only, I did not manage to have it working yet.... I saw the wiring diagram is messed up a little bit, and I have a ULN2003AN instead of ULN2003A. Does that matter?
Keep up the good work!!
Thanks for your comment! The uln2003A and AN can both switch high current and won’t matter. This should work perfectly. I did have some incorrect wiring on my diagram that unfortunately I can change once uploaded, however the output should match the input wires to the motor drivers - I incorrectly show this. Just ensure you are using the GND from esp32 - don’t get confusion with the CMD output. If you continue to battle issues, I would suggest upgrading to an integrated board such as the tinybee…. This will solve many issues. Thanks for your support 🤩🤩
Awesome video! Do you know if the tinybee supports the sensorless homing on the 2209s? I think it's called stallguard.
Thanks for your support Evan! I haven’t had a chance to go down this path, however I can’t see why not! Looks like other users have had success with similar boards so with some time, I’m sure this is possible.
thanks for the great video.
i am new tot the cnc scene, and try to learn about this board. how to wire a 3d touch plate?
Thanks John! Great to see you diving into the CNC world 😁 I assume you are using a touch probe with only 2wires? If so, you can use one of the inputs to wire this up such as gpio35, gpio36 or gpio39 and ensure that the black wire goes to GND and red wire goes to the com pin- not the 5v pin. Then state in the yaml file as the probe pin. More info found on the wiki: wiki.fluidnc.com/en/hardware/3rd-party/MKS_TinyBee
And probe:
wiki.fluidnc.com/en/config/probe
I notice when demonstrating the TinyBee controller and you drive the pairs of stepper motors, they appear to be travelling at different rates. Shouldn't they both be identical? If driving either side of an axis, different rates would cause the axis to skew and that would be bad. Is this because each motor is being driven from a different driver and perhaps they are setup for different step sizes or something? By the way, great video, very informative. I've had the desire to build a CNC for some years but time, space and $$ always seem to be a factor. Now I'm looking at the possibility of getting a kit to build for a club I'm in and your videos really help me get a better understanding of how it all works as a system. Keep it up!
Thanks for your message and kind support Mark!! Yes you are absolutely correct about moving steppers identically…. I purposely didn’t place the steppers motors to show differences, however as they were independently controlled by the tinybee I definitely could have but motors into sync with one another. Good spotting!! 🤩 I’m so pleased that this has helped you on your CNC journey and hope your able to dive into the CNC world soon! 😁
Great video
In going to use a tinybee board with external drives.
In the yaml file under the motor section. Do i need to change the stepstick part into something else?
The stepstick is a common setup! Give it a try firstly. I assume you are using a typical open loop motor driver?
Thank you for the effort you make to deliver information to your channel followers
My question is, can I use the 3axis_v4.yaml file in the example_configs folder?
Thanks for your comment! If you are using just the ESP32, or a board that doesn’t use shift registers, yes you can use the 3axis_v4 yaml👍
Hi, thank you for your detail video! I was wondering how to connect a router like a Makita on the ThinyBee board? I suppose I need a 5v relay. But where do I connect it, on one of the EXP1 or EXP2 GPIO ?
Great question! Yes you are correct. There are a few spare gpio pins such at 15, 16 and 17 in the EXP1 and maybe more in the EXP2 that could be used,however they might be 3.3v but haven’t had a chance to check sorry. You can also use any spare motor driver pins if you haven’t used all 5 slots… each motor driver had 3x 5v pins that could also be used!! Then use the relay spindle setup. Let me know how it goes!
Very detailed video thank you!
I just got my Tinybee board and I am wondering where the laser control board hooks up? I have a Lasertree 40W diode that I am building a custom frame/enclosure for (hence the extra axis outputs) . On the original GRBL 1.1 board and the MKS DLC32 I understand there is a connection on the "S' terminal and 12v (3 wire total) going to a adapter board that takes the 24v in. Then this goes to the laser module.
Where does the wire that is normally on the S terminal go? And do I get the 12v off this board to power the adapter? I am assuming that I need to tell the firmware this is also the case? And max power settings?
Great question! If you haven’t had a chance to view this wiki, check it out.
wiki.fluidnc.com/en/hardware/3rd-party/MKS_TinyBee
This shows gpio.2 for the ‘S’ (signal). There is a pinout IO diagram where to find it there as well. You will need to hookup an external 12v to laser and split your GND to one of your GND pins on tinybee and to your 12v supply.
If you are powering your tinybee with 12v, you can wire the board and laser from same power supply, otherwise find a dedicated 12v to power your laser separately. Over voltage will fry your laser module.
When you see the example on the wiki, copy and paste it into your own yaml as it provides the hz and speed map already. Here is the section to copy for yaml:
Laser:
pwm_hz: 5000
# on 3D Touch connector (has pdwn + PWM)
output_pin: gpio.2:high:pd
s0_with_disable: true
tool_num: 1
speed_map: 0=0.000% 1000=100.000%
Let me know how you go!
@@NEWTechCreative Thank You so much!
I managed to get the laser to fire and the axis all moving in right direction and homing the way I want! I only tested at 1-6% power and see a difference. I will test it better tommorrow once I get wiring cleaned up and old laser out...
The bad news is I had a accident and will be repairing my Lasertree 4-LDS control board... the 12-24v input to the adapter card had reverse +/- and I might have cooked the laser module. I am upgrading at the same time to the Laser tree K30 I couldn't turn down the pre black friday sale on now!
I am tiding up wiring and looking to activate the fan via the fan 1/2 outputs on the Tinybee. I have seen the pinout diagram shows this to be IO147 and IO 148.
But the example I have seen says -
# FAN1
enable_pin: I2SO.16
I have also seen someone say they added a fan using this:
#fan
user_outputs:
digital0_pin: i2so.19
I have tried a few things but can't seem to figure it out.
Does this need to be in a specific spot in the config?
How would one use the "fan1" output and does it come on all the time or only at a certain point?
Thanks again for all your videos and help! It has been one of the best references I have found about tinybee. In fact I learned about it from your fluidnc flash video!! I returned the MKS DLC and got this 6 axis card!
Thanks for your message and sorry to hear about your laser board. Hopefully the new module will work ok.
Yes you are on absolutely the right track for the fan output pin. The mks labeling of pins is quite different from the fluidnc pin labeling. Digital outputs work with the m63/4 p0 command. If you type m64 p0 into your commands, this should turn the digital_pin high (on) and typing m65 p0 will turn low (off). The digital_pin:1 will be controlled by m64 p1 and m65 p1 etc. if you use m62 and m63- this will be in sync with motion. Hope this makes sense?
You can insert this into your gcode or make a macro to have a quick access button to turn on and off fan when needed.
If you need more help with this, feel free to send me an email to newtechcreative@gmail.com
Hi
Thank you for this valuable information
Can you please guide me to the pin used to connect the pwm for spindle?
Is this on the tinybee or esp32?
Is this on the esp32@@NEWTechCreative
Supper useful. Thank you.
Great video. Thank you very much for your efforts.
My non-original DM542 and DM556 work directly from the ESP32.
How do you think? If they work, then don't change them? Or to be sure, it's better to convert to 5v?
Great question! They might be more than happy to receive the 3v input!! I wouldn’t upgrade unless you experience intermittent pulses or loss of steps! Great to hear they work directly 👍👍🤩🤩
At about 8:40 in, you discuss stepping up the signal voltage from 3.3v to 5v.
Couldn't you have used a "Logic Level Converter Bi-Directional Module 5V to 3.3V for Arduino" (from Amazon) ?
This certainly could be possible, but I haven’t had a chance to use one of them! The stepper pins only require a single direction communication, so there wouldn’t be much use for the bi-direction, but might be useful for any return channels if needed!
Hello! Im amazed with this thing. I will implement on my homemade cnc router. However i cant find how to acces to discord. Can you help me please? Thank you!
Yes of course! Follow this link on their WIKI
wiki.fluidnc.com/en/support/discord
Thank you for this blessed effort. I installed the ESP32 ESP-WROOM-32 ESP-32S Development Board 2.4GHz WiFi + Bluetooth and things went correctly and smoothly.
Can I install the TS35-R LCD Display and how do I add its code if the answer is yes?
my regards
Great question! Unfortunately lcd screens aren’t supported at this stage. The beauty of fluidnc is the ability to connect via Wi-Fi and use a wireless screen and no need for tethered screens. You can use an old phone or touch device as a dedicated screen.
Very good that you've had it running. Did you change anything significant to NT's wiring diagram? Is there a new diagram available? I got into Fluidnc as controller, but none of the motors respond. An escape to SourceRabbit did work, though - only I prefer the wifi option, which they removed.
Great video. How could I configure the tinybee board for five endstops lowrider v3 cnc? Which sections of the yaml file be changed?
Yes this could be possible. Unfortunately the tinybee board had only 3 dedicated limit plugs available, however you can also use the 3 inputs that I show in my video for the buttons pin 35, 36 and 39 for your 2 other axis. You will just need to use two other input pins for your axis e.g;
For the second motor setup for your axis, add an independent pin for the limit switch.
motor1:
limit_neg_pin: gpio.35:low
Hope this helps!
@@NEWTechCreative Thank you. It's simpler than I thought.
ah the good ole ULN2003, those were my first "stepper motor drivers" contolling unipolar motors (5 wire) lol they are super slow and easy to stall out but that's not their purpose, those bad boys are Darlington drivers. they are almost the perfect driver IC each of the inputs is protected from the output via a zener diode to deal with teh nasty back emp from the motors, i was looking at logic level shifters but those are doable as well so ill use those lol
Nice work!! Great clarity in your comment. Thanks for your support 😁
Great video and explaination of wiring etc, but i cant seem to find a topic on how to wire a hot bed or extruder to an esp32. ive found it in the tinybee.yaml using the flood and mist pin, but i wanted to go for a 12v machine and a bit clueless on this step if you could assist please? thanks
Thanks for your message! Is this for a 3D printer? Fluidnc is made for CNC… unfortunately you wont be able to take advantage of 3D printer features.
If your looking into how to convert a 3v3 to turn on a larger current, this is possible using either a mosfet or relay. Maybe look into fluid for 3D printing.
@NEWTechCreative excellent thanks, yes it was for a 3d printer. I have a scara I'm building and thought it was a great platform in a tiny package, not realising it's CNC. Thanks for replying
I wonder if you could help me with my dilemma?
I built a CNC Plasma table and control it with an MKS DLC32 V2.1 board (with built in Wi-Fi) and Open Builds Control (which I really like). OB will run the g-code file just fine as long as the plasma machine (pilot arc) isn't turned on. Once the plasma cutter fires the CNC machine freaks out and ends up either stopping with the torch still firing, or it takes off in some random direction - and OB responds with a lost port error and I need to reconnect.
Obviously this is an EMI issue. I've tried numerous shielding, grounding, and isolation methods with no luck. However, if I load the g-code file onto an SD card, insert it in the control board's card slot, and run the g-code on the card from the "MK Laser" app on my phone, I can get a successful cut - but this also has drawbacks as the MK Laser app doesn't have z-axis control (I hear it used to) and the Z-axis height changes once the g-code starts to run. Messing with the MK Laser app to get it working this way is just a huge PIA and I would prefer to have the code being executed from inside OB.
What I would like to try is controlling the MKS DLC32 board via Wi-Fi through the Open Builds Control software, but OB doesn't find the board when I scan networks. I've read in the forums that OB uses "telnet?" and would need GrblHal to be installed on the MKS board. I've also read FluidNC might work. But this is where things start to get over my head. Nevertheless, I'm convinced I could flash my board with either GrblHal or FluidNC (maybe even old ESP?) but I would need to get some very simplistic instructions on what steps I need to take to accomplish this. I realize a better card with ethernet or parallel connectivity would be a smart alternative, but I'd really like to see if I could get this card to pull it off.
If you could assist me without boggling my mind with too much tech jargon (since I'm over 60 and this stuff will surely not attach to my brain neurons without many reiterations of the same info) I would very much appreciate it.
For me simple is like this: go to ___ and find ___ and open it and then navigate to ___ and place it in ___ by dragging to ___ and then... After you do that then go to ___ and download ___ and then open the folder named ___ and then... etc. Thanks!
Robert H. (a struggling newbie in the world of files and configurations and other seemingly complex operations)
Thanks for your comment Robert. This sounds like an issue I would love to help you solve, however this is not the right platform to assist. Discord would be the best place to help you with this: discord.gg/C64SwECE
Otherwise email me on newtechcreative@gmail.com
Chat soon!
Thank you for the clarification and sorry for the many questions, please bear with me for a while
Can I assign one pin to the laser and one to the pwn, or do I use one pin for both?
my regards
Great question! Yes you can assign separate pins, however the reason why you would keep two on the same pin when using the 3axis board setup is to save the amount of pins used. You don’t have much to work with when just using the esp32 without shift registers to expand output pins. The other reason is that you would never use both as the same time! Hope this helps 🤩
@@NEWTechCreative thank you for your help.
I love this setup and video, and have been planning on trying this out for almost a year, and finally am about to do so, but I ran into a bit of a problem where I'm going to need to control/run x2 NEMA23 4.2amp stepper motors for the Y axis, which now I'm unsure how to do this using this type of ESP32 configuration?
I purchased 3 DM556 Drivers a few months ago, which I'm guessing I will now need a 4th for the extra Y axis stepper being added, as you probably can't run x2 NEMA23 4.2amp stepper motors off on 1 DM556 right?
And if so, would you just run 2 wires off of each of the Y Step and Y Direction coming out of the ULN2003A chip/board?
Or will this setup not really work with two Y axis steppers?
Any suggestions??
Please and thank you???
Great question. Yes you can run 2x motors off one driver, however the driver can only output max 5.6A and under power your motors (2.8A each). Best solution is to buy another driver and split step and direction from y axis from the uln2003A chip (yes only one needed per axis output). Alternatively you can purchase a dedicated esp32 CNC board that has additional outputs to control y axis separately and save additional wiring.
@@NEWTechCreative Oh awesome thanks. I was concerned that the output from the ULN2003A chip might then be underpowered as well for the Driver to work properly, kind of like before adding the ULN2003A and just running off of the 3v that the ESP32 puts out? So thought maybe I might need another ULN2003A chip added as well somehow? But you figure that shouldn't be an issue? Thanks for your feedback, I really appreciate it!
No problems. I like your thinking - very logical! The one uln2003A chip will be more than sufficient to run both Y axis drivers.
@@NEWTechCreative Perfect, thanks man!
Nice Video, Nice information. I need help I want to make this machine 3 Axis and with 4 motor “X YY Z” . I want to connect 2 motors for Y Axis. What changes need in yaml file and Wiring using EPS32.
Unfortunately the if you are just using and ESP32 board, there will not be sufficient pins for 4 independent axis’s. However you can just double up the step and direction y output from the esp32 to both motor drivers, although you won’t achieve dual y axis homing/squaring. You won’t need to change the yaml for this.
@@NEWTechCreative Thank You For replying.
But I want to ask you, it is possible to use G0, G2, G35 pin for separate Y Axis motor 1. This three pin is free
@SachinBhagat great question!! Unfortunately the gpio.0 is a boot loader pin and gpio.2 is a strapping pin… this can cause issues for the board and would stay clear. gpio.35 should be used as an input pin with a pull-up resistor. Unfortunately you will need to use a board with an i2S interface to achieve additional pins. More info here!! wiki.fluidnc.com/en/hardware/esp32_pin_reference
@@NEWTechCreative Thank You Very Much once again
Excellent Video. But I'm confused. The product description says this board is for 3D Printers. Can it be used for a CNC router ?
Yes that’s correct! The board is made for 3D printers, however works great for CNC’s as well. There are a large range of various boards available to check out 👍👍
Do you have a wiring diagram for tinybee running fluidnc ? For example there are 4 pins for connecting external drivers. Which pin is pulse, direction and enable? What is the fourth pi.?
I haven’t made a wiring diagram however the pins are labeled and will correspond with the motor driver inputs. The last pin is the enable pin to enable or disable the driver. Let me know how you go? If you need more info, send me an email at newtechcreative@gmail.com or discord (newtech).
I noticed that your stepper driver wiring on the Tiny Bee doesn't (seem to) require the boost converters that you used to step up the 3.3V ESP32 output to 5V for the stepper drivers earlier in the video. Am I to gather that the output voltage for external stepper drivers coming from the Tiny Bee is 5V?
Great question! Yes that is correct, the tinybee has its own converters to 5v for each output!
Thanks for video! Which frequency output can generate ESD32 for 3 axis movement? I have old Yaskawa servo drives, step/dir input with 8192 pulses per round. Would like to have 8-10m/min on G0 and may be G1 (ballscrews 5mm). Is it possible?
Yes this shouldn’t be an issue!! I’m not familiar with these motor drivers, however you just need to set your steps per mm, max rate and acceleration to suit your drivers. Maybe ask the community over in the discord for more info!!
I seen some video where a TFT screen works but the poster gives no info. Does anybody know how it's done
There has been no official release for this support, however people have been tinkering in the code to have some ability to work. If they haven’t shared the code, it probably because it was not stable. For info about implementing this type of code or reasons for no support check this out: wiki.fluidnc.com/en/hardware/pendants_displays
It's really a big shame that most of your Tiny URL Links don't work anymore. Your video is excellent. Would you please be able to update your links? If possible, to Amazon? :)
Thanks for letting me know!! AliExpress keeps changing their urls 😩 I’ll update through the week 👍👍
@@NEWTechCreative yes please update the link sir, we need them
I’ve now updated! Thank you
@@NEWTechCreative YOU ARE AMAZING !! How can we support you?
Yeah, i found the video...great explanation... :)
One more thing...are you still using TMC2160 drivers?
How are you satisfied? :)
Also, does Tinybee has EMI protection for limitswitches? Like optocouplers or something similar? :)
I will be installing the TMC2160 drivers on my new machine and will give a good stress test soon. I have started a new series and will release the electronics episode in the next few weeks. Yes the tinybee has isolation from the input pins that handle EMI well. I am moving to the root CNC board that has high quality isolation in the next build.
@@NEWTechCreative Great. :)
Would you do a video on how to use fluid nc to mill something? In particular from file to part?
I've been collecting parts to build a fluid NC machine but once its built and dialed in with the yaml, I'd have no clue how to make a vision a reality without manually moving the machine to make the part. Thanks
Great Idea! I'll try and fit one in over the next few weeks :)
Thank you very much, ive tried looking but there arent any, only videos on how to setup & how great the system is. Again, thank you very much and look forward to watching :-)@@NEWTechCreative
I couldn't understand how the relay configuration is done in fluidnc. The wiki page has little information about this. I'm using a relay module, but as soon as I turn on the esp32 the relay activates (I'm just using the board and 3 drv8825). If I click to turn on the spindle, the module's LED becomes weaker, but it doesn't deactivate the relay. Where am I going wrong?
Thanks for your comment. There might be a few issues and hard to provide exact solution without seeing setup and config used. The relay should be a straight forward setup as all it needs is a signal and ground pins then just activated when high or low. I would check that your output voltage from the board is the correct voltage for the relay. I would also check if the pin your using needs a high or low state. Feel free to send me more info to newtechcreative@gmail.com 👍👍
@@NEWTechCreative Thank you for the excellent job. There isn't much videos about fluidnc on yt. I'll check the voltage of the pin today. I think the question is that the relay module is positive and negative triggered. Will check the status of the pin on and off with the multimeter. Tks so much for answer me and for the excellent channel. Nice weekend!!
No problems and thanks for your kind words! If it is the initial state that is turning in your relay, you can set the pin to high or low in the yaml eg: gpio.35:low or gpio.35:high - this will set the default state of the pin!! Have a play. Good luck 👍
@@NEWTechCreative Just to conclude and Maine help others.. My 3,3/5v regulator was the problem. 3,3 ok but I have almost 9v in the 5v outputs. Cause it the relay module was going crazy. Tks again man and When I finish here I'll send you a video showing all crazy stuff we make here. God bless u!
Oh sorry to hear about the voltage inconsistencies! Strange behavior, however glad that you were able to figure out issue. Thanks for sharing outcome. Would love to see your final result 🤩🙏
I will be very grateful if you help with installing GRBL on the MKS TINY BEE board
Thanks for your comment! I’ve responded to your other comment 🤞
Hello Myles! On the tenth attempt, I managed to install install-wifi. All further attempts to install install-fs were unsuccessful. But WIFI works. Thanks for the help. Good luck!@@NEWTechCreative
hello sir, can marco be used for ATC on the cnc router?
These are feature that will be possible in future releases!! You will have success using 3rd party software with fluidnc that can expand this functionality like cncjs or UGS!!
I feel so foolish asking this but I'm not sure were else to go. I've been designing my own CNC machine for the better part of a year and I know all my motors/drivers/probe/etc stuff that I want to use. I recently found out about FluidNC and in particular I am interested in the Tinybee board. It seems to be marketed as a 3D printer controller, but is that it's only use case?
Great question! Never feel foolish to ask. Yeas this is 100% compatible with CNC’s however there will be some unused features on the board - these can be ignored. The great thing about the board is the access to the pins needed, isolated pins and compact size. I also love the boards by root CNC…
These are better targeted towards CNC’s. Check what is available to you. For the price of a tinybee, you can always update down the track 👍😁
@@NEWTechCreative Thank you very much for the feedback!
How do you wire the spindle like in the mksdlc spindle?
Great question! I doesn’t have a direct spindle control unfortunately such as rs485 or pwm10v, however it does have the possibility to utilize the pwm 5v output to control the spindle. It depends what spindle you have and what you can hook up. The pwm 5v could be hooked up to a 5-10v pwm converter to control the spindle if that is what is needed? Otherwise if it just needs a ‘relay’ or high/low signal, and the gpio.32 seems to be the pin for either on/off or pwm 5v. More info here: wiki.fluidnc.com/en/hardware/3rd-party/MKS_DLC32
Hi have question about tinybee or just want to clear some things out. Searched all-around internet but cannot find info about tinybee logic levels for stepper drivers... but seems that You are using different drivers (with written markings on them that they support 5-24V logic input) with different capabilities on single tiny bee board. Have stepper online closed loop Nema 34 kits.. and their datasheet clearly states that it supports logic level inputs starting 5v... and here I see that You are using tiny bee without any logic level converters (stepups) which I also want to avoid... So does Tinybee support 5v logic level for stepper drivers ???
Great question!! In short - YES the tinybee coverts the logic to 5v logic from eap32. From what I can see, the esp32 goes to a HC125 chip to convert logic voltage then onto the shift registers to handle the pin extension output to each driver at 5v logic.
@@NEWTechCreative thank You very much !!! have long time standing unfinished cnc... and for longest was waiting for proper controllers and firmware to come out... did not wanted to goo back to mega2560 and marlin, also to arduino and grbl or any other half backed grbl variation... especially when 3d printing with Vorons... so klipper equivalents or nothing... so linuxCNC (rare hardware, mostly custom with not much documentation) or grblHAL... meantime had few old BTT motherboards but their support also was half backed for grblHAl... and time to time was checking for new Ideas and your videos on DIY CNC came out... So congratulation on cool cnc builds. Love them all!!! videos also fully informative !!!! And also for quick response... Will definitely be ordering 2 tinybee's now. For old project (large format printNC mockup with diy rails) and for future project (with cutting area less than 1x1m)
Not a problem! I’m glad to hear you’re finally moving forward with finishing your CNC. The only downside is that there are limited pins on the tinybee but will be sufficient for 6axis and 4 inputs (limits and touch plate) put you can use a couple of other pins from the Exp slots, however limited. If you want to take advantage of all pins and have full spindle control with rs485 you can upgrade to a dedicated fluidnc board something like the root controller or barts 6pack board. Good luck with finishing your CNC!! 🤩🤩
What is the advantage of ESP32 over the Arduino in a CNC controller?
Great question. Depends what you refer to as arduino? If you are referring to an arduino Uno or alike - these are 8bit boards and esp32 are 32bit boards (x4 faster!) with a dual core processor. The other great advantages are that they have built in wifi/bluetooth, they are cheap and common boards, tali’s have a stack on inputs and outputs in both analog and digital and can have a very low power usage. 👍👍
@@NEWTechCreative thanks. Do they require a computer to be connected for the cnc machine to run?
@@arbjfulNo, you don’t need a computer to run - if you load fluidnc or grblHAL you can use the webUI to control and send gcode via any device - even your smart phone. Essentially the esp32 stores a webpage that you use to control the CNC over Wi-Fi. You can also use grbl control software such as UGS, CNCjs, focus etc to connect and use as you would with a traditional grbl controller 👍👍
Hi man!
Can you please post the configuration for TMC2160 or the whole config.yaml. In the documentation I was able to find many configuration properties which IMO don't work if the communication between the controller and the driver is not over SPI, which is the case with the Chinese drivers.
Thanks for your comment. I have updated a download link in the video description for everyone. Let me know if you have any issues! Thank you
@NEWTechCreative Thank you! I must wait the drivers to arrive in order to try it. I will post updates as soon as possible.
Thank you
Where to put emergency stop button in tiny bee?
You can use any spare input pin! Depending what you have used already, you also have the exp1&2 ports to access some pins. Just check with what you have used already and refer to the tinybee pin out reference to check available pins. 👍👍
Can i use the tinybee controller for auto squaring
Yes absolutely! You will have to find an unused pin for the second y axis. The MT_DET pin out should work fine and is gpio.35. In the example tinybee yaml on fluidnc wiki, pin 35 is used of the reset button input that you can use as and replace with no_pin.
Ok , thanks alot
Hello. I want to get information about something. I'm having communication problems with the Mach3 so I'm going to replace the board. Can we do CNC embossing with Tinybee card? relief gcode files require high memory. Even a simple run contains 30-50mb gcode.
Absolutely! I do relief carving without an issue 🤩🤩
@@NEWTechCreative There is no internal memory on the card. So, are the files we send via wifi stored on the SD card?
Most esp32 CNC boards have an Sd card module, otherwise you can connect an Sd module to the esp32 board. Once module is setup you can store files onto Sd card. What board are you using? You can also use direct from pc with usb if you want to use like mach3.
@@NEWTechCreative I don't have a card yet. I'm considering purchasing Tinybee. or I will buy one of the basic card. Is there any problem installing SD card on Tinybee card? Can we install an SD card by purchasing any card? İm using mach3 right now and i Want to give up it.
The tinybee comes with the Sd card module ready to go… very easy setup. You will need to use a micro Sd card that has 8gig or less as the larger Sd cards don’t play well with these boards. I purchased a stack of 4gig cards online cheap that work fine.
Hey, I hope you can help me out a bit, I have the Makerbase Servo57D Drivers on my nema 23s, wired to the tiny bee via the stepstick adapter, and they work as a normal stepper system fine, but im hoping to utilize the closed loop feature of the 57D's. Do you know how to get this working?
Great question! In fact I had purchased several of these a while back, however never tested. You can ignore the rs485 connections however unfortunately the output signal needed from the controller is ‘common anode’ signal which is essentially is reversed to what the tinybee provides. Instead of the step, dir & ena as positive inputs they need to be a negative/ground inputs if that makes sense? The com input is the 3v/5v from tinybee. I don’t believe the signals can be reversed on the tinybee, however there is a way. In my CNC wiring video I show how you can use a ULN2003 chip to reverse (or boost) the signal. There are better chips available, however these work just fine. If you need more info, let me know?
In addition, it seems that there is a limit switch input and output from the driver to the controller as well on other side of board that might be needed to be wired in!
yes that makes sense, I found a video on makerbase channel, that shows how they can be controlled via arduino over uart, but i am super unfamiliar with uart and controlling things over it. i might dabble in figuring something out. if you have any tips let me know.@@NEWTechCreative
Make a Video On XYZ Touch Prob Working……
There is a great video already made my CNC-ing on this topic! Check it out ua-cam.com/video/Ua-yv6jguFQ/v-deo.htmlsi=QtuafqKtfhh2Mvdp
I make all This wiring as per your instruction, but motor not move in jog mode, only motor body heat
Thanks for your comment! Can you send me your yaml setup and some photos/videos regarding this to newtechcreative@gmail.com or to my discord or Instagram account to assist you?
@@NEWTechCreative yes
@NEWTechCreative did you make a video for the RS485 module via expansion header? At 36:00 of this video you mentioned it would be a future video. I'm considering this tinybee for CNC-ing my Bridgeport. If the video does not exist can I help you some how to get the video made?
Thanks for your comment! Unfortunately I didn’t get around to it sorry. I ended upgrading to a root controller that already had rs485 inbuilt. I just purchased a few rs485 modules to have a tinker with and see if I can get up and running but have to wait till they arrive. There have been some progress from some users with this - see at the bottom of this page:
wiki.fluidnc.com/en/hardware/3rd-party/MKS_TinyBee
@@NEWTechCreative Root controller looks very good!
verygood😍😍
and did you have yyxza yaml file for tinybee cnc router
There is a sample yaml file for the tinybee on the fluidnc GitHub and wiki. wiki.fluidnc.com/en/hardware/3rd-party/MKS_TinyBee
De description on the error on one of the stepper motores is not correct, on the input on one af the stepper driver, you just need a small res to the inputs. Its a opto input and in goes from arount 2.7 to 5volt.
Thanks for your comment! I’m not sure what you mean here. The output of the esp32 is 3v and 5v is required to drive some drivers hence the use of the Darlington transistor to convert the signal voltage. I use optocouplers with the limit switches if that is what you are referring to? My wiring diagram is not correct and from the uln2003 and have the wrong wires connected (not sure how I made this error).
i think you forget to connect pin9 of uln2003 to 5V. ? am i wrong ?
Must be ground to complete the circuit for inputs 👍
I would be very grateful and infinitely happy if you help me install Grbl Cnc on the board, MKS TINY BEE
Thanks for your comment! Are you referring to a stock standard grbl or fluidnc?
GRBL_ESP32 CNC @@NEWTechCreative
Please schematic wiring optocoupler module for limit switch
I have a wiring diagram in the video! Feel free to check out!!
@@NEWTechCreative thanks, I just realized after watching it again
Hi, i have tested all about fluidnc over esp32, but when i try to
connect the sd card adapter and the sd, it give me this error,
could you pls, help me about it?
This is the error [MSG:ERR: sdmmc_card_init failed code 0x0x107]
i am using the 3.7.0 fluidnc version
Thanks for your comment! There are a few issue why this could be so. I would suggest jumping over to the fluidnc discord or happy to help via my discord. I need to see you ymal setup and wiring to give you direction. Alternatively send me an email at newtechcreative@gmail.com
I had such a problem. Change the frequency of the SD card frequency_hz. I got it with frequency_hz: 10000
sdcard:
cs_pin: gpio.5
card_detect_pin: NO_PIN
frequency_hz: 10000
@@Кувичинский hi, thanks a lot for your answer could you pls tell me where can i change that parameter
@@cncrobotic5254 In the same place where the parameters of the machine are indicated
in config file .yaml
hi how can i upload YMAL file to Tinybee controller?
Feel free to check out my fluidnc video or ready the fluidnc wiki
Links don’t work anymore…
thanks for letting me know. Ill update soon!
please wiring dan setting firmware for cnc router 3 axis
Thanks for your comment! Are you asking how to wire fluidnc for a 3axis machine? If so, I will depend on your chosen board and components. Happy to help
hi can you send me grble Pinout for the ESP32 thanks
A quick google image search should lead you to the grbl esp32 pinout!