:::: MENU ::::

Django 개발환경 설치

$아래와 같은 것들이 필요한데, PIP 및 Virtualenv등의 설치는 이전 포스팅 참고

  • Python
  • Git
  • Homebrew
  • Xcode Command Line Tools
  • pip (Package install for python)
  • pil (python imaging library)
  • virtualenv : 파이썬의 버추얼 환경을 위한 프로그램

파이썬 설치

$ brew install python –universal –framework

장고 설치

$ pip install django

sqlite 설치

$ brew install readline sqlite gdbm

파이썬 이미지 라이브러리

pip install PIL

버추얼 환경 만들기

$ virtualenv [버추얼환경 이름] –no-site-packages

버추얼 환경 실행

$ source [버추얼환경 이름]/bin/activate

버추얼 환경 빠져나오기

$ deactivate

3D Printer Controller Board

3가지 유명한 보드

  • RAMPS – RepRap Arduino Mega Pololu Shield
  • RAMBo – RAMPS의 파생 보드. 모든 것이 온보드 되어 있다. 문제는 모터드라이버가 나갔을때 문제.
  • RUMBA – RAMBo의 문제를 해결하기위해 모터드라이버를 모듈로 처리
  • 참고: http://hackaday.com/2013/09/06/3d-printering-electronics-boards/


32비트 보드

CREATOR Pro 보드 사용 및 분석

Rak Wireless사의 CREATOR Pro 보드는 Arduino Uno의 폼펙터를 가지며, RAK473 WiFi 모듈을 사용하고 NXP사의 LPC11U35를 사용해서 mbed에서도 프로그래밍이 가능하고, Arduino에서도 프로그래밍이 가능하다. WiKi에 나온 이 제품의 정보는 다음과 같은데, Realtek사의 Ameba RTL8710보드와 거의 동일하다.

CREATOR is a programmable platform for developing all kind of IoT applications. CREATOR is equiped with various peripheral interfaces, including Wifi, GPIO, I2C, UART, PWM, ADC. Through these interfaces, CREATOR can connect with electronic components such as LED, switches, manometer, hygrometer, PM2.5 dust sensors etc.
The collected data can be uploaded via WiFi, and be utilized by applications on smart devices to realize IoT implementation.
CREATOR and Arduino Uno have similar size, and the pins on CREATOR are compatible with Arduino Uno. CREATOR uses Micro USB to supply power, which is common in many smart devices.
Currently, CREATOR currently supports Windows XP/7/8 32 and 64 bits and MAC OS operating systems. In this example, please use Arduino IDE with version 1.6.7 or later.

LPC11U35의 역할

  • CMSYS-DAP가 내장
  • RAK473를 프로그래밍 및 디버깅이 가능하게 함
  • CMSYS-DAP 펌웨어는 JTAG을 통해서 업로드하고, 이후에는 CRP-DISABLED에 파일을 Copy하면 된다. 문제는 Mac에서 파일을 카피하면 안되고 윈도우즈에서만 된다. 관련자료
  • Tindie에서 $15에 판매하는 같은 기능을 갖는 외장형 보드


Rak 홈페이지의 자료 및 Github의 자료

아두이노 개발 환경에서 사용법

추가적으로 함께 보면 좋은 자료

Safety Capacitor – X,Y Capacitor

Safety Capacitor, 보통 X,Y Capacitor로 부르며, 안전을 위해 AC 전원 라인에 사용되고, X, Y 2가지 타입이 있다. 일반적으로  X2, Y2를 많이 사용한다.

When a Class-X capacitor, also referred to as an “across the line capacitor”—the capacitor placed between line and neutral—fails because of an overvoltage event, it is likely to fail short. This failure, in turn, would cause an overcurrent protective device, like a fuse or circuit breaker, to open. Therefore, a capacitor failing in this fashion would not cause any electrical shock hazards.

