Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

generating 10-100 HZ with picmicro

Status
Not open for further replies.

MaxElec

Junior Member level 3
Joined
Nov 2, 2006
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,510
Hi !
I need hardware suggestions for my test project.
I want to generate 10-100 HZ range thru picmicro but i need schematics on how to connect. The picmicro that am using is 16F914 and i will use internal osc.

The output of the mcu pin should be connected to small coil (coil outputs are connected together so u have just one wire coming out of the coil).

How should i make connection to the mcu and which other parts do i need (resistors etc. ), for generating those freq. per program.

If someone has some schematics on this, that would be great !

Thank you in advance !
 

Hi,
Please clarify my doubts
1. Which PIC r u using?
2. What wave do u want to generate , a sqaure wave?
Thanks
 

using sin looking table to generate SPM
 

Which PIC r u using?
16F914 -- Microchip with nanotech.

What wave do u want to generate , a sqaure wave?
sin wave.

I need to change the frequency on the fly, so there could be some problems with desing...or not ?
 

You can generate this frequency using DDS.
Did you try to make something like this and is this working ?
 

hi whats u r ultimate aim. if u want to generate that frequency u can use softawre PWM so that u can vary the ON time
 

Hi,
16F914 is good enough to do ur project. Hav u completed ur circuit design?
Otherwise u hav to select a DAC for ur application. When selecting a DAC u hav to look for these parameters
1. Interface: Parallel or serial (If u r slecting Serial DAC then u hav to choose SPI or I2C interface, because both modules r present in ur MCU. I prefer selectting SPI)
2. Resolution: 8-bit DACs are enogh for ur requirement, also coding is easy
3. Speed: In ur application speed is not an issue
4. Output: Current or Voltage ( I prefer Voltage Output. In current output u hav to use an opamp circuit in the output to convert to voltage)
5. Channels: Number of output channels u need is one, i think, so go for one channel

I prefer MAX522 which is a 2 channel DAC

Check this link for more selections for DAC
**broken link removed**

After Designing ur circuit u hav to use a lookup table of sin values. above 150 values gives better THD. that is <1
In ur program u hav to send these values one by one with a particular DELAY.
Ur frequency of the wave depends on the DELAY time.

Please ask me if further help is needed

Thanks
Gladis
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top