Hi Robert. I recently decided to build another focuser controller using the Gerber Files you kindly provided on your site. I may be wrong but I think may be the silk screen printing for the BT header might be wrong. I couldnt get my BT module to pair up initially on checking out the circuit I came to the conclusion as I was getting negative 5volts between vcc and groundthat they might be marked up opposite to what they are. I have swapped the connections around and the module now pairs up.
When I was trying to find out why it was not working I took the BT module from my stripboard build that was working to eliminate a dodgy module. Big mistake I now have two units that will pair up but will not communicate with the controller. I have set the timing settings to what you recommend in you BT option, but I get the following message "time out exception in connect. No response from controller.
Do you think I could have fried them both by having 5volt and negative croseed. They still light up as if communicating.
Have there been any changes in v294 firmware that would effect the Bluetooth operation.
Any help would be much appreciated
Regards
Charles Clark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert, tested the two modules on a breadboard with a simple setup and an android app called s2 Term and they are working okay. I have tried them back in the controller and the led light flashes as expected and they pair up with my phone and laptop, but when i try to communicate with the controller the led flash rate slows down as if the bt is awaiting from a response from the controller.
Regards
Charles Clark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You did not say what borad it is. So I do not know what connector for what board. Please be a little more specific and then in my answer I can refer back to the connector.
When you have issues with BT, you should use device manager to ensure it is all removed - the HC05 else it has wrong identifier and will pair but not connect
Each BT device has a unique identifier. When you pair, that identifier is recorded in windows along with the device name HC05. The prohblem is if you then swap to another HC05 module, that module has a different identifier but same name. Windows thinks it is the same, which it is not, and the unique identifier is required to send/receive data - hence it fails. Only way round this is to ensure the devide is completely removed and start again.
the resistors for the HC05 are important as between the txd data of the arduino and the receive of the HC05 pin. The firmware is very explicit about what Arduino pin goes to what HC05 pin.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert. The board I am using is a DRV 8825 M-MT-F-BT Rev 11. I could not get the BT module to flash initially as I was getting negative 5volts between VCC and Ground. I had to swap the leads for it to flash as expected. I have checked the TX and RX connections and they were correct.
Now fo me to eat humble pie. I have two laptops and while I downloaded v294 of firmware plus the libraries. However I made the cardinal sin of not copying them into Arduino Library file on one machine. Classic BooBoo on my part. I have coreected this and reflashed the Nano and they now both work. It explains how my stripboard version was working then stopped.
Now both working as expected.
Apologies for my stupid error but you might want to check out the silkscrren marking on the Gerber file as I had to swap 5volt with Ground to get it to work
once again apologies for my library error.
and thanks for a great project
Regards Charles Clark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Charles
It takes a great man to admit mistakes, so my hat off to you.
Yes, I also stuffed the + G signs on the board silkscreen so I fixed it. Thank you to bringing that to my attention. I will upload a revised PCB/gerber now.
regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert. I recently decided to build another focuser controller using the Gerber Files you kindly provided on your site. I may be wrong but I think may be the silk screen printing for the BT header might be wrong. I couldnt get my BT module to pair up initially on checking out the circuit I came to the conclusion as I was getting negative 5volts between vcc and groundthat they might be marked up opposite to what they are. I have swapped the connections around and the module now pairs up.
When I was trying to find out why it was not working I took the BT module from my stripboard build that was working to eliminate a dodgy module. Big mistake I now have two units that will pair up but will not communicate with the controller. I have set the timing settings to what you recommend in you BT option, but I get the following message "time out exception in connect. No response from controller.
Do you think I could have fried them both by having 5volt and negative croseed. They still light up as if communicating.
Have there been any changes in v294 firmware that would effect the Bluetooth operation.
Any help would be much appreciated
Regards
Charles Clark
Hi Robert, tested the two modules on a breadboard with a simple setup and an android app called s2 Term and they are working okay. I have tried them back in the controller and the led light flashes as expected and they pair up with my phone and laptop, but when i try to communicate with the controller the led flash rate slows down as if the bt is awaiting from a response from the controller.
Regards
Charles Clark
Hi Robert, attached is the error log when I try to connect via bluetooth if that helps
Regards
You did not say what borad it is. So I do not know what connector for what board. Please be a little more specific and then in my answer I can refer back to the connector.
When you have issues with BT, you should use device manager to ensure it is all removed - the HC05 else it has wrong identifier and will pair but not connect
Each BT device has a unique identifier. When you pair, that identifier is recorded in windows along with the device name HC05. The prohblem is if you then swap to another HC05 module, that module has a different identifier but same name. Windows thinks it is the same, which it is not, and the unique identifier is required to send/receive data - hence it fails. Only way round this is to ensure the devide is completely removed and start again.
the resistors for the HC05 are important as between the txd data of the arduino and the receive of the HC05 pin. The firmware is very explicit about what Arduino pin goes to what HC05 pin.
Hi Robert. The board I am using is a DRV 8825 M-MT-F-BT Rev 11. I could not get the BT module to flash initially as I was getting negative 5volts between VCC and Ground. I had to swap the leads for it to flash as expected. I have checked the TX and RX connections and they were correct.
Now fo me to eat humble pie. I have two laptops and while I downloaded v294 of firmware plus the libraries. However I made the cardinal sin of not copying them into Arduino Library file on one machine. Classic BooBoo on my part. I have coreected this and reflashed the Nano and they now both work. It explains how my stripboard version was working then stopped.
Now both working as expected.
Apologies for my stupid error but you might want to check out the silkscrren marking on the Gerber file as I had to swap 5volt with Ground to get it to work
once again apologies for my library error.
and thanks for a great project
Regards Charles Clark
Hi Charles
It takes a great man to admit mistakes, so my hat off to you.
Yes, I also stuffed the + G signs on the board silkscreen so I fixed it. Thank you to bringing that to my attention. I will upload a revised PCB/gerber now.
regards
Robert