Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Stonemull

Pages: [1] 2 3 4
1
Trouble Shooting / Useful Troubleshooting Diagram
« on: August 16, 2017, 11:05:55 PM »
hopefully helps someone.

2
Projects / Self balancing robot
« on: July 22, 2017, 01:52:57 AM »
Always wanted to make one of these, thought I would see if steppers would do the job since I have some sitting here and a couple of new uno stepper shields.

So trying out the new tools, used openscad to make a dxf stencil .. added the code toshow you how easy openscad is to use as is totally useful for lasers too, just export as dxf

Code: [Select]
$fn = 100;  // this sets how many arc segments in a circle
pl = 4.5;   // this is the extra 4.5mm I need to make a plasma stencil
//wid = 50-pl;
nemahole = 3/2+pl;  // radius of drilled mounting hole.

//polygon ([   [0,0],[wid,0],[wid,wid],[0,wid],[0,0]]);
translate([wid/2,wid/2]) 
{
    translate ([31.0/2,31.0/2]) circle (nemahole); // hole #1
    translate ([-31.0/2,31.0/2]) circle (nemahole);
    translate ([31.0/2,-31.0/2]) circle (nemahole);
    translate ([-31.0/2,-31.0/2]) circle (nemahole);
    circle (11+pl);  // centre hole
}

opened that with estlcam, stuck some plywood in the mill and a 3mm mill. used the 'hole' function to mill out the holes in 4 passes.
Used the stencil on the plasma cutter to make 2 nema 17 mounts 180mm apart (long enough to mount some 18650's between 2 motors)
Cleaned up with a flapper disc on the angle grinder.
Folded up the steel in a vice and tack welded the corners together.

Screwed motors in ..

resurrected an old Sony bloggie camera I had not used in many years, it happily charged up amazingly, ideal for shed use and saves me dragging the ipad or Canon out there.

more to  follow..








3
General Discussion / Portable death ray
« on: July 19, 2017, 05:29:34 PM »
Made to decommision nuclear reactors.


http://youtu.be/E3YCACZQ72Q


4
Custom Size Frames / Little CNC mill
« on: July 10, 2017, 07:01:09 PM »
Arrived fast .. ordered Jul 2

https://www.aliexpress.com/item/CNC3018-ER11-GRBL-control-Diy-CNC-machine-3-Axis-pcb-Milling-machine-Wood-Router-laser-engraving/32802973337.html

Nicely packed little box, the larger oarts I thought were billet are 3D printed, pretty solid though (heavy infill) but not aluminium. Tricky using grey plastic so it looks like alloy in the photos.

The 2 main parts of the Z axis and the girder like Z braces are all plastic, also the linear bearing holders are not 3D printed but still plastic.
Can't complain given the price, it was cheaper to buy this than get the individual parts.

A little CD I assume has build instructions on it..



5
Custom Size Frames / Bigger servo stuff
« on: July 06, 2017, 10:14:51 AM »
I was chatting to a client of mine who has a small factory, he like to make his own machines, like he made an automated pipe bender a few weeks back and is now working on a pan brake that can bend in either direction. He has made 5 machines in the last year.

This is his supplier for the electronics and motors and he gave me a complete rave review of them today, the pipe bender uses 5 large servos and cost $900 AUD all up with electronics and a controller so the prices must be damn good.

Anyway, out of my league but thought somebody here may find the information useful.

http://www.szghauto.com/


6
Banggood.com / Geared encoder motor
« on: July 05, 2017, 11:23:53 AM »
One of these arrived today https://www.banggood.com/GM4632-370-DC-24V-80RPM-High-torque-Turbo-Encoder-Motor-Worm-Geared-Motor-Reducer-Motor-p-1069462.html

I bought it to experiment with driving a DC motor with an encoder feedback, also thought it might ge more suitable for my plasma cutter build. Then I might make a sliding door opener or something ..

I am yet to try the encoder but powered it up to check torque, damn, its torquey .. even running the motor at 2V you can't grip the shaft hard enough to stall it, at 24v I think you could use it as a tiny winch lol.

Top comes off easily, screws arent even tight, open it output shaft side down though, the pins are mounted on that side and you end up with all the gears and brass spacers on the floor otherwise ..

brass worm on motor to a nylon gear, then 3 alloy reductions to output. A few degrees of play on output shaft, not measured it yet but I reckon if it had a T16 pulley on it you would get 0.2mm or so of belt inaccuracy. So its going to be better at larger movements.
Nicely lubed with white lithium grease, no bearings but all the gears are sitting on decent sized steel shafts, thing shoukd last quite a while imo and the motor brushes will likely fail first.

About 40mA no load current at all voltages.


7
Aliexpress.com / Mini CNC
« on: July 02, 2017, 10:33:39 PM »
So just bit the bullet on one of these https://www.aliexpress.com/item/CNC3018-ER11-GRBL-control-Diy-CNC-machine-3-Axis-pcb-Milling-machine-Wood-Router-laser-engraving/32802973337.html

I was looking at a variety of them, they make the same machine in 1610 , 2518 and 3018 .. (16 x 10cm work area etc)  I could have grabbed the 1610 for about $70 less, tbh I am not sure why I am buying one, guess I'll think of some use. The smaller one to me seems like it would be stiffer however I figured I could chop this one down worst case or flesh it with a bunch of wood or aluminium or even 3d printed parts.

The spindle motor is going to suck at anything more than scratching wood, so figuring a mod to fit something like this would be a good idea, I will likely wait to see how the thing performs.

Possible addition .. https://www.aliexpress.com/item/New-500W-ER11-collet-52mm-diameter-DC-0-100-CNC-Carving-Milling-Air-cold-Spindle-Motor/2039042548.html

Anybody had a play with one ?

8
Other Software / Wifi connection first test ..
« on: June 30, 2017, 01:11:50 PM »
This might take me a day or two so will edit this post as I go..

Adding wifi, there are many ways to do this but this is the version I am going with. I have been using ESP8266's for a few years now so I get this is going to look confusing if you have never heard of them .. will try to make it as simple as possible.

These guys have recently brought out a 32 bit version so these have dropped in price, I am using one of these basically..

https://www.aliexpress.com/item/Free-Shipping-Lua-Nodemcu-ESP-12F-WIFI-Network-Development-Board-Module-Based-ESP8266/32740698081.html

So what follows is how I go adding wifi using one of these Node MCU ESP8266 4MB modules.

First things first .. plug module into USB (micro usb)
download one of the TGZ's at https://github.com/jeelabs/esp-link/releases I used the 3.0.14 version (last stable)

Follow instructions in flashing.md you will need a flashing tool, grab the one here .. https://espressif.com/en/support/download/other-tools
I am not sure if that is the one I am using, if so .. then in configuration set the filenames and addresses as required according to flashing.md .. the addresses autofilled for me anyway.
Change options to a 4MB flash if that is what you have, hit "flash" and wait a minute..

You can open a terminal window to the com port the ESP is using at 115k and check debug info. Mine said .. (the number is a millisecond time stamp)

Code: [Select]
111> Flash config restore *FAILED*                                           
   111> CONN led=0                                                             
   111> SER led=14                                                             
   113> Wifi init, mode=AP                                                     
   115> Wifi uses DHCP, hostname=esp-link                                       
   119> "ip": "0.0.0.0"                                                         
   121> "netmask": "0.0.0.0"                                                   
   124> "gateway": "0.0.0.0"                                                   
   126> "hostname": "<null>"                                                   
   129> sleep enable,type: 2                                                   
   132> Httpd init, conn=0x3fff3820                                             
   135> No user file system found!                                             
   138> Serbridge pins: reset=12 isp=13 swap=0                                 
   151> Reset cause: 6=external                                                 
   151> exccause=0 epc1=0x0 epc2=0x0 epc3=0x0 excvaddr=0x0 depc=0x0             
   151> Flash map 4MB:512/512, manuf 0xE0 chip 0x4016                           
   156> ** esp-link v3.0.14-g963ffbb: ready, heap=21368                         
   161> SNTP timesource set to us.pool.ntp.org with offset 0                   
   166> initializing user application                                           
   169> Waiting for work to do...                                               
   172> mode : softAP(a2:20:a6:0d:d2:1a)                                       
   176> add if1                                                                 
   178> dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)   
   186> bcn 100                                                                 
 15132> Wifi check: mode=AP status=255                                         


