Re: [time-nuts] IRIG-B with Arduino
And don't forget the AtMega88 - not as much memory but you can still pack a lot into it. I think the original Arduino was based on the 88 and the bootloader is still available meaning you can build an Arduino compatible board using the 88, you may still be able to by the 88 chip with the bootloader already programmed from some of the online arduino suppliers i.e. Adafruit http://www.adafruit.com/ among the many others (and eBay too). Cheers, Graham ve3gtc -Original Message- From: time-nuts-boun...@febo.com [mailto:time-nuts-boun...@febo.com] On Behalf Of Eric Garner Sent: December 15, 2010 23:57 To: Discussion of precise time and frequency measurement Subject: Re: [time-nuts] IRIG-B with Arduino The 168 is it's junior cousin, and it's available. Sent from my Banana jr (tm) Mobile Device On Dec 15, 2010, at 7:21 PM, Bruce Lane kyr...@bluefeathertech.com wrote: Hmm! Hadn't heard that... Any other Atmel DIPs among the AVR family you'd suggest? Thanks. *** REPLY SEPARATOR *** On 15-Dec-10 at 18:44 Eric Garner wrote: You may want to avoid the 328p. for the last year there have been supply problems to the distributors. -eric Sent from my Banana jr (tm) Mobile Device On Dec 15, 2010, at 6:23 PM, Bruce Lane kyr...@bluefeathertech.com wrote: In fact, I was looking very hard at the 328P. AND I just happen to have an STK500 on the way from the east coast (thanks to an Ebay purchase). Already got AVR Studio installed, and I also have IAR's AVR package standing by. In short, I've got plenty to learn with. And you're right. I'll be learning both C and AVR assembler as I go along, but the way I learn best is to actually DO something with programming rather than just taking abstract example problems. Banzai! ;-) *** REPLY SEPARATOR *** On 14-Dec-10 at 22:37 John Miles wrote: Fellow clock-tickers, I'm finally starting to learn microcontrollers, and have selected Atmel's AVR line as my tool of choice. I've also discovered the Arduino site, and am starting to learn their IDE as well. My first goal will be an open-source/open-hardware IRIG-B decoder (takes IRIG-B 1kHz stream, sends the timecode to an LCD panel). I've noticed a distinct lack of hobby-priced decoders on the market, and I intend to try and remedy that. My initial development platform will be the Arduino Mega-2560 board. However, that particular microcontroller is unlikely to be my final chip of choice due to the fact it's not available in a hobbyist-friendly DIP package. If others with more development skill have suggestions for a different chip, I will gladly listen. Stay tuned for further developments (no pun intended). I expect this to take at least a few months, as the learning curve looks kind of steep. That's a good family of parts to start out with. It is very well supported and easy to work with. You don't really need to mess with the Arduino IDE and all the trimmings -- just set up AVR-GCC with WinAVR or one of the newer distributions and go from there. If you have ever done any C programming before, the learning curve will be measured in hours or days, not months. If you haven't, well... there's always assembly. There is a new low-cost kit with Arduino-like USB programming capability on the market: http://www.seeedstudio.com/depot/usnoobie-kit-p-708.html?cPath=104_128 The first batch of these shipped with broken bootloader code so you have to have an STK-500 or similar programmer to get them up and running. I imagine that's been fixed by now, but at any rate, the Atmega328P is probably the chip you want, if you want a higher-end AVR controller that still comes in a DIP. I just rigged one of them up to drive a YIG synthesizer: http://www.thegleam.com/ke5fx/stellex.htm (see December 2010 update at the very bottom of the page). Apart from the USB bootloader confusion and the presence of a couple of spurious error/warning messages in the avrdude.exe programmer utility, I'd give it two thumbs up at a minimum. Great little device. -- john, KE5FX ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. __ Information from ESET NOD32 Antivirus, version of virus signature database 5706 (20101215) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions
Re: [time-nuts] IRIG-B with Arduino
You've probably already discovered this site, but in case you or others haven't, I get my Arduino goodies from here - http://www.adafruit.com/ and a related site - http://www.ladyada.net/ I've ordered twice and it was quick and easy to Canada Darrell On 10-12-14 10:19 PM, Bruce Lane wrote: Fellow clock-tickers, I'm finally starting to learn microcontrollers, and have selected Atmel's AVR line as my tool of choice. I've also discovered the Arduino site, and am starting to learn their IDE as well. My first goal will be an open-source/open-hardware IRIG-B decoder (takes IRIG-B 1kHz stream, sends the timecode to an LCD panel). I've noticed a distinct lack of hobby-priced decoders on the market, and I intend to try and remedy that. My initial development platform will be the Arduino Mega-2560 board. However, that particular microcontroller is unlikely to be my final chip of choice due to the fact it's not available in a hobbyist-friendly DIP package. If others with more development skill have suggestions for a different chip, I will gladly listen. Stay tuned for further developments (no pun intended). I expect this to take at least a few months, as the learning curve looks kind of steep. -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
[time-nuts] IRIG-B with Arduino
If you didn´t started yet, you may consider the PSoC series of Cypress semiconductors. They contain digital and analog resources within the chip, simplifying the hardware design – and hardware changes. The new design, PsoC 5, is based on the ARM architecture, up to 256KB code and 64kB data, support for USB, the usual peripherals plus PLDs, OpAmps, and other analog devices. The starter kit is very affordable (US$48.88 on DigiKey). A version is planned in 48 pins SSOP – soldering is not as easy as dip, but doable. Even the 100 pin TQFP is solderable – QFN is another story… -- Geraldo Lino de Campos gera...@decampos.net ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] IRIG-B with Arduino
FWIW, if you're looking for a cheap, very capable AVR dev board. i've had very good success with the Teensy. You can use AVR-GCC or assembler but it has an Arduino compatibility layer if thats your thing. http://pjrc.com/teensy/index.html they're cheap and easy to work with, US made, and have great support and example code, and is breadboard/through hole friendly -Eric On Tue, Dec 14, 2010 at 10:19 PM, Bruce Lane kyr...@bluefeathertech.com wrote: Fellow clock-tickers, I'm finally starting to learn microcontrollers, and have selected Atmel's AVR line as my tool of choice. I've also discovered the Arduino site, and am starting to learn their IDE as well. My first goal will be an open-source/open-hardware IRIG-B decoder (takes IRIG-B 1kHz stream, sends the timecode to an LCD panel). I've noticed a distinct lack of hobby-priced decoders on the market, and I intend to try and remedy that. My initial development platform will be the Arduino Mega-2560 board. However, that particular microcontroller is unlikely to be my final chip of choice due to the fact it's not available in a hobbyist-friendly DIP package. If others with more development skill have suggestions for a different chip, I will gladly listen. Stay tuned for further developments (no pun intended). I expect this to take at least a few months, as the learning curve looks kind of steep. -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. -- --Eric _ Eric Garner ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] IRIG-B with Arduino
In fact, I was looking very hard at the 328P. AND I just happen to have an STK500 on the way from the east coast (thanks to an Ebay purchase). Already got AVR Studio installed, and I also have IAR's AVR package standing by. In short, I've got plenty to learn with. And you're right. I'll be learning both C and AVR assembler as I go along, but the way I learn best is to actually DO something with programming rather than just taking abstract example problems. Banzai! ;-) *** REPLY SEPARATOR *** On 14-Dec-10 at 22:37 John Miles wrote: Fellow clock-tickers, I'm finally starting to learn microcontrollers, and have selected Atmel's AVR line as my tool of choice. I've also discovered the Arduino site, and am starting to learn their IDE as well. My first goal will be an open-source/open-hardware IRIG-B decoder (takes IRIG-B 1kHz stream, sends the timecode to an LCD panel). I've noticed a distinct lack of hobby-priced decoders on the market, and I intend to try and remedy that. My initial development platform will be the Arduino Mega-2560 board. However, that particular microcontroller is unlikely to be my final chip of choice due to the fact it's not available in a hobbyist-friendly DIP package. If others with more development skill have suggestions for a different chip, I will gladly listen. Stay tuned for further developments (no pun intended). I expect this to take at least a few months, as the learning curve looks kind of steep. That's a good family of parts to start out with. It is very well supported and easy to work with. You don't really need to mess with the Arduino IDE and all the trimmings -- just set up AVR-GCC with WinAVR or one of the newer distributions and go from there. If you have ever done any C programming before, the learning curve will be measured in hours or days, not months. If you haven't, well... there's always assembly. There is a new low-cost kit with Arduino-like USB programming capability on the market: http://www.seeedstudio.com/depot/usnoobie-kit-p-708.html?cPath=104_128 The first batch of these shipped with broken bootloader code so you have to have an STK-500 or similar programmer to get them up and running. I imagine that's been fixed by now, but at any rate, the Atmega328P is probably the chip you want, if you want a higher-end AVR controller that still comes in a DIP. I just rigged one of them up to drive a YIG synthesizer: http://www.thegleam.com/ke5fx/stellex.htm (see December 2010 update at the very bottom of the page). Apart from the USB bootloader confusion and the presence of a couple of spurious error/warning messages in the avrdude.exe programmer utility, I'd give it two thumbs up at a minimum. Great little device. -- john, KE5FX ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. __ Information from ESET NOD32 Antivirus, version of virus signature database 5706 (20101215) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] IRIG-B with Arduino
That's the thing. I don't want to have to rely on PC hardware. I really want to make something which is stand-alone, and can be wired to a variety of displays. Keep the peace(es). *** REPLY SEPARATOR *** On 14-Dec-10 at 22:59 Chris Albertson wrote: If the goal is to learn about AVRs that is a good project. But if you want a cheap IRIG decoder I bet you already have one. An IRIG driver is included with NTP. The NTP driver reads the time code from an audio interface set for 8Khz sample rate.If you are writing a decoder it might be good to study the NTP source code. They do good bit of error checking and averaging and get to microsecond level even on noisy signals. But then it runs on an full size 32 or 64 bit computer There is also an irig time code generator in the source .tar file but it is not compiled by the Makefile, yu have to do that by hand. No the IRIG driver is compiled by default On Tue, Dec 14, 2010 at 10:19 PM, Bruce Lane kyr...@bluefeathertech.com wrote: Fellow clock-tickers, I'm finally starting to learn microcontrollers, and have selected Atmel's AVR line as my tool of choice. I've also discovered the Arduino site, and am starting to learn their IDE as well. My first goal will be an open-source/open-hardware IRIG-B decoder (takes IRIG-B 1kHz stream, sends the timecode to an LCD panel). I've noticed a distinct lack of hobby-priced decoders on the market, and I intend to try and remedy that. My initial development platform will be the Arduino Mega-2560 board. However, that particular microcontroller is unlikely to be my final chip of choice due to the fact it's not available in a hobbyist-friendly DIP package. If others with more development skill have suggestions for a different chip, I will gladly listen. Stay tuned for further developments (no pun intended). I expect this to take at least a few months, as the learning curve looks kind of steep. -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. -- = Chris Albertson Redondo Beach, California ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. __ Information from ESET NOD32 Antivirus, version of virus signature database 5706 (20101215) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] IRIG-B with Arduino
Already a bit ahead of you, Don. The Mega just happened to be the one I started with. I selected it because I found details online for someone who used the Mega to construct a clock which runs from decoding NMEA sentences, and I'm using his source code to help me along. Keep the peace(es). *** REPLY SEPARATOR *** On 14-Dec-10 at 23:59 Don Latham wrote: Bruce: You may not need the Mega. I started with the arduino in duemilanuove, and found that there are chips with the bootloader available. The IDE is actually pretty good, not too steep, and there are libraries available for lots of peripherals and lots of sample code. I suggest Sparkfun as a source, I have had very satisfactory dealings with them. The Due also has piggyback boards called, for some unknown reason shields, which make the construction of small systems very easy. Don - Original Message - From: Bruce Lane kyr...@bluefeathertech.com To: time-nuts@febo.com Sent: Tuesday, December 14, 2010 11:19 PM Subject: [time-nuts] IRIG-B with Arduino Fellow clock-tickers, I'm finally starting to learn microcontrollers, and have selected Atmel's AVR line as my tool of choice. I've also discovered the Arduino site, and am starting to learn their IDE as well. My first goal will be an open-source/open-hardware IRIG-B decoder (takes IRIG-B 1kHz stream, sends the timecode to an LCD panel). I've noticed a distinct lack of hobby-priced decoders on the market, and I intend to try and remedy that. My initial development platform will be the Arduino Mega-2560 board. However, that particular microcontroller is unlikely to be my final chip of choice due to the fact it's not available in a hobbyist-friendly DIP package. If others with more development skill have suggestions for a different chip, I will gladly listen. Stay tuned for further developments (no pun intended). I expect this to take at least a few months, as the learning curve looks kind of steep. -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. __ Information from ESET NOD32 Antivirus, version of virus signature database 5706 (20101215) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] IRIG-B with Arduino
You may want to avoid the 328p. for the last year there have been supply problems to the distributors. -eric Sent from my Banana jr (tm) Mobile Device On Dec 15, 2010, at 6:23 PM, Bruce Lane kyr...@bluefeathertech.com wrote: In fact, I was looking very hard at the 328P. AND I just happen to have an STK500 on the way from the east coast (thanks to an Ebay purchase). Already got AVR Studio installed, and I also have IAR's AVR package standing by. In short, I've got plenty to learn with. And you're right. I'll be learning both C and AVR assembler as I go along, but the way I learn best is to actually DO something with programming rather than just taking abstract example problems. Banzai! ;-) *** REPLY SEPARATOR *** On 14-Dec-10 at 22:37 John Miles wrote: Fellow clock-tickers, I'm finally starting to learn microcontrollers, and have selected Atmel's AVR line as my tool of choice. I've also discovered the Arduino site, and am starting to learn their IDE as well. My first goal will be an open-source/open-hardware IRIG-B decoder (takes IRIG-B 1kHz stream, sends the timecode to an LCD panel). I've noticed a distinct lack of hobby-priced decoders on the market, and I intend to try and remedy that. My initial development platform will be the Arduino Mega-2560 board. However, that particular microcontroller is unlikely to be my final chip of choice due to the fact it's not available in a hobbyist-friendly DIP package. If others with more development skill have suggestions for a different chip, I will gladly listen. Stay tuned for further developments (no pun intended). I expect this to take at least a few months, as the learning curve looks kind of steep. That's a good family of parts to start out with. It is very well supported and easy to work with. You don't really need to mess with the Arduino IDE and all the trimmings -- just set up AVR-GCC with WinAVR or one of the newer distributions and go from there. If you have ever done any C programming before, the learning curve will be measured in hours or days, not months. If you haven't, well... there's always assembly. There is a new low-cost kit with Arduino-like USB programming capability on the market: http://www.seeedstudio.com/depot/usnoobie-kit-p-708.html?cPath=104_128 The first batch of these shipped with broken bootloader code so you have to have an STK-500 or similar programmer to get them up and running. I imagine that's been fixed by now, but at any rate, the Atmega328P is probably the chip you want, if you want a higher-end AVR controller that still comes in a DIP. I just rigged one of them up to drive a YIG synthesizer: http://www.thegleam.com/ke5fx/stellex.htm (see December 2010 update at the very bottom of the page). Apart from the USB bootloader confusion and the presence of a couple of spurious error/warning messages in the avrdude.exe programmer utility, I'd give it two thumbs up at a minimum. Great little device. -- john, KE5FX ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. __ Information from ESET NOD32 Antivirus, version of virus signature database 5706 (20101215) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] IRIG-B with Arduino
Hmm! Hadn't heard that... Any other Atmel DIPs among the AVR family you'd suggest? Thanks. *** REPLY SEPARATOR *** On 15-Dec-10 at 18:44 Eric Garner wrote: You may want to avoid the 328p. for the last year there have been supply problems to the distributors. -eric Sent from my Banana jr (tm) Mobile Device On Dec 15, 2010, at 6:23 PM, Bruce Lane kyr...@bluefeathertech.com wrote: In fact, I was looking very hard at the 328P. AND I just happen to have an STK500 on the way from the east coast (thanks to an Ebay purchase). Already got AVR Studio installed, and I also have IAR's AVR package standing by. In short, I've got plenty to learn with. And you're right. I'll be learning both C and AVR assembler as I go along, but the way I learn best is to actually DO something with programming rather than just taking abstract example problems. Banzai! ;-) *** REPLY SEPARATOR *** On 14-Dec-10 at 22:37 John Miles wrote: Fellow clock-tickers, I'm finally starting to learn microcontrollers, and have selected Atmel's AVR line as my tool of choice. I've also discovered the Arduino site, and am starting to learn their IDE as well. My first goal will be an open-source/open-hardware IRIG-B decoder (takes IRIG-B 1kHz stream, sends the timecode to an LCD panel). I've noticed a distinct lack of hobby-priced decoders on the market, and I intend to try and remedy that. My initial development platform will be the Arduino Mega-2560 board. However, that particular microcontroller is unlikely to be my final chip of choice due to the fact it's not available in a hobbyist-friendly DIP package. If others with more development skill have suggestions for a different chip, I will gladly listen. Stay tuned for further developments (no pun intended). I expect this to take at least a few months, as the learning curve looks kind of steep. That's a good family of parts to start out with. It is very well supported and easy to work with. You don't really need to mess with the Arduino IDE and all the trimmings -- just set up AVR-GCC with WinAVR or one of the newer distributions and go from there. If you have ever done any C programming before, the learning curve will be measured in hours or days, not months. If you haven't, well... there's always assembly. There is a new low-cost kit with Arduino-like USB programming capability on the market: http://www.seeedstudio.com/depot/usnoobie-kit-p-708.html?cPath=104_128 The first batch of these shipped with broken bootloader code so you have to have an STK-500 or similar programmer to get them up and running. I imagine that's been fixed by now, but at any rate, the Atmega328P is probably the chip you want, if you want a higher-end AVR controller that still comes in a DIP. I just rigged one of them up to drive a YIG synthesizer: http://www.thegleam.com/ke5fx/stellex.htm (see December 2010 update at the very bottom of the page). Apart from the USB bootloader confusion and the presence of a couple of spurious error/warning messages in the avrdude.exe programmer utility, I'd give it two thumbs up at a minimum. Great little device. -- john, KE5FX ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. __ Information from ESET NOD32 Antivirus, version of virus signature database 5706 (20101215) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. __ Information from ESET NOD32 Antivirus, version of virus signature database 5706 (20101215) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] IRIG-B with Arduino
On Wed, Dec 15, 2010 at 6:23 PM, Bruce Lane kyr...@bluefeathertech.com wrote: . I'll be learning both C and AVR assembler as I go along, but the way I learn best is to actually DO something with programming ... I agree with the last part. Learn by doing some real project. But no the first part. The best platform for learning is a full size computer with a real OS on it. Programming a micro-controller s MUCH harder than programming a LInux desktop machine. I've done both, pretty much full time now for 30 years. In fact if I want to get something to run on an AVR in C I will write and mostly debug the code as much as I can on the big Linux computer. The there are some simulators too. Of course you have to move to the target hardware as some point but it is always best if you plan the project so that you can delay that time. That is one of the major advantages of the AVR over PIC, the AVR works well with C so you can to more of the work on the bigger computer. Getting back to the time code project. Do look at the generator in NTP. Run it on the desktop and study the code -- = Chris Albertson Redondo Beach, California ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] IRIG-B with Arduino
I must not have made myself clear. I certainly plan to use the development environments on my PC. That is, after all, why I loaded up AVR Studio and the IAR packages. Can you provide a link for the NTP thing you mention? Thanks. *** REPLY SEPARATOR *** On 15-Dec-10 at 20:27 Chris Albertson wrote: On Wed, Dec 15, 2010 at 6:23 PM, Bruce Lane kyr...@bluefeathertech.com wrote: . I'll be learning both C and AVR assembler as I go along, but the way I learn best is to actually DO something with programming ... I agree with the last part. Learn by doing some real project. But no the first part. The best platform for learning is a full size computer with a real OS on it. Programming a micro-controller s MUCH harder than programming a LInux desktop machine. I've done both, pretty much full time now for 30 years. In fact if I want to get something to run on an AVR in C I will write and mostly debug the code as much as I can on the big Linux computer. The there are some simulators too. Of course you have to move to the target hardware as some point but it is always best if you plan the project so that you can delay that time. That is one of the major advantages of the AVR over PIC, the AVR works well with C so you can to more of the work on the bigger computer. Getting back to the time code project. Do look at the generator in NTP. Run it on the desktop and study the code -- = Chris Albertson Redondo Beach, California ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. __ Information from ESET NOD32 Antivirus, version of virus signature database 5706 (20101215) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] IRIG-B with Arduino
The 168 is it's junior cousin, and it's available. Sent from my Banana jr (tm) Mobile Device On Dec 15, 2010, at 7:21 PM, Bruce Lane kyr...@bluefeathertech.com wrote: Hmm! Hadn't heard that... Any other Atmel DIPs among the AVR family you'd suggest? Thanks. *** REPLY SEPARATOR *** On 15-Dec-10 at 18:44 Eric Garner wrote: You may want to avoid the 328p. for the last year there have been supply problems to the distributors. -eric Sent from my Banana jr (tm) Mobile Device On Dec 15, 2010, at 6:23 PM, Bruce Lane kyr...@bluefeathertech.com wrote: In fact, I was looking very hard at the 328P. AND I just happen to have an STK500 on the way from the east coast (thanks to an Ebay purchase). Already got AVR Studio installed, and I also have IAR's AVR package standing by. In short, I've got plenty to learn with. And you're right. I'll be learning both C and AVR assembler as I go along, but the way I learn best is to actually DO something with programming rather than just taking abstract example problems. Banzai! ;-) *** REPLY SEPARATOR *** On 14-Dec-10 at 22:37 John Miles wrote: Fellow clock-tickers, I'm finally starting to learn microcontrollers, and have selected Atmel's AVR line as my tool of choice. I've also discovered the Arduino site, and am starting to learn their IDE as well. My first goal will be an open-source/open-hardware IRIG-B decoder (takes IRIG-B 1kHz stream, sends the timecode to an LCD panel). I've noticed a distinct lack of hobby-priced decoders on the market, and I intend to try and remedy that. My initial development platform will be the Arduino Mega-2560 board. However, that particular microcontroller is unlikely to be my final chip of choice due to the fact it's not available in a hobbyist-friendly DIP package. If others with more development skill have suggestions for a different chip, I will gladly listen. Stay tuned for further developments (no pun intended). I expect this to take at least a few months, as the learning curve looks kind of steep. That's a good family of parts to start out with. It is very well supported and easy to work with. You don't really need to mess with the Arduino IDE and all the trimmings -- just set up AVR-GCC with WinAVR or one of the newer distributions and go from there. If you have ever done any C programming before, the learning curve will be measured in hours or days, not months. If you haven't, well... there's always assembly. There is a new low-cost kit with Arduino-like USB programming capability on the market: http://www.seeedstudio.com/depot/usnoobie-kit-p-708.html?cPath=104_128 The first batch of these shipped with broken bootloader code so you have to have an STK-500 or similar programmer to get them up and running. I imagine that's been fixed by now, but at any rate, the Atmega328P is probably the chip you want, if you want a higher-end AVR controller that still comes in a DIP. I just rigged one of them up to drive a YIG synthesizer: http://www.thegleam.com/ke5fx/stellex.htm (see December 2010 update at the very bottom of the page). Apart from the USB bootloader confusion and the presence of a couple of spurious error/warning messages in the avrdude.exe programmer utility, I'd give it two thumbs up at a minimum. Great little device. -- john, KE5FX ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. __ Information from ESET NOD32 Antivirus, version of virus signature database 5706 (20101215) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. __ Information from ESET NOD32 Antivirus, version of virus signature database 5706 (20101215) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to
Re: [time-nuts] IRIG-B with Arduino
Loks like I need to make myself clear also. Sorry. When I said develop on the desktop I meant for a desktop target. Writing code this is to run on the desktop is far easier then wrioting code that is to run in a micro controller. Of course in both cases to type and edit using ther desktop machine. I have programmed micros using toggle switches and push buttons to directly load in binary code bit by bit put that gets old real quick but that was the way it was done. So to be redundant. The best way to learn programming in C is to do so by writing for a simple and easy to use target execution environment. The simplest is a command line terminal You can find the source code for NTP at http://www.ntp.org/downloads.html un tar the file into somedir and then look at ...somedir/ntp-4.2.6p2/ntp/refclock_irig.b and in there is the code to read IRIG and also some good comments that explain both irig and how to decode it. This code samples the irig signal 8,000 times per second and does the demodulation in software. It also does to ntp stuff that you don't need to care about The other file is in the utils directory and is a time code generator used mostly for testing decoders On Wed, Dec 15, 2010 at 8:46 PM, Bruce Lane kyr...@bluefeathertech.com wrote: I must not have made myself clear. I certainly plan to use the development environments on my PC. That is, after all, why I loaded up AVR Studio and the IAR packages. Can you provide a link for the NTP thing you mention? Thanks. *** REPLY SEPARATOR *** On 15-Dec-10 at 20:27 Chris Albertson wrote: On Wed, Dec 15, 2010 at 6:23 PM, Bruce Lane kyr...@bluefeathertech.com wrote: . I'll be learning both C and AVR assembler as I go along, but the way I learn best is to actually DO something with programming ... I agree with the last part. Learn by doing some real project. But no the first part. The best platform for learning is a full size computer with a real OS on it. Programming a micro-controller s MUCH harder than programming a LInux desktop machine. I've done both, pretty much full time now for 30 years. In fact if I want to get something to run on an AVR in C I will write and mostly debug the code as much as I can on the big Linux computer. The there are some simulators too. Of course you have to move to the target hardware as some point but it is always best if you plan the project so that you can delay that time. That is one of the major advantages of the AVR over PIC, the AVR works well with C so you can to more of the work on the bigger computer. Getting back to the time code project. Do look at the generator in NTP. Run it on the desktop and study the code -- = Chris Albertson Redondo Beach, California ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. __ Information from ESET NOD32 Antivirus, version of virus signature database 5706 (20101215) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. -- = Chris Albertson Redondo Beach, California ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] IRIG-B with Arduino
Thanks, Chris. Between that and what I've found already, I think this is very do-able. Keep the peace(es). *** REPLY SEPARATOR *** On 15-Dec-10 at 21:52 Chris Albertson wrote: Loks like I need to make myself clear also. Sorry. When I said develop on the desktop I meant for a desktop target. Writing code this is to run on the desktop is far easier then wrioting code that is to run in a micro controller. Of course in both cases to type and edit using ther desktop machine. I have programmed micros using toggle switches and push buttons to directly load in binary code bit by bit put that gets old real quick but that was the way it was done. So to be redundant. The best way to learn programming in C is to do so by writing for a simple and easy to use target execution environment. The simplest is a command line terminal You can find the source code for NTP at http://www.ntp.org/downloads.html un tar the file into somedir and then look at ...somedir/ntp-4.2.6p2/ntp/refclock_irig.b and in there is the code to read IRIG and also some good comments that explain both irig and how to decode it. This code samples the irig signal 8,000 times per second and does the demodulation in software. It also does to ntp stuff that you don't need to care about The other file is in the utils directory and is a time code generator used mostly for testing decoders On Wed, Dec 15, 2010 at 8:46 PM, Bruce Lane kyr...@bluefeathertech.com wrote: I must not have made myself clear. I certainly plan to use the development environments on my PC. That is, after all, why I loaded up AVR Studio and the IAR packages. Can you provide a link for the NTP thing you mention? Thanks. *** REPLY SEPARATOR *** On 15-Dec-10 at 20:27 Chris Albertson wrote: On Wed, Dec 15, 2010 at 6:23 PM, Bruce Lane kyr...@bluefeathertech.com wrote: . I'll be learning both C and AVR assembler as I go along, but the way I learn best is to actually DO something with programming ... I agree with the last part. Learn by doing some real project. But no the first part. The best platform for learning is a full size computer with a real OS on it. Programming a micro-controller s MUCH harder than programming a LInux desktop machine. I've done both, pretty much full time now for 30 years. In fact if I want to get something to run on an AVR in C I will write and mostly debug the code as much as I can on the big Linux computer. The there are some simulators too. Of course you have to move to the target hardware as some point but it is always best if you plan the project so that you can delay that time. That is one of the major advantages of the AVR over PIC, the AVR works well with C so you can to more of the work on the bigger computer. Getting back to the time code project. Do look at the generator in NTP. Run it on the desktop and study the code -- = Chris Albertson Redondo Beach, California ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. __ Information from ESET NOD32 Antivirus, version of virus signature database 5706 (20101215) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. -- = Chris Albertson Redondo Beach, California ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. __ Information from ESET NOD32 Antivirus, version of virus signature database 5706 (20101215) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
[time-nuts] IRIG-B with Arduino
Fellow clock-tickers, I'm finally starting to learn microcontrollers, and have selected Atmel's AVR line as my tool of choice. I've also discovered the Arduino site, and am starting to learn their IDE as well. My first goal will be an open-source/open-hardware IRIG-B decoder (takes IRIG-B 1kHz stream, sends the timecode to an LCD panel). I've noticed a distinct lack of hobby-priced decoders on the market, and I intend to try and remedy that. My initial development platform will be the Arduino Mega-2560 board. However, that particular microcontroller is unlikely to be my final chip of choice due to the fact it's not available in a hobbyist-friendly DIP package. If others with more development skill have suggestions for a different chip, I will gladly listen. Stay tuned for further developments (no pun intended). I expect this to take at least a few months, as the learning curve looks kind of steep. -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] IRIG-B with Arduino
Fellow clock-tickers, I'm finally starting to learn microcontrollers, and have selected Atmel's AVR line as my tool of choice. I've also discovered the Arduino site, and am starting to learn their IDE as well. My first goal will be an open-source/open-hardware IRIG-B decoder (takes IRIG-B 1kHz stream, sends the timecode to an LCD panel). I've noticed a distinct lack of hobby-priced decoders on the market, and I intend to try and remedy that. My initial development platform will be the Arduino Mega-2560 board. However, that particular microcontroller is unlikely to be my final chip of choice due to the fact it's not available in a hobbyist-friendly DIP package. If others with more development skill have suggestions for a different chip, I will gladly listen. Stay tuned for further developments (no pun intended). I expect this to take at least a few months, as the learning curve looks kind of steep. That's a good family of parts to start out with. It is very well supported and easy to work with. You don't really need to mess with the Arduino IDE and all the trimmings -- just set up AVR-GCC with WinAVR or one of the newer distributions and go from there. If you have ever done any C programming before, the learning curve will be measured in hours or days, not months. If you haven't, well... there's always assembly. There is a new low-cost kit with Arduino-like USB programming capability on the market: http://www.seeedstudio.com/depot/usnoobie-kit-p-708.html?cPath=104_128 The first batch of these shipped with broken bootloader code so you have to have an STK-500 or similar programmer to get them up and running. I imagine that's been fixed by now, but at any rate, the Atmega328P is probably the chip you want, if you want a higher-end AVR controller that still comes in a DIP. I just rigged one of them up to drive a YIG synthesizer: http://www.thegleam.com/ke5fx/stellex.htm (see December 2010 update at the very bottom of the page). Apart from the USB bootloader confusion and the presence of a couple of spurious error/warning messages in the avrdude.exe programmer utility, I'd give it two thumbs up at a minimum. Great little device. -- john, KE5FX ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] IRIG-B with Arduino
Bruce: You may not need the Mega. I started with the arduino in duemilanuove, and found that there are chips with the bootloader available. The IDE is actually pretty good, not too steep, and there are libraries available for lots of peripherals and lots of sample code. I suggest Sparkfun as a source, I have had very satisfactory dealings with them. The Due also has piggyback boards called, for some unknown reason shields, which make the construction of small systems very easy. Don - Original Message - From: Bruce Lane kyr...@bluefeathertech.com To: time-nuts@febo.com Sent: Tuesday, December 14, 2010 11:19 PM Subject: [time-nuts] IRIG-B with Arduino Fellow clock-tickers, I'm finally starting to learn microcontrollers, and have selected Atmel's AVR line as my tool of choice. I've also discovered the Arduino site, and am starting to learn their IDE as well. My first goal will be an open-source/open-hardware IRIG-B decoder (takes IRIG-B 1kHz stream, sends the timecode to an LCD panel). I've noticed a distinct lack of hobby-priced decoders on the market, and I intend to try and remedy that. My initial development platform will be the Arduino Mega-2560 board. However, that particular microcontroller is unlikely to be my final chip of choice due to the fact it's not available in a hobbyist-friendly DIP package. If others with more development skill have suggestions for a different chip, I will gladly listen. Stay tuned for further developments (no pun intended). I expect this to take at least a few months, as the learning curve looks kind of steep. -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] IRIG-B with Arduino
If the goal is to learn about AVRs that is a good project. But if you want a cheap IRIG decoder I bet you already have one. An IRIG driver is included with NTP. The NTP driver reads the time code from an audio interface set for 8Khz sample rate.If you are writing a decoder it might be good to study the NTP source code. They do good bit of error checking and averaging and get to microsecond level even on noisy signals. But then it runs on an full size 32 or 64 bit computer There is also an irig time code generator in the source .tar file but it is not compiled by the Makefile, yu have to do that by hand. No the IRIG driver is compiled by default On Tue, Dec 14, 2010 at 10:19 PM, Bruce Lane kyr...@bluefeathertech.com wrote: Fellow clock-tickers, I'm finally starting to learn microcontrollers, and have selected Atmel's AVR line as my tool of choice. I've also discovered the Arduino site, and am starting to learn their IDE as well. My first goal will be an open-source/open-hardware IRIG-B decoder (takes IRIG-B 1kHz stream, sends the timecode to an LCD panel). I've noticed a distinct lack of hobby-priced decoders on the market, and I intend to try and remedy that. My initial development platform will be the Arduino Mega-2560 board. However, that particular microcontroller is unlikely to be my final chip of choice due to the fact it's not available in a hobbyist-friendly DIP package. If others with more development skill have suggestions for a different chip, I will gladly listen. Stay tuned for further developments (no pun intended). I expect this to take at least a few months, as the learning curve looks kind of steep. -=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner Head Hardware Heavy, Blue Feather Technologies -- http://www.bluefeathertech.com kyrrin (at) bluefeathertech do/t c=o=m Quid Malmborg in Plano... ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. -- = Chris Albertson Redondo Beach, California ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.