• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

4017 as a variable resistor??

Status
Not open for further replies.

MrDEB

Well-Known Member
I had 4066 ic's w/ resistors connected but came up with this idea.
not even sure if its cosure??
the 4017 supplies the voltage to the 556 disc pin (pin 6 on the 555) which the 556 is connected as an astable timer.
the 4017 adds resistors so the output frequencies change.
I want to cycle from 2khz, 3khz, 4khz on one output and 6khz, 5khz, 4khz on the second output.
but will the 4017 supply enought for the 556 to operate
normally the disc pin is connected to vcc via a resistor which determnes the frequency.
any input as to feasability??
 

Attachments

k7elp60

Active Member
You may have a problem with the 4017 because the output has two levels, either high or low.
I have used 4000 series analog switches to connect different resistors and different capacitors to the 555 timer to change frequencies. It worked with the analog switches as when the particular gate is not selected it is an open circuit. I once buit a circuit that had 2ea 4067 analog switches so I could select 32 different frequencies.
I hope this helps
 
Last edited:

audioguru

Well-Known Member
Most Helpful Member
You are changing the value of the resistor that affects the duty-cycle a lot and affects the frequency a little.
But the other resistor needs both of its ends free.
 

MrDEB

Well-Known Member
would love to do this with a pic

but being a beginner and this is expermental (see DEER CHASER post.
I am trying to cut down the parts count.
If I could get someone to program some chips then I would be in bussiness on this circuit.
I myself have been looking at different programming boards and language but hav't decided. Pocket book gets in the way as well.
If I could get someone to program some chips, I would be willing to pay for them either cash or trade (I do custom woodworking like portraits, furniture etc.)
I am hoping to be able to sell the Deer Chaser and have my scout troop assemble them so the troop can make some money.
 

colin55

Well-Known Member
What you are saying is incorrect:

You are changing the value of the resistor that affects the duty-cycle a lot and affects the frequency a little.


The output of the 4017 can be connected to pin 7 via a resistor but since the output can both sink and source, you will have to gate them to prevent the other outputs from interfering with the result.
 
Last edited:

Sceadwian

Banned
Everything looks like a nail after a while =) Then again, after a while, everything IS a nail.
 

colin55

Well-Known Member
It would be very simple with a PIC but first you have to get a programmer (either JDM or PICkit-2 with extn socket <snip>) and a PIC12F629 and then everyone here will help you program it. You will also need a prototyping board with 5 pins for In circuit Programming.

But we really don't know what you want to do.
 
Last edited by a moderator:

Sceadwian

Banned
Everyone here will be able to help but me and you colin.
I'll be pushing AVR's, you'll be referencing other peoples code and circuits and pushing your website.
 

colin55

Well-Known Member
Not really. The circuit I submitted: PULSE GENERATOR, has a constant-width LOW but the HIGH changes in length and this creates the different frequency.
 
Last edited:

colin55

Well-Known Member
You can push AVR's all you like. If you can help someone who knows absolutley nothing about programming and wants to produce a project for $10.00 to deliver a particular application, then show me the website and instruction-set that enables him to do so.
I get people started, who know absolutley nothing about programming. Pushing my website does not bring in any money. My main kits are train kits.
I chose PIC 8 years ago because it had the biggest following and support on the web.

I am not against any microprocessor but when I asked for 300,000 ATiny12's they said they were going out of production.
I had to get MCV08A - a PIC chip made expressly for the Chinese market.
 

3v0

Coop Build Coordinator
Forum Supporter
It would be very simple with a PIC but first you have to get a programmer (either JDM or PICkit-2 with extn socket as described on talkingelectronics.com site) and a PIC12F629 and then everyone here will help you program it. You will also need a prototyping board with 5 pins for In circuit Programming.
Yup that will break the bank. $15 for a programmer from sparkfun which should work fine if an old PC can be found(better to spend a bit more and get a PICkit2 or clone). You can run the ICSP cable to a breadboard to do the programming. But there is that bit about not knowing how to program.

We are a bit on the gullable side here. From time to time we help people, even write code or layout PCBs.

A uC is not as far fetched as you might think.

3v0 :)
 
Last edited:

Sceadwian

Banned
colin55, my first AVR project was programmed on free samples that were included with a 27 dollar serial based ISP programmer because Id idn't want to make my own, you can interface any AVR that support ISP programming via a serial port with any machien that lets you run the software (win98) I don't generally provide the links for stuff like that because personally I think the first thing anyone interested in micro controllers should do is research things for THEMSELF, it's how I learned everything I know and chose the chips I have, and I have no trouble. Hand feed people schematics and code and you learn jack.
 

colin55

Well-Known Member
That's wonderful. You are a highly intelligent electronics person who knows what he is doing.
Many newcomers are struggling with electronics in the first place and they don't have the capability of go out and buy a kit and do it themselves. That's why they are looking at sites like this.
And when I contacted Parallax about the number of projects produced by reader’s they said about 100, even though 1,200,000 Stamps had been sold.
Even when hand-feeding, it's extremely difficult.
 

MrDEB

Well-Known Member
I didn't mean to raise some dust

If you boys can't play together nicely then you both can go to your room without dinner--LOL
I plan on buying a programming board, looking at the JuneBug as well as the PICKIT2.
BUT I need to assemble a prototype so I can test it out on some deer.
The deer are staring to appear in town as we type.
My plan is build 5 units using ic's as in my schematic. need to reduce the parts count etc. if possiable
have 5 PIR moduls from SURE Electronics on there way.
Get 5 in operation while designing units using a PIC.
Problem is learning how to program a PIC.
Time is a concern RIGHT NOW. not 3 months from now.
 

Roff

Well-Known Member
If you boys can't play together nicely then you both can go to your room without dinner--LOL
I plan on buying a programming board, looking at the JuneBug as well as the PICKIT2.
BUT I need to assemble a prototype so I can test it out on some deer.
The deer are staring to appear in town as we type.
My plan is build 5 units using ic's as in my schematic. need to reduce the parts count etc. if possiable
have 5 PIR moduls from SURE Electronics on there way.
Get 5 in operation while designing units using a PIC.
Problem is learning how to program a PIC.
Time is a concern RIGHT NOW. not 3 months from now.
PIR module? Is this to warn people that there is a deer in their yard, or is it to scare away deer?
 
Last edited:

MrDEB

Well-Known Member
straight lines/revisions

YES this device is to scare deer away. The PIR is used to detect the deer
Instead of using the 4066 I figure why not use some 2n2222 transistors.
the 4017 outputs need resistors (I come up with 4500 for 2ma to base. the 4017 outputs up to 5ma.Just forgot to insert.
Maybe one resistor as I have seen here somewhere??
 

Attachments

MrDEB

Well-Known Member
a VCO /556/4017

revised the DEER CHASER circuit so the timming resistors stay put as per audioguru suggestion.
Well how about a VCO where the resistor combos R9 or R11 + R12 = voltage divider (R8 or R10 + R13) to change the frequency of the 556 output.
The resistor combos need to be calculated (need to find out what values for desired frequency)
changed the piezo units to speakers.
I want a two tone sound= 1st tone goes from 2khz to 3khz to 4khz.
2nd tone from 6khz to 5khz to 4khz
tones then recycle until 10 seconds has passed.
 

Attachments

audioguru

Well-Known Member
Most Helpful Member
The 556 will melt if it tries to drive 8 ohm speakers. You need a stereo power amplifier. Also the 556 would try to put DC in the speakers which is bad.
Why two channels?

Have you calculated the actual sound level at the distance of the deer? The deer might need to wear the speakers on their ears to be scared away.
 
Last edited:
Status
Not open for further replies.

Latest threads

EE World Online Articles

Loading

 
Top