Search found 1135 matches

by andrew
Sun Mar 07, 2021 9:14 am
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18206

Re: Hobby Components Maze Runner (HCROBO0052)

Thanks again for the answers. That tells me it's unlikely to be a hardware issue as far as the motors are concerned. You're always going to get some slight speed difference with DC motors but it sounds like it's nothing as bad as when it's following the line. I'm not going to rule out a hardware sen...
by andrew
Fri Mar 05, 2021 1:42 pm
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18206

Re: Hobby Components Maze Runner (HCROBO0052)

Definite progress! It is now attempting the calibration That's great. I can go into more detail if you like but basically the weirdness was being caused by some code being optimised out by the compiler. I guess over the years since this library was written the IDE has been through several updates a...
by andrew
Fri Mar 05, 2021 9:46 am
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18206

Re: Hobby Components Maze Runner (HCROBO0052)

I've attached a copy of the HCMRunner.cpp file to this post. Can you replace the one in your libraries/HCMRunner folder with this version and see if it works....


HCMRunner.cpp
by andrew
Thu Mar 04, 2021 3:41 pm
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18206

Re: Hobby Components Maze Runner (HCROBO0052)

In fact the current download from your forum seems to be V0.1 (copy attached) The version stated at the beginning of each file is: Sorry I'm an idiot! I did downloaded the library but made the rookie mistake of forgetting to delete the existing library from the the library folder. I've now uploaded...
by andrew
Wed Mar 03, 2021 3:51 pm
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18206

Re: Hobby Components Maze Runner (HCROBO0052)

If I might ask, since my sketch is running oddly on your robot as well as mine and you are looking for bugs in the library, does the demo Maze Solver sketch still work normally on your robot? In particular using the exact same example sketch and library that I am using, downloaded from the forum? Y...
by andrew
Tue Mar 02, 2021 10:59 am
Forum: Arduino
Topic: HCuOLED library for SSD1307 & SH1106 based OLED displays
Replies: 37
Views: 32077

Re: HCuOLED library for SSD1307 & SH1106 based OLED displays

Cheers for that. Please feel free to post a picture when it's finished I'd love to see it.
by andrew
Tue Mar 02, 2021 10:57 am
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18206

Re: Hobby Components Maze Runner (HCROBO0052)

I was just going to post you a test sketch to try this morning that ran the motors in a particular direction just before running the calibration routine but after seeing your post I gave your sketch a quick try and I'm seeing the same weird behaviour. What's even more weird is if I add some serial p...
by andrew
Sun Feb 28, 2021 8:15 am
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18206

Re: Hobby Components Maze Runner (HCROBO0052)

Ok, thanks. I'll take a another look at the code while you do that. Nothing jumped out at me when I looked at it before but I'll take another look with the fact that it is stepping though the calibration process at the correct rate in mind.
by andrew
Fri Feb 26, 2021 3:34 pm
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18206

Re: Hobby Components Maze Runner (HCROBO0052)

I've been staring at the library and in particular the calibration routine but at the moment I can't see any condition that would cause it to not rotate the motors and yet still get to the end of the calibration routine. Can I check with you - does it immediately output the calibration results right...
by andrew
Thu Feb 25, 2021 4:49 pm
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18206

Re: Hobby Components Maze Runner (HCROBO0052)

Regarding the test surface, my original "T" test maze was 20mm black tape on light cardboard which previously worked fine so it was fairly forgiving. I'm now using the same tape on white paper. I didn't know how important extraneous light is so it's been tried in daylight, artificial light and even...