User Tools

Site Tools

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
gen7_board-arm_2.0 [2016/05/13 00:32] – [Measure Full Voltages] Note that the MCU shouldn't be inserted at that time. Traumfluggen7_board-arm_2.0 [2023/10/30 23:53] (current) – external edit (unknown user)
Line 1: Line 1:
-======Gen7 Board-ARM v2.0======+====== Gen7 Board-ARM v2.0 ======
  
 {{ :gen7:gen7_board-arm_2.0_front.jpeg?direct&300|Generation 7 Electronics version 2.0 in all its glory!}} {{ :gen7:gen7_board-arm_2.0_front.jpeg?direct&300|Generation 7 Electronics version 2.0 in all its glory!}}
Line 10: Line 10:
 Status: shipping. Status: shipping.
  
-====== Features =====+===== Features =====
  
 {{ :gen7:gen7_2.0_features.jpeg?direct&800 |All the features of a Gen7-ARM v2.0 and where they're located.}} {{ :gen7:gen7_2.0_features.jpeg?direct&800 |All the features of a Gen7-ARM v2.0 and where they're located.}}
Line 25: Line 25:
   * Board size 110\_x 90\_mm.   * Board size 110\_x 90\_mm.
  
-====== How to Get It ======+===== How to Get It =====
  
 {{ :Gen7:Gen7 2.0 Layout.png?300|Preview of the layout, seen from the component side.}} {{ :Gen7:Gen7 2.0 Layout.png?300|Preview of the layout, seen from the component side.}}
 {{ :Gen7:Gen7 2.0 PCB.jpeg?300|An isolation milled Gen7-ARM PCB.}} {{ :Gen7:Gen7 2.0 PCB.jpeg?300|An isolation milled Gen7-ARM PCB.}}
  
-===== Buying =====+==== Buying ====
  
 PCBs, Components and Connector kits are currently sold on the [[start|front page]] of this wiki. PCBs, Components and Connector kits are currently sold on the [[start|front page]] of this wiki.
  
