0

MultiChron for MonoChron!
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: MultiChron for MonoChron!

by caitsith2 on Wed Aug 11, 2010 7:52 pm

Fixed two more bugs.

RattChron - When rotated into from SevenChron on rotate mode, the top border was missing a few segments. This has been fixed.

XDalichron - Bits of the right most digit was intruding into the left most digit. This has also been fixed.
Attachments
MultiChron-RC-1-0-build-1.zip
Bug fixes, Release Candidate 1.0 build 1.
(30.78 KiB) Downloaded 166 times
caitsith2
 
Posts: 217
Joined: Thu Jan 18, 2007 11:21 pm

Re: MultiChron for MonoChron!

by neutron spin on Wed Aug 11, 2010 10:29 pm

caitsith2 wrote:Fixed two more bugs.

RattChron - When rotated into from SevenChron on rotate mode, the top border was missing a few segments. This has been fixed.

XDalichron - Bits of the right most digit was intruding into the left most digit. This has also been fixed.


I noticed that on the XDalichron...good catch!....now all is good...I think?... :lol:
neutron spin
 
Posts: 163
Joined: Sat Apr 03, 2010 6:11 pm

Re: MultiChron for MonoChron!

by dataman on Thu Aug 12, 2010 11:28 am

All up to you...
What bugs can you find??? ;-)
Dataman
Charley Jones, crjones.com
Founder and President:
Sql Server Society of Las Vegas, SSSolv.com
XNA User Group, LVXug.Com
Las Vegas Make, LVMake.Com
Developer of the IntruderChron, MultiChron, & GOL 1.4 Mod, Crjones.Com/AdaMods

dataman
 
Posts: 98
Joined: Wed May 20, 2009 7:03 pm

Re: MultiChron for MonoChron!

by USBitsa on Thu Aug 12, 2010 8:17 pm

I luv this guys !

...thanks so much for doing this ! Exactly what I wanted !

Saved me a ton of code tweaking !

Cheers to all !

Ian
USBitsa
 
Posts: 2
Joined: Thu Mar 04, 2010 1:25 am
Location: California

Re: MultiChron for MonoChron!

by ekeefe on Fri Aug 13, 2010 1:15 pm

Hello,

I noticed this bug a little while ago in IntruderChron.

At 12:21 PM the time was being displayed as 00:21. Here is a photo of the display
Image
and the menu settings I have.
Image

I am using the latest MultiChron zip hex and eep files.

Thank you.

ED

ekeefe
 
Posts: 7
Joined: Thu Aug 05, 2010 11:12 am

Re: MultiChron for MonoChron!

by dataman on Fri Aug 13, 2010 3:12 pm

Hmm,...
0021 would technically be military time.
1221 would technically be correct.
IntruderChron does display 1200 for noon.
This may indeed be long-time uncaught cosmetic bug.
Nice catch...

And I see that CaitSith is already on this one.
Man, one HECK of a deubgger.
This guy is GOOD!

RC2 coming up!
Last edited by dataman on Fri Aug 13, 2010 3:22 pm, edited 1 time in total.
Dataman
Charley Jones, crjones.com
Founder and President:
Sql Server Society of Las Vegas, SSSolv.com
XNA User Group, LVXug.Com
Las Vegas Make, LVMake.Com
Developer of the IntruderChron, MultiChron, & GOL 1.4 Mod, Crjones.Com/AdaMods

dataman
 
Posts: 98
Joined: Wed May 20, 2009 7:03 pm

Re: MultiChron for MonoChron!

by dataman on Fri Aug 13, 2010 3:15 pm

>>Lady Ada,