Then using an ipad or tablet/phone open the new wifi you will have (mine was called ESP_0DD21A) then open the browser and connect to 192.168.4.1

debug now reports

Code: [Select]
581578> add 1                                                                   
581578> aid 1                                                                   
581578> station: 1c:ab:a7:b3:cf:1c join, AID = 1                               
581579> Wifi AP: station 1c:ab:a7:b3:cf:1c joined, AID = 1                     
605137> HTTP GET /: 302, 21ms, h=18904                                         
605242> HTTP GET /home.html: 200, 31ms, h=18904                                 
605737> HTTP GET /style.css: 200, 37ms, h=14848                                 
605751> HTTP GET /ui.js: 200, 51ms, h=16544                                     
605755> HTTP GET /pure.css: 200, 56ms, h=18184                                 
605799> HTTP GET /favicon.ico: 200, 64ms, h=18904                               
606248> HTTP GET /menu: 200, 42ms, h=16728                                     
606249> HTTP GET /wifi/info: 200, 42ms, h=16920                                 
606249> HTTP GET /system/info: 200, 42ms, h=17120                               
606262> HTTP GET /pins: 200, 54ms, h=18032                                     
                           
and ipad now has an open page to configuration..

open "wifi station" page

where it says "wifi association", select the switch to "STA+AP_mode to scan" link

scan and select the wifi network you want to use ..

note the IP address it tells you up top after it has connected and rebooted.

You can now connect back to your normal wifi and browse to the IP it gave you above, mine was 192.168.1.105

You are now connected back to the device via your wifi and it has disabled its own wifi server. (now ins STA mode, station instead of STA+AP)


You will not see debugging on the terminal any longer..
Code: [Select]
903711> Scan done: found 2 APs                                                 
903711> bss1: Lounge2 (-53)                                                     
903711> bss2: no_free_lunch (-83)                                               
904437> GET scan: cgiData=0 noAps=2                                             
904446> GET scan: cgiData=1 noAps=2                                             
904450> HTTP GET /wifi/scan: 200, 18ms, h=17616                                 
904498> HTTP GET /wifi/icons.png: 200, 12ms, h=17616                           
915801> Wifi check: mode=AP+STA status=0                                       
915801> Enabling/continuing uart log                                           
924513> HTTP POST /wifi/scan: 200, 9ms, h=17584                                 
924711> Starting a scan                                                         
926835> Wifi try to connect to AP Lounge2 pw *******                     
926838> scandone                                                               
926838> Scan done: found 2 APs                                                 
926838> bss1: Lounge2 (-55)                                                     
926838> bss2: no_free_lunch (-87)                                               
926842> HTTP POST /wifi/connect: 200, 31ms, h=17592                             
927574> GET scan: cgiData=0 noAps=2                                             
927578> GET scan: cgiData=1 noAps=2                                             
927581> HTTP GET /wifi/scan: 200, 12ms, h=17616                                 
927835> Wifi changing association                                               
930101> scandone                                                               
930501> switch to channel 6                                                     
930503> state: 0 -> 2 (b0)                                                     
930505> state: 2 -> 3 (0)                                                       
930506> state: 3 -> 5 (10)                                                     
930507> add 0                                                                   
930507> aid 3                                                                   
930507>                                                                         
930507> connected with Lounge2, channel 6                                       
930635> dhcp client start...                                                   
930636> cnt                                                                     
930637> Wifi connected to ssid Lounge2, ch 6                                   
930911> HTTP GET /wifi/connstatus: 200, 8ms, h=17144                           
931724> ip:192.168.1.105,mask:255.255.255.0,gw:192.168.1.1                     
931725> Wifi got ip:192.168.1.105,mask:255.255.255.0,gw:192.168.1.1             
931727> host_name = esp-link                                                   
931729> server_name = _http._tcp.local                                         
931955> HTTP GET /wifi/connstatus: 200, 16ms, h=16808                           
947765> HTTP POST /wifi/scan: 200, 7ms, h=16792                                 
947962> Starting a scan                                                         
948812> GET scan: cgiData=0 noAps=2                                             
948815> HTTP GET /wifi/scan: 200, 8ms, h=16744                                 
950091> scandone                                                               
950092> Scan done: found 2 APs                                                 
950092> bss1: Lounge2 (-55)                                                     
950092> bss2: no_free_lunch (-87)                                               
950864> GET scan: cgiData=0 noAps=2                                             
950867> GET scan: cgiData=1 noAps=2                                             
950872> HTTP GET /wifi/scan: 200, 13ms, h=16808                                 
971106> HTTP POST /wifi/scan: 200, 9ms, h=16792                                 
971304> Starting a scan                                                         
972156> GET scan: cgiData=0 noAps=2                                             
972159> HTTP GET /wifi/scan: 200, 7ms, h=16744                                 
973279> GET scan: cgiData=0 noAps=2                                             
973433> scandone                                                               
973433> Scan done: found 2 APs                                                 
973434> bss1: Lounge2 (-53)                                                     
973434> bss2: no_free_lunch (-88)                                               
973981> HTTP GET /wifi/scan: 200, 708ms, h=16808                               
975028> GET scan: cgiData=0 noAps=2                                             
975032> GET scan: cgiData=1 noAps=2                                             
975037> HTTP GET /wifi/scan: 200, 15ms, h=16808                                 
987974> Wifi check: mode=AP+STA status=5                                       
987975> Wifi got IP. Going into STA mode..                                     
987975> station: 1c:ab:a7:b3:cf:1c leave, AID = 1                               
987978> rm 1                                                                   
987979> bcn 0                                                                   
987980> del if1                                                                 
987982> pm open,type:2 0                                                       
987984> mode : sta(a0:20:a6:0d:d2:1a)                                           
988108> Turning OFF uart log                                                   
                             

I turned off the ipad and opened the page on the PC instead  .. photo 1

I suggest setting your router to configure this device as a static IP.

for my router, I go to DHCP clients list, copy the MAC address, then address reservations, paste the MAC address and the current IP and hit "enable" and now esp-link (can change name later) will always be the same IP.

At this point I disconnected the esp from USB and wired it to the Mana SE bluetooth port.
5v (pin closest to drivers) to Vin
Gnd to gnd
Tx - Tx
Rx - RX

I know the serial looks counterintuitive but that is the way the pins are marked on the mana se, so tx is tx of the FTDI chip and Rx of the nano..

The 5v on this port comes from the onboard regulator of the mana SE so there is no power when the power switch is off and the nano is powered. More on this later .. the nano will need to be swapped to this power also.

Turned power switch on and make sure you can still connect to the esp-link board...

Then open the uC console page and type "$$" in "console entry" and send it .. you should see the grbl data echoed back.. photo 2
congrats, hardware is done, you are well on the way ..

(maybe: Note to self check nodemcu for resistive divider on both rx and tx pins, a brief glance shows a 470R to the sub chip but none to the ESP12 module, the ESP may have only a divider on the RX from memory, which is fine, the nano 5v Tx is going to the esp rx line)

next step likely not needed so spoiled for the moment..
[spoiler]
Next step, we have a functioning wifi device that can talk to the laser via serial, we need PC side software so things like T2 think they are talking to a serial port when in reality it is going out over wifi.
So for this step I am using Com0Com .. you want the signed version available here http://pete.akeo.ie/2011/07/com0com-signed-drivers.html google "com0com signed" for alternate copys.

instructions ..  http://com0com.sourceforge.net/doc/UsingCom0com.pdf

Opened com0com setup and I used virtual pair 0, click on "use ports class" for the 2 entrys if not already ticked, hit apply and you should see a driver installation message and a new com port will appear. mine is COM19 and COM20..

(note to self, not sure com0com is required yet)
[/spoiler] .. doh, no spoilers..

We need Com2Tcp .. I used this version http://www.astrogeeks.com/AstroGeeks/COM2TCP/download.html (made me nervous so used an online virus scanner and had one 1/57 false positives), I will let you know if my PC explodes (by using my ipad)

once installed it opens a little window up top left, set the com port to an unused one if not already filled in, mine is COM4, set IP to the esp link device and port to 23.

this then connected ..

opened a realterm window and opened com4 at 115k, typed $$ and got the grbl data back .. good sign.

close realterm .. open T2 and connect to the chosen comport..

odd, right click on home is not resetting the XY to 0. Y always sets to 32 or 72 ?? latency issue ?

"display grbl parameters" however is working.

loaded the TEXT_COLOURS.dxf and set laser to 200, preview frame looked ok, hit go..

etched the letters on some ply well except for one glitch .. it stopped a couple of times at the start of one letter and tried burning a hole straight through my ply for a few seconds, so I am guessing
that we are not getting the throughput grbl needs ?

but .. it is working over wifi..

tomorrow will power the nano from 5v and unplug the cable I think, though this stopping and burning issue might be a deal breaker, may try bluetooth tomorrow and see if any better..

edit: as Zax moted below, enable dynamic laser power, this will turn off the laser if buffer emptys (off or compile time minimmum ?) .. disable fast status.


-----------------------------------------------------

day 2 ..

Did some research, removed the nano and soldered the jumper underneath on my board, this connects the nano 5v regulator output with the onboard 5v supply and means the nano no longer needs USB power, not sure if all Manas have this jumper..  (photo3 .. it has been soldered)

Turned on power, open Com2TCP, hit connect, open T2, connect to com4 and off it went.

Disabled fast status, position is still reported incorrectly though,the odd thing though I can open the console in the browser and see that WCO is being correctly reported, T2 machine position is correct at all times, it just seems to have a problem reading the WCO parameter. In fact X pos stays at 0 and Y pos which is displayed is the machine position.



from console ..

<Idle|MPos:105.000,-45.000,0.000|Bf:15,128|FS:0,0>
<Idle|MPos:105.000,-45.000,0.000|Bf:15,128|FS:0,0|WCO:100.000,-50.000,0.000>
<Idle|MPos:105.000,-45.000,0.000|Bf:15,128|FS:0,0|Ov:100,100,100>
<Idle|MPos:105.000,-45.000,0.000|Bf:15,128|FS:0,0>


T2 is reporting ..
 machine pos 105.0 and -45.0
work pos 0.0 and -45.0 (should be 5,5 from above values  I think)

no big deal, setting the work pos works, just the reported work value is incorrect.

Anyway, all good, I could now put the laser in another room of the house if I so desired, which I dont right this minute.. this was more an experiment for the plasma cutter in future since moving my PC to the shed is not an option and neither is moving my plasma cutter into the house..






9
General Discussion / JST XH current
« on: June 30, 2017, 09:02:08 AM »
I was considering my options for extending my laser cable length and wondering what gauge wire to use, got me thinking.. JST XH connectors are rated at 1A per termlnal, I am not sure how much current the 2.5W laser draws but it must be close to that if not more, the 5.5W laser must surely be exceeding the design current.

I guess if it was a major issue it would end up melting and not seeing evidence of that, wondering how much voltage drop we are getting across the cable and connectors though ? I know my fan slows down when the laser comes on..

10
STL / Nema 17 to 10mm cable chain
« on: June 29, 2017, 08:36:52 PM »
Cable chain adapter for our lasers (or any nema 17 I guess)

Knocked this up last night, works great.

https://www.thingiverse.com/thing:2411551

11
STL / Mana SE case
« on: June 28, 2017, 10:32:13 PM »
Started building a new case for my Mana SE, will be integrating some cable management into it as well for the start of standard cable chain.
one corner of the bottom perspex on mine has been shattered since day 1 so first part is the base, this has an extended shelf under the cable ports that I can support cable exit mounts with.

Let me know if you want a slightly different one and I will see what I can do.

https://www.thingiverse.com/thing:2409044

12
T2 Engraving / Serial latch up
« on: June 25, 2017, 07:31:51 AM »
I know this is not likely to happen to many people but if you have 'autoconnect' enabled and accidentely connect to a non responsice serial port then T2 will totally stop responding requiring a task manager kill to close it, not much help though cause there is no way to turn off autoconnect without hitting 'control laser' first, so the same happens every time. The only solution currently being to get the serial port selected functioning, there will be occasions where this is not possible.
It would be useful to have a method of turning off autoconnect before you hit control laser in case of emergencys.
I have had this happen with virtual serial ports, serial ports that have had a USB issue and stopped responding and also bluetooth serial with no bluetooth device attached.
A method of recovery would be nice.

13
3D Printer Software / Cura 2.6
« on: June 21, 2017, 10:49:32 AM »
Cura 2.6 was released officially yesterday. Still downloading, (the servers must be being hammered, it reckons 2 hours to download 100Meg, 1 hours left for 50MB) but since I built a foundry yesterday and melted my first aluminium not 4 hours ago, excited  to hear it has a mould making extension for making castings

:) :) :)   <-- thats how happy I am



14
Custom Size Frames / Delta style 2D
« on: June 21, 2017, 10:38:34 AM »
This is for my plasma cutter but you could always hang a laser on it, I cannot find out much info on this style machine so I am not even sure what it is called and thus, whether there is any software available for them.
One thing it will obviously need is a bunch of preprocessing whether within the machine itself or a gcode converter or a program to read the data and directly send it to the "printer" is the question.
I am leaning towards the latter and that is why I decided to learn some WFP finally, so I have a start on it.

My 5 pack of motors arrived this morning, very nice, $55 dollarydoos for 5 with nearly 1 metre cables, they have the 6 pin JST-PH like on the eleksmaker motors. Running a ramps 1.4 board with just the 2 motors plugged in and a Mega version of Grbl 1.1e, will likely update to Marlin later.

So this is just a test rig for the time being, Plasma cutter template worked adequately to cut out the 2 steel motor mounts, I fricking love my plasma cutter. Then I cutout a section of the back board to clear the motors, drilled 2mm holes and ran a 3mm drill/tap through, so the steel is just bolted poorly to the MDF but good enough for this testing.
I made up a little guide for the motor holes which allows the belt to not fall off, one of my pulleys is a bit average and the hole is not centred, so it rotates a little eccentric, again, good enough for some testing but I had to leave a bit more belt clearance than I wanted to. The motors are currently running very low current, this was using T2 telling it to move 50mm in various directions. The diagonal keys move it left/right or up/down and the up/down/left/right keys move it in sort of various arc depending on length.
Currently printing a pen holder that will pinch the belt much like the little clamp and also take some big washers I have for a counterweight, also a pen can fit through the middle and is lock screwed into place. (war movie on in the back ground if you wonder what the chattering noise is lol)

So first test .. https://youtu.be/UTFAKHWjx-Y












15
T2 Engraving / DXF too...
« on: June 21, 2017, 02:48:53 AM »
Made a stencil and importing to T2 I am missing some holes.
Imported the same stencil into inkscape and they are visible.

I did make this with the use of 2 mirror lines, so I am thinking that might be the issue.
I tried clicking every option I could see and no amount of coaxing will get it to show all 4 holes.

OK, I went back, deleted the mirror lines and redrew circles over the missing ones, these showed up on T2.
I have attached the fumctional dxf as nema_2.dxf in case it helps you with any sort of debugging.


Pages: [1] 2 3 4