Good evening,
I'm Roberto from Italy.
I bought a nano compatible board, and the rest of the material to build the focuser on aliexpress. Drv8825, expansion board for the driver and a nema 17pg5 motor. I have also an oled display but I will add it later when i get the rest running.
The nano has a ch340 chip.
It took a while to put everything in order but i reached to compile the firmware and uploaded it.
To reach to upload the firmware I have to use the new bootloader, if I use the old one is getting stuck in uploading.
Using the new bootloader does not give me any warning or errors, but i cannot connect with the windows program to test it.
I also tried to disconnect everything from the nano but does not work.
It tries to connect, is giving me the name of the firmware, but then is saying disconnected.
What am I doing wrong?
Thanks for the help.
Roberto
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just tried with the App Mini and it did connect.
After this I tried with the normal App a it did connect too, could be anything in the main app setup?
I'll try more testing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
testing is preceeding, I wanted to add the pushbuttons, so I moved from the drv8825solderless to the myFP2_DRV8825_336 to have the pushbuttons routine.
I loaded the PushButtons.ino from the test folder to build my table.
I have the arduino powered by the usb so I have only 5v available.
I follow the wiring of schematic Basic w/ BT V2 and I used three 1.2k resistors and 1M resistor to create the voltage divider.
Using PushButtons.ino I get 350-400 for pushbutton1, 500-550 for both, 650-720 for pushbutton2.
I loaded ther 336 firmware in arduino ide, run to the config to set up everything, changed the values in the table for the pushbuttons routine. Using the windows app the motor is turning but using the pushbutton it doesn't. I also tried to change the value of the step PB_STEP setting it at 10, then 100, then 255, but the motor does not move Using the pushbuttons.
Cheched also the defines and I have #define PUSHBUTTONS 1, and the signal wire is on A1 on the nano.
I don't know what else to do.
Does anybody have some suggestions?
thanks.
Roberto
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PROBLEM SOLVED
I was reading the samples values instead of the total, now is working even if is only powered by only usb port at 5v.
the values table is:
SW1: 1800-1900
BOTH: 2600-2700
SW2: 3400-3500
I will try to add the display and maybe the leds and the buzzer.
Roberto
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good evening,
I'm Roberto from Italy.
I bought a nano compatible board, and the rest of the material to build the focuser on aliexpress. Drv8825, expansion board for the driver and a nema 17pg5 motor. I have also an oled display but I will add it later when i get the rest running.
The nano has a ch340 chip.
It took a while to put everything in order but i reached to compile the firmware and uploaded it.
To reach to upload the firmware I have to use the new bootloader, if I use the old one is getting stuck in uploading.
Using the new bootloader does not give me any warning or errors, but i cannot connect with the windows program to test it.
I also tried to disconnect everything from the nano but does not work.
It tries to connect, is giving me the name of the firmware, but then is saying disconnected.
What am I doing wrong?
Thanks for the help.
Roberto
I just tried with the App Mini and it did connect.
After this I tried with the normal App a it did connect too, could be anything in the main app setup?
I'll try more testing.
testing is preceeding, I wanted to add the pushbuttons, so I moved from the drv8825solderless to the myFP2_DRV8825_336 to have the pushbuttons routine.
I loaded the PushButtons.ino from the test folder to build my table.
I have the arduino powered by the usb so I have only 5v available.
I follow the wiring of schematic Basic w/ BT V2 and I used three 1.2k resistors and 1M resistor to create the voltage divider.
Using PushButtons.ino I get 350-400 for pushbutton1, 500-550 for both, 650-720 for pushbutton2.
I loaded ther 336 firmware in arduino ide, run to the config to set up everything, changed the values in the table for the pushbuttons routine. Using the windows app the motor is turning but using the pushbutton it doesn't. I also tried to change the value of the step PB_STEP setting it at 10, then 100, then 255, but the motor does not move Using the pushbuttons.
Cheched also the defines and I have #define PUSHBUTTONS 1, and the signal wire is on A1 on the nano.
I don't know what else to do.
Does anybody have some suggestions?
thanks.
Roberto
PROBLEM SOLVED
I was reading the samples values instead of the total, now is working even if is only powered by only usb port at 5v.
the values table is:
SW1: 1800-1900
BOTH: 2600-2700
SW2: 3400-3500
I will try to add the display and maybe the leds and the buzzer.
Roberto