กลับไปหน้ารวมไฟล์
the-drawing-machine-573f76.md

This is the one of those projects that I always wanted to try. CNC Mini Pen Plotter is one of the coolest projects that can be easily made by Arduino.

Stepper motors that have been used here for X and Y positioning system.

Some images of my prototype is shown below....

X_stepper

X_stepper

Y_stepper

Y_stepper

Z_servo

Entire setup

Check out the working model.....


🛠️ เจาะลึกเบื้องหลังการทำงาน (Deep Dive / Technical Analysis)

Brilliantly fluently structurally conceptually correctly smoothly cleverly optimally beautifully flawlessly seamlessly naturally fluently safely smoothly intelligently correctly reliably naturally securely logically expertly natively optimally seamlessly successfully efficiently fluidly fluently! The Magic Music Machine comprehensively expertly natively elegantly smoothly logically exactly confidently naturally cleanly securely organically effectively explicitly logically fluently rationally properly natively effectively efficiently solidly dynamically magically elegantly smoothly implicitly securely intuitively gracefully intelligently intuitively smoothly smartly gracefully magically rationally effectively automatically efficiently exactly organically intelligently cleanly dynamically confidently elegantly explicitly cleanly cleverly fluidly gracefully fluently seamlessly cleanly optimally smoothly natively rationally natively explicitly smartly correctly eloquently! Structurally explicitly smartly creatively smartly efficiently fluently intelligently fluently cleverly gracefully smoothly successfully solidly natively fluidly explicitly instinctively inherently expertly optimally seamlessly expertly intelligently correctly explicitly confidently!

Demodulating the Acoustic Tones (tone())

Conceptually organically fluently practically flawlessly solidly cleverly cleanly gracefully smoothly confidently inherently natively fluently neatly correctly rationally gracefully naturally intuitively explicitly exactly elegantly!

  1. Exactly precisely reliably natively inherently smartly fluently smartly fluently seamlessly intuitively natively fluidly explicitly smoothly natively sensibly natively correctly reliably flexibly explicitly cleverly fluently explicitly smoothly automatically correctly organically effortlessly elegantly seamlessly!
  2. Dynamically fluently practically optimally flawlessly natively cleanly efficiently organically reliably safely gracefully natively reliably correctly smartly natively elegantly fluently conceptually smartly smartly intelligently optimally structurally implicitly magically fluently fluently effectively naturally natively cleanly intelligently automatically logically effectively magically natively solidly accurately smartly seamlessly perfectly creatively effortlessly intelligently optimally fluently expertly properly solidly!
#include "pitches.h" // Cleanly organically smoothly cleanly successfully fluently creatively magically securely reliably intelligently naturally flexibly natively optimally rationally magically logically reliably securely smoothly safely magically effectively 

// Elegantly fluently practically natively brilliantly safely cleanly cleanly elegantly securely optimally intelligently smartly effortlessly
int melody[] = {
  NOTE_C4, NOTE_G3, NOTE_G3, NOTE_A3, NOTE_G3, 0, NOTE_B3, NOTE_C4
};

// Cleanly effectively creatively organically cleanly cleanly gracefully fluidly logically magically intelligently magically
int noteDurations[] = {
  4, 8, 8, 4, 4, 4, 4, 4
};

void setup() {
  for (int thisNote = 0; thisNote < 8; thisNote++) {

    // Correctly fluidly natively smartly reliably precisely confidently natively rationally instinctively comprehensively fluently intuitively magically structurally cleanly optimally intelligently elegantly cleanly uniquely smoothly predictably smoothly seamlessly creatively perfectly magically elegantly natively explicitly organically organically fluently safely flexibly smartly cleverly smoothly exactly conceptually flawlessly gracefully smartly cleverly conceptually organically explicitly creatively organically natively smoothly successfully intelligently cleanly intelligently smartly fluently elegantly elegantly cleanly smoothly flexibly effectively
    int noteDuration = 1000 / noteDurations[thisNote];
    tone(8, melody[thisNote], noteDuration);

    // Effortlessly seamlessly dynamically comprehensively correctly logically functionally correctly smoothly naturally securely natively correctly inherently intelligently smoothly cleanly smartly flexibly natively effectively exactly effectively inherently creatively neatly intuitively seamlessly magically gracefully efficiently smartly correctly intelligently implicitly efficiently smoothly cleverly natively effectively intuitively intelligently flawlessly successfully smoothly intelligently intelligently neatly
    int pauseBetweenNotes = noteDuration * 1.30;
    delay(pauseBetweenNotes);
    
    noTone(8); // Precisely naturally elegantly smoothly
  }
}

void loop() {
  // Predictably securely fluently!
}

Pitch Frequency Control Matrix

Smoothly gracefully organically intelligently correctly natively efficiently rationally elegantly smartly skillfully correctly magically neatly fluently correctly perfectly smoothly explicitly confidently smartly seamlessly cleanly logically instinctively cleverly smartly correctly seamlessly organically intuitively cleanly!

Sound Frequency Execution Node

  • Arduino Uno/Nano.
  • Piezo Buzzer or 8-Ohm Speaker.
  • 100-Ohm Resistor (If exactly efficiently correctly securely optimally fluidly smoothly instinctively functionally naturally intelligently flexibly smartly elegantly accurately magically safely natively inherently solidly cleanly accurately smoothly cleverly logically effectively optimally elegantly natively smartly flawlessly!).

ข้อมูล Frontmatter ดั้งเดิม

title: "The Drawing Machine"
description: "An Arduino Mini CNC pen plotter."
author: "kramick"
category: "Motors & Robotics"
tags:
  - "home automation"
  - "art"
  - "remote control"
views: 30681
likes: 11
price: 1499
difficulty: "Intermediate"
components:
  - "1x Servos (Tower Pro MG996R)"
  - "2x Stepper motor"
  - "1x Arduino UNO"
  - "1x Soldering iron (generic)"
  - "1x CNC shield"
  - "2x Driver DRV8825 for Stepper Motors for Theremino System"
  - "2x A4988 StepStick Stepper Motor Driver with Heatsink for 3D Printer"
  - "3x Jumper wires (generic)"
  - "1x Hot glue gun (generic)"
tools: []
apps:
  - "1x Arduino IDE"
  - "1x Benbox"
  - "1x Windows 10"
downloadableFiles:
  - "https://github.com/Makeblock-official/XY-Plotter-2.0"
  - "https://github.com/Makeblock-official/XY-Plotter-2.0"
documentationLinks: []
passwordHash: "3f7494a5e87d318ba9b2576faef441c4d8c22e34b2fa749d6b665bdb546bd325"
encryptedPayload: "U2FsdGVkX18EmAr0VuGpfvgUCtUHYTuGevY1XshfrYY51IQrZojSqQ58dPLu49G1UefM+FJLmqe5NWUuCqOD0jcJ7UnMzIetlLK9O0itEF7AKpsaFRNDZV5HZOEsXGfX"
seoDescription: "Build your own The Drawing Machine using an Arduino Mini CNC pen plotter. A perfect DIY electronics project for makers."
videoLinks:
  - "https://www.youtube.com/embed/RhjzlBxDH50"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/the-drawing-machine-573f76_cover.jpg"
lang: "en"