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.
I got this working now... :-D
Thanks for all your help guys.
It turned out to be a combination of things.
The working code....
program Charge_Pump_PIC12F675
' Processor speed @ 1MHz
' All additional off (Watchdog off, brownout off, etc)
'...
i use VMWare Virtual machine to run Mac OS (for developing apps and testing homemade software) and XP on a windows 7 computer. You can normally spec the amount of ram you want to allocate each of the virtual machines from your actual memory.
VM Ware is like running a computer within a computer...
well it was mainly because I have so many of them, so thought I'd put them to good use. But for all the hassle their worth, i might just sell them on ebay as apparently the playstation modders love them.
I've gone for the 12f675 as that's all the local electronics shop had. So i've adjusted the...
Nevermind, got it working now.... :-)
program charge_pump_controller
' Declarations section
' Header******************************************************
symbol RELAY = PORTB.0 ' Pin PORTD.3 is named RELAY
dim LOWFREQ as byte ' Variable TEST is of byte type
dim HIGHFREQ as byte
dim...
thanks.....
I tried doing something similar with the 16f628a in Mikrobasic, just so I could understand what was going on a little better.
It works but for some strange reason, it turns on at 1KHz, then off at 3KHz and the back on again at 5KHz. Same thing happens at certain other frequencies...
Thanks for getting back to me. What would be the best way to time it?
Could one way be to reset the watchdog timer when both loops have been met, thereby allowing the code to proceed to the "output on" statement?
Perhaps you could start selling them to the tuning scene as aftermarket ECUs. On some ECUs, the manufacturers lock you out of being able to modify the original map.
If you could incorporate some kind of data logging for race track use, that would be a great feature.
Shame. Because that is one thing I've been scouring the internet for. Most of them expect you to buy PCBs in their hundreds, not a 10 of and charge thousands of pounds for the privilege. There needs to be someone on the market who does simple hobbist PCB service on their CNC router or something...
Hi,
I was wondering if anyone was able to help me with some code.
I'm building a frequency activated relay using a 12C508, which triggers when the input frequency is between 4-15KHz (square wave).
Any suggestions or guidance would be greatly appreciated. :-)
I was given this code as an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.