Members | Sign In
Chippernut Forums > Shift Light v2.3
avatar

Latest Code

posted Mar 23, 2016 18:11:52 by bryanhamilton64
Any news of the latest version Jon?
page   1
11 replies
avatar
Jonduino said Mar 24, 2016 01:50:43
Hi Bryan,

I'm done with version 2.4 (yes, I skipped a version, I'll explain later) -- I am in the process of cleaning up my editing, schematics, and zipping the files together. I should have it posted in the next day or so. The new features are pretty cool. Expect a video demo too.

Thanks for asking! :)

- jon
avatar
bryanhamilton64 said Mar 24, 2016 09:28:25
Cheers bud.
avatar
VickyPatmase said Mar 25, 2016 14:35:23
waiting deadly!!!!!!!!!!!!!!!!!
avatar
bryanhamilton64 said Apr 10, 2016 16:42:59
Hi Jon,

I think there is something not quite right with the v2.3 code mate, the two issues I have so far are as follows.

1: The RPM reading scale is wrong. No matter how I play around with the PPR setting if I leave it at 1.0 the tickover speed is perfect but with the shift set at 10,000rpm I can't even reach that, the bike bounces off the rev limiter (13,000rpm) while the reading is at about 8,000rpm. If I change the PPR then the tickover speed goes way off.

Reverting back to v2.1 fixes this immediately.

2: This one is more puzzling and I think this may be a library issue more than your code. If I set the animation to 2 the left hand 8 segment display (This being the First 8 LED's) 'Glimmer' or 'Sparkle' (I will do a video) but it is like interference, they are not lighting up fully, just enough to see a random colour filament type effect across all 8 LED's. The other segment (last 8) do not so this. and it doesn't stop it operating they light up when and how they should.

Why I think this may be a library issue is if I revert to v2.1 it is still there so for the time being I am using animation 1 which does not display this problem.

Software wise the only thing that remains the same is the libraries. I will see if I have a copy of all the old libraries, do a complete removal of the Arduino software, reinstall and load the old libraries and let you know if this fixes it.

Cheers

Bryan
[Last edited Apr 10, 2016 19:51:39]
avatar
Jonduino said Apr 11, 2016 12:46:18
Hi Bryan, I'll do more investigating tonight. I'm sorry to hear you're having issues with the new code. I'll let you know what I discover. If you can take a video of that glimmer/sparkle issue too, that'd be helpful. Did you redo your segmentation when you switched animation styles? The segmentation gets erased when you switch -- also make sure you have the correct number of LEDs programmed. nLED in the menu.

- jon
avatar
Jonduino said Apr 12, 2016 02:22:38
Bryan -- I'm still experimenting.. I think something happened when I added the recent 0.1 resolution to the PPR. I'm checking to see what the issue is and I'll have a solution soon. Again -- sorry for the wait, you (and everyone) have been extremely patient with me. I appreciate your patience.

Stay tuned. I'll have an updated code soon that will fix the issue.

Thanks
- jon
avatar
bryanhamilton64 said Apr 12, 2016 12:56:41
Hi mate,

Don't worry about it mate, you're doing this for free so how could I possibly justify any impatience?

We all have real lives too which come first so when it's ready it's ready and I appreciate all your time and effort.

v2.1 works so no rush.

Bryan
avatar
Jonduino said Apr 13, 2016 12:05:55
Thanks Bryan

I did extensive testing last night and I found the problem. Can you do me a favor. Try setting the SENS mode to "FREQ" in the menu and give it a shot.

I haven't come up with a solution yet - but it's related to the Neopixel library shutting off the interrupt routines. At various points along the RPM range, the shift-light phases in and out of accuracy by varying degrees. However FREQ mode is way more accurate. I have a few ideas how to remedy this... Stay tuned.

- jon
avatar
bryanhamilton64 said Apr 13, 2016 16:21:39
I had already tried that mate and if it made a difference it was only marginal.

Cheers
avatar
Jonduino said Apr 13, 2016 17:43:48
Do you have a video of what's happening?

I'm going to do more testing between v2.1 and v2.3 to see if I can duplicate these issues. Thanks again for your help.
- jon
avatar
Jonduino said Apr 15, 2016 02:11:42
Bryan

Try this new code.

Run the EEPROM reset code before you upload this.

https://github.com/chippernut/ShiftLightV2_31

https://www.chippernut.com/uploads/2/5/3/5/25350363/shiftlightv2_31_files.zip

Let me know how it goes.

Thanks
- jon
Login below to reply: