Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Best CPU and Module

Best CPU and Module

2016-02-02 by wolfram_s@hotmail.com

HI Everyone

I'm new to this group and seeking advise.

I've been out of the embedded side for too many years now while concentrating on Medical Practice software.

Seeing my retirement is only a week away and I have model railway that needs to look alive I thought I better pull the proverbial digit out and get into setting up some cpus for running some of the lighting on the layout.

My past experience been with various Motorola processors, and the occasional 8080/Z80 family members. I have a never used PIC system. In previous job a colleague was rather taken by the Atmel family so I thought I'd them a go.


The task I have is relatively straight forward,

A 0.5 second timer, that makes the processor advance through a table (probably each row a byte) and according data turns an LED connected to a given IO pin on or off. The 'table' will have 0.5 hr worth of data and when the end is reached will cycle through again. I may require from 16 to 20 output pins.


If ready made modules are available that can be programmed via USB it will be better still. I have enough soldering to do without making up SMD boards, because there will be a number of these required.


Any suggestion I will be most grateful for.


Kind Regard

Wolf

(Melb. Australia)

Re: [AVR-Chat] Best CPU and Module

2016-02-03 by John Samperi

G'day Wolf

On 3/02/2016 8:20 AM, wolfram_s@hotmail.com [AVR-Chat] wrote:
Show quoted textHide quoted text
I'm new to this group and seeking advise.
WOW nothing has been happening here for a long time. :-)
Most of the action happens at www.avrfreaks.net but this is cosy
and boutique like.
If ready made modules are available that can be programmed via USB it will be better still. I have enough soldering to do without making up SMD boards, because there will be a number of these required. Any suggestion I will be most grateful for.
For as much as I hate to say it an Arduino Mega2560 board will be just right for this project.
You can either make up your own interface board (the above has only female headers) or
you may be able to get some suitable "shields".

Are you planning of using C, Assembler or BASIC for programming? The Arduino has
it's own IDE for C or C++.

Let us know about your requirements.

I'm an old Motorola user until they cheesed me off!
-- 
Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly 

Re: [AVR-Chat] Best CPU and Module

2016-02-03 by David Kelly

On Feb 2, 2016, at 3:20 PM, wolfram_s@hotmail.com [AVR-Chat] <AVR-Chat@yahoogroups.com> wrote:

> The task I have is relatively straight forward,
> 
> A 0.5 second timer, that makes the processor advance through a table (probably each row a byte) and according data turns an LED connected to a given IO pin on or off.  The 'table' will have 0.5 hr worth of data and when the end is reached will cycle through again.  I may require from 16 to 20 output pins.
> 
> If ready made modules are available that can be programmed via USB it will be better still.   I have enough soldering to do without making up SMD boards, because there will be a number of these required.
> 
> Any suggestion I will be most grateful for.

Quite frankly most any AVR will do. Many are still available through-hole and need little more than 3.3 - 5.0 volts. And capable of directly driving high efficiency LEDs to interesting levels of brightness.

But when you add USB to the equation things get many orders of magnitude more complex. 

A bare chip needs something like a JTAGICE mkII. An AVR Dragon is lower cost and may have all you need.

Arduino is an environment supported by many vendors of prebuilt boards complete with development environment for programming and ICE. Probably the best place for a one-off design. Would be easier to get USB than working from bare metal as described above.

--
David Kelly N4HHE, dkelly@HiWAAY.net
============================================================
Whom computers would destroy, they must first drive mad.

Re: [AVR-Chat] Best CPU and Module

2016-02-03 by Timothy

I have to believe that someone (several someones probably) have a board all set up for the model train universe. If not, we need to build one!

Tim

Tim Gilbert
JEM Innovation Inc.
303-926-9053 (office)
303-437-4342 (mobile)
www.jeminnovation.com
Show quoted textHide quoted text
On 2/2/2016 7:09 PM, David Kelly dkelly@hiwaay.net [AVR-Chat] wrote:


On Feb 2, 2016, at 3:20 PM, wolfram_s@hotmail.com [AVR-Chat] wrote:

> The task I have is relatively straight forward,
>
> A 0.5 second timer, that makes the processor advance through a table (probably each row a byte) and according data turns an LED connected to a given IO pin on or off. The 'table' will have 0.5 hr worth of data and when the end is reached will cycle through again. I may require from 16 to 20 output pins.
>
> If ready made modules are available that can be programmed via USB it will be better still. I have enough soldering to do without making up SMD boards, because there will be a number of these required.
>
> Any suggestion I will be most grateful for.

Quite frankly most any AVR will do. Many are still available through-hole and need little more than 3.3 - 5.0 volts. And capable of directly driving high efficiency LEDs to interesting levels of brightness.

But when you add USB to the equation things get many orders of magnitude more complex.

A bare chip needs something like a JTAGICE mkII. An AVR Dragon is lower cost and may have all you need.

Arduino is an environment supported by many vendors of prebuilt boards complete with development environment for programming and ICE. Probably the best place for a one-off design. Would be easier to get USB than working from bare metal as described above.

--
David Kelly N4HHE, dkelly@HiWAAY.net
============================================================
Whom computers would destroy, they must first drive mad.


Re: [AVR-Chat] Best CPU and Module

2016-02-03 by Jim Wagner

There is a user on the AVR-Freaks list who does electronic stuff for model trains. His name is Torby (Tom Ruby).

Jim

James Wagner
Oregon Research Electronics
https://sites.google.com/site/oregonresearchelectronics/home
Show quoted textHide quoted text
> On Feb 2, 2016, at 1:20 PM, wolfram_s@hotmail.com [AVR-Chat] <AVR-Chat@yahoogroups.com> wrote:
> 
> 
> HI Everyone
> 
> I'm new to this group and seeking advise.
> 
> I've been out of the embedded side for too many years now while concentrating on Medical Practice software.
> 
> Seeing my retirement is only a week away and I have model railway that needs to look alive I thought I better pull the proverbial digit out and get into setting up some cpus for running some of the lighting on the layout.
> 
> My past experience been with various Motorola processors, and the occasional 8080/Z80 family members.  I have a never used PIC system.  In previous job a colleague was rather taken by the Atmel family so I thought I'd them a go.
> 
> 
> 
> The task I have is relatively straight forward,
> 
> A 0.5 second timer, that makes the processor advance through a table (probably each row a byte) and according data turns an LED connected to a given IO pin on or off.  The 'table' will have 0.5 hr worth of data and when the end is reached will cycle through again.  I may require from 16 to 20 output pins.
> 
> 
> 
> If ready made modules are available that can be programmed via USB it will be better still.   I have enough soldering to do without making up SMD boards, because there will be a number of these required.
> 
> 
> 
> Any suggestion I will be most grateful for.
> 
> 
> 
> Kind Regard
> 
> Wolf
> 
> (Melb. Australia) 
> 
> 
>

Re: [AVR-Chat] Best CPU and Module

2016-02-03 by Martin McKee

My immediate thought was Arduino as well. The Arduino UNO has limited I/O ( for your project ), but with some added shift registers it would cover all the I/O you might possibly want. Doing some quick calculation, three bytes each half a second for 1800 seconds ( thirty minutes ) is 3600 * 3 = 10800 bytes. So, the light patterns could be stored in either the upper half of Flash or in external memory. Should be a fun project!

Martin Jay McKee
Show quoted textHide quoted text
On Tue, Feb 2, 2016 at 7:11 PM, Timothy timothy@jeminnovation.com [AVR-Chat] <AVR-Chat@yahoogroups.com> wrote:

I have to believe that someone (several someones probably) have a board all set up for the model train universe. If not, we need to build one!

Tim

Tim Gilbert
JEM Innovation Inc.
303-926-9053 (office)
303-437-4342 (mobile)
www.jeminnovation.com
On 2/2/2016 7:09 PM, David Kelly dkelly@hiwaay.net [AVR-Chat] wrote:


On Feb 2, 2016, at 3:20 PM, wolfram_s@hotmail.com [AVR-Chat] wrote:

> The task I have is relatively straight forward,
>
> A 0.5 second timer, that makes the processor advance through a table (probably each row a byte) and according data turns an LED connected to a given IO pin on or off. The 'table' will have 0.5 hr worth of data and when the end is reached will cycle through again. I may require from 16 to 20 output pins.
>
> If ready made modules are available that can be programmed via USB it will be better still. I have enough soldering to do without making up SMD boards, because there will be a number of these required.
>
> Any suggestion I will be most grateful for.

Quite frankly most any AVR will do. Many are still available through-hole and need little more than 3.3 - 5.0 volts. And capable of directly driving high efficiency LEDs to interesting levels of brightness.

But when you add USB to the equation things get many orders of magnitude more complex.

A bare chip needs something like a JTAGICE mkII. An AVR Dragon is lower cost and may have all you need.

Arduino is an environment supported by many vendors of prebuilt boards complete with development environment for programming and ICE. Probably the best place for a one-off design. Would be easier to get USB than working from bare metal as described above.

--
David Kelly N4HHE, dkelly@HiWAAY.net
============================================================
Whom computers would destroy, they must first drive mad.



Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.