Cam86
Cam86 — первая камера серии cam8x с встроенным микроконтроллером. Микроконтроллер используется для управления вертикальным и горизонтальным драйверами камеры, также в микроконтроллер занимается контролем охлаждения камеры.
Принципиальная схема камеры — http://astroccd.org/wp-content/uploads/2016/09/CAM86-sch.pdf
Gerbers — http://astroccd.org/wp-content/uploads/2016/09/Gerber-CAM86.zip
Список комплектующих — http://astroccd.org/wp-content/uploads/2016/09/list-of-elements-cam86.xls
Прошивки, драйвера, утилиты — http://astroccd.org/driver-downloads/
Комментарий к списку комплектующих и герберам:
- C15, C16 — не используются, при проектировании использовались в целях отладки.
- R9 со схемы заменен на чип дроссель DR7 для уменьшения шумов (на маркировке платы и в списке элементов).
- DR6 — не запаивал — тоже уменьшаются шума.
- Добавлена возможность на будующее для подключения датчика температуры и влажности DHT22 на 13 pin ATMega328P, соответственно добавлен R9 (на плате и в списке элементов) 10кОм
- Для подведения к плате 12В и подключения USB разъема, есть посадочное место под вот такие разъемы — раз, два.
- Номиналы C12-C14 обычно подходят со списка комплектующих, но в некоторых случаях их нужно подбирать чтобы добиться осциллограм ниже.
Осциллограммы работающей камеры:
Рекомендуемая последовательность сборки:
- Запаять FT2232H и обвязку, проверить определяется ли она компьютером.
- Запаять все питание, проверить напряжения +3.3В, +5В, +6В, 15В, -8В.
- Запаять АЦП и ATmega328P, прошить камеру, проверить работу АЦП; можно потыкать пальцем во вход АЦП, на кадре должен проявляться шум.
- Запаять все остальные компоненты.
Для Cam86 была написана утилита — Cam Programmer AVR utility, с помощью которой можно залить прошивку в микроконтроллер через FT2232H, без использования внешнего ISP программатора.
Отдельно о прошивке камеры:
1) Установить D2xx драйвера для FT2232H.
2) Прошить FT2232H с помощью шаблона cam86.ept . При этом не забыть снять галочку Load VPC в Device manager для cam86.
3) С помощью Cam Programmer AVR utility нужно прошить .hex файл и фьюзы для микроконтроллера внутри cam86 (фьюзы достаточно прошить всего один раз!). Делается это следующим образом:
— Запускаем Cam Programmer AVR utility.
— Нажимаем последовательно «open», «Progr enable». Программа должна опознать чип по сигнатуре и должна появиться надпись ATmega328P. Если не появляется — смотрите внимательно выводы MOSI, MISO, CLK, RES по схеме.
— Потом прошиваем фьюзы — нажимаем кнопку «Read Fuses» набираем в окошках соотвестствующие значения как на подсказках. Далее внимательно, на этом этапе можно запороть кристалл, проверяем правильность ввода. Нажимаем «Write Fuses». Фьюзы записываются только один раз!
— Нажимаем «Chip Erase». Должно быть как на приведенной картинке.
— Нажимаем «Write PROGR» и находим и зашиваем .hex прошивку. Записывается более 200 блоков.
— Выключаем питание. Далее работаем уже с ASCOM драйвером или Cam View utility.
Типичные проблемы:
- камера в bin2 снимает, но в bin1 сигнал обрезается АЦП. Скорее всего виноваты некорректные номиналы резисторов R14, R15.
- в некоторых случая может выгореть транзистор VT1, который управляет элементом Пельтье. Рекомендуется заменить его на более мощный в TO-220.
Все материалы для этого поста надерганы со оригинальной темы на сайте Астрополиса — http://www.astroclub.kiev.ua/forum/index.php?topic=28929.0
Не подскажите может есть у кого лишняя печатная плата для данного проекта?
Для ЛУТ сложновато, а заказывать ради одной штуки — дорого.
Привет Vit,
через неделю придут 3 платы (из USA). Мне 2 достаточно — т.е. одна лишняя печатная плата есть в наличии. Если плата еще нужна дай адрес — перешлю (адрес на латинице т.к. высылать буду из Германии). Стоимость — 0 руб 0 коп. Платы заказывал на https://oshpark.com по случаю (пересылка в Германию бесплатна).
Alex
P.S.: разработчикам огромное спасибо за представленные материалы
Лишней платы для cam86 к сожалению нет.
Hello,
It’s not clear what values C12-C14 should be.
Are they C12 — 300pf, C13-300pf and C14-680pn or C12-30pf, C13-30pf and C14-68pf?
Thanks,
Josh
Hello,
Common rule for marking SMD components — ABC= AB*10^C pf for capacitors (or Ohm for resistors).
C12,C13=300=30*10^0=30*1=30pf, C14=68pf
Is the source code available for the ATMEGA chip and/or the driver for the CAM86?
Yes, all cam86 related stuff located at
https://github.com/vakulenko/CAM8_software/tree/master/cam86
But note, that there is a new cam86 software in this thread
http://www.astroclub.kiev.ua/forum/index.php?topic=28929.2940
Добрый день.
Года 3-4 назад собирал аналогичный проект, разве что управление было через Cortex M3 и вертикальный драйвер был собран на двух отдельных микросхемах.
До конца так и не завершил, хотя фото он снимал.
Т.к. прошло уже 3-4 года, хочу спросить, актуальна ли сейчас все еще эта ПЗС по сравнению с сравнительно новыми бюджетными зеркалками? ( В плане стоит ли с ней заморачиваться… )
Спасибо.
Доброго дня,
Да, ICX453 ИМХО еще актуален, но для него обязательно охлаждение.
На Астрополисе есть проект CAM90 на базе ICX493, он немного сложнее в повторении, но ICX493 будет получше ICX453го.
http://www.astroclub.kiev.ua/forum/index.php?topic=28929.0
Подскажите, сколько время считывания кадра камер на icx453 и icx493 (в теме на форуме прочитал 3,5секунды)?
на icx453 1,7сек. Быстрее не получится?
Скорей всего нет, а зачем еще быстрее? 2 сек чтение вполне «быстро», китайский аналог QHY8 (на том же ICX453) читает кадр порядка 10 сек.
По icx493 не скажу, так как такую камеру не собирал.
По icx453 считывание кадра по поим измерениям около 2 сек.
If i connect a DHT22 it will work automatically and i will see the humidity, or i need to do something to work?
Schematic and firmware for CAM86 published at astroccd.org still does not support humidity sensor.
You need to ask at http://www.astroclub.kiev.ua/forum/index.php?topic=28929.2980 topic. You can ask on English, guys who added DH22 support to CAM86 speak it 🙂
Привет,
Я хотел бы знать, где купить печатную плату для CAM86.
спасибо
луч
Dear vakulenko,
I finished with my cam86 but i have a problem. The minimum ADU is around 8200. I tried many firmwares, with drivers, checked the around AD9826 components. With 0 gain and -127 offset the minimum ADU is the same around 8200.
I found the C8 in your xls is 1uF but in the ad9826 datasheet it is 0.1uF. Nothing else found. Tomorrow i will change it and look for cold solders or wrong components but if you have an idea let me know.
Thank you!
Problem solved. It was a bad AD9826.
Sorry not solved. Minimum ADU is 1200, nothing below. And the histogram is fragmented. Looks like it has only a few shades.
Добрый день!
Запаять FT2232H и обвязку, проверить определяется ли она компьютером.
==============
То есть должна определяться при соединении GND и двух дата проводов с портом USB компьютера? Без питания?
Добрый день,
Нужно еще +5в подключить которое идет от USB.
Hello Valuenko, nice work.
I wanted to ask you: TEC cooling firmware is implemented on Cam86 and both CCD and TEC works throught the same USB port or TEC need to be implemented separatelly?
Hello,
Cam86 have embedded TEC control, so you need only one USB cable to connect cam86.
Correct me if im wrong please; as far as i think i know, the original firmware switchs on/off TEC throught VT1 and some people has modded the firmware to take constant PWM TEC regulation but they have troubles getting some noise pattern on raw output, dont know if they fix that issue but, anyway, VT1 IRFML8244TRPBF has very low power disipation, there is no need to implement a greater Mosfet?
VT1 can be replaced by more powerful. It depends from your TEC.
I get «Division by 0» error when try to upload hex file
Hello,
I just saw this site and I currently have a D70 chip and would like to make this project. Are there any more printed boards availible?
Thx
Hello, unfortunately I have no board anymore. You need to order PCBs yourself or cooperate with somewho on forum.
Here are links to forums
(Ukrainian forum, but you can post on English)
http://www.astroclub.kiev.ua/forum/index.php?topic=28929.3460
(Thread on CN)
https://www.cloudynights.com/topic/497530-diy-astro-ccd-16-bit-color-6mpx-camera/?hl=%20diy%20%2016%20%20bit%20%20ccd
vakulenko, where can I order a board? I don’t see any vendor or links
You can order PCB from your local PCB maker.
Understood, is there a pcb scheme or pattern to download so I can get it done?
I found it.. should there be any changes to the PCB based on updates and/or enhancements made post PCB design?
Hello,
I would like to ask about screenshot from oscilloscope, especially SUB signal.
As I get quite different wave I checked the schematics and found a question.
If SUB pin (17) is saturated ~15V through VD3, how did you get constant 5V signal?
It is connected to XCD1267 which can pull SUB ither to +15 OR GND.
So, CCD pin 17 should be wither 0 or 15V. How it is possible to get +5V there?
Regards,
Marek
Hi again,
Another questions came to me after looking into firmware.
First is that when I try to build the firmware it does not fit into atmega328P which is in the design (pixelX macros expand to ~230% of mcu flash!). So my first question is whether firmware on github is the latest version? and if not, how to get the latest working source code?
Second is that in the mentioned source code, the F7 line is always set to 1, which makes the circuit containing transistors VT2 and VT3 in constant state. My question is if this is true, why to bother with the transistors and not setting this pin to constant voltage ?
Or do I miss some trick there?
I would be really glad for having these questions answered to understand the design even more.
BTW, I forgot to say that I found your project very inspiring and I am truly thankful for sharing this design.
Regards
Marek
Hello Marek,
Unfortunately I cannot help with technical questions. I would like to suggest you to post your questions at forum topic here — http://www.astroclub.kiev.ua/forum/index.php?topic=28929.3480
You can use English, local folks can help.
Hello Valuenko
I would like to ask some information about Cam86 ASCOM driver v.0.1.I tried to install it on Windows 10 but it failed.Do you have any idea how to solve this problem?
Hello hongkai,
Honestly — no idea why it is not working with Win10. Sources of driver are here — http://astroccd.org/2016/09/cam86-software-pack-01/ , you can investigate this topic.
Hi! Cam86-view-01 is the interface software of the camera, I’d like that how can I get the source of the cam86-view-01 software. For other kinds of CCD detector, maybe the cam86-view-01 can not work and should be modified. Thanks so much!
Hello, I don’t have source of Cam86-view SW. Feel free to ask question here — http://www.astroclub.kiev.ua/forum/index.php?topic=28929.0
Hi! I want to ask the 15V and -8V DC power supply. In general, the power supply of MAX743 is 5V, and the output can be +-15V or +-12V. In cam86 design the power supply of MAX743 is 6V(78L06), and the output is +15V and -8V. I tested the circult, and the result I got is that the output volt is +-6V,could you give some advice for it? Thank you so much!
Hello, sorry I cannot help. However feel free to ask question here — http://www.astroclub.kiev.ua/forum/index.php?topic=28929.0