Jump to content
Sign in to follow this  
noctis

Arduino Mega G-Code FWD

Recommended Posts

Posted · Arduino Mega G-Code FWD

Hello Community

I'm trying to connect an second arduino with the Mega from the Ultimaker electronics. My plan was to connect the second to an free RX/TX port on the Mega to add an custom G-Code for changing the color. (e.g G66 255, 255, 255)

I don't know if the electronics uses the PWM outputs from the Mega. If so, I need an extra board. If not - direct attach the Dioder Lights to the Mega with a Darlington Array and an extra power supply. (from here: http://ikennd.ac/blog/2011/09/arduino-dioder-part-one/)

An example would be to change the Color every line or to change the light when finished printing with start end G-Code)

Can somebody help me with the programming in Marlin and tell me wich pins are reserved/used?

Greets, Noc

 

Share this post


Link to post
Share on other sites
Posted · Arduino Mega G-Code FWD

Lots of pins are used, but even more are free. But what's even easier to use for this, is the 2nd heater output. This heater output is PWM enabled, can be used with "M42 P4 S[pwm_value]" (For heater 2)

You should check the PCB layout for details which pins go where http://reprap.org/wiki/Ultimaker's_v1.5.7_PCB

 

Share this post


Link to post
Share on other sites
Posted · Arduino Mega G-Code FWD

Yeah, thanks for that Link!

So I'll have to use expansion 3. Based on 2 RGB Channels, I need 6 PWM outputs.

The 1.5.7 Electronic has an LEDs output Pin. How much Power does it support?

I messured 18,8V. That would be perfect for the Dioder (with a step-down Board)

The Wiki says: "A PWM output with power for LED arrays and other lighting"

What is the exact current?

Thanks!

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Our picks

    • Ultimaker Cura | a new interface
      We're not only trying to always make Ultimaker Cura better with the usual new features and improvements we build, but we're also trying to make it more pleasant to operate. The interface was the focus for the upcoming release, from which we would already like to present you the first glance. 
        • Like
      • 182 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!