With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
I've been trying to get it read all week. In the arduino program I see Idle 0 and idle 1 going back and forth. When the program runs the rx light on the arduino flashes once then I get the above error. could I have something soldered wrong and it's not reading any values from the sensors?
Finding the port is a hard problem that is finiky based on how many comm port devices are attached.This is where the code starts, https://github.com/Makuna/Tbs4RpmWin/blob/master/Tbs4Rpm/MainWindow.xaml.cs#L291and it calls this to enumerate portshttps://github.com/Makuna/Tbs4RpmWin/blob/master/Tbs4Rpm/MainWindow.xaml.cs#L228and uses this to identify the port as being the TBShttps://github.com/Makuna/Tbs4RpmWin/blob/master/Tbs4Rpm/MainWindow.xaml.cs#L262You would have to debug the code to see why its skipping the port you have it on.
I'm getting the message "Connect the TBS shield before starting this application" I've changed the com port of the arduino to 11 and 12 with no luck. Is there something else I'm missing or have done improperly?
Motorcycle brake and clutch fluid change
Building a Solder Station Sponge Replacement
Arduino Throttle Body Syncronization Shield
With Visual Studio 2013, I've been able to, sort of, compile the win app. As my arduino uno R3 is identified as COM6 on my PC, it wasn't detected by the app and reported "make sure TBS is connected before..."I tried to force COM6 as the portName.string and when I start the app, leds start blinking on arduino board but no window shows up (the one with the graphs). My TBS shield isn't ready yet so it may be the reason nothing appears but no error reported...Waiting for the parts to build the shield.
Did it resolve your issue?Curious as I seem to have stumbled into the same issue. :-(
Has anyone else run into issues when trying to get the Windows part (C# code) working?I am running a Windows 7 (x86) with Visual Studio Community 2015, with an Arduino Uno R3 plugged in.I am stuck with System.TimeoutException errors concerning the .ReadLine (when trying to read the version query result).If I pop up the Serial Monitor or other utility to connect to the port, I see the <idle0> and <idle1> along with the version if I send the command/query for it.What gives? :-(
Hi Makuna,I must be stupid but I'm unable to start the win app in anyway. I don't understand how to use it. I'm running Win7 x64. What do I need to make it run ? Does a .exe version exists ?Sorry but I'm really dummy at programming and from ther, I'm stuck !Many thanks
Weller WES51 Soldering Station. I have had it for many years and they still sell the same model today.
what station is that thinking of buying it
Hi Makuna.I can not solve this problem. Simply does not find the COM port even if I change the port to COM10 or above. Tried on different PCs and the problem is the same. Can you send me your already compiled app to try.
I've noticed that line during troubleshooting and I tried with different COM port settings, unfortunately with the same outcome. Can you suggest which lines to delete or add in the code so I can try again. I'm not so much in to writing codes. I've tried with some simple arduino codes for reading analog input and plotting to serial port just to check if my sensors work and that was successful.
Hi Makuna. I have sucessfully uploaded the SW to the Arduino, but I have problems with starting the Win app. It replies with the following popup "TBS Sensor Unit not found. Make sure the TBS unit is plugged in before starting this application"The arduino is detected as COM7. Any idea what could be the issue.Thanks.
In the method private string FindPortName(List<string> portsSkip)you will see this lineif (portName.Length > 4) // skip COM5this is the problem. I had to add that due to have other USB devices that exposed a serial port that would choke if probed by the code in another place. This is suppressing all com ports that are single digit.
In this [picture](http://www.instructables.com/file/F9K6S5XH2G5ZUVS) it shows the board layout, with labels showing connecting to the Arduino A0 - A3 directly.The board was designed as a shield, so it just plugs directly on the top of the Arduino.
There is nothing specific in the code about the connection to computer. It treats it as a serial device. But I have never tested this configuration.The connection to the sensors also follows standard pin setup so it should work if plugged into any 5v Arduino.
Excellent work Makuna. I have one question regarding the Arduino model. Does your app work with the Arduino MEGA 2560 with ATmega16U2 USB-serial chip?
Hi. Great work! Thank you. Could you please either post or email the pin connections between the shield to the arduino?Thanks for sharing.
what if u have no reservoir on the handle bar for the clutch like mine has only one i got on mine is the front brake reservoir what then coz the filler cap on the right hand side on the engine is for the oil but theres 2 on the left hand side which arent labeled
Hi !Well i continue to have problems with this setup. I will get the "make sure TBS is connected before..." message everytime.I can see that the PC software is trying to communicate with the Arduino but then nothing happens. I have tried COM ports with single and double digits without success.Windows 7 32bit and Windows 10 64bit is also something i have tried.The PC software is built without a problem, aswell as the compilation and uploading of the Arduino program. I have a Arduino Mega with the Atmega communication circuit, not the FTDI. So i have ordered a TTL to USB with the FTDI circuit to connect directly to the Arduino to see if that solves the issue. Any other suggestions is wellcome.\Patrik L
Join 2 million + to receive instant DIY inspiration in your inbox.
Download our apps!
© 2016 Autodesk, Inc.