User Tools

Site Tools


tool_access_controllers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tool_access_controllers [2019-03-03 22:26] timtool_access_controllers [2024-11-04 22:10] (current) – [Enclosure and Wiring] tim
Line 13: Line 13:
 Current: Current:
  
-  * Clarke Bandsaw 
   * Startrite Bandsaw   * Startrite Bandsaw
   * Bantam Lathe   * Bantam Lathe
   * EMCO Lathe   * EMCO Lathe
 +  * Small Laser Cutter
   * Big Laser Cutter   * Big Laser Cutter
   * Mitre Saw   * Mitre Saw
Line 22: Line 22:
   * Sander   * Sander
   * Welder   * Welder
 +  * CNC Router
 +  * Juki Sewing Machine
  
 Planned: Planned:
  
-  * Small Laser Cutter 
-  * CNC Router 
   * Bench grinder(s)   * Bench grinder(s)
   * Drill press(es)   * Drill press(es)
Line 47: Line 47:
 | D2 | ESD protection diode | 1 | Farnell 2317508 (ESD5Z3.3T1G) | | D2 | ESD protection diode | 1 | Farnell 2317508 (ESD5Z3.3T1G) |
 | Q1, Q2 | N-channel MOSFET SOT-23 | 2 | Farnell 2069541 | | Q1, Q2 | N-channel MOSFET SOT-23 | 2 | Farnell 2069541 |
-| C3 | 10uF capacitor | 1 | |+| C3 | 10uF 0805 10V+ | 1 | |
 | R1, R6, R7, R13 | 10K 0603 | 3 | | | R1, R6, R7, R13 | 10K 0603 | 3 | |
 | R3, R4 | n/a | | burden resistor, easier to fit one externally | | R3, R4 | n/a | | burden resistor, easier to fit one externally |
Line 64: Line 64:
 | 20x4 LCD module with I2C backpack | by convention we use black text on a yellow backlight, which is more readable than white on blue | | 20x4 LCD module with I2C backpack | by convention we use black text on a yellow backlight, which is more readable than white on blue |
 | [[https://www.elechouse.com/elechouse/index.php?main_page=product_info&products_id=2276|PN532 NFC module]] | Buy direct from Elechouse, clones have poor read range and a high failure rate | | [[https://www.elechouse.com/elechouse/index.php?main_page=product_info&products_id=2276|PN532 NFC module]] | Buy direct from Elechouse, clones have poor read range and a high failure rate |
-| Two push buttons | CPC SW03314 |+| Two push buttons | CPC SW03314, but others can be used |
 | Current transformer | [[https://www.ebay.co.uk/sch/DL-CT08CL5-20A|DL-CT08CL5-20A]] plus 33R burden resistor | | Current transformer | [[https://www.ebay.co.uk/sch/DL-CT08CL5-20A|DL-CT08CL5-20A]] plus 33R burden resistor |
  
Line 71: Line 71:
 | 5V 1A power supply | 240V AC-DC, 24V DC-DC from a VFD or 5V from an existing PSU | | 5V 1A power supply | 240V AC-DC, 24V DC-DC from a VFD or 5V from an existing PSU |
 | AC contactor or no-volt switch | | | AC contactor or no-volt switch | |
 +| Class X2 suppression capacitor | 0.1uF or 0.22uF, if contactor or motors cause interference |
  
 ===== Enclosure and Wiring ===== ===== Enclosure and Wiring =====
  
-All of our current tool controllers use the same design, an [[https://www.ebay.co.uk/itm/Multi-Purpose-Waterproof-DIY-Project-Box-Enclosure-Case-IP65-ABS-Blue-Clear/361537022189|IP65 ABS enclosure from RadioWorld]] on eBay.+All of our current tool controllers use the same design, an IP65 ABS enclosure from RadioWorld on eBay. This no longer available so new controllers will require a different case and a modified mounting frame.
  
 The PCB, LCD and NFC modules are mounted on a laser-cut acrylic frame using nylon screws and spacers. The front frame is cut from 3mm clear acrylic, and the supports from 2mm clear acrylic. Push buttons are panel-mounted to the front of the enclosure. The PCB, LCD and NFC modules are mounted on a laser-cut acrylic frame using nylon screws and spacers. The front frame is cut from 3mm clear acrylic, and the supports from 2mm clear acrylic. Push buttons are panel-mounted to the front of the enclosure.
Line 93: Line 94:
 More complex tools may have their own control systems (remote start/stop, VFD motor controllers, etc). In these cases we may fit our relay to the incoming contactor or to the control signals loop or to the estop/interlock loop. More complex tools may have their own control systems (remote start/stop, VFD motor controllers, etc). In these cases we may fit our relay to the incoming contactor or to the control signals loop or to the estop/interlock loop.
  
 +==== Noise suppression ====
 +
 +Some motors and contactors will create electrical noise, causing the microcontroller to crash or reset. If this happens the noise should be suppressed at source. A 0.1uF or 0.22uF class X2 capacitor (fitted across live and neutral close to the source) will often resolve the issue.
 ==== Safety Rules ==== ==== Safety Rules ====
  
Line 102: Line 106:
   - Assemble the PCB (see earlier section).   - Assemble the PCB (see earlier section).
   - Solder wires to two push buttons and twist the wires for tidiness. **WHAT LENGTH?**   - Solder wires to two push buttons and twist the wires for tidiness. **WHAT LENGTH?**
-  - Solder five jumper wires to a PN532 module and use hot glue to support the joints. The wires will be connected to VCC, SDA, SCL, GND and the reset pin. At the other end the female connectors should be removed from their plastic housing and re-inserted into a 5-way housing. **WHAT LENGTH?**+  - Solder five jumper wires to a PN532 module and use hot glue to support the joints. The wires will be connected to VCC, SDA, SCL, GND and the RSTPDN (resetpin. At the other end the female connectors should be removed from their plastic housing and re-inserted into a 5-way housing. **WHAT LENGTH?** Adjust dip switches to I2C mode.
   - Laser-cut a front-frame (3mm clear acrylic) and two support pieces (2mm clear acrylic).   - Laser-cut a front-frame (3mm clear acrylic) and two support pieces (2mm clear acrylic).
   - Place the frame inside the enclosure. Use it to mark the drill centres for the push buttons.   - Place the frame inside the enclosure. Use it to mark the drill centres for the push buttons.
Line 120: Line 124:
 ===== Software ===== ===== Software =====
  
-https://gogs.ehlab.uk/tim/ss2 +[[https://github.com/timhawes/toolman-firmware|Firmware]] Arduino C++ built with PlatformIO \\ 
- +[[https://github.com/timhawes/toolman-backend|Backend]] - Python 3 asyncio
-Two generations of firmware and backend-server are in use at the moment: +
- +
-Legacy/Stable: +
-  * uses UDP networking with a simple retry mechanism for reliability +
- +
-New: +
-  * uses TCP networking with optional TLS support+
  
 ===== Bugs and Improvements ===== ===== Bugs and Improvements =====
tool_access_controllers.1551652018.txt.gz · Last modified: 2019-03-03 22:26 by tim

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki