Search found 14 matches

by rojhann
February 2nd, 2016, 9:43 am
Forum: Project Ideas
Topic: Laser trigger
Replies: 24
Views: 13844

Re: Laser trigger

I should have thought about this! I remember playing with the trigger_sync, but I never put it in the if. It reassures me that the answer is so simple and elegant. One question: is it the fact that the output of the two flipflops is more "stable" than the external input that solved the issue? I have...
by rojhann
February 1st, 2016, 8:44 am
Forum: Project Ideas
Topic: Laser trigger
Replies: 24
Views: 13844

Re: Laser trigger

Hey!

Do you think the error could lie else where than in my lucid code?

If the video is accurate, it is very strange that all the numbers will come one after the other but in disorder.

Could some interpreter/compilater be incriminated?

thanks!
by rojhann
January 26th, 2016, 5:33 am
Forum: Project Ideas
Topic: Laser trigger
Replies: 24
Views: 13844

Re: Laser trigger

Sure thing! The password is "mojofpga": https://goo.gl/Bfgib5 There is the project, and a video I took from the led blinking (which shows the value of the counter used in the "distributor", the numbers seem to come in disorder). Usually, I send a square signal~4Hz (120ms up, 120ms down, etc...) and ...
by rojhann
January 21st, 2016, 5:12 am
Forum: Project Ideas
Topic: Laser trigger
Replies: 24
Views: 13844

Re: Laser trigger

So i tried a new approach (more adapted to the synchronization of four lasers): A distributor module modifies the trigger sent to each laser according to a 16bits sequence. module userinput ( input clk, // clock input rst, // reset input new_rx, // new RX flag input rx_data[8], // RX data output mod...
by rojhann
January 20th, 2016, 4:31 am
Forum: Project Ideas
Topic: Laser trigger
Replies: 24
Views: 13844

Re: Laser trigger

This is true, you mentionned that earlier and I didn't take the time to modify it. But I'll take your advice. Concerning the led and the constant sequence, I tried that. The sequence I send via usb is correctly understood. When using a constant sequence the problem stay the same, therefore I believe...
by rojhann
January 19th, 2016, 8:31 am
Forum: Project Ideas
Topic: Laser trigger
Replies: 24
Views: 13844

Re: Laser trigger

Hey! Worked like a charm! I didn't have time to implement it on the microscope until now, it is really great. Much better than the Arduinos I had. Now people are using it daily for the lasers. Which bring me to another step. Because I bought another Mojo and want to expand its functionalities. Basic...
by rojhann
November 16th, 2015, 11:56 am
Forum: Project Ideas
Topic: Laser trigger
Replies: 24
Views: 13844

Re: Laser trigger

Hey! I finally got the time to try out with the lasers. Unfortunately, something that I didn't notice but that I can actually see with the oscilloscope is that it is skipping some triggers... Something like: I use what you wrote: module triggerToPulse ( input clk, // clock input rst, // reset input ...
by rojhann
October 12th, 2015, 7:11 am
Forum: Project Ideas
Topic: Laser trigger
Replies: 24
Views: 13844

Re: Laser trigger

Hmm oki, that indeed works much better that way! Somehow I thought when going from idle to listen the flag was still up.

In the mean time I solved my issue with the pulse length. I was sending highbyte and lowbyte in the wrong order...

thanks a lot for your time!
by rojhann
October 6th, 2015, 3:45 am
Forum: Project Ideas
Topic: Laser trigger
Replies: 24
Views: 13844

Re: Laser trigger

Ah yes sorry, of course... I took the module you wrote as is, and the other module is the one I posted. But small modifications I made might be the source of my trouble. NET "camera" LOC = P22 | IOSTANDARD = LVTTL | PULLUP; NET "sigout" LOC = P33 | IOSTANDARD = LVTTL | PULLUP; module mojo_top( input...
by rojhann
October 5th, 2015, 7:50 am
Forum: Project Ideas
Topic: Laser trigger
Replies: 24
Views: 13844

Re: Laser trigger

For the moment it is quite funny, because by sending two times the command, then I get the right behaviour. But I haven't manage yet with an end character... An other of my trouble is that the pulsing doesn't work. If I set in the code a fixed duration (like 200), then i get the pulse with the right...