Yahoo Groups archive

AVR-Chat

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

Messages

Browse messages

Page 51 of 307 · 15341 messages matched

Re: [AVR-Chat] changing hex to decimal

2009-08-04 by David Kelly

On Tue, Aug 04, 2009 at 06:59:57AM -0000, aligole_2005 wrote: > Hi friends > I want to make a function in Code vision to change a hexadecimal byte > to decimal or int, Can anybody help me? Maybe it 'll be good that you > know the hex data is stored in a string with the length of

Thread view Attachments: 0

Re: [AVR-Chat] Re: changing hex to decimal

2009-08-04 by David Kelly

On Tue, Aug 04, 2009 at 08:36:59AM -0000, iijfet wrote: > --- In AVR-Chat@yahoogroups.com, "aligole_2005" wrote: > > > > Hi friends > > I want to make a function in Code vision to change a hexadecimal > > byte to decimal or int, Can anybody help me? Maybe it 'll be good > > that

Thread view Attachments: 0

Re: changing hex to decimal

2009-08-04 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, "aligole_2005" wrote: > in fact I want to have the c code of the function that gives > a char or string hex data and give me the decimal data. The suggestion to use strtoul() may work but you should note that it requires that the string have a 0x

Thread view Attachments: 0

Re: [AVR-Chat] changing hex to decimal

2009-08-04 by Dave Hylands

Perhaps strol or strtoul is the function that you're looking for? On Mon, Aug 3, 2009 at 11:59 PM, aligole_2005 wrote: > Hi friends > I want to make a function in Code vision to change a hexadecimal byte to decimal or int, Can anybody help me? > Maybe it 'll be good that you know

Thread view Attachments: 0

Re: changing hex to decimal

2009-08-04 by iijfet

--- In AVR-Chat@yahoogroups.com, "aligole_2005" wrote: > > Hi friends > I want to make a function in Code vision to change a hexadecimal byte to decimal or int, Can anybody help me? > Maybe it 'll be good that you know the hex data is stored in a string with the length of 5 byte.

Thread view Attachments: 0

changing hex to decimal

2009-08-04 by aligole_2005

Hi friends I want to make a function in Code vision to change a hexadecimal byte to decimal or int, Can anybody help me? Maybe it 'll be good that you know the hex data is stored in a string with the length of 5 byte. in fact I want to have the c code of the function that gives a

Thread view Attachments: 0

Re: [AVR-Chat] AVR inputs

2009-07-31 by Dave C

Brian, What's the designed purpose of the circuit? Monitoring what for what purpose? Thanks, Dave -=-=-=- >I made a module for a car to monitor inputs. Since inputs can only >be VCC +/-0.5V for a high signal, how do you keep the inputs from >getting to the micro before VCC is app

Thread view Attachments: 0

Re: [AVR-Chat] Dev environs & tools for Mac OS X?

2009-07-31 by Jim Wagner

There is a version of Eagle for Mac. There is also the former "AVRMacPack", now "CrossPack" which packages avrgcc for MacOS. I also use LTSpice on WIndows/VMWare. Don't like any of the spice packages built for MacOS. Jim Wagner Oregon Research Electronics On Jul 30, 2009, at 6:47

Thread view Attachments: 0

Re: [AVR-Chat] Re: AVR inputs

2009-07-30 by Tim Gilbert

Don't forget about "load dump"! I believe that the automotive spec for electronics requires a 50 volt surge; aviation (DO-160E) requires the circuit to handle a 60 volt surge. Regards, Tim Gilbert JEM Innovation Inc. 303-926-9053 (office) 303-437-4342 (cell) 720-890-8582 (fax) ww

Thread view Attachments: 0

Re: [AVR-Chat] Looking for RF Receiver IC

2009-07-30 by catalin_cluj@hotmail

Thank you, I'll try to do it right next time. Cat -------------------------------------------------- From: "David Kelly" Sent: Tuesday, July 28, 2009 2:32 PM To: Subject: Re: [AVR-Chat] Looking for RF Receiver IC > On Tue, Jul 28, 2009 at 11:45:34AM -0600, Cat C wrote: >> >> ...

Thread view Attachments: 0

Re: [AVR-Chat] Looking for RF Receiver IC

2009-07-30 by catalin_cluj@hotmail

Yes, I'm still trying to define which way we'll go so that's why I wanted to see what chips are available in case there is something that will get me close. Regarding sampling at RF, it looks like undersampling is an option that works but I don't quite understand all the implicat

Thread view Attachments: 0

Re: [AVR-Chat] AVR inputs

2009-07-29 by Adeilton Oliveira

First, you can forget the diode if you choose the resistors for the voltage divider to deal with the minimum and maximum values that the digital inputs recognize as logic 1 (VCC). Second, choose the resistor values high enough (hundreds of K) so that you have negligible current t

Thread view Attachments: 0

Re: AVR inputs

2009-07-29 by richardlfry@btinternet.com

--- In AVR-Chat@yahoogroups.com, "s.holder123@..." wrote: > > Put a pull up resistor between Vcc and the microcontroller input pin, then a diode (1n4001)Anode between the junction of the resistor and the microcontroller pin and the cathhode to the Car input (Perhaps a cap between

Thread view Attachments: 0

Re: [AVR-Chat] Looking for RF Receiver IC

2009-07-29 by leon Heller

----- Original Message ----- From: "David VanHorn" To: Sent: Wednesday, July 29, 2009 4:16 PM Subject: Re: [AVR-Chat] Looking for RF Receiver IC > On Tue, Jul 28, 2009 at 2:22 PM, Cat C wrote: >> >> I need only about 2KHz bandwidth. >> But I need to sample about 1 second, so I'm

Thread view Attachments: 0

Re: [AVR-Chat] virtual terminal

2009-07-29 by Richard Reeves

> but i want to do it by atmega32! I appreciate that, but there isn't much difference in the UARTs anyway. I've just done a quick test and all is well as far as using a Mega32 with the virtual terminal in ISIS. I'm using the latest beta version (7.6 beta 4). Whether the bug exist

Thread view Attachments: 0

Re: [AVR-Chat] Looking for RF Receiver IC

2009-07-29 by David VanHorn

On Tue, Jul 28, 2009 at 2:22 PM, Cat C wrote: > > I need only about 2KHz bandwidth. > But I need to sample about 1 second, so I'm not sure how that would work. > Also, how I would bring the sub 1uV level to a level that can be digitized? Sounds like you could take the output of a

Thread view Attachments: 0

Re: [AVR-Chat] Looking for RF Receiver IC

2009-07-29 by David VanHorn

> There may be a few general coverage receivers out there. I would check the > HRO (Ham Radio Outlet) website to see what might be available. They should > also have scanners. I like my RC-8500.. :) Pretty much "DC to Daylight". No bands, all modes. A real pity they didn't do a c

Thread view Attachments: 0

Re: AVR inputs

2009-07-29 by s.holder123@btinternet.com

Put a pull up resistor between Vcc and the microcontroller input pin, then a diode (1n4001)Anode between the junction of the resistor and the microcontroller pin and the cathhode to the Car input (Perhaps a cap between junction of pull up resistor and microcontroller pin as well.

Thread view Attachments: 0

Re: [AVR-Chat] AVR inputs

2009-07-29 by David Kelly

On Jul 28, 2009, at 9:51 PM, Jim Wagner wrote: > One way is to add a series resistor to each input (say 4.7K to 10K), > then add a diode (preferably Schottkey,j but silicon junction will > work) from each input to the processor Vcc, cathode to Vcc. That will > limit each input at

Thread view Attachments: 0

Re: [AVR-Chat] Re: AVR inputs

2009-07-29 by Jim Hatley

You might consider an opto isolator to be sure nothing bad gets to the processor. Inexpensive and easy to apply. Jim ----- Original Message ----- From: Brian To: AVR-Chat@yahoogroups.com Sent: Tuesday, July 28, 2009 8:01 PM Subject: [AVR-Chat] Re: AVR inputs Never thought about t

Thread view Attachments: 0

Re: [AVR-Chat] AVR inputs

2009-07-29 by Tim Gilbert

Brian, I'm guess you've got another problem; just applying 5 volts to an input without VCC applied shouldn't blow things up. For example, I've connected a STK500 for programming a processor but didn't have power applied; no damage. What are these inputs? Regards, Tim Gilbert JEM

Thread view Attachments: 0

Re: [AVR-Chat] AVR inputs

2009-07-29 by Jim Wagner

One way is to add a series resistor to each input (say 4.7K to 10K), then add a diode (preferably Schottkey,j but silicon junction will work) from each input to the processor Vcc, cathode to Vcc. That will limit each input at the micro to the current Vcc )(plus one diode drop). J

Thread view Attachments: 0

Re: AVR inputs

2009-07-29 by Brian

Never thought about that one. Man do I have a lot to learn. Thanks. Brian --- In AVR-Chat@yahoogroups.com, Jim Wagner wrote: > > One way is to add a series resistor to each input (say 4.7K to 10K), > then add a diode (preferably Schottkey,j but silicon junction will > work) from

Thread view Attachments: 0

Re: AVR inputs