>>The current plan is to push out MultiChron to production status, V1.0, on
>> Saturday. You should be able to announce that at Tech Chat. I'll be posting
>> a web page up for it, But I'd really like you to consider updating the main
>> MonoChron page with links to firmware and source.
>>
>> I know the reason for including the USBBub in the kit was to simplify
>> swapping firmware, Well, that reason is mostly removed with the MultiChron
>> firmware. You get all the firmware in one tight package.
>>
>> I'd also like you to consider that we've had to do an awful lot of hacking
>> and code optimization to make this work. So much so, that further
>> development on any of the former branches would be really harmful to this
>> effort. Would you please consider adopting MultiChron as your master code
>> branch? All future work should be done there, obsoleting the current
>> branches. CaitSith owns the code repository to make that easier.
>>
>> It's pretty easy to drop out and add modules now. I think its a good
>> platform for moving forward. I'm considering GalaxyChron (Galaxian)... and
>> DefenseChron (Defender).... to round out a special MultiChron: Reloaded RAV - Retro
>> Arcade Variant.
>>
>> Secondly, I need some advice:
>>
>> In MultiChron: Rev 2, I'm working on adding a GPS Module. I think it should
>> be pretty simple to hook up directly to the ISP port. The part I'm having
>> problems wrapping my head around is the serial processing. As you're the
>> original author, I need some advice.
>>
>> Power issues: I know you know your way in and out of the power in this
>> beast. I see the standard GPS module you sell pulls down 40ma. The
>> obsolete one for the IceTubeClock hack pulls down 80? Wow. Well, using the
>> standard module, might that just fit within the current budget?
>>
>> It looks like you've implement hardware serial for I2c. I need temporary
>> serial communications to poll rx. So, what's the cheapest method. Do you
>> think it would be feasible to clear interrupts, hijack serial, reenable
>> interrupts, do my gps work, clear again, reenable i2c, update with gps info
>> or resynch from rtc? Or route 2, try to use something like NewSoftSerial to
>> drive the second port? My consideration is that I2C is not needed all the
>> time, and neither is GPS. In fact, I think we only may try to GPS synch
>> every 24 hours or so. What are your thoughts?
Dataman
Charley Jones, crjones.com
Founder and President:
Sql Server Society of Las Vegas, SSSolv.com
XNA User Group, LVXug.Com
Las Vegas Make, LVMake.Com
Developer of the IntruderChron, MultiChron, & GOL 1.4 Mod, Crjones.Com/AdaMods

dataman
 
Posts: 98
Joined: Wed May 20, 2009 7:03 pm

Re: MultiChron for MonoChron!

by caitsith2 on Fri Aug 13, 2010 3:16 pm

Fixed the bug, and took an opportunity at the same time to optimize the code a bit.
Attachments
MultiChron-RC-1-0-build-2.zip
Fixed intruderchron time display bug for 12 hour format.
(30.66 KiB) Downloaded 160 times
caitsith2
 
Posts: 217
Joined: Thu Jan 18, 2007 11:21 pm

Re: MultiChron for MonoChron!

by dataman on Fri Aug 13, 2010 3:27 pm

Ya know, CaitSith, you're worse than RAID,
Bugs don't stand a chance around you!

bug_raid2.jpg
bug_raid2.jpg (29.17 KiB) Viewed 3358 times
Dataman
Charley Jones, crjones.com
Founder and President:
Sql Server Society of Las Vegas, SSSolv.com
XNA User Group, LVXug.Com
Las Vegas Make, LVMake.Com
Developer of the IntruderChron, MultiChron, & GOL 1.4 Mod, Crjones.Com/AdaMods

dataman
 
Posts: 98
Joined: Wed May 20, 2009 7:03 pm

Re: MultiChron for MonoChron!

by ekeefe on Fri Aug 13, 2010 3:39 pm

Thanks guys!

ED

ekeefe
 
Posts: 7
Joined: Thu Aug 05, 2010 11:12 am

Re: MultiChron for MonoChron!

by dataman on Fri Aug 13, 2010 5:12 pm

I've been watching those guys march back and forth for 6 months now,
Never caught that bug before. Nice job!
Dataman
Charley Jones, crjones.com
Founder and President:
Sql Server Society of Las Vegas, SSSolv.com
XNA User Group, LVXug.Com
Las Vegas Make, LVMake.Com
Developer of the IntruderChron, MultiChron, & GOL 1.4 Mod, Crjones.Com/AdaMods

dataman
 
Posts: 98
Joined: Wed May 20, 2009 7:03 pm

Re: MultiChron for MonoChron!

by adafruit on Fri Aug 13, 2010 7:21 pm

>> I'd also like you to consider that we've had to do an awful lot of hacking
>> and code optimization to make this work. So much so, that further
>> development on any of the former branches would be really harmful to this
>> effort. Would you please consider adopting MultiChron as your master code
>> branch? All future work should be done there, obsoleting the current
>> branches. CaitSith owns the code repository to make that easier.

We'd like to see it in the wild for a little bit longer before making it the master CHRON fork. considering that no one else is hacking on CHRONs, there's not much cross-development to worry about

>> In MultiChron: Rev 2, I'm working on adding a GPS Module. I think it should
>> be pretty simple to hook up directly to the ISP port. The part I'm having
>> problems wrapping my head around is the serial processing. As you're the
>> original author, I need some advice.

GPS output NMEA serial at 4800 baud
connect it to the FTDI port and you're done

>> Power issues: I know you know your way in and out of the power in this
>> beast. I see the standard GPS module you sell pulls down 40ma. The
>> obsolete one for the IceTubeClock hack pulls down 80? Wow. Well, using the
>> standard module, might that just fit within the current budget?

yes, the current power usage is 20mA for the backlit LCD. a GPS will be within the 100mA of an 78l05

>> It looks like you've implement hardware serial for I2c. I need temporary
>> serial communications to poll rx. So, what's the cheapest method. Do you
>> think it would be feasible to clear interrupts, hijack serial, reenable
>> interrupts, do my gps work, clear again, reenable i2c, update with gps info
>> or resynch from rtc? Or route 2, try to use something like NewSoftSerial to
>> drive the second port? My consideration is that I2C is not needed all the
>> time, and neither is GPS. In fact, I think we only may try to GPS synch
>> every 24 hours or so. What are your thoughts?[/quote]

i2c isnt serial...but we do suggest checking the ice tube gps mod on github. devlin did a good job adding GPS support and taking care of annoyances :)

adafruit
 
Posts: 12145
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: MultiChron for MonoChron!

by caitsith2 on Sat Aug 14, 2010 9:29 pm

Version 1.0 is ready. Now to start work on 1.1, to add GPS related code.

If you programmed Release Candidate 1.0 build 2, then there is no need to program this version, as this is what we now consider 1.0
Attachments
MultiChron-v1.0.zip
If you programmed RC1.0 build 2, there is no need to program this build. Nothing has changed since then.
(30.66 KiB) Downloaded 189 times
caitsith2
 
Posts: 217
Joined: Thu Jan 18, 2007 11:21 pm

Re: MultiChron for MonoChron!

by ekeefe on Sat Aug 14, 2010 11:09 pm

Hello,

If you need testers for the GPS version count me in. Just let me know what I need to buy and I will get right to it. I don't mind hardware testing.

I own the equipment needed to test and debug serial circuits (digital oscilloscope, protocol analyzer and data logger).

Let me know if I can help. PM me if you prefer.

ED

ekeefe
 
Posts: 7
Joined: Thu Aug 05, 2010 11:12 am

Re: MultiChron for MonoChron!

by dataman on Sun Aug 15, 2010 2:46 am

I'm working on the GPS module for MultiChron V2.
You'll need a GPS Module.
I'm going with the EM-406A GPS Module because it's low power, and that's what I have.
(Lady A sells it, almost as expensive as the clock!)
It's going to be pretty simple, Firmeware Update, Plug it into the ISP port, Configure, Done!
Dataman
Charley Jones, crjones.com
Founder and President:
Sql Server Society of Las Vegas, SSSolv.com
XNA User Group, LVXug.Com
Las Vegas Make, LVMake.Com
Developer of the IntruderChron, MultiChron, & GOL 1.4 Mod, Crjones.Com/AdaMods

dataman
 
Posts: 98
Joined: Wed May 20, 2009 7:03 pm

Please be positive and constructive with your questions and comments.