Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

How to make a frequency sweeper?

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
jodank

Bascom Member



Joined: 22 Apr 2014
Posts: 49

blank.gif
PostPosted: Thu Apr 06, 2017 11:38 pm    Post subject: How to make a frequency sweeper? Reply with quote

Hi!
I need some help to do this project:
I need to make a frequency sweeper with 5V square wave output duty cycle 50%,
effective frequency range from 50kHz to 50Hz .

Can I do this with the tone function or should I use a timer or what would be the best solution?
I would use some Attiny2313 or 85 maybe I think I have on stock.

Some example code would be great for start.

Thanks in advice.
My best regards.

(BASCOM-AVR version : 2.0.7.5 , Latest : 2.0.7.8 )
Back to top
View user's profile
wieczus

Bascom Member



Joined: 11 Apr 2006
Posts: 18

poland.gif
PostPosted: Fri Apr 07, 2017 7:49 pm    Post subject: Reply with quote

Hello,

Are you trying to develop a TMS 374 based ECU unlocker?

Thomas
Back to top
View user's profile
jodank

Bascom Member



Joined: 22 Apr 2014
Posts: 49

blank.gif
PostPosted: Fri Apr 07, 2017 9:09 pm    Post subject: Reply with quote

Hi Thomas!
Yes, but I will integrate some other function too to that tool and the major problem is
this sweeping stuff.

Thanks for any advice.
Back to top
View user's profile
JC

Bascom Member



Joined: 15 Dec 2007
Posts: 627
Location: Cleveland, OH

usa.gif
PostPosted: Sat Apr 08, 2017 2:33 am    Post subject: Reply with quote

No where near enough information.

How fast does the sweep take?
1 Sec, 10 Sec, 0.1 Sec?

Does it sweep once, or repeat?
Does it wrap around, or sweep up, then down, then up...?

How precise must the 50% duty cycle be?
+/- 1%, +/- 1 uSec, etc?

How large an the frequency steps be?
1 Hz? 10 Hz, 10% of current frequency?

Can there be discontinuities in the signal when the frequency changes?

Lots of questions!
Clearly more info is needed.

JC
Back to top
View user's profile Visit poster's website
wieczus

Bascom Member



Joined: 11 Apr 2006
Posts: 18

poland.gif
PostPosted: Sat Apr 08, 2017 11:00 am    Post subject: Reply with quote

jodank wrote:
Hi Thomas!
Yes, but I will integrate some other function too to that tool and the major problem is
this sweeping stuff.

Thanks for any advice.


Email me priv. Will try to help you.

Thomas
Back to top
View user's profile
jodank

Bascom Member



Joined: 22 Apr 2014
Posts: 49

blank.gif
PostPosted: Sat Apr 08, 2017 3:20 pm    Post subject: Reply with quote

[quote="wieczus"]
jodank wrote:


Email me priv. Will try to help you.

Thomas


Sorry but "Private messaging has been disabled on this board."

I can not contact you pm.
Back to top
View user's profile
jodank

Bascom Member



Joined: 22 Apr 2014
Posts: 49

blank.gif
PostPosted: Sat Apr 08, 2017 3:35 pm    Post subject: Reply with quote

JC wrote:
No where near enough information.

Lots of questions!
Clearly more info is needed.

JC


Quote:

How fast does the sweep take?
1 Sec, 10 Sec, 0.1 Sec?

- the sweep takes around 90sec

Quote:
Does it sweep once, or repeat?
Does it wrap around, or sweep up, then down, then up...?

- sweeps onece
- sweeps down from lets say 10KHz to 100Hz

Quote:
How precise must the 50% duty cycle be?
+/- 1%, +/- 1 uSec, etc?

- must not be precise, maybe +/- 5%

Quote:
How large an the frequency steps be?
1 Hz? 10 Hz, 10% of current frequency?

- lets say 10Hz/steps

Quote:
Can there be discontinuities in the signal when the frequency changes?

- no discontinuity allowed.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum