Search found 32 matches

by frank26080115
Sun Oct 04, 2020 2:19 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

I don't think I can just figure out how to do the FREX method without an example or app note or something. So I did the other option, which is to timestamp each frame with the HAL_GetTick() value of when HAL_DCMI_FrameEventCallback() is fired. It turns out a 1 sec exposure means frames are appoximat...
by frank26080115
Fri Oct 02, 2020 12:04 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

I've moved forward with the autoguider project. The camera will be mounted on a motorized equatorial mount, kinda like a pan-tilt except the the main axis is parallel with the earth's spin. I need a way to ensure that a frame of 1 second exposure has no motion blur at all. This sounds easy on paper,...
by frank26080115
Sun Sep 06, 2020 4:02 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

I'm jumping the gun here. The polar scope's been tested outdoors like only twice. There's still room for improvements but it's usable. There might be bugs and annoyances to fix later. But now I'm thinking about the guide scope idea more again. I previously mentioned that I designed a PCB to support ...
by frank26080115
Tue Sep 01, 2020 6:09 pm
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

still living in a bbq, can't test outside still I made a PCB design, https://github.com/frank26080115/OpenMV-Astrophotography-Gear/tree/master/elec/guider-shield , it's a fork of your WiFi shield, but I shifted the pins up so I can have more room for the CCTV camera lens, plus I added a I2C port exp...
by frank26080115
Sat Aug 22, 2020 4:39 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

Hey have you thought about selling something like https://www.ccdcmoslens.com/product/cs-mount-to-m12-lens-adapter/ ? Or how about https://www.securitycamera2000.com/products/20mm-Board-Camera-CS-Mount-Base.html ? I am code feature complete. I'm doing only UI tweaks right now waiting for the smoke t...
by frank26080115
Tue Aug 18, 2020 7:04 pm
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

I wrote a "closeall" function into the WINC and py_winc part of the firmware. Now, when my watchdog times-out, it doesn't reboot the WINC, it closes all the sockets regardless of whether or not they are open. It's kind of a dirty hack. It's actually working great! This is much faster at recovering f...
by frank26080115
Mon Aug 17, 2020 8:48 pm
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

Thanks, I guess I didn't see it on elmwood or sparkfun and thought it didn't exist. I managed to be able to serve scaled and compressed JPG over HTTP, but a weird thing is happening. Sometimes the socket times out (OSError -6), file was being sent but not fast enough. But, it seems like this even wo...
by frank26080115
Sat Aug 15, 2020 3:12 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

Gah, different night different problems. You feel that heat today? San Mateo has got rolling blackouts. I drove up to Davis to a friend's place, who has a AC'ed house, carrying all my gear. The sky is great here. Bad news 1 is that the memory is still a problem but now it seems to be more related to...
by frank26080115
Fri Aug 14, 2020 6:15 pm
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

I think you misunderstood. To keep the MicroPython as lightweight as possible. I need to make the HTML pages as complex as possible. We are in agreement on this point. But the problem is that if the HTML has many JS files, the browser sends a bunch of HTTP requests all at once. Once the JS has loade...
by frank26080115
Fri Aug 14, 2020 4:29 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

Maybe have the server do less work? Just provide the data to a client and have them do all the work? That is what I am doing actually. The problem is that if I have a single HTML page but two javascript files and one CSS file, when the HTML is loaded, 3 + 1 (for the favicon) simultaneous HTTP reque...
by frank26080115
Fri Aug 14, 2020 12:43 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

The only reason why it saw that many stars is that I've disabled the checks against the histogram just for the sake of stress testing. Testing against my realistic samples, it's doing fine. I've also added a warning mechanism for "too many stars". Serving a HTML page with a single threaded HTTP serv...
by frank26080115
Thu Aug 13, 2020 3:19 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

that idea was meant for day time pointed at like a far away building for feature extraction forget about that, bad idea I'm actually 99% implementing the Python code. My HTTP server is fully working as well and I'm minimizing the amount of work that the Python has to do. Anything that can be done vi...
by frank26080115
Wed Aug 12, 2020 1:24 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

I have an idea about calibration. The goal is to find the "center of rotation" when the camera is rotated. For a polarscope camera, calibration is usually done by comparing two images, if in both images, I can identify Polaris, it means I have more than one star to work with. This is easy. See attac...
by frank26080115
Mon Aug 10, 2020 3:10 pm
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

Hey is the cx and cy of a blob weighted center or just bounding box center? The lens seems to be giving the stars a slight asymmetrical glow since the focus isn't perfect, the cx and cy isn't exactly centered on what should be considered the center. So I wrote some code to iterate only through the r...
by frank26080115
Mon Aug 10, 2020 2:06 pm
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

I think that worked, it says it found 14 stars pretty fast, I think the blob finding is fast enough for this. Weird thing happened, I ran some code that looks like for i in stars: cir = i.enclosing_circle() img.draw_circle(cir[0], cir[1], cir[2], 255, 1, False) notice that the color is 255, and the ...
by frank26080115
Sun Aug 09, 2020 9:04 pm
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

to_grayscale(copy = extra_fb) doesn't work, the error says that extra_fb is an image object and the parameter "copy" is expecting an integer. I'm guessing I'm supposed to pass the pointer to the allocation, not the whole object? anyways... instead of using to_grayscale, I did simply used get_pixel a...
by frank26080115
Sat Aug 08, 2020 3:57 pm
Forum: General Topics
Topic: WINC TCP socket accept not working, browsers show conn refusal
Replies: 6
Views: 184

Re: WINC TCP socket accept not working, browsers show conn refusal

