3D printer experements

Научившись хорошо печатать можно и поэкспериментировать с настройками, например увеличить скорость печати.
По умолчанию скорость печати 80 mm/s я поставил 100 mm/s и увеличил температуру до 260 градусов.
Напечатал 2 фигурки с разными настройками заполнения и суппорта. Качество отличное!

experement 626

motor to lego shaft

lego

// Axle/Hub for Lego wheel.
// Connects M3 motor shaft on Tajima motor/gearbox kit to Lego splined axle wheel.
//
// Printed at 0.2mm layers on UP!. Build 45degree overhangs with no support
//
// Motor shaft hole can be HEX, ROUND, or ROUND with FLAT
// Using metal hex threaded standoff for M3 connection
// standoff is M3x10mm x5mm across flats JAYCAR HP0900
// standoff is press fit into hex hole. Hole has domed ceiling so prints without support
//
// Lego axle design has keyholing to get cleaner inner corners than a simple cross, on the UP
// Has provision for two Flanges that can directly engage the inner surfaces of the wheel rim to provide support
// as the printed axle is prone to shearing under load.
// It is intended that the flange/s are interference fit into the hub parts, 
// and that the wheel is forced all the way down the axle to the flange so the axle is not cantilevered
// Intended for insertion from the deep side of the wheel hub
//-------- Dimension Constants ------------
//R???? = radius, L???? = length; Note small numbers added to dimensions are used to trim for exact fit with your printer (eg +0.1)
LSpline = 10 + 2; //Spline is the Lego Axle part

//AQUA  Flange1 closest to spline
RFlange = (8 + 0.1) / 2; //Flange1 is adjacent to the axle spline
LFlange = 4.3;

//TEAL Flange 2 is optional where it needs a large ring spaced off the axle by Flange1

//Type2 Hub - Red/Orange Balloon tyres, double flange; Also works for Black wheels 
RFlange2 = (16 + 0.1) / 2;
LFlange2 = 6;

// Type1 Hub - Black, flat tyres, only 1 small flange
//RFlange2=RFlange;
//LFlange2=0.01;

HoleOS = 0.6 / 2; // Oversize holes to get to correct size. (UP usually makes holes small)
HoleIsHex = false;
HoleFlat = 0; //For round motor hole with flat on one side. Depth of flat from outside	
LHole = 10; //Hex threaded insert dimensions
RHole = 1.6 + HoleOS; //For hex holes is distance across flats (apothem)

//MAGENTA  Shaft is part holding hex from motor end
RShaft = 8 / 2;
LShaft = LHole ;

RHex = Apothem2Radius(RHole, 6); //dimension across diagonals	


//-----
function Apothem2Radius(apothem, n) = apothem / cos(180 / n);

use < MCAD / regular_shapes.scad >

    //-------------------- Lego Axle ----------------------
    axle_spline_width = 2.0 - 0.2;
axle_diameter = 4.8 - 0.1;
axle_inner_keyhole_radius = 0.3; //keyhole the corners to try and make them square when printed

module axle(height) {
        translate([0, 0, height/2 - LShaft])
        difference() {
                union() {
                        cube([axle_diameter, axle_spline_width, height], center = true);
                        cube([axle_spline_width, axle_diameter, height], center = true);
                    } //union
                for (A = [0, 90, 180, 270]) {
                    rotate([0, 0, A]) {
                            translate([axle_spline_width / 1.75, axle_spline_width / 1.75, 0])
                            cylinder(h = height + 0.01, r = axle_inner_keyhole_radius, center = true, $fs = 0.2);
                        } //rot
                } //for
            } //translate diff
    } //module
    //----------------------------- Main ---------------------------------
