레이블이 ATmega2560인 게시물을 표시합니다. 모든 게시물 표시
레이블이 ATmega2560인 게시물을 표시합니다. 모든 게시물 표시

2014년 11월 18일 화요일

Note2 - Blink sketch

ArduinoNote List-page
PREVIOUS: Note1 - ARDUINO

Hand-on #1 : Blink



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

Preparation Materials




  • Arudino platform : Arduino Mega
    Arduino Mega
    (from http://Arduino.cc)



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

    [code lang=cpp]
    // 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
    }
    [/code]




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

2014년 11월 16일 일요일

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

2014년 10월 22일 수요일

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.

BadPrinter 2 is an ATmega2560 powered 3D printer

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