In order to successfully test every Carloop we ship, I was looking for a simple program that would let me know that the hardware was properly soldered. @jvanier put together this very elegant and simple “Hello World” app for Carloop that works great as a sanity check and a good place to start playing with Carloop.
What does it do?
Blinks the Photon or Electron’s LED if Carloop successfully reads OBD signals on the CAN Bus
Requirements
Photon firmware version has to be at least 0.4.9 (see this post for more info).
Electron firmware version at least 0.5.0
Life Pro Tip:
Type SYSTEM_MODE(MANUAL); at the top of your .ino file to avoid connecting to WiFi/Cellular and test everything is working as expected.
I have connected today my new carloop photon to the obd2 connector of my vw lupo 2005 and I do not see any blue light blinking, I only see a white light… 0.6.3 Photon firmware version and SYSTEM_MODE(MANUAL); typed… What is the problem???
The blue LED that Alan Mond referred to is the LED associated with pin D7. This is not the same as the RGB status LED in the centre of the Photon.
What do you mean SYSTEM_MODE(MANUAL); typed?
You do have to build the whole program and then flash it to the Photon for it to work…
Can you let us know exactly how you did this. Also, are you using Particle IDE, Particle Build or the CLI?
A white light is very strange for a Photon, especially for a recent system firmware.
Just to be sure, is 0.6.3 the version you are choosing in the IDE or is this the version confirmed to be on the Photon?
Also just to be sure, the carloop is new to you, but are you also new or experienced using a Particle Photon?
If you are getting the High-speed flashing white (since I forgot to ask about the pattern of the light), then you might want to leave it running 10 minutes to give it a chance to update the system firmware…
Let’s focus on getting your Photon up and running; then we can move on to getting the Carloop going!
You are correct that carloop is very small. It was designed to be very small.
However, I do not agree that carloop is unstable. Rather, carloop is a very powerful tool and needs to be treated as a powerful tool. It is capable of much greater functionality than an OBD-II diagnosis tool. With that greater functionality comes greater complexity and the user must take care to use it appropriately.
As far as I am aware, every carloop problem has been a user problem, or a case where the car uses a protocol other than CANbus and only one case where the carloop itself had an issue; that case was resolved by replacing the power regulator chip on the carloop. There could be something else that I am not aware of; I do not work for Carloop.
I have to make an assumption given the little information you have provided. Issues with white lights and red lights showing on the Photon leads me to assume that you have an issue with the setup of the Photon. Also, when you describe the lights, you MUST provide the color of the light AND the light pattern, in accordance with the link I provided you earlier. For example, for red lights it is critical to count the number of flashes in the pattern. Also, it is important to described exactly what you did to cause the red lights. If describing it is difficult, then maybe posting a video might be another way to communicate.
I am struggling to get my Carloop to read any ODB-II messages from my 2018 Honda Ridgeline.
I am using:
Photon - Device OS/firmware version 0.7.0
Carloop - R2.3
Using the particle IDE I compiled the “Hello World” app (copied from Hello World) and included carloop.h from the particle library. I flashed this to my photon which puts it into the breathing white - WiFi module off - mode expected with SYSTEM_MODE MANUAL.
When I connect the Carloop to the ODB connector it powers up and resumes the breathing white - with the truck running or not the blue LED (D7) never blinks.
If I put the Photon into safe mode it enables WiFi and reconnects to the Particle cloud/
Using an Actron CP9180 ODB scanner I verified that the ODB connection in my truck is working.
Obviously I’m missing something or doing something wrong. Can anyone suggest what steps I should take next in diagnosing this?
Hey @Skip,
The Hello World program is intended to get familiar with Carloop and see something happen. It is the equivalent of creating a website that just says “Hello World” in plain text, just HTML with no css.
As you indicated in your introduction to this thread, “Hello World” is a simple program that lets you know if Carloop successfully reads ODB signals on the CAN Bus. At this point this is exactly what I’m looking for - to see something happen and confirm that I can read an ODB signal. Unfortunately, it is NOT WORKING!
Since this is the same program that you use to test every Carloop you ship I was hoping that you could provide me with some guidance as to what I might be doing wrong, what the problem might be, or suggest some diagnostic steps…
Could the issue somehow be related to the make of car I’m testing with? Even though my Actron scanner doesn’t have any issue with the Honda I did see some notes under other topics about Hondas having different CAN speeds and ID lengths - any thoughts?
As to your suggestion to switching to a different or more complicated app I don’t see how this will help me when I can’t get the most basic app to work.