About my board
For this week's assignment I experienced with designing and programing a board which operate a project called Tiny CNC the Mini 3-Axes CNC v0.29 by MakerBlock. I hope this experience will provide me a backround for my final project later development.
The tiny CNC device with X, Y and Z axes, includes three micro Servo motors and some 3D printable plastic parts you can download from the linked above Thingiverse page. I deal with only the X and Y axes. Handling with programing a microcontroller board to move a point on two axes by rotating the Servos.
Experiencing with Arduino
After assembling the prehead TinyCNC device I followed the instructions I found on this page.
- wiring the Servos to the Arduino board.
- downloading these files.
- opening the MiniCNC code (located inside the MiniCNC folder) on Arduino IDE.
- checking my wiring compatible with the code.
- uploading the code to the Arduino board
- opening the serial monitor, matching the baund definition to the code and receiving an answer.
- typing a coordinate making the ‘header’ moving on the X axis following by the Y axis.
Fabricating my own board
After succeeded with programing an arduino and operating the TinyCNC I turn to designing my own board. I based my design on the Hello Servo board.
working process through Eagle:
- redesigning the Hello Servo board schematic
- Adding component to the schematic
- Naming, labeling and linking the component
- Placing the components over the brd
- Tracing+Design rules
The board's BOM:
- 1x ATtiny44
- 2x 2x3 pin header
- 1x 20MHz resonator
- 1x 2x2 pin heade
- 1x 10kΩ resistor
- 1x 22uf capacitor
- 1x regulator IC2 5V 1A
The board's files:download zip
Milling & Stuffing
Programing the Board
After succeeding completing the assignment of week eight, embedded programing, the programing went smoothly. I downloading the files from the lecture page:
Then i located them inside a premade folder on my computer. I navigate over the terminal to the folder and ran the make -f filename and the make -f filename program-usbtiny commands. After burning the program on my board i wired both of the servos motors and connected the board to Arduino Uno as my power supply. After completing wiring i supplied power to the Arduino Uno and it worked!!