ВНИМАНИЕ! На форуме начался конкурс - астрофотография месяца ИЮЛЬ!
0 Пользователей и 1 Гость просматривают эту тему.
как их различать между собой по функционалу?
Интересовала прошивка колесо + фокусер (вариант для униполярных двигателей)+ микрошаг на фокусере + термодатчики I2C (ds1621) + сохранение значения фокусапри выключении + USB подключение к компьютеру через микросхему FT232RL
2. R4 в схеме между 13 и 14 выводами микроконтроллера это резистор или кварци каков номинал?(не нашел данной информации на этой ветке)Запустится ли без него микроконтроллер? (у меня как-то не стартует )
3. Потянет ли CNC Nema17 Stepper Motor 75oz.in 0.28kg.cm 68g.cm2 6-Lead 1.8Degree 12V 0.4Aкрейфорд 2" с зеркалкой если ставить привод прямо на вал фокусера?
4. Встречал упоминание об автоматическом обогреве зеркал, под управлением этого комбайна,но не встретил схемы реализации. Существует ли такой вариант?
исправил.Вань будешь смеяться но эффект тот же, я туда уже что только не писал Вань а ты не мог бы откомпелировать мое исправленное и кинуть. Я уже не знаю что и придумать (((
Я правильно понимаю, что ВСЕ, что лежит в подпапках архива с прошивками требует перекомпиляции ?Готовых файлов для прошивки в контроллер там нет?А то я просто зашил прошивку и епром из каталога без перекомпиляции, и пытаюсь запустить........
Подскажите пожалуйста ножку контроллера для подключения обогрева.Есть ли вариант прошивки с поддержкой автообогрева?
Иван, подскажи, пожалуйста, выходы А и В от энкодера сажать на РВ6,РВ7 без разницы что куда?
Цитата: Павел Зимин от 06 Сен 2013 [01:34:50]Иван, подскажи, пожалуйста, выходы А и В от энкодера сажать на РВ6,РВ7 без разницы что куда?Да, РВ6 и РВ7. если ножки поменять местами - поменяется направление вращения энкодера (вращение по часовой стрелке будет в плюс или в минус).
> "make.exe" all-------- begin --------avr-gcc (WinAVR 20100110) 4.3.3Copyright (C) 2008 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.avr-gcc -gdwarf-2 -DF_CPU=8000000UL -D_FILTERWHEEL_ -DLCD_WIDTH=16 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wundef -Wa,-adhlns=obj/obj/../filterwheel2.lst -std=gnu99 -Wundef -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -fno-exceptions -Wall -Wa,-adhlns=obj/../filterwheel2.c -c -o obj/../filterwheel2.o obj/../filterwheel2.cIn file included from obj/../filterwheel2.c:3:c:/winavr-20100110/lib/gcc/../../avr/include/avr/io.h:404:6: warning: #warning "device type not defined"In file included from obj/../filterwheel2.c:4:c:/winavr-20100110/lib/gcc/../../avr/include/avr/eeprom.h:41:3: warning: #warning "Device does not have EEPROM available."In file included from obj/../filterwheel2.c:39:obj/../eeprom_io.h: In function 'EEPROM_READ':obj/../eeprom_io.h:4: error: 'EECR' undeclared (first use in this function)obj/../eeprom_io.h:4: error: (Each undeclared identifier is reported only onceobj/../eeprom_io.h:4: error: for each function it appears in.)obj/../eeprom_io.h:4: error: 'EEWE' undeclared (first use in this function)obj/../eeprom_io.h:6: error: 'EEAR' undeclared (first use in this function)obj/../eeprom_io.h:8: error: 'EERE' undeclared (first use in this function)obj/../eeprom_io.h:10: error: 'EEDR' undeclared (first use in this function)obj/../eeprom_io.h: In function 'EEPROM_write':obj/../eeprom_io.h:17: error: 'EECR' undeclared (first use in this function)obj/../eeprom_io.h:17: error: 'EEWE' undeclared (first use in this function)obj/../eeprom_io.h:21: error: 'EEAR' undeclared (first use in this function)obj/../eeprom_io.h:22: error: 'EEDR' undeclared (first use in this function)obj/../eeprom_io.h:24: error: 'EEMWE' undeclared (first use in this function)In file included from obj/../filterwheel2.c:41:obj/../lcd_out.h: In function 'lcd_com':obj/../lcd_out.h:9: error: 'PORTB' undeclared (first use in this function)obj/../lcd_out.h:9: error: 'PB5' undeclared (first use in this function)obj/../lcd_out.h:10: error: 'PB4' undeclared (first use in this function)obj/../lcd_out.h: In function 'lcd_dat':obj/../lcd_out.h:25: error: 'PORTB' undeclared (first use in this function)obj/../lcd_out.h:25: error: 'PB5' undeclared (first use in this function)obj/../lcd_out.h:25: error: 'PB4' undeclared (first use in this function)In file included from obj/../filterwheel2.c:123:obj/../step_motors.h: At top level:obj/../step_motors.h:20: error: 'PC5' undeclared here (not in a function)obj/../step_motors.h:20: error: 'PC4' undeclared here (not in a function)obj/../step_motors.h:20: error: 'PC3' undeclared here (not in a function)obj/../step_motors.h:20: error: 'PC2' undeclared here (not in a function)obj/../step_motors.h: In function 'doStepMotor2':obj/../step_motors.h:45: error: 'PORTC' undeclared (first use in this function)obj/../step_motors.h:49: error: 'PORTD' undeclared (first use in this function)obj/../step_motors.h:49: error: 'PD6' undeclared (first use in this function)obj/../step_motors.h: In function 'sleepMotor':obj/../step_motors.h:75: error: 'PORTC' undeclared (first use in this function)obj/../step_motors.h:83: error: 'PORTD' undeclared (first use in this function)obj/../step_motors.h:83: error: 'PD4' undeclared (first use in this function)obj/../step_motors.h: In function 'wakeupMotor':obj/../step_motors.h:93: error: 'PORTC' undeclared (first use in this function)obj/../step_motors.h:100: error: 'PORTD' undeclared (first use in this function)obj/../step_motors.h:100: error: 'PD4' undeclared (first use in this function)obj/../step_motors.h:110: error: 'OCR2' undeclared (first use in this function)obj/../filterwheel2.c: In function 'readkey':obj/../filterwheel2.c:129: error: 'PORTB' undeclared (first use in this function)obj/../filterwheel2.c:131: error: 'PIND' undeclared (first use in this function)obj/../filterwheel2.c: In function 'readkeys':obj/../filterwheel2.c:138: error: 'PB1' undeclared (first use in this function)obj/../filterwheel2.c:138: error: 'PD2' undeclared (first use in this function)obj/../filterwheel2.c:139: error: 'PB0' undeclared (first use in this function)obj/../filterwheel2.c:140: error: 'PB2' undeclared (first use in this function)obj/../filterwheel2.c:141: error: 'PB3' undeclared (first use in this function)obj/../filterwheel2.c:143: error: 'PD3' undeclared (first use in this function)obj/../filterwheel2.c:148: error: 'PORTB' undeclared (first use in this function)obj/../filterwheel2.c: In function 'usart_init':obj/../filterwheel2.c:154: error: 'UBRRH' undeclared (first use in this function)obj/../filterwheel2.c:155: error: 'UBRRL' undeclared (first use in this function)obj/../filterwheel2.c:156: error: 'UCSRB' undeclared (first use in this function)obj/../filterwheel2.c:156: error: 'TXEN' undeclared (first use in this function)obj/../filterwheel2.c:156: error: 'RXEN' undeclared (first use in this function)obj/../filterwheel2.c:157: error: 'RXCIE' undeclared (first use in this function)obj/../filterwheel2.c:158: error: 'UCSRC' undeclared (first use in this function)obj/../filterwheel2.c:158: error: 'URSEL' undeclared (first use in this function)obj/../filterwheel2.c:158: error: 'UCSZ0' undeclared (first use in this function)obj/../filterwheel2.c: In function 'usart_transmit':obj/../filterwheel2.c:163: error: 'UCSRA' undeclared (first use in this function)obj/../filterwheel2.c:163: error: 'UDRE' undeclared (first use in this function)obj/../filterwheel2.c:165: error: 'UDR' undeclared (first use in this function)obj/../filterwheel2.c: In function 'readSettingsFromEEPROM':obj/../filterwheel2.c:205: error: 'ee_curAutoTermometer' undeclared (first use in this function)obj/../filterwheel2.c: In function 'filterPositioningError':obj/../filterwheel2.c:674: error: 'ee_filterChangeErr' undeclared (first use in this function)obj/../filterwheel2.c: In function 'goNextSensorFilterOn':obj/../filterwheel2.c:689: error: 'PINC' undeclared (first use in this function)obj/../filterwheel2.c:689: error: 'PC0' undeclared (first use in this function)obj/../filterwheel2.c: In function 'goNextSensorFilterOff':obj/../filterwheel2.c:736: error: 'PINC' undeclared (first use in this function)obj/../filterwheel2.c:736: error: 'PC0' undeclared (first use in this function)obj/../filterwheel2.c: In function 'findHomePosition':obj/../filterwheel2.c:858: error: 'PINC' undeclared (first use in this function)obj/../filterwheel2.c:858: error: 'PC1' undeclared (first use in this function)obj/../filterwheel2.c:858: error: 'PC0' undeclared (first use in this function)obj/../filterwheel2.c:899: warning: implicit declaration of function 'switchHeater'obj/../filterwheel2.c: At top level:obj/../filterwheel2.c:1421: warning: 'SIG_UART_RECV' appears to be a misspelled signal handlerobj/../filterwheel2.c: In function 'SIG_UART_RECV':obj/../filterwheel2.c:1425: error: 'UDR' undeclared (first use in this function)obj/../filterwheel2.c: In function 'keySpeedProcess':obj/../filterwheel2.c:1532: error: 'ee_keySpeedCaption' undeclared (first use in this function)obj/../filterwheel2.c: In function 'keyCorrectionProcess':obj/../filterwheel2.c:1590: error: 'ee_keyCorrectionCap' undeclared (first use in this function)obj/../filterwheel2.c: In function 'keyCommandProcess':obj/../filterwheel2.c:1836: error: 'ee_keyCommandCap' undeclared (first use in this function)obj/../filterwheel2.c: In function 'main':obj/../filterwheel2.c:2095: error: 'PORTB' undeclared (first use in this function)obj/../filterwheel2.c:2096: error: 'PORTC' undeclared (first use in this function)obj/../filterwheel2.c:2097: error: 'PORTD' undeclared (first use in this function)obj/../filterwheel2.c:2099: error: 'DDRB' undeclared (first use in this function)obj/../filterwheel2.c:2100: error: 'DDRC' undeclared (first use in this function)obj/../filterwheel2.c:2101: error: 'DDRD' undeclared (first use in this function)obj/../filterwheel2.c:2103: error: 'PB5' undeclared (first use in this function)obj/../filterwheel2.c:2103: error: 'PB4' undeclared (first use in this function)obj/../filterwheel2.c:2103: error: 'PB0' undeclared (first use in this function)obj/../filterwheel2.c:2103: error: 'PB1' undeclared (first use in this function)obj/../filterwheel2.c:2103: error: 'PB2' undeclared (first use in this function)obj/../filterwheel2.c:2103: error: 'PB3' undeclared (first use in this function)obj/../filterwheel2.c:2120: error: 'PD4' undeclared (first use in this function)obj/../filterwheel2.c:2122: error: 'PD6' undeclared (first use in this function)obj/../filterwheel2.c:2216: error: 'ee_t0' undeclared (first use in this function)obj/../filterwheel2.c:2220: error: 'ee_t1' undeclared (first use in this function)obj/../filterwheel2.c:2222: error: 'ee_t2' undeclared (first use in this function)make.exe: *** [obj/../filterwheel2.o] Error 1> Process Exit Code: 2> Time Taken: 00:01
Makefile испортили, там же написано -: #warning "device type not defined"