Note2 – Blink sketch

ArduinoNote List-page
PREVIOUS: Note1 – ARDUINO

Hand-on #1 : Blink

-Arduino를 경험해 본다.
-Sketch IDE를 설치, 간단한 Blink Example 따라하기

Preparation Materials

Arduino Mega

(* form http://duino4projects.com/multiserial-mega-using-arduino/)

Spec. Description
Microcontroller ATmega2560
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limits) 6-20V
Digital I/O Pins 54 (of which 15 provide PWM output)
Analog Input Pins 16
DC Current per I/O Pin 40 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 256 KB of which 8 KB used by bootloader
SRAM 8 KB
EEPROM 4 KB
Clock Speed 16 MHz

Blink Sketch :

  • Load Blink Sketch : IDE의 파일>예제>Basics>Blink

    Blink example

  • Blink codes

    // the setup function runs once when you press reset or power the board  
    void setup() {  
      // initialize digital pin 13 as an output.  
      pinMode(13, OUTPUT);  
    }  
    // the loop function runs over and over again forever  
    void loop() {  
      digitalWrite(13, HIGH);   // turn the LED on (HIGH is the voltage level)  
      delay(1000);              // wait for a second  
      digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW  
      delay(1000);              // wait for a second  
    }  
    

Pin 13 회로도에서 살펴보자

L LED on Schemetic

Pin 13으로 L LED를 On/Off 한다.!

L LED on Board

Configuration Platform

  • IDE 메뉴의 도구>보드>Arduino Mega of Arduino Mega 2560
    Selett Serial Port

Compile

  • IDE 메뉴의 스케치>확인/컴파일
    Verify

Program

  • IDE 메뉴의 파일>프로그램어를통해업로드
    Upload

NEXT: Note3 – Hello world

Hauntbox

Haundbox

What is Hauntbox

The HAUNTBOX is a open source platform which is configured by web browser for haund and some projects.

“It is a system of parts. Sensors and outputs plug into your Hauntbox and it plugs into your network. You tell it what do by using your browser on your computer, iPad or smartphone on your home network with our simple visual interface.”

The Hauntbox supports up to 6 intput and outputs and set what voltate they run and their trigger time.
It controls inputs and outputs with no programming, because of configuring them by the web-based.
setting page
Please, refer to this web-page for more details.

Hardware

Haundbox’ Specs include:
* 256 KB of flash
* 8 KB SRAM (~4.8 KB free with firmware)
* 4 KB EEPROM
* 7-12V input voltage
* 5/12/24V output options depending on power supply
* Supplies up to 300mA per output (open collector)
* W5100 Ethernet controller (works seamlessly with official Arduino libraries)microSD card slot
* FTDI header pins for firmware hacking/updating
* Easy to use screw terminals accepting up to 18 gauge wire
* Unused header pins for easy expansion via Arduino shields or proto-boards
* LEDs indicating I/O status
* Motion sensor (additional/optional)
* Audio module (additional/optional)

Software

Github : https://github.com/Aylr/theHB

##Related Links
Hounbox had funded on Kickstarter and posted on Atmelcoporation.
– Kickstarter : Easily add sound & automation to your HAUNTS and PROJECTS with this open source prop controller without programming! Arduino compatible
– Atmelcorporation : Automate your props with the ATmega2560 based Hauntbox

Lewihe unveils its Sneaker 3D printer

플랫폼른 점점 가격이 떨어지고 대량생산만들어가면 3D Printer값도 현실적이 되겠네 ㅋㅋ AT90USB:
The high-performance, low-power Atmel 8-bit AVR RISC-based microcontroller combines 128KB ISP flash memory with read-while-write capabilities, 4KB EEPROM, 8KB SRAM, 48 general purpose I/O lines, 32 general purpose working registers, real time counter, 4 flexible timer/counters with compare modes and PWM, USART, byte oriented 2-wire serial interface, USB 2.0 low-speed and full-speed device, an 8-channel 10-bit A/D converter with optional differential input stage with programmable gain, programmable watchdog timer with internal oscillator, SPI serial port, JTAG (IEEE 1149.1 compliant) interface for on-chip debugging, and six software selectable power saving modes.

By executing powerful instructions in a single clock cycle, the device achieves throughputs approaching 1 MIPS per MHz, balancing power consumption and processor speed.

Atmel | Bits & Pieces

Earlier this summer, Makers Juan Tendero, Jordi Tendero and Jose Manuel Quiles announced that they would launch a new 3D printer, capable of printing Filaflex filament at speeds faster than any other desktop machine on the market today. In doing so, the team had launched its Lewihe 3D printer on Indiegogo, seeking $60,000 to further production. While they were unable to garner the targeted amount, the group did utilize the pledged $11,105 to expand their capabilities.

lew2-1024x514

Now a couple of months later, the team has resurfaced to announce that they will be unveiling another printer, the Lewihe Sneaker. Though larger than the company’s previous machines, the Sneaker will still be based on the same core XY system. Each of the recently-announced devices are powered by an Atmel AT90USB1286 based SAV Mk-I board.

ATML

Built on an aluminum alloy chassis, the Sneaker’s key specs include:

  • Print Technology: Fused Filament Fabrication
  • Build Volume: 320 x 210 x 210 mm
  • Print speed: 120 mm/s
  • Printer Size:…

View original post 85 more words

BadPrinter 2 is an ATmega2560 powered 3D printer

Atmega 2560 mcu is a well-konwn platform for 3D printer.?.. BadPrinter2 / Arduino 3DPrinter …

Atmel | Bits & Pieces

Italy-based Bad Devices has recently launched its latest 3D printer, the BadPrinter 2, which is based on an Atmel ATmega2560 microcontroller (MCU).

BadPrinter2-3D-Printer

As its unique, eye-catching name suggests, this gadget is truly bad to the bone! Powered by a Megatronics v3.0 motherboard (ATmega2560), the printer can create objects 226 x 228 x 210mm in size, while its printheads are encased in a black steel structure. With dual independent extruders, the machine is equipped to handle print speeds up to 150mm/s, while its 0.4mm nozzle is capable of printing layers up to 50 microns in thickness. It also includes a quickly removable 4mm heated glass bed and an enclosed working area specifically made for ABS plastic.

1873_original

The company has chosen to create its own path by taking its high-quality 3D printer directly to market, forgoing a crowdfunding campaign like many of its competitors.

By9AfOYIcAAi8kV.jpg-large

To demonstrate its dual-color functionality, the Bad Devices team captured the megaAVR powered device printing a soccer ball.

Those wishing to learn…

View original post 19 more words