-===== Making a PCB yourself =====+==== Making a PCB yourself ====
  
 As Gen7 is designed to be manufactured on a RepRap, you can make PCBs yourself instead of [[start|buying]]. How to do this on a RepRap or a general milling machine is described at [[PCB Manufacturing]]. Gerbers, PDFs and such are in [[https://github.com/Traumflug/Generation_7_Electronics/tree/Gen7Board-ARM-2.0/release%20documents|Gen7's Github repository]]. As Gen7 is designed to be manufactured on a RepRap, you can make PCBs yourself instead of [[start|buying]]. How to do this on a RepRap or a general milling machine is described at [[PCB Manufacturing]]. Gerbers, PDFs and such are in [[https://github.com/Traumflug/Generation_7_Electronics/tree/Gen7Board-ARM-2.0/release%20documents|Gen7's Github repository]].
Line 40: Line 40:
 Yet another way is to purchase from one of the many houses specialized in manufacturing prototype PCBs. Gen7 is single sided, so this won't cost a fortune. If you want to sell excess copies, ask [[mah@jump-ing.de|Traumflug]] for a commercial license. Yet another way is to purchase from one of the many houses specialized in manufacturing prototype PCBs. Gen7 is single sided, so this won't cost a fortune. If you want to sell excess copies, ask [[mah@jump-ing.de|Traumflug]] for a commercial license.
  
-===== Components =====+==== Components ====
  
 If you want to assemble the collection yourself, see the [[#Parts Lists|Parts Lists]] section. If you want to assemble the collection yourself, see the [[#Parts Lists|Parts Lists]] section.
  
-====== Parts Lists ======+===== Parts Lists =====
  
 To assemble or verify these lists, open the layout with gEDA/PCB and export a "BOM". This will give you a list of all required components. To assemble or verify these lists, open the layout with gEDA/PCB and export a "BOM". This will give you a list of all required components.
Line 55: Line 55:
   * Most Pololus require heatsinks, so make sure you get them with the Pololus or get separate ones.   * Most Pololus require heatsinks, so make sure you get them with the Pololus or get separate ones.
  
-===== Electronic Components =====+==== Electronic Components ====
  
 This list is ordered to match the order of assembly. This list is ordered to match the order of assembly.
Line 88: Line 88:
 |MOSFET IRLB\_8743        2|Q1 Q2          | |MOSFET IRLB\_8743        2|Q1 Q2          |
  
-===== Connectors =====+==== Connectors ====
  
 This list is ordered to match the order of assembly. This list is ordered to match the order of assembly.
  
 ^Name                             ^Count ^Designations ^ ^Name                             ^Count ^Designations ^
-|Molex KK256 2 Pin Header             6|Z_MIN Y_MIN X_MIN<html><br /></html>TEMP_EXT TEMP_BED EXT_RESET |+|Molex KK254 2 Pin Header             6|Z_MIN Y_MIN X_MIN TEMP_EXT TEMP_BED EXT_RESET |
 |Cable Connector for the above    |     6| |Cable Connector for the above    |     6|
 |Crimp Contact for the above      |    12| |Crimp Contact for the above      |    12|
-|Molex KK256 4 Pin Header             4|X_MOT Y_MOT Z_MOT E_MOT |+|Molex KK254 4 Pin Header             4|X_MOT Y_MOT Z_MOT E_MOT |
 |Cable Connector for the above    |     4| |Cable Connector for the above    |     4|
 |Crimp Contact for the above      |    16| |Crimp Contact for the above      |    16|
-|Molex KK256 6 Pin Header             6|SPI1 SPI2 |+|Molex KK254 6 Pin Header             6|SPI1 SPI2 |
 |USB-B Connector                  |     1|CONN4 | |USB-B Connector                  |     1|CONN4 |
 |Header Molex 26-48-1045 (2\_Pin) |     1|HEATER_EXT | |Header Molex 26-48-1045 (2\_Pin) |     1|HEATER_EXT |
Line 109: Line 109:
 |ATX24 Header                         1|CONN1 | |ATX24 Header                         1|CONN1 |
  
-===== Miscellaneous =====+==== Miscellaneous ====
  
 To connect your Gen7 with a PC, you need a generic USB device cable. To connect your Gen7 with a PC, you need a generic USB device cable.
Line 121: Line 121:
 |[[http://reprap.org/wiki/StepStick|StepStick]] | Open Source! | |[[http://reprap.org/wiki/StepStick|StepStick]] | Open Source! |
 |[[https://www.pololu.com/product/2133|Pololu DRV8825 Stepper Motor Driver Carrier, High Current]] | | |[[https://www.pololu.com/product/2133|Pololu DRV8825 Stepper Motor Driver Carrier, High Current]] | |
-|[[http://www.watterott.com/de/SilentStepStick-with-Pins|Watterott SilentStepStick]] |Trinamic TMC2100 based. |+|[[http://www.watterott.com/de/SilentStepStick-with-Pins|Watterott SilentStepStick]] |Trinamic TMC2100 based, Open Source. |
  
  
-====== Assembly ======+===== Assembly =====
  
 As this is done only once in a Gen7's lifetime and comes with lots of pictures, assembly instructions have been moved over to the [[Gen7 Board-ARM 2.0 Assembly]] page. As this is done only once in a Gen7's lifetime and comes with lots of pictures, assembly instructions have been moved over to the [[Gen7 Board-ARM 2.0 Assembly]] page.
  
  
- +===== Commissioning =====
-======Commissioning======+
  
 Soldering completed? Fine. All obvious flaws, if any, fixed? Excellent. Soldering completed? Fine. All obvious flaws, if any, fixed? Excellent.
  
-=====Voltage Measurements=====+==== Voltage Measurements ====
  
 I'ts good manufacturing practice to do some measurements on the board before inserting the central chip, the MCU. Not only because the MCU is the most expensive part on the board, also because this parts connects many other parts together, so a fault in one section harms then other sections, too. I'ts good manufacturing practice to do some measurements on the board before inserting the central chip, the MCU. Not only because the MCU is the most expensive part on the board, also because this parts connects many other parts together, so a fault in one section harms then other sections, too.
Line 140: Line 139:
 For all these measurements a cheapo voltage meter is entirely sufficient. For all these measurements a cheapo voltage meter is entirely sufficient.
  
-====Measure Standby Voltages====+=== Measure Standby Voltages ===
  
   * Plug the ATX24 connector of your ATX power supply (PSU) into the board. PSUs with only 20 pins on this connector work, too.   * Plug the ATX24 connector of your ATX power supply (PSU) into the board. PSUs with only 20 pins on this connector work, too.
Line 156: Line 155:
 With these steps done you can be reasonably sure to not burn your LPC1114 when inserting. With these steps done you can be reasonably sure to not burn your LPC1114 when inserting.
  
-====Measure Full Voltages====+=== Measure Full Voltages ===
  
 Next step is to measure voltages with the power supply turned on. Next step is to measure voltages with the power supply turned on.
Line 174: Line 173:
 Having this done you can remove the paperclip from the ATX24 connector. The controller will turn on and off the PSU on it's own before too long. Having this done you can remove the paperclip from the ATX24 connector. The controller will turn on and off the PSU on it's own before too long.
  
-=====Verifying USB and Serial=====+==== Verifying USB and Serial ====
  
 That's right, the USB adapter can be tested before inserting the LPC1114. That's right, the USB adapter can be tested before inserting the LPC1114.
  
-==== USB Adapter Checks ====+=== USB Adapter Checks ===
  
   * Connect the power supply, the yellow LED should light up.   * Connect the power supply, the yellow LED should light up.
Line 187: Line 186:
 That's it already, if the device appears, it works. That's it already, if the device appears, it works.
  
-==== USB and Serial Troubleshooting ====+=== USB and Serial Troubleshooting ===
  
   * [[gen7_troubleshooting#serial_loopback_test|Serial Loopback Test]]   * [[gen7_troubleshooting#serial_loopback_test|Serial Loopback Test]]
-=====Inserting the LPC1114=====+ 
 +==== Inserting the LPC1114 ====
  
 Finally the central part, the LPC1114 can be inserted into its socket. These chips have a groove at one end. This groove should point to the ATX24 connector. Finally the central part, the LPC1114 can be inserted into its socket. These chips have a groove at one end. This groove should point to the ATX24 connector.
Line 199: Line 199:
  
  
-======Firmware======+===== Firmware =====
  
 Gen7-ARM runs [[Teacup Firmware]]. Not yet fully integrated into Configtool, yet, so configuring and uploading a firmware takes several steps. Gen7-ARM runs [[Teacup Firmware]]. Not yet fully integrated into Configtool, yet, so configuring and uploading a firmware takes several steps.
  
-===== Prerequisites =====+==== Prerequisites ====
  
 You need a compiler, of course. While it's likely possible to get away with Arduino IDE somehow, please prefer [[Compiler for ARM#GNU ARM Embedded Toolchain|GNU ARM Embedded Toolchain]], which is provided by ARM employees. You need a compiler, of course. While it's likely possible to get away with Arduino IDE somehow, please prefer [[Compiler for ARM#GNU ARM Embedded Toolchain|GNU ARM Embedded Toolchain]], which is provided by ARM employees.
  
 Having this toolchain available you're ready to go. Having this toolchain available you're ready to go.
-=====Configuring Firmware=====+ 
 +==== Configuring Firmware ====
  
 For this part we can use the convenient Configtool. For this part we can use the convenient Configtool.
Line 220: Line 221:
 In the unlikely case you have to adjust something on the board, e.g. the pinout, you have to do this with a text editor directly in //board.gen7-arm.h//, after saving //config.h// like shown above. In the unlikely case you have to adjust something on the board, e.g. the pinout, you have to do this with a text editor directly in //board.gen7-arm.h//, after saving //config.h// like shown above.
  
-=====Compiling Firmware====+==== Compiling Firmware ===
  
 //Makefile-ARM// is a prepared makefile, but needs some adjustments to your local environment. First, make a copy and name it //Makefile//. //Makefile-ARM// is a prepared makefile, but needs some adjustments to your local environment. First, make a copy and name it //Makefile//.
Line 232: Line 233:
 It should build flawlessly, taking only a few seconds. It should build flawlessly, taking only a few seconds.
  
-=====Uploading Firmware=====+==== Uploading Firmware ====
  
 The LPC1114 comes with a bootloader already installed, so unlike with AVRs, no bootloader upload neccessary. If you didn't already, find and install a tool named //[[https://github.com/Zuph/lpc21isp|lpc21isp]]//. The version coming with Debian/Ubuntu's packaging system works just fine. The LPC1114 comes with a bootloader already installed, so unlike with AVRs, no bootloader upload neccessary. If you didn't already, find and install a tool named //[[https://github.com/Zuph/lpc21isp|lpc21isp]]//. The version coming with Debian/Ubuntu's packaging system works just fine.
Line 248: Line 249:
 For details on uploading firmware in general see [[LPC1114 Bootloader]]. Technical detail: setting the programming jumper pulls PIO0_1 low; PIO0_1 is also used for the Step signal of the Z axis. For details on uploading firmware in general see [[LPC1114 Bootloader]]. Technical detail: setting the programming jumper pulls PIO0_1 low; PIO0_1 is also used for the Step signal of the Z axis.
  
-======TODO======+===== TODO =====
  
 Board-ARM v2.0 is the latest development, so let's collect here experience and possible enhancements for the next version. Board-ARM v2.0 is the latest development, so let's collect here experience and possible enhancements for the next version.
  
-===Make auto-reset work===+=== Make auto-reset work ===
  
 For an idea using the serial control lines see http://www.mikrocontroller.net/topic/281717#2977141. Not sure wether this can really work for programming, though and for printing it's sometimes even counterproductive (like when continueing an aborted print). For an idea using the serial control lines see http://www.mikrocontroller.net/topic/281717#2977141. Not sure wether this can really work for programming, though and for printing it's sometimes even counterproductive (like when continueing an aborted print).
  
  
-====== History ======+===== History =====
  
 ==== December 2012 ==== ==== December 2012 ====
Line 267: Line 268:
 ==== February 2013 ==== ==== February 2013 ====
  
-{{ youtube>C57Tim6LcPA|Bobc's proof of concept video}}+{{ youtube>C57Tim6LcPA?300x225&rel=0|Bobc's proof of concept video}}
  
 RepRap user Bobc was the first to run a printer with a Gen7-ARM. RepRap user Bobc was the first to run a printer with a Gen7-ARM.
Line 273: Line 274:
 See also his [[http://forums.reprap.org/read.php?181,63487,184195#msg-184195|RepRap forum post]]. To get a working firmware he ported Teacup Firmware to [[http://www.chibios.org|ChibiOS]]. Later investigations showed that this choice didn't exactly result in the best possible performance, but this didn't matter at that time. See also his [[http://forums.reprap.org/read.php?181,63487,184195#msg-184195|RepRap forum post]]. To get a working firmware he ported Teacup Firmware to [[http://www.chibios.org|ChibiOS]]. Later investigations showed that this choice didn't exactly result in the best possible performance, but this didn't matter at that time.
  
-==== Mid 2015 ======+==== Mid 2015 ====
  
 {{ :gen7:gen7_board-arm_2.0_beta_front.jpeg?direct&300|The second prototype with all the planned v2.0 features on board.}} {{ :gen7:gen7_board-arm_2.0_beta_front.jpeg?direct&300|The second prototype with all the planned v2.0 features on board.}}
gen7_board-arm_2.0.1463092363.txt.gz · Last modified: 2018/05/27 16:10 (external edit)