2009-07-29 by Brian

Tim, I have also done this, My friend is hooking it up in his car and I havent had a chance to see what exactly what he is doing so I am only going on what he says he is doing. I really need to get out to his house to make measurments and see what he is doing. Brian --- In AVR-Ch

Thread view Attachments: 0

AVR inputs

2009-07-29 by Brian

I made a module for a car to monitor inputs. Since inputs can only be VCC +/-0.5V for a high signal, how do you keep the inputs from getting to the micro before VCC is applied? It keeps blowing my inputs so they dont work. One thing I thought about is using a mosfet switch contro

Thread view Attachments: 0

Re: [AVR-Chat] RF module

2009-07-28 by Bruce Parham

iijfet wrote: > hi,i wanna to use HM-TRS RF transceiver module,but i have a problem with it, i want to send a packet of data to it. > The packet include 5 bytes,& 60 packets come to RF (HM-TRS)per second,my baud rate is 4800bps. > i read the data sheet of HM-TRS & attach its addr

Thread view Attachments: 0

Re: [AVR-Chat] Looking for RF Receiver IC

2009-07-28 by David Kelly

On Tue, Jul 28, 2009 at 11:45:34AM -0600, Cat C wrote: > > ... > > > > The wrongest thing about your request is that you edited a reply to > > another thread rather than address a new email to the list. > > > Sorry, I thought I changed the subject line and replaced all the conten

Thread view Attachments: 0

Re: [AVR-Chat] Looking for RF Receiver IC

2009-07-28 by wagnerj@proaxis.com

> Analog devices has some very fast ADC chips for software defined radios. > How much bandwidth do you need? > > -- > http://itsokjohn.com/ > And what kind of signal (modulation)? There are very few "chips" that fit these requirements. Most of what is available (as full receivers

Thread view Attachments: 0

RE: [AVR-Chat] C compiler

2009-07-28 by Chuck Hackett

> From: Riccardo Castellani > > I'm going to learn ATMEL AtMega8535 programming, so I bought: > > STK-500 > AVRISP MKII > 1 breadbord > 2 books: programming and customizing the avr microcontroller + Embedded > C > programming and the atmel AVR > > What do you think if I use IAR E

Thread view Attachments: 0

RE: [AVR-Chat] Looking for RF Receiver IC

2009-07-28 by Cat C

I need only about 2KHz bandwidth. But I need to sample about 1 second, so I'm not sure how that would work. Also, how I would bring the sub 1uV level to a level that can be digitized? Thanks, Cat > Analog devices has some very fast ADC chips for software defined radios. > How muc

Thread view Attachments: 0

RE: [AVR-Chat] Looking for RF Receiver IC

2009-07-28 by Cat C

... > > The wrongest thing about your request is that you edited a reply to > another thread rather than address a new email to the list. > Sorry, I thought I changed the subject line and replaced all the content? How did you catch me? ... > > Building a good radio is much harder

Thread view Attachments: 0

Re: [AVR-Chat] Looking for RF Receiver IC

2009-07-28 by David Kelly

On Tue, Jul 28, 2009 at 11:04:43AM -0600, Cat C wrote: > > This may be the wrong place to ask, but it's at least related to the last "chat" :-) The wrongest thing about your request is that you edited a reply to another thread rather than address a new email to the list. > I need

Thread view Attachments: 0

Looking for RF Receiver IC

2009-07-28 by Cat C

This may be the wrong place to ask, but it's at least related to the last "chat" :-) I need to make an hi sensitivity/selectivity/stability, low noise tunable RF receiver that can receive around 60MHz (maybe 50-70) and ideally could switch to 10MHz (but the 10MHz requirements are

Thread view Attachments: 0

Re: [AVR-Chat] Re: RF module

2009-07-28 by David VanHorn

On Tue, Jul 28, 2009 at 11:36 AM, iijfet wrote: > the software for exact options > > http://www.hoperf.com/tools/HM-TR_SETUP.exe I hope nobody is going to run out and execute that... -- http://itsokjohn.com/

Thread view Attachments: 0

Re: [AVR-Chat] RF module

2009-07-28 by David Kelly

On Tue, Jul 28, 2009 at 07:56:33AM -0700, hossein hashemi wrote: > your last paragraph made i read the data sheet again. > if data less than 32 bytes exp 25 bytes ,do you think it's transmitted after 30 ms?(pdf is not clear.) > it's pleasant for me. > 25 bytes as a 5 samples of o

Thread view Attachments: 0

Re: [AVR-Chat] RF module

2009-07-28 by David Kelly

On Tue, Jul 28, 2009 at 10:22:37AM -0400, David VanHorn wrote: > > As you said, "poorly written", as it is not clear whether the 30 mS > > timer starts with the first byte, or is a watchdog which flushes the > > buffer after 30 mS of inactivity. > > Right.. Sometimes with these p

Thread view Attachments: 0

Re: [AVR-Chat] RF module

2009-07-28 by hossein hashemi

your last paragraph made i read the data sheet again. if data less than 32 bytes exp 25 bytes ,do you think it's transmitted after 30 ms?(pdf is not clear.) it's pleasant for me. 25 bytes as a 5 samples of one patient.but this 30ms,for monitoring, give a discrete state to data,is

Thread view Attachments: 0

Re: [AVR-Chat] RF module

2009-07-28 by David VanHorn

> As you said, "poorly written", as it is not clear whether the 30 mS > timer starts with the first byte, or is a watchdog which flushes the > buffer after 30 mS of inactivity. Right.. Sometimes with these products, all you can do is try it and see. I suspect it is an inactivity

Thread view Attachments: 0

Re: [AVR-Chat] RF module

2009-07-28 by David Kelly

On Tue, Jul 28, 2009 at 09:32:15AM -0400, David VanHorn wrote: > > The data sheet is very poorly written, but it looks like you can send > single bytes, or small numbers of bytes, by waiting at least 30mS. > This is a common approach with packetized transmission protocols. > > If

Thread view Attachments: 0

Re: RF module

2009-07-28 by iijfet

--- In AVR-Chat@yahoogroups.com, David Kelly wrote: > > On Tue, Jul 28, 2009 at 07:56:33AM -0700, hossein hashemi wrote: > > your last paragraph made i read the data sheet again. > > if data less than 32 bytes exp 25 bytes ,do you think it's transmitted after 30 ms?(pdf is not cl

Thread view Attachments: 0

Re: [AVR-Chat] RF module

2009-07-28 by David Kelly

On Tue, Jul 28, 2009 at 01:13:45PM -0000, iijfet wrote: > hi,i wanna to use HM-TRS RF transceiver module,but i have a problem > with it, i want to send a packet of data to it. The packet include 5 > bytes,& 60 packets come to RF (HM-TRS)per second,my baud rate is > 4800bps. > i r

Thread view Attachments: 0

Re: RF module

2009-07-28 by iijfet

the software for exact options http://www.hoperf.com/tools/HM-TR_SETUP.exe

Thread view Attachments: 0

Re: [AVR-Chat] RF module

2009-07-28 by David VanHorn

> has it at 4800bps continous performance or must accumulate 32 bytes? > second state is unpleasant for me because of my data structure. > this matter at its data sheet has not determined obviously. The data sheet is very poorly written, but it looks like you can send single byte

Thread view Attachments: 0

RF module

2009-07-28 by iijfet

hi,i wanna to use HM-TRS RF transceiver module,but i have a problem with it, i want to send a packet of data to it. The packet include 5 bytes,& 60 packets come to RF (HM-TRS)per second,my baud rate is 4800bps. i read the data sheet of HM-TRS & attach its address for you. http://

Thread view Attachments: 0

Re: C compiler

2009-07-28 by brewski922

A Mega8535 40-pin plugs straight into a STK500 and can be programmed via a RS232 port. So you may not need that AVRISP MKII. With this the 8535 and other chips can be programmed via a USP port. The book "Embedded C Programing and the Atmel AVR" at one time came with the evaluatio

Thread view Attachments: 0

Re: [AVR-Chat] C compiler

2009-07-28 by John Samperi

At 07:53 AM 28/07/2009, you wrote: >What do you think if I use IAR Embedded Workbench as C compiler ? That will be VERY EXPENSIVE once you run out of what the free demo can do. AVRStudio and winAvr (as Jim already commented) are both free and reasonably good. Regards John Samperi

Thread view Attachments: 0

Re: [AVR-Chat] C compiler

2009-07-28 by wagnerj@proaxis.com

> I'm going to learn ATMEL AtMega8535 programming, so I bought: > > STK-500 > AVRISP MKII > 1 breadbord > 2 books: programming and customizing the avr microcontroller + Embedded C > programming and the atmel AVR > > What do you think if I use IAR Embedded Workbench as C compiler

Thread view Attachments: 0

C compiler

2009-07-27 by Riccardo Castellani

I'm going to learn ATMEL AtMega8535 programming, so I bought: STK-500 AVRISP MKII 1 breadbord 2 books: programming and customizing the avr microcontroller + Embedded C programming and the atmel AVR What do you think if I use IAR Embedded Workbench as C compiler ? What version ? s

Thread view Attachments: 0

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.