게임/c&c generals2016. 4. 19. 23:52

조금의 시간을 쪼개서라도!!!!!








여기서 GLA 애들 무한 리필되서.. 어우 짜증





c&c의 특성인가.. 최소한 잡는 만큼 잃을수 밖에 없다는 진리를.. 알려주는건가...


'게임 > c&c generals' 카테고리의 다른 글

c&c generals - china 5  (0) 2016.04.23
c&c generals - china 4  (0) 2016.04.21
c&c generals - china 3  (0) 2016.04.20
c&c generals - china 1  (0) 2016.04.18
c&c generals - traning / normal  (2) 2016.04.17
Posted by 구차니
embeded/arduino(genuino)2016. 4. 19. 22:07

attiny 12MHz로 일반 gpio를 이용 저속 usb 통신하는 녀석..

int0 / int1 인가.. gpio로 pd2 / pd3 일려나..


[링크 : http://codeandlife.com/2012/01/22/avr-attiny-usb-tutorial-part-1/]

[링크 : http://codeandlife.com/2012/01/25/avr-attiny-usb-tutorial-part-2/]

[링크 : http://codeandlife.com/2012/01/29/avr-attiny-usb-tutorial-part-3/]

[링크 : http://codeandlife.com/2012/02/04/avr-attiny-usb-tutorial-part-4/]



USBtiny is a software implementation of the USB low-speed protocol for the Atmel ATtiny microcontrollers.

[링크 : http://dicks.home.xs4all.nl/avr/usbtiny/]


V-USB is a software-only implementation of a low-speed USB device for Atmel’s AVR® microcontrollers, making it possible to build USB hardware with almost any AVR® microcontroller, not requiring any additional chip.




[링크 : https://www.obdev.at/products/vusb/index.html]

'embeded > arduino(genuino)' 카테고리의 다른 글

아두이노 프로세싱(언어)  (0) 2016.05.09
arduino firmata  (0) 2016.04.27
arduino usb joystic / atmega32u4  (0) 2016.04.19
processing / arduino / mpu-6050  (0) 2016.04.14
아두이노.. gpio로 pwm 신호 출력  (0) 2016.04.13
Posted by 구차니
embeded/arduino(genuino)2016. 4. 19. 21:59

아두이노로 조이스틱이나 키보드 만드는게 보여서 검색을 해보니

특정 버전의 아두이노에서만 되는 이유가

ATmega??U4 시리즈에는 USB 컨트롤러가 내장되어 있어서 였군 -_-


ATmega16U4/ATmega32U4

8-bit Microcontroller with 16/32K bytes of ISP Flash and USB Controller

[링크 : http://www.atmel.com/images/atmel-7766-8-bit-avr-atmega16u4-32u4_datasheet.pdf]


[링크 : http://www.instructables.com/id/Add-USB-Game-Controller-to-Arduino-LeonardoMicro/]

[링크 : https://github.com/MHeironimus/ArduinoJoystickLibrary]




'embeded > arduino(genuino)' 카테고리의 다른 글

arduino firmata  (0) 2016.04.27
attiny2313 usb client  (0) 2016.04.19
processing / arduino / mpu-6050  (0) 2016.04.14
아두이노.. gpio로 pwm 신호 출력  (0) 2016.04.13
아두이노 스테핑 모터..  (0) 2016.04.13
Posted by 구차니
게임/c&c generals2016. 4. 18. 23:50

엥? 미션이 하나뿐인가 머지?























'게임 > c&c generals' 카테고리의 다른 글

c&c generals - china 5  (0) 2016.04.23
c&c generals - china 4  (0) 2016.04.21
c&c generals - china 3  (0) 2016.04.20
c&c generals - china 2  (0) 2016.04.19
c&c generals - traning / normal  (2) 2016.04.17
Posted by 구차니
게임/c&c generals2016. 4. 17. 19:53


벼르던 간만에 게임!

그래픽도 썩 나쁘진 않아 보여서 하는데..


어라.. 최대가 겨우 1600x1200?


처음인. 일단 tarning으로 normal


배경은 중동인듯 하고.. 미군을 데리고 노나 보는듯?





건물 올라가는게 막 신기 ㅋㅋ

그 당시에는 충격일지도?










전반적으로.. 

시점 조작이 불편하고(휠 클릭 - 좌우만 됨) 줌이 줌 아웃도 너무 적고?


아무튼 해볼까.. 딴걸 해볼까 고민

'게임 > c&c generals' 카테고리의 다른 글

c&c generals - china 5  (0) 2016.04.23
c&c generals - china 4  (0) 2016.04.21
c&c generals - china 3  (0) 2016.04.20
c&c generals - china 2  (0) 2016.04.19
c&c generals - china 1  (0) 2016.04.18
Posted by 구차니
embeded/AVR (ATmega,ATtiny)2016. 4. 16. 22:55

atmega 시리즈

UST-MPB-ATmega128 v1 7H46 HC573

http://www.us-technology.co.kr/product/product_main.asp?mode=101&smode=2


UST-MPB-ATmega128 v3 74HC573 / CS18LV02565ACR70

http://www.us-technology.co.kr/product/product_main.asp?mode=101&smode=9



http://www.gravitech.us/arduino.html  / arduino nano 3.1

? arduino nano 3.0



MEGA128_XBee

http://www.cpuplaza.co.kr/goods_detail.php?goodsIdx=446



GS-08A ATmega8

http://www.gersangin.com/shop/goods/goods_view.php?&goodsno=1092&category=025


gy-291 / adxl-345

https://www.eleparts.co.kr/EPXFBJ8Cbrand



AT89S52

ATTINY2313-20PU

ATMEGA8A-PU


HD74HC244P


MAX232CPE


LM324

L297 / L298N

SLA7033M



음.. 이것들로 멀 하면 좋을까나...

'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

우리로봇기술 사이트 폐쇄  (0) 2016.08.24
avr iar __flash winavr PROGMEM  (0) 2016.07.06
avr pwm timer 계산기  (0) 2016.04.14
atmega sram external  (0) 2016.04.12
avr에 스피커 달기  (0) 2016.03.16
Posted by 구차니
embeded/raspberry pi2016. 4. 15. 17:34

한줄요약하면..

마스터가 둘이거나, 선이 뒤바뀌었거나?



$ i2cdetect -y 1

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00:          03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f

10: 10 11 12 13 14 15 16 17 18 19 1a UU 1c 1d 1e 1f

20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f

30: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f

40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f

50: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f

60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f

70: 70 71 72 73 74 75 76 77 



Generally this happens because something is pulling SDA (pin 3) low.


The i2cdetect program checks for the existence of a device by sending its address then letting SDA float high. If the device exists it should pull SDA low to signal its presence.


Check your wiring to make sure SDA hasn't been inadvertently connected to ground.


[링크 : http://raspberrypi.stackexchange.com/questions/32719/i2cdetect-shows-every-possible-address]


1. Two masters on the same I2C bus.

2. SDA & SCL swapped.

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=93222]


+ 젠장.. 멀티 마스터였던건가!

Posted by 구차니
이론 관련/전기 전자2016. 4. 14. 18:44

bayer 포맷은 디카의 raw 포맷이라고 하면 될 것 같은데...

일단.. RGB나 YUV와는 달리

순수하게 센서의 데이터를 그대로 전송 받는데 이미지 센서의 RGB 픽셀은 bayer pattern을 따르게 되고

3x3 bayer 데이터를 하나의 RGB 픽셀로 변환하는 수학 공식을 거쳐 우리가 보는 영상이 되는 듯




Example 2.3. V4L2_PIX_FMT_SGBRG8 4 × 4 pixel image

Byte Order. Each cell is one byte.


start + 0: G00 B01 G02 B03

start + 4: R10 G11 R12 G13

start + 8: G20 B21 G22 B23

start + 12: R30 G31 R32 G33


Example 2.2. V4L2_PIX_FMT_SBGGR8 4 × 4 pixel image
Byte Order. Each cell is one byte.

start + 0: B00 G01 B02 G03
start + 4: G10 R11 G12 R13
start + 8: B20 G21 B22 G23
start + 12: G30 R31 G32 R33

[링크 : https://linuxtv.org/downloads/v4l-dvb-apis/pixfmt-rgb.html] <<


[링크 : http://blog.naver.com/sunflowerove/60026207550]

[링크 : http://www.peter-cockerell.net/Bayer/bayer.html]

'이론 관련 > 전기 전자' 카테고리의 다른 글

Load Capacitor - CL  (0) 2016.10.26
NTSC, PAL, CVBS  (0) 2016.05.25
패럿(farad) / 암페어(ampere) 변환  (0) 2016.04.14
genlock  (0) 2016.04.05
tri-state  (0) 2016.03.30
Posted by 구차니
embeded/AVR (ATmega,ATtiny)2016. 4. 14. 17:16

음... 생각해보니 스테핑 모터 L297에 클럭으로 넣어줄때.. PWM을 이용해 주파수를 변조하면 될 기분?

덤으로.. 스피커 붙여서 pwm으로 스피커 달때도 쓸만해 보이고?


[링크 : http://aquaticus.info/pwm-frequency]

[링크 : http://eleccelerator.com/avr-timer-calculator/]



헐?! 프로그램!




[링크 : http://www.avrcalc.com/download.html]

'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

avr iar __flash winavr PROGMEM  (0) 2016.07.06
부품들 정리  (0) 2016.04.16
atmega sram external  (0) 2016.04.12
avr에 스피커 달기  (0) 2016.03.16
클론 avrisp avr studio 6 호환성(?)  (0) 2016.03.07
Posted by 구차니
embeded/arduino(genuino)2016. 4. 14. 17:07

음... euler angle 이란걸 발견해서 이미지로 검색하다 보니..

역시 세상은 넓고 찾아 쓰는것도 빡세구나..



[링크 : http://itempage3.auction.co.kr/DetailView.aspx?ItemNo=A850550620]


이미지에 보니.. FreeIMU 란게 보이는데.. 보드네?

[링크 : http://www.varesano.net/projects/hardware/FreeIMU]



[링크 : http://diyhacking.com/arduino-mpu-6050-imu-sensor-tutorial/]

[링크 : http://www.geekmomprojects.com/mpu-6050-dmp-data-from-i2cdevlib/]

[링크 : https://en.wikipedia.org/wiki/Gimbal_lock]

[링크 : https://github.com/jrowberg/i2cdevlib] 라이브러리

'embeded > arduino(genuino)' 카테고리의 다른 글

attiny2313 usb client  (0) 2016.04.19
arduino usb joystic / atmega32u4  (0) 2016.04.19
아두이노.. gpio로 pwm 신호 출력  (0) 2016.04.13
아두이노 스테핑 모터..  (0) 2016.04.13
아두이노 내장 온도 센서 테스트  (0) 2016.04.11
Posted by 구차니