-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do you only need one place to change the I2C address? #8
Comments
You need to use the TFMini-Plus-I2C library to change the TFMini-Plus I2C address. You may want to raise your issue in the repository for that library. In the TFMini-Plus-I2C library, you will need to send a I'm not sure I understood your question, so I hope this helps. |
Dear Bud,
Thanks for your information.
Can you also use the Arduino Nano for connecting to the TFMiniPlus.
If so, which pins do you have to connect to.
Thanks,
Bram Dons
|
Hello Bud,
I have changed my TFMINI-Plus -with the SSCOM.5.12 program I got from Benewake support- to I2C and changed the address.
Right now I can’t connect the TFMINI within Ardupilot.
How can I change back to UART mode with the command SET_SERIAL_MODE?
What steps do I have to take with ARDUINO Nano to get this working.
After that I can hopefully change the I2C address with your program. (the Benewake SSCOM program does not seems to work properly.
Thanks in advance for your help.
Regards,
Bram Dons
|
Bram, If you send a command to the TFMini-Plus to change from UART to I2C communication mode, all further communication must be in I2C format. When the device is in I2C mode, you will not be able to use the SSCOM application. However, while the device is powering up, it will be in serial mode for about ten seconds. During that time, you might be able to reconnect with SSCOM and send the command And yes, you can use an Arduino Nano to communicate with the TFMini-Plus in either UART or I2C mode. Good luck, Bud |
Bud,
Tried to reconnect with SSCOM but if failed on two of my TFMini-Plus.
I did put the command in the empty space, I guess that is allright?
Maybe the firmware could be corrupted because I have been playing around with the Arduino Nano.
I got the firmware form fengzuolei@benewake.com <mailto:fengzuolei@benewake.com> but he could not inform me how to burn the firmware.
Any more suggestions?
Thanks,
Bram
Ps
The problem started with using the SSCOM to change the I2C address. After that I could connect to my Rangefinderx in Ardupilot.
This SSCOM application, I think is not working allright. Although Benewake supports tells you it is working perfect….
|
Bram, I sincerely doubt that the firmware is corrupted or that SSCOM is not working correctly. My suggestions are:
Bud |
Bud,
Tried to get the TFMini in UART mode, but it failed (see screenshot).
So I will try to connect with Arduino to the TFMini.
Althoug I am an IT professional myself I don’t have experiece with the Arduino environment.
So could you advise me?
1. Which connections do you use for connecting the TFMini to the Nano.
2. Do you use the TX/RX or the D2/D3 pins?
3. Which Arduino program can I use to make the connection and how do I set this up?
Thanks in advance,
Regards,
Bram
|
Bram, |
Bram was trying to setup three TFMini+'s to work together on a drone with a shared I2C bus. He was having difficulty changing the I2C address and then maintaining communication with the devices. Here are a couple of things we both learned:
|
No description provided.
The text was updated successfully, but these errors were encountered: