IljaRukin / Plan2Train

training planing tool with sync to garmin
0 stars 0 forks source link

Request for getting in touch with you. #1

Open manhoosbilli1 opened 3 months ago

manhoosbilli1 commented 3 months ago

I recently came across a project of yours that i'm not able to find much help related to. i was wondering if you'd be kind enough to answer some of my questions i've been having. i couldn't find your email or any other way to contact you. Sorry again for reaching in here.. i'll delete the issue.

IljaRukin commented 3 months ago

Hello, no problem. What is your question ?

manhoosbilli1 commented 3 months ago

Thanks, It's in reference to this repository: your galvo scanner repo I'm using this galvo: Ali express galvo it's the one with X and Y galvo driver integrated into one. My question i'm not really sure how to drive this galvo. in your pictures you have a picture called "differential signal generator" it seems like you are using some opamps to create a + and - signal to give the driver. however i'm confused because i'm using STM32F303CV (F3 discovery board) It has dual 12 Bit DAC in it and i'm able to generate 0-4096 or 0 - 3.3V signal. however i'm not sure if the board will automatically map that to + and - 15V? or do i have to do that externally and provide it +- 15V signal myself? I've just been confused for a few days. if you could guide me in this i'll open up some hurdles for me. Here is the readme i've written about the project if you want to know exactly what i'm working with. my repo Looking forward to hearing back from you

IljaRukin commented 3 months ago

This looks exactly like the galvo and drive electronics I used in my project. You have to provide the drive electronics with a differential signal for each axis. An example: To tilt the mirror all the way to one side you apply -5V at one pin and +5V at the other pin of the drive electronics. To tilt the mirror fully in the opposite direction you apply the opposite, meaning +5V at the first pin and -5V at the other pin. You vary the tilt by varying the Voltage between these two extremes. I used a pair of op amps for this, one for inverting the the microcontroller output (e.g. +5V -> -5V) and the other for buffering the microcontroller voltage. I unfortunately don't have neither the galvo nor any schematics anymore.