If a Class-Y capacitor, also known as the “line to ground capacitor” or “the line bypass capacitor”—the capacitor placed between line and ground—fails short, this could lead to a fatal electric shock due to the loss of the ground connection. Class-Y safety capacitors are designed to fail open. A failure will cause your electronic device to be subjected to the noise and interference that the capacitor would normally filter out, but at least there will be no fatal electric shock hazard.


맥에서 키보드 단축키 추가하기

Automator 설정

  • Automator를 실행후 “서비스”를 선택한다.
  • 다음 그림과 같이 실행으로 필터링을 해서 “응용 프로그램 실행”을 선택 후 우측 창에 드래깅한다.

  • 서비스가 받는 항목에는 “입력없음”으로 설정후 실행할 프로그램을 선택후 저장한다.

키보드 단축키 설정

시스템 환경설정 > 키보드 > 단축키 > 서비스를 선택후 “일반” 항목에 좀전에 추가한 서비스를 선택후 단축키 설정을 한다.

Adafruit 관련 정보

2005년에 설립된 Adafruit 이야기

Adafruit is now a highly successful community-driven electronics company, educational resource, and maker community thriving in SoHo, Manhattan.


Online learning resource, marketplace, and maker community for do-it-yourself electronics

Technical Data

  • Adafruit employs 105 people in their 50,000-sq.-ft. factory in Manhattan
  • 100% woman owned, no loans, no venture capital
  • Recorded $45 million in revenue in 2016
  • Received its millionth order in January 2016
  • 14 million website page views and over 2 million uniques a month
  • 34 million YouTube views and over 207,000 subscribers
  • Social media reach: 119,000+ Twitter followers, 2.1 million followers on G+ (4 million for Ladyada), 77,000 Facebook subscribers, 51,000 Instagram followers
  • Limor Fried was featured on the cover of Wired (April, 2011) and was named Entrepreneur of the Year by Entrepreneur magazine in 2012
  • Limor is a founding member of the NYC Industrial Business Advisory Council
  • Adafruit is ranked No. 11 among the top 20 U.S. manufacturing companies, No.1 in New York City by Inc. magazine, and is listed among Inc.’s 5000 “fastest growing private companies”
  • In 2016, Limor was named one of the White House’s “Champions of Change”


Adafruit’s 10 Most Popular Products

  1. Adafruit Ultimate GPS Breakout — 66 channel w/10 Hz updates
  2. Adafruit Motor/Stepper/Servo Shield for Arduino v2 Kit
  3. PowerBoost 1000 Charger — Rechargeable 5V Lipo USB Boost @ 1A
  4. Circuit Playground — Integrated microcontroller and sensor board
  5. PiTFT Plus 480×320 3.5″ TFT+Touchscreen for Raspberry Pi
  6. Adafruit 9-DOF Absolute Orientation IMU Fusion Breakout — BNO055
  7. Adafruit Feather HUZZAH with ESP8266 WiFi
  8. Adafruit Feather 32u4 Basic Proto
  9. Adafruit Feather 32u4 Bluefruit LE
  10. Adafruit Pro Trinket — 5V 16 MHz

[*Source: Adafruit product stats 2/18/17]


Ladyada’s 10 Lessons for Building Open Culture Companies

  • You can be a good company and a good business.
  • Open source isn’t a business or a marketing strategy for us, it’s the DNA of our company, it’s part of what we do.
  • Metrics — if you’re not measuring things, you cannot improve them.
  • We have a weekly all-company meeting called “State of the Fruit.” Be transparent with all parts of your business, early and often.
  • Skills can be taught. Good people making good decisions should be the focus and what is celebrated.
  • Celebrate others. It’s not just about you and your products.
  • Traveling takes too much time. Use the power of the internet. Publish frequently, from videos to blog posts.
  • Say no to things. It’s not about what you can do, it’s more about what you will not do.
  • Get a good trademark lawyer. If you’re open source, you’re giving away everything but your name, it’s important to protect it.
  • You do not need a fancy office or building to do great work. Great work can happen anywhere, even in an apartment.

출처: http://makezine.com/2017/06/13/open-source-ideals-engineering-genius-helm-adafruit-maker-revolution-manufacturing/