Yea I goofed there. I used wlan.ifconfig which gave me 0.0.0.0 for everything. Turns out I should've been doing ipconfig from windows, default gateway is 192.168.1.1 I got the connection working. thanks edit: actually, this all started when I implemented the DNS server for the soft AP, it fetched th...
by frank26080115
Sat Aug 08, 2020 4:06 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

Tonight I actually took images of Polaris. I couldn't even see it with my eyes due to the light pollution, but the camera can definitely picked it up. I scripted something that iterated through all potential exposures and collected a bunch of images to run image processing on later. It turns out, th...
by frank26080115
Fri Aug 07, 2020 9:59 pm
Forum: General Topics
Topic: WINC TCP socket accept not working, browsers show conn refusal
Replies: 6
Views: 184

Re: WINC TCP socket accept not working, browsers show conn refusal

Nope, the RTSP server example didn't help. Running it in station mode works, VLC can connect to it. Running it in AP mode, I get the error: VLC could not connect to "0.0.0.0:554". Your input can't be opened: VLC is unable to open the MRL 'rtsp://0.0.0.0:554/'. Check the log for details. I did get a ...
by frank26080115
Fri Aug 07, 2020 5:16 pm
Forum: General Topics
Topic: WINC soft AP causes crash
Replies: 3
Views: 143

Re: WINC soft AP causes crash

I noticed that wait_for_sta is pretty much useless, or a disconnected wifi client device has a really really long timeout
wait_for_sta() waits for the client to connect, I used it for testing. The same can be done with accept on a blocking socket.
by frank26080115
Fri Aug 07, 2020 5:16 pm
Forum: General Topics
Topic: WINC TCP socket accept not working, browsers show conn refusal
Replies: 6
Views: 184

WINC TCP socket accept not working, browsers show conn refusal

I am trying to run https://github.com/IeiuniumLux/PetPy/blob/master/main.py just so I can see how a HTTP server is implemented It doesn't work, Chrome and Firefox both report that the connection is refused. Port used is 8088, I tried port 80 too (but the code definitely says port 8088). And I made s...
by frank26080115
Fri Aug 07, 2020 4:53 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

Ok weird stuff happened, I swear I pushed the PLL multiplier down to 66 at my desk and the whole thing worked fine and I almost got to as long as 3 seconds worth of exposure Then... night time... I couldn't push it past 1.4 sec because the PLL wouldn't let me change multiplier without doing the init...
by frank26080115
Fri Aug 07, 2020 3:47 am
Forum: General Topics
Topic: WINC soft AP causes crash
Replies: 3
Views: 143

WINC soft AP causes crash

The following code crashes the whole board import network, pyb wlan = network.WINC(network.WINC.MODE_AP) pyb.delay(1000) wlan.start_ap("OpenMV") when this is run, the board reboots The line "Running in Access Point mode..." does show up in the terminal, the call to start_ap seems to crash it I can r...
by frank26080115
Thu Aug 06, 2020 12:58 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

You can take the screw lock off the default lens and put it on the Telephoto screw. No I can't, the correct focal point is like 1mm away from the bottom, there's no thread in that region, and the ring is too thick anyways. I think some teflon tape would work. I would permanently glue it down once I...
by frank26080115
Wed Aug 05, 2020 11:38 pm
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

This is the H7 Plus, so the sensor is a OV5640, I don't see any documents about the registers at a glance. Is it the same code though? The lens I'm using is the telephoto lens. What screw? There's a small hole on the top of the housing but it's not a screw. I know the default lens has that ring that...
by frank26080115
Wed Aug 05, 2020 9:45 pm
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

Just got it in the mail The M12 thread is really loose unless the lens is screwed all the way in, but if it's all the way in, it's definitely not focused right. This is a big problem but I might just solve it with teflon tape or thread locker. Or maybe I could stick an o-ring between the housing and...
by frank26080115
Mon Aug 03, 2020 4:31 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

I envisioned that the WiFi shield provide a preview of the image to a smartphone. It's gotta be full resolution for the exposure check. The actual plate solving bit can be just SVGs. I am wondering if there are performance penalties. I am considering using a ESP8266 as a co-processor just to be the ...
by frank26080115
Thu Jul 30, 2020 5:05 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

Do you guys have any specs on the optical errors of the lens and the soldering planarity of the sensor? I need he view to be perfectly parallel with the scope holder, or find a way to calibrate away that error. So I want to know how straight the lens is and how level the soldering is on the sensor. ...
by frank26080115
Wed Jul 29, 2020 3:35 pm
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

I guess I'll find out how slow when it gets here My plan is to sort the blobs by brightness. It looks like I can get a list of blobs easily. My next questions: Is there a limit on the number of blobs detected? There could be... ahem... a lot of stars. If a blob’s bounding box area is less than area_...
by frank26080115
Wed Jul 29, 2020 5:55 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

hey I just read about The OpenMV Cam has two memory areas for images. The classical stack/heap area used for normal MicroPython processing can store small images within it’s heap. However, the MicroPython heap is only about ~100 KB which is not enough to store larger images. So, your OpenMV Cam has ...
by frank26080115
Tue Jul 28, 2020 4:57 pm
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

Re: OpenMV as Autoguider for astrophotography?

Hi thanks for the info so far. I ordered the plus version just now. Calculations tells me that it'll be a pretty crappy guider, 11.6 arc sec per pixel. I might end up turning this into a polar alignment camera instead. Gonna need to write a fake plate solver. Testing is going to be a pain lol a few ...
by frank26080115
Tue Jul 28, 2020 3:21 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 55
Views: 1296

OpenMV as Autoguider for astrophotography?

You guys seem to be the perfect hardware for a headless astrophotography autoguider Background: the Earth spins, so the stars in the sky are always moving. If you want to take a photo of something really dark and far away in the night sky, you need to do long-exposure photos but since the stars are ...

Go to advanced search