Yahoo Groups archive

AVR-Chat

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

Thread

Interface

Interface

2005-08-22 by jdelgadillo66

Hi

I have a trouble with a PIC microcontroller, I need to control some 
outputs, the PIC is in a project building by others and I can not 
modify, but I need put in the same circuit a One logic when the pic 
puts zero (only in some conditions), I want do that by atmega8 output, 
any ideas??

Other question is about cheap and good programmer for atmega8 that I 
can build compatible with AVR Studio 4.

Thanks for help.

Re: [AVR-Chat] Interface

2005-08-22 by John Samperi

At 03:57 PM 22/08/2005, you wrote:
>I want do that by atmega8 output,
>any ideas??

Not really as we don't know what you are trying to do.
You will need to mimic the circuit and the function of the
PIC module.


>Other question is about cheap and good programmer for atmega8 that I
>can build compatible with AVR Studio 4.

The AVR910 style programmer. You can find some info at www.serasidis.gr


Regards

John Samperi

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

Re: [AVR-Chat] Interface

2005-08-22 by Zack Widup

On Mon, 22 Aug 2005, jdelgadillo66 wrote:

> Hi
> 
> I have a trouble with a PIC microcontroller, I need to control some
> outputs, the PIC is in a project building by others and I can not
> modify, but I need put in the same circuit a One logic when the pic
> puts zero (only in some conditions), I want do that by atmega8 output,
> any ideas??
> 

I'm not quite sure what you want to do.  Do you want to write a program 
for the mega8 that will do the same thing as the PIC?

> Other question is about cheap and good programmer for atmega8 that I
> can build compatible with AVR Studio 4.
> 
> Thanks for help.
> 

The STK500 is really quite a deal and I've been more than happy with mine.

Zack

Re: Interface

2005-08-22 by jdelgadillo66

Im try to explain better my problem, I have a chinese RF module 
(receive and transmit) that encrypt  (code hopping System) I do not 
know if that is true (I have not datasheet or schematics)  in my 
country (Mexico) I cant buy a RF module (Transmitter and receiver), so 
I want use this chinese module for my project(remote control), the PIC 
decode RF and send orders to all the board, so I want use the same 
board ( the RF module is embeded in the board), the pic is in DIP, so I 
can put out the PIC to examine, the other components are surface.

I dont know how get the PIC code, the pic send some levels when detect 
the correct RF signal and I can detect thats leveles without problem 
and send orders by atmega8 on my own board, the problem is that I need 
order to the board by my atmega8 some actions while the PIC dont order 
that. The RF module is in a car alarm very cheap.

Thanks for help.

Re: [AVR-Chat] Interface

2005-08-22 by Thomas Keller

On Mon, 2005-08-22 at 07:33 -0500, Zack Widup wrote:
> On Mon, 22 Aug 2005, jdelgadillo66 wrote:
> > I have a trouble with a PIC microcontroller, I need to control some
> > outputs, the PIC is in a project building by others and I can not
> > modify, but I need put in the same circuit a One logic when the pic
> > puts zero (only in some conditions), I want do that by atmega8
> output,

    Why an ATMEGA8?   if I understand your problem, you have access to a
controller implemented on a PIC, that is outputting a zero, at a time
when you need a conditional 1 output.  Depending on the complexity of
the conditions, an 8 pint AVR like the ATTINY11 may do the job quite
dequately (as might an inverter and a few logic gates).  Be more
specific about what it is you need to do, please?

> > Other question is about cheap and good programmer for atmega8 that I
> > can build compatible with AVR Studio 4.

> The STK500 is really quite a deal and I've been more than happy with
> mine.

  While the STK500 may be a fine system, it is hardly inexpensive.  All
this fellow needs is an ISP cable.  That is covered in the ISP
applications notes on Atmel's Wbesite (I don't know the document number
off the top of my head).

Tom

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.