difference() {
        union() { //the solid bits
                color("magenta") cylinder(h = LShaft, r = RShaft, $fn = 50);
                translate([0, 0, LShaft]) {
                    color("teal") cylinder(h = RFlange2 - 2, r2 = RShaft - 3, r1 = RShaft, $fs = 1); //
                    translate([0, 0, LFlange2]) {
                        translate([0, 0, LFlange])
                        axle(height = LSpline);
                    }
                }
            } //union

        union() { //the holes
                translate([0, 0, -0.05]) {
                    cylinder(r1 = RHole * 1.2, r2 = RHole * 0.8, h = RHole * 0.4, center = false); //entry countersink
                    if (HoleIsHex) {
                        hexagon_prism(height = LHole, radius = RHex); //hole for hex spacer
                    } else {
                        intersection() { //to put a flat on side of round shafts
                                cylinder(r = RHole, h = LHole, $fn = 20);
                                translate([-RHole, -RHole - HoleFlat, 0]) cube([2 * RHole, 2 * RHole, LHole]);
                            } //intersect
                    } //if
                    translate([0, 0, LHole - 0.01])
                    cylinder(h = RHole, r1 = RHole, r2 = 0.5); //put a cone on top of hole so no support needed
                }
            } //union
    } //diff

 

Ручка для самовара, 3D модель

Изучая OpenSCAD нарисовалась ручка для самовара.

TFT Display for arduino from china

 

This is a display from

mcufriend.com
It is using UTFT library, but it don’t work with latest relese.
Only work with older version https://github.com/roboter/UTFT
// Uncomment the next two lines for the Arduino Mega
UTFT        myGLCD(ITDB32WC, 38,39,40,41);   // Remember to change the model parameter to suit your display module!
UTouch      myTouch(6,5,4,3,2);

 

Тележка самодвижущаяся

Flashforge Creator Settings

Re-Di Plugin shortcode configuration

[redirestaurant timeshiftmode="byshifts" hidesteps="true"]

 

Программирование Atmega16L с помощью ArduinoISP

Код который нужно добавить в boards.txt

##############################################################
# Additional definitions for Arduino
# Author: Sudar <http://hardwarefun.com>
##############################################################
# Definitions for ATmega 8MHz
##############################################################
atmega16-8.name=Atmega16 (internal 8MHz clock)

atmega16-8.upload.protocol=stk500v1
atmega16-8.upload.maximum_size=14336
atmega16-8.upload.speed=19200

atmega16-8.bootloader.low_fuses=0x84
atmega16-8.bootloader.high_fuses=0x99

atmega16-8.build.mcu=atmega16
atmega16-8.build.f_cpu=8000000L
atmega16-8.build.core=arduino:arduino
atmega16-8.build.variant=mega16

##############################################################
# TODO: Add definitions for ATmega external clock

atmega-16

Ссылка на гитхаб

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.
 
  This example code is in the public domain.
 */
 
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 2;

// the setup routine runs once when you press reset:
void setup() {           
 Serial.begin(9600);  
  // initialize the digital pin as an output.

  pinMode(led, OUTPUT);     
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(100);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(100);               // wait for a second
Serial.println("Hello World");
}

 

//                   +-\/-+
//      (D  8) PB0  1|    |40  PA0 (AI 0)
//      (D  9) PB1  2|    |39  PA1 (AI 1)
//      (D 10) PB2  3|    |38  PA2 (AI 2)
//  PWM (D 11) PB3  4|    |37  PA3 (AI 3)
//      (D 12) PB4  5|    |36  PA4 (AI 4)
//      (D 13) PB5  6|    |35  PA5 (AI 5)
//      (D 14) PB6  7|    |34  PA6 (AI 6)
//      (D 15) PB7  8|    |33  PA7 (AI 7) 
//           RESET  9|    |32  AREF
//             VCC 10|    |31  GND
//             GND 11|    |30  AVCC
//           XTAL2 12|    |29  PB7 (D 23)
//           XTAL1 13|    |28  PC6 (D 22)
//       (D 0) PD0 14|    |27  PC5 (D 21)
//       (D 1) PD1 15|    |26  PC4 (D 20)
//       (D 2) PD2 16|    |25  PC3 (D 19) 
//       (D 3) PD3 17|    |24  PC2 (D 18)
//   PWM (D 4) PD4 18|    |23  PC1 (D 17)
//   PWM (D 5) PD5 19|    |22  PC0 (D 16) 
//       (D 6) PD6 20|    |21  PD7 (D 7) PWM
//                   +----+

 

My Arduino CNC

20140323_142123_Punane

20140323_142131_Punane

Arduino G-Code CNC
Source code available http://qr.ee/cnc

WordPress restaraunt reservation plugin

Описание плагина резервирования ресторанов.