PIC output for piezo transducer

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

christoph
Flowcode V4 User
Posts: 382
Joined: Tue Nov 01, 2011 4:28 pm
Has thanked: 196 times
Been thanked: 26 times
Contact:

Re: PIC output for piezo transducer

Post by christoph »

Hi, Martin,
Have just completed first try and now got it working pretty loud (about 87dB at the resonant Fq) not exactly right but mine actually runs as follows:

a) In exactly 30, one second steps (taking the first tone as one step)
b) The first tone is about 2031Hz and the last tone is about 5894Hz (which is too high - perhaps around 3500Hz would be better)
c) The peak tone/resonance of 2500Hz is developed at steps 8,9,10 & 11 with a near to resonance peak also occuring at steps 13 &14
d) The sound volume drops sharply after the 20th step which is 3022Hz
e) I have tried a 10k, 100k and 200k pot connected between pin 7 and positive but it does nothing - am I connecting it up correctly and what resistance pot were you using?

Would it be possible for you to tweak the flowchart to place the loudest tone of 2500Hz at step 15 of the 30 steps and in the middle of an overall start to end range of 1500Hz to 3500Hz? Studying the flowchart from there, I should get an understanding of how it all works and I can tweak anything else I might need from there onwards.
Obviously I will need to speed up the rate to smooth the waveform out so could you say what am I doing wrong with the analogue input pot.

Really appreciate your help and looks as though it is nearly there.

Many thanks
Chris

christoph
Flowcode V4 User
Posts: 382
Joined: Tue Nov 01, 2011 4:28 pm
Has thanked: 196 times
Been thanked: 26 times
Contact:

Re: PIC output for piezo transducer

Post by christoph »

Hi dazz,

Many thanks - have only just seen your message when I finally sent one to Martin (after numerouse but neccessary domestic interruptions!) but fear not, your post will not be wasted - I just have some things to clear up and I will be back to follow your advice before long and let you know the outcome.
It will be really good to clear up this oddity - this morning 'it' seemed to be even more confused!
Chris

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: PIC output for piezo transducer

Post by medelec35 »

Hi Chris,
You can't just connect a pot between analog i/p and +5V.
Because of the very high i/p resistance the voltage will not change that much when you adjust the pot.

What you need to do is connect the two outer ends of pot to supply i.e +5V and 0V.
Then center of pot connects to analogue i/p
Then the pot acts as a potential divider controlling analog i/p from 0V to 5V

Not a problem with changing frequencies, when I get a chance I will post an updated flowchart.

Martin
Martin

christoph
Flowcode V4 User
Posts: 382
Joined: Tue Nov 01, 2011 4:28 pm
Has thanked: 196 times
Been thanked: 26 times
Contact:

Re: PIC output for piezo transducer

Post by christoph »

Many thanks Martin - obvious to me now you have pointed it out!!
Thankyou for when you are able to tweak the flowchart - I have now connected the chip output to the piezo via my driver circuit and it works fine so I'm very pleased now, as I will be able to get the set up into the only bit of board area I have available for the enclosure I need to use.
Chris

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: PIC output for piezo transducer

Post by medelec35 »

It was a simple tweak if you want to compare charts.
To determine upper & lower frequencies, just right click on PWM component on the panel and select Ext Properties.
Whilst looking at the frequency click up and down on Period register untill nearest to desired frequency.
E.g you wanted 3500Hz as a max.
So nearest is 3496Hz = period register setting of 142.

So just change:

Code: Select all

If Period<=82
to

Code: Select all

If Period<= 142
Since the lower the number the higher the frequency.

Martin
Attachments
Sweep output 12F1840 V2.fcf
(10.5 KiB) Downloaded 492 times
Martin

christoph
Flowcode V4 User
Posts: 382
Joined: Tue Nov 01, 2011 4:28 pm
Has thanked: 196 times
Been thanked: 26 times
Contact:

Re: PIC output for piezo transducer

Post by christoph »

Hi dazz,
So I copied the two existing files to a new folder for this purpose, presume I then delete those two in PPP, then copy the ones you have posted in their place?
I have not yet deleted the originals till I get your ok! but I have copied ('copy shortcut') over one of those files and it arrived ok but with .http stuck on the end - do I delete that file type end?

christoph
Flowcode V4 User
Posts: 382
Joined: Tue Nov 01, 2011 4:28 pm
Has thanked: 196 times
Been thanked: 26 times
Contact:

Re: PIC output for piezo transducer

Post by christoph »

Thanks a million Martin for tweaked flowchart and the explanation - I will have some fun with that and will let you know how it goes. Terrific!
Cheers
Chris

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: PIC output for piezo transducer

Post by dazz »

Hi
click on the two links in my last post they will download to your download folder, just copy them both to the ppp folder and try programming, dont worry if you lose the original files as someone can uplooad the originals
it shouldnt have the .http on the end dont know why that is

regards
dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

christoph
Flowcode V4 User
Posts: 382
Joined: Tue Nov 01, 2011 4:28 pm
Has thanked: 196 times
Been thanked: 26 times
Contact:

Re: PIC output for piezo transducer

Post by christoph »

Hi dazz - lovely job and would like you to know it all works perfectly now. How do you guys know these things?!
Very many thanks indeed for that.
Best wishes
Chris

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: PIC output for piezo transducer

Post by dazz »

Hi
Glad you up n running
The clue to your chip issue was it was being identified as another chip. so i looked at the chip you were using and the one it thought it was and found in the ppp 1 file they had the same address, a quick google gave the dvice ids for both chips, so corrected in the data1 file, then searched the others for the two chips and corrected in data2 file as well.
Hope it helps if you get stuck with a similar issue at some point
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: PIC output for piezo transducer

Post by medelec35 »

Here is a list of most of microchips device ID's
Hopefully this is up to date and accurate, but no guarantees.

Code: Select all

Device                    Device ID

PIC10F320					29a0
PIC10F322					2980
PIC10LF320					29e0
PIC10LF322					29c0
PIC12F1501					2cc0
PIC12F1822					2700
PIC12F1840					1b80
PIC12F609					2240
PIC12F615					2180
PIC12F617					1360
PIC12F629					f80
PIC12F635					fa0
PIC12F675					fc0
PIC12F683					460
PIC12F752					1500
PIC12HV609					2280
PIC12HV615					21a0
PIC12HV752					1520
PIC12LF1501					2d80
PIC12LF1552					1bc0
PIC12LF1822					2800
PIC12LF1840					1bc0
PIC12LF1840T39A				1bc0
PIC12LF1840T48A				1bc0
PIC16C745					b60
PIC16C765					b80
PIC16C925					140
PIC16C926					100
PIC16CR73					c80
PIC16CR74					cc0
PIC16CR76					c00
PIC16CR77					c40
PIC16CR926					2100
PIC16F1454					2d40
PIC16F1455					2d40
PIC16F1459					2d40
PIC16F1503					2ce0
PIC16F1507					2d00
PIC16F1508					2d20
PIC16F1509					2d40
PIC16F1512					1700
PIC16F1513					1640
PIC16F1516					1680
PIC16F1517					16a0
PIC16F1518					16c0
PIC16F1519					16e0
PIC16F1526					1580
PIC16F1527					15a0
PIC16F1782					2a00
PIC16F1783					2a20
PIC16F1784					2a40
PIC16F1786					2a60
PIC16F1787					2a80
PIC16F1823					2720
PIC16F1824					2740
PIC16F1825					2760
PIC16F1826					2780
PIC16F1827					27a0
PIC16F1828					27c0
PIC16F1829					27e0
PIC16F1847					1480
PIC16F1933					2300
PIC16F1934					2340
PIC16F1936					2360
PIC16F1937					2380
PIC16F1938					23a0
PIC16F1939					23c0
PIC16F1946					2500
PIC16F1947					2520
PIC16F610					2260
PIC16F616					1240
PIC16F627					7a0
PIC16F627A					1040
PIC16F628					7c0
PIC16F628A					1060
PIC16F630					10c0
PIC16F631					1420
PIC16F636					10a0
PIC16F639					10a0
PIC16F648A					1100
PIC16F676					10e0
PIC16F677					1440
PIC16F684					1080
PIC16F685					4a0
PIC16F687					1320
PIC16F688					1180
PIC16F689					1340
PIC16F690					1400
PIC16F707					1ac0
PIC16F716					1140
PIC16F72					a0
PIC16F720					1c00
PIC16F721					1c20
PIC16F722					1880
PIC16F722A					1b20
PIC16F723					1860
PIC16F723A					1b00
PIC16F724					1840
PIC16F726					1820
PIC16F727					1800
PIC16F73					600
PIC16F737					ba0
PIC16F74					620
PIC16F747					be0
PIC16F76					640
PIC16F767					ea0
PIC16F77					660
PIC16F777					de0
PIC16F785					1200
PIC16F818					4c0
PIC16F819					4e0
PIC16F84A					560
PIC16F87					720
PIC16F870					d00
PIC16F871					d20
PIC16F872					8e0
PIC16F873					960
PIC16F873A					e40
PIC16F874					920
PIC16F874A					e60
PIC16F876					9e0
PIC16F876A					e00
PIC16F877					9a0
PIC16F877A					e20
PIC16F88					760
PIC16F882					2000
PIC16F883					2020
PIC16F884					2040
PIC16F886					2060
PIC16F887					2080
PIC16F913					13e0
PIC16F914					13c0
PIC16F916					13a0
PIC16F917					1380
PIC16F946					1460
PIC16HV610					22a0
PIC16HV616					1260
PIC16HV785					1220
PIC16LF1454					2d40
PIC16LF1455					2d40
PIC16LF1459					2d40
PIC16LF1503					2da0
PIC16LF1507					2dc0
PIC16LF1508					2de0
PIC16LF1509					2e00
PIC16LF1512					1720
PIC16LF1513					1740
PIC16LF1516					1780
PIC16LF1517					17a0
PIC16LF1518					17c0
PIC16LF1519					17e0
PIC16LF1526					15c0
PIC16LF1527					15e0
PIC16LF1782					2aa0
PIC16LF1783					2ac0
PIC16LF1784					2ae0
PIC16LF1786					2b00
PIC16LF1787					2b20
PIC16LF1823					2820
PIC16LF1824					2840
PIC16LF1825					2860
PIC16LF1826					2880
PIC16LF1827					28a0
PIC16LF1828					28c0
PIC16LF1829					28e0
PIC16LF1847					14a0
PIC16LF1902					2c20
PIC16LF1903					2c00
PIC16LF1904					2c80
PIC16LF1906					2c60
PIC16LF1907					2c40
PIC16LF1933					2400
PIC16LF1934					2440
PIC16LF1936					2460
PIC16LF1937					2480
PIC16LF1938					24a0
PIC16LF1939					24c0
PIC16LF1946					2580
PIC16LF1947					25a0
PIC16LF707					1ae0
PIC16LF720					1c40
PIC16LF721					1c60
PIC16LF722					1980
PIC16LF722A					1b60
PIC16LF723					1960
PIC16LF723A					1b40
PIC16LF724					1940
PIC16LF726					1920
PIC16LF727					1900
PIC18C242					320
PIC18C252					220
PIC18C442					300
PIC18C452					200
PIC18C601					120
PIC18C658					a0
PIC18C801					100
PIC18C858					e0
PIC18CR6627					13c0
PIC18CR8627					13e0
PIC18F1220					7e0
PIC18F1230					1e00
PIC18F1320					7c0
PIC18F1330					1e20
PIC18F13K20					4f40
PIC18F13K22					4f40
PIC18F13K50					4740
PIC18F14K20					4f20
PIC18F14K22					4f20
PIC18F14K22LIN				4f20
PIC18F14K50					4760
PIC18F2220					580
PIC18F2221					2160
PIC18F2320					500
PIC18F2321					2120
PIC18F2331					8e0
PIC18F23K20					20e0
PIC18F23K22					5740
PIC18F2410					1160
PIC18F242					480
PIC18F2420					1140
PIC18F2423					1150
PIC18F2431					8c0
PIC18F2439					480
PIC18F2450					2420
PIC18F2455					1260
PIC18F2458					2a60
PIC18F248					800
PIC18F2480					1ae0
PIC18F24J10					1d00
PIC18F24J11					4d80
PIC18F24J50					4c00
PIC18F24K20					20a0
PIC18F24K22					5640
PIC18F24K50					5c60
PIC18F2510					1120
PIC18F2515					ce0
PIC18F252					400
PIC18F2520					1100
PIC18F2523					1110
PIC18F2525					cc0
PIC18F2539					400
PIC18F2550					1240
PIC18F2553					2a40
PIC18F258					840
PIC18F2580					1ac0
PIC18F2585					ee0
PIC18F25J10					1c00
PIC18F25J11					4da0
PIC18F25J50					4c20
PIC18F25K20					2060
PIC18F25K22					5540
PIC18F25K50					5c20
PIC18F25K80					6180
PIC18F2610					ca0
PIC18F2620					c80
PIC18F2680					ec0
PIC18F2682					2700
PIC18F2685					2720
PIC18F26J11					4dc0
PIC18F26J13					5920
PIC18F26J50					4c40
PIC18F26J53					5820
PIC18F26K20					2020
PIC18F26K22					5440
PIC18F26K80					6120
PIC18F27J13					5960
PIC18F27J53					5860
PIC18F4220					5a0
PIC18F4221					2140
PIC18F4320					520
PIC18F4321					2100
PIC18F4331					8a0
PIC18F43K20					20c0
PIC18F43K22					5700
PIC18F4410					10e0
PIC18F442					4a0
PIC18F4420					10c0
PIC18F4423					10d0
PIC18F4431					880
PIC18F4439					4a0
PIC18F4450					2400
PIC18F4455					1220
PIC18F4458					2a20
PIC18F448					820
PIC18F4480					1aa0
PIC18F44J10					1d20
PIC18F44J11					4de0
PIC18F44J50					4c60
PIC18F44K20					2080
PIC18F44K22					5600
PIC18F4510					10a0
PIC18F4515					c60
PIC18F452					420
PIC18F4520					1080
PIC18F4523					1090
PIC18F4525					c40
PIC18F4539					420
PIC18F4550					1200
PIC18F4553					2a00
PIC18F458					860
PIC18F4580					1a80
PIC18F4585					ea0
PIC18F45J10					1c20
PIC18F45J11					4e00
PIC18F45J50					4c80
PIC18F45K20					2040
PIC18F45K22					5500
PIC18F45K50					5c00
PIC18F45K80					6160
PIC18F4610					c20
PIC18F4620					c00
PIC18F4680					e80
PIC18F4682					2740
PIC18F4685					2760
PIC18F46J11					4e20
PIC18F46J13					59a0
PIC18F46J50					4ca0
PIC18F46J53					58a0
PIC18F46K20					2000
PIC18F46K22					5400
PIC18F46K80					6100
PIC18F47J13					59e0
PIC18F47J53					58e0
PIC18F6310					be0
PIC18F6313					1a40
PIC18F6390					ba0
PIC18F6393					1a00
PIC18F63J11					3900
PIC18F63J90					3800
PIC18F6410					6e0
PIC18F6413					e40
PIC18F6490					6a0
PIC18F6493					e00
PIC18F64J11					3920
PIC18F64J90					3820
PIC18F6520					b20
PIC18F6525					ae0
PIC18F6527					1340
PIC18F6585					a60
PIC18F65J10					1520
PIC18F65J11					3960
PIC18F65J15					1540
PIC18F65J50					4100
PIC18F65J90					3860
PIC18F65J94					6400
PIC18F65K22					5300
PIC18F65K80					6140
PIC18F65K90					5240
PIC18F6620					660
PIC18F6621					aa0
PIC18F6622					1380
PIC18F6627					13c0
PIC18F6628					49c0
PIC18F6680					a20
PIC18F66J10					1560
PIC18F66J11					4440
PIC18F66J15					1580
PIC18F66J16					4460
PIC18F66J50					4140
PIC18F66J55					4160
PIC18F66J60					1800
PIC18F66J65					1f00
PIC18F66J90					5000
PIC18F66J93					5040
PIC18F66J94					63e0
PIC18F66J99					63c0
PIC18F66K22					52c0
PIC18F66K27					51a0
PIC18F66K80					60e0
PIC18F66K90					5200
PIC18F66K95					5120
PIC18F6720					620
PIC18F6722					1400
PIC18F6723					4a00
PIC18F67J10					15a0
PIC18F67J11					4480
PIC18F67J50					4180
PIC18F67J60					1f20
PIC18F67J90					5020
PIC18F67J93					5060
PIC18F67J94					63a0
PIC18F67K22					5180
PIC18F67K90					5100
PIC18F8310					bc0
PIC18F8313					1a60
PIC18F8390					b80
PIC18F8393					1a20
PIC18F83J11					3980
PIC18F83J90					3880
PIC18F8410					6c0
PIC18F8413					e60
PIC18F8490					680
PIC18F8493					e20
PIC18F84J11					39a0
PIC18F84J90					38a0
PIC18F8520					b00
PIC18F8525					ac0
PIC18F8527					1360
PIC18F8585					a40
PIC18F85J10					15e0
PIC18F85J11					39e0
PIC18F85J15					1700
PIC18F85J50					41a0
PIC18F85J90					38e0
PIC18F85J94					6380
PIC18F85K22					5360
PIC18F85K90					52a0
PIC18F8620					640
PIC18F8621					a80
PIC18F8622					13a0
PIC18F8627					13e0
PIC18F8628					49e0
PIC18F8680					a00
PIC18F86J10					1720
PIC18F86J11					44e0
PIC18F86J15					1740
PIC18F86J16					4500
PIC18F86J50					41e0
PIC18F86J55					4200
PIC18F86J60					1820
PIC18F86J65					1f40
PIC18F86J72					5040
PIC18F86J90					5080
PIC18F86J93					50c0
PIC18F86J94					6360
PIC18F86J99					6340
PIC18F86K22					5320
PIC18F86K27					51e0
PIC18F86K90					5260
PIC18F86K95					5160
PIC18F8720					600
PIC18F8722					1420
PIC18F8723					4a20
PIC18F87J10					1760
PIC18F87J11					4520
PIC18F87J50					4220
PIC18F87J60					1f60
PIC18F87J72					5060
PIC18F87J90					50a0
PIC18F87J93					50e0
PIC18F87J94					6320
PIC18F87K22					51c0
PIC18F87K90					5140
PIC18F95J94					6300
PIC18F96J60					1840
PIC18F96J65					1f80
PIC18F96J72					50c0
PIC18F96J94					62e0
PIC18F96J99					62c0
PIC18F97J60					1fa0
PIC18F97J72					50e0
PIC18F97J94					62a0
PIC18LF13K22				4f80
PIC18LF13K50				4700
PIC18LF14K22				4f60
PIC18LF14K50				4720
PIC18LF23K22				5760
PIC18LF24J10				1d40
PIC18LF24J11				4e40
PIC18LF24J50				4cc0
PIC18LF24K22				5660
PIC18LF24K50				5ce0
PIC18LF25J10				1c40
PIC18LF25J11				4e60
PIC18LF25J50				4ce0
PIC18LF25K22				5560
PIC18LF25K50				5ca0
PIC18LF25K80				6260
PIC18LF26J11				4e80
PIC18LF26J13				5b20
PIC18LF26J50				4d00
PIC18LF26J53				5a20
PIC18LF26K22				5460
PIC18LF26K80				6200
PIC18LF27J13				5b60
PIC18LF27J53				5a60
PIC18LF43K22				5720
PIC18LF44J10				1d60
PIC18LF44J11				4ea0
PIC18LF44J50				4d20
PIC18LF44K22				5620
PIC18LF45J10				1c60
PIC18LF45J11				4ec0
PIC18LF45J50				4d40
PIC18LF45K22				5520
PIC18LF45K50				5c80
PIC18LF45K80				6240
PIC18LF46J11				4ee0
PIC18LF46J13				5ba0
PIC18LF46J50				4d60
PIC18LF46J53				5aa0
PIC18LF46K22				5420
PIC18LF46K80				61e0
PIC18LF47J13				5be0
PIC18LF47J53				5ae0
PIC18LF65K80				6220
PIC18LF66K80				61c0
PIC24EP128GP202				1e594000
PIC24EP128GP204				1e584000
PIC24EP128GP206				1e5b4000
PIC24EP128MC202				1e514000
PIC24EP128MC204				1e504000
PIC24EP128MC206				1e534000
PIC24EP256GP202				1f794000
PIC24EP256GP204				1f784000
PIC24EP256GP206				1f7b4000
PIC24EP256GU810				18264000
PIC24EP256GU814				18274000
PIC24EP256MC202				1f714000
PIC24EP256MC204				1f704000
PIC24EP256MC206				1f734000
PIC24EP32GP202				1c194000
PIC24EP32GP203				1c1a4000
PIC24EP32GP204				1c184000
PIC24EP32MC202				1c114000
PIC24EP32MC203				1c124000
PIC24EP32MC204				1c104000
PIC24EP512GP202				17994003
PIC24EP512GP204				17984003
PIC24EP512GP206				179b4003
PIC24EP512GP806				183d4000
PIC24EP512GU810				18364000
PIC24EP512GU814				18374000
PIC24EP512MC202				17914003
PIC24EP512MC204				17904003
PIC24EP512MC206				17934003
PIC24EP64GP202				1d394001
PIC24EP64GP203				1d3a4001
PIC24EP64GP204				1d384001
PIC24EP64GP206				1d3b4001
PIC24EP64MC202				1d314001
PIC24EP64MC203				1d324001
PIC24EP64MC204				1d304001
PIC24EP64MC206				1d334001
PIC24F04KA200				d020000
PIC24F04KA201				d000000
PIC24F04KL100				4b010000
PIC24F04KL101				4b020000
PIC24F08KA101				d080000
PIC24F08KA102				d0a0000
PIC24F08KL200				4b050000
PIC24F08KL201				4b060000
PIC24F08KL301				4b0a0000
PIC24F08KL302				4b000000
PIC24F08KL401				4b0e0000
PIC24F08KL402				4b040000
PIC24F08KM101				55000000
PIC24F08KM102				55020000
PIC24F08KM202				55120000
PIC24F08KM204				55160000
PIC24F16KA101				d010000
PIC24F16KA102				d030000
PIC24F16KA301				45080000
PIC24F16KA302				45020000
PIC24F16KA304				45060000
PIC24F16KL401				4b1e0000
PIC24F16KL402				4b140000
PIC24F16KM102				550a0000
PIC24F16KM104				550e0000
PIC24F16KM202				551a0000
PIC24F16KM204				551e0000
PIC24F32KA101				b090000
PIC24F32KA102				b0b0000
PIC24F32KA301				45180000
PIC24F32KA302				45120000
PIC24F32KA304				45160000
PIC24FJ128DA106				41090000
PIC24FJ128DA110				410b0000
PIC24FJ128DA206				41080000
PIC24FJ128DA210				410a0000
PIC24FJ128GA006				4070000
PIC24FJ128GA008				40a0000
PIC24FJ128GA010				40d0000
PIC24FJ128GA106				10080000
PIC24FJ128GA108				100a0000
PIC24FJ128GA110				100e0000
PIC24FJ128GA202				4c720000
PIC24FJ128GA204				4c730000
PIC24FJ128GA306				46c20000
PIC24FJ128GA308				46c60000
PIC24FJ128GA310				46ca0000
PIC24FJ128GB106				10090000
PIC24FJ128GB108				100b0000
PIC24FJ128GB110 			100f0000
PIC24FJ128GB202				4c7a0000
PIC24FJ128GB204				4c7b0000
PIC24FJ128GB206				41000000
PIC24FJ128GB210				41020000
PIC24FJ128GC006				48890000
PIC24FJ128GC008				488b0000
PIC24FJ128GC010				48850000
PIC24FJ16GA002				4440000
PIC24FJ16GA004				44c0000
PIC24FJ16MC101				2063000
PIC24FJ16MC102				2073000
PIC24FJ192GA106				10100000
PIC24FJ192GA108				10120000
PIC24FJ192GA110				10160000
PIC24FJ192GB106				10110000
PIC24FJ192GB108				10130000
PIC24FJ192GB110				10170000
PIC24FJ256DA106				410d0000
PIC24FJ256DA110				410f0000
PIC24FJ256DA206				410c0000
PIC24FJ256DA210				410e0000
PIC24FJ256GA106				10180000
PIC24FJ256GA108				101a0000
PIC24FJ256GA110				101e0000
PIC24FJ256GB106				10190000
PIC24FJ256GB108				101b0000
PIC24FJ256GB110				101f0000
PIC24FJ256GB206				41040000
PIC24FJ256GB210				41060000
PIC24FJ32GA002				4450000
PIC24FJ32GA004				44d0000
PIC24FJ32GA102				42020000
PIC24FJ32GA104				420a0000
PIC24FJ32GB002				42030000
PIC24FJ32GB004				420b0000
PIC24FJ32MC101				a0c3000
PIC24FJ32MC102				a0d3000
PIC24FJ32MC104				a073000
PIC24FJ48GA002				4460000
PIC24FJ48GA004				44e0000
PIC24FJ64GA002				4470000
PIC24FJ64GA004				44f0000
PIC24FJ64GA006				4050000
PIC24FJ64GA008				4080000
PIC24FJ64GA010				40b0000
PIC24FJ64GA102				42060000
PIC24FJ64GA104				420e0000
PIC24FJ64GA106				10000000
PIC24FJ64GA108				10020000
PIC24FJ64GA110				10060000
PIC24FJ64GA202				4c700000
PIC24FJ64GA204				4c710000
PIC24FJ64GA306				46c00000
PIC24FJ64GA308				46c40000
PIC24FJ64GA310				46c80000
PIC24FJ64GB002				42070000
PIC24FJ64GB004				420f0000
PIC24FJ64GB106				10010000
PIC24FJ64GB108				10030000
PIC24FJ64GB110				10070000
PIC24FJ64GB202				4c780000
PIC24FJ64GB204				4c790000
PIC24FJ64GB502				42070000
PIC24FJ64GC006				48880000
PIC24FJ64GC008				488a0000
PIC24FJ64GC010				48840000
PIC24FJ96GA006				4060000
PIC24FJ96GA008				4090000
PIC24FJ96GA010				40c0000
PIC24FV08KM101			    55000000
PIC24FV08KM102				55020000
PIC24FV08KM202				55120000
PIC24FV08KM204				55160000
PIC24FV16KA301				45090000
PIC24FV16KA302				45030000
PIC24FV16KA304				45070000
PIC24FV16KM102				550a0000
PIC24FV16KM104				550e0000
PIC24FV16KM202				551a0000
PIC24FV16KM204				551e0000
PIC24FV32KA301				45190000
PIC24FV32KA302				45130000
PIC24FV32KA304				45170000
PIC24HJ128GP202				6650000
PIC24HJ128GP204				6670000
PIC24HJ128GP206				5d3000
PIC24HJ128GP206A			5d3000
PIC24HJ128GP210				5f3000
PIC24HJ128GP210A	    	5f3000
PIC24HJ128GP302				650000
PIC24HJ128GP304				660000
PIC24HJ128GP306				653000
PIC24HJ128GP306A			653000
PIC24HJ128GP310				673000
PIC24HJ128GP310A			673000
PIC24HJ128GP502				67d0000
PIC24HJ128GP504				67f0000
PIC24HJ128GP506				613000
PIC24HJ128GP506A			613000
PIC24HJ128GP510				633000
PIC24HJ128GP510A			633000
PIC24HJ128GP802				6d0000
PIC24HJ12GP201				80a0000
PIC24HJ12GP202				80b0000
PIC24HJ12MC201				8080000
PIC24HJ12MC202				8090000
PIC24HJ16GP304				f170000
PIC24HJ16MC302				f110000
PIC24HJ16MC304				f120000
PIC24HJ256GP206				713000
PIC24HJ256GP206A			7710000
PIC24HJ256GP210				733000
PIC24HJ256GP210A			7730000
PIC24HJ256GP610				7b3000
PIC24HJ256GP610A			77b0000
PIC24HJ32GP202				f1d0000
PIC24HJ32GP204				f1f0000
PIC24HJ32GP302				6450000
PIC24HJ32GP304				6470000
PIC24HJ32MC202				f190000
PIC24HJ32MC204				f1b0000
PIC24HJ64GP202				6550000
PIC24HJ64GP204				6570000
PIC24HJ64GP206				413000
PIC24HJ64GP206A				413000
PIC24HJ64GP210				473000
PIC24HJ64GP210A				473000
PIC24HJ64GP502				6750000
PIC24HJ64GP504				6770000
PIC24HJ64GP506				493000
PIC24HJ64GP506A				493000
PIC24HJ64GP510				4b3000
PIC24HJ64GP510A				4b3000
PIC32MX110F016B				4a07053
PIC32MX110F016C				4a09053
PIC32MX110F016D				4a0b053
PIC32MX120F032B				4a06053
PIC32MX120F032C				4a08053
PIC32MX120F032D				4a0a053
PIC32MX130F064B				4d07053
PIC32MX130F064C				4d09053
PIC32MX130F064D				4d0b053
PIC32MX150F128B				4d06053
PIC32MX150F128C				4d08053
PIC32MX150F128D				4d0a053
PIC32MX210F016B				4a01053
PIC32MX210F016C				4a03053
PIC32MX210F016D				4a05053
PIC32MX220F032B				4a00053
PIC32MX220F032C				4a02053
PIC32MX220F032D				4a04053
PIC32MX230F064B				4d01053
PIC32MX230F064C				4d03053
PIC32MX230F064D				4d05053
PIC32MX250F128B				4d00053
PIC32MX250F128C				4d02053
PIC32MX250F128D				4d04053
PIC32MX300F032H				900053
PIC32MX310F032H				900053
PIC32MX320F032H				902053
PIC32MX320F064H				906053
PIC32MX320F128H				90a053
PIC32MX320F128L				92a053
PIC32MX340F128H				90d053
PIC32MX340F128L				92d053
PIC32MX340F256H				912053
PIC32MX340F512H				916053
PIC32MX360F256L				934053
PIC32MX360F512L				938053
PIC32MX360F512L_A0			38053
PIC32MX420F032H				942053
PIC32MX440F128H				4d053
PIC32MX440F128L				96d053
PIC32MX440F256H				952053
PIC32MX440F512H				956053
PIC32MX460F256L				974053
PIC32MX460F512L				978053
PIC32MX460F512L_A0			78053
PIC32MX534F064H				4400053
PIC32MX534F064L				440c053
PIC32MX564F064H				4401053
PIC32MX564F064L				440d053
PIC32MX564F128H				4403053
PIC32MX564F128L				440f053
PIC32MX575F256H				4317053
PIC32MX575F256L				4333053
PIC32MX575F512H				4309053
PIC32MX575F512L				430f053
PIC32MX664F064H				4405053
PIC32MX664F064L				4411053
PIC32MX664F128H				4407053
PIC32MX664F128L				4413053
PIC32MX675F256H				430b053
PIC32MX675F256L				4305053
PIC32MX675F512H				430c053
PIC32MX675F512L				4311053
PIC32MX695F512H				4325053
PIC32MX695F512L				4341053
PIC32MX764F128H				440b053
PIC32MX764F128L				4417053
PIC32MX775F256H				4303053
PIC32MX775F256L				4312053
PIC32MX775F512H				430d053
PIC32MX775F512L				4306053
PIC32MX795F512H				430e053
PIC32MX795F512L				4307053
PIC32MXPocono				4309053
PICMCV18E					1140
PICMCV20USB					4700
PICRF675F					fc0
PICRF675H					fc0
PICRF675K					fc0
Same Info aligned and attached within a text file.

If I spot any duplicates, will see which ones are wrong, and will update text file with a new revision each time error is corrected.

Martin
Attachments
Device IDs.txt
(17.57 KiB) Downloaded 351 times
Martin

christoph
Flowcode V4 User
Posts: 382
Joined: Tue Nov 01, 2011 4:28 pm
Has thanked: 196 times
Been thanked: 26 times
Contact:

Re: PIC output for piezo transducer

Post by christoph »

Thanks Dazz and Martin,
Yes very useful bit of help there - I didn't realise how that was possible.

I need one more advisory on the Flowchart which Martin kindly posted earlier - I want to change the output from pin 7 to pin 3 because I need to programme the Chip In Place and therefore need pin 7 Data facility. I can't seem to see how to do that or what has selected pin 7 as the output in the flowchart.
Could you, Martin or someone enlighten me - I would be very grateful!

Thankyou in advance

Chris

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: PIC output for piezo transducer

Post by dazz »

Hi
i think you meant input not output :) click on the pot, select connections and change to AN3, verify by selecting chip view(from the view menu), then run sim and pin 3 will be yellow

if your programming via icsp them search on the forums as martin and others have put up several posts on how to use an icsp pin as an input or output, worth looking at as you gain extra pins

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

christoph
Flowcode V4 User
Posts: 382
Joined: Tue Nov 01, 2011 4:28 pm
Has thanked: 196 times
Been thanked: 26 times
Contact:

Re: PIC output for piezo transducer

Post by christoph »

Hi Dazz,
You are absolutely right - I did mean input! Dont know what I was thinking and thanks for that and the additional info re iscp detail. I will look at the relevent posts.
Incidentely, what tells pin 5 that it is the PWM output?
Also can you tell me where I find the pin colour codes re for instance your mention of the pin 3 being yellow etc?
Many thanks
Chris

christoph
Flowcode V4 User
Posts: 382
Joined: Tue Nov 01, 2011 4:28 pm
Has thanked: 196 times
Been thanked: 26 times
Contact:

Re: PIC output for piezo transducer

Post by christoph »

Hi Dazz, Pin 7 was originally green and now having changed to pin 3, pin 7 is blue now (as are all the other non-power supply pins) and pin 3 is now green - not yellow . Is that ok?
Chris

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: PIC output for piezo transducer

Post by dazz »

Hi Chris
ignore my pin colour comment as i opened your chart in V5, as i havent got around to reinstalling V4 after a reinstall of windows, pwm is defined by microchip, but have a good read of the datasheet, although at first they look like they are written in a cross between klingon and gooble de gook, if you keep reading one section eventually it will become clear, if you do specific datasheet searches ie pwm then the pins will be isted along with thier channel numbers, so if you had a chip with 3 pwm outputs, flowcode will strictly follow the microcontroller number to pin scheme.

The learning curve when new to flowcode is steep if youve never used microcontrollers before(although less steep than other packages), the only stupid question is the one that remains unasked, even Vc's and other users struggle at times, so never be affraid to ask something as we all need a push in the right direction from time to time is part of the wonderful world of learning, even now i get a tinge of excitement when i build a chart and it works.

All anyone asks in return for helping others is that when they have learned ,they also in turn help others, so remember look through the datasheet and if somethings not clear ask away and we will do our best to answer

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

christoph
Flowcode V4 User
Posts: 382
Joined: Tue Nov 01, 2011 4:28 pm
Has thanked: 196 times
Been thanked: 26 times
Contact:

Re: PIC output for piezo transducer

Post by christoph »

Hi Dazz,
Thanks for your explanation, it makes sense to me now. I usually do have a go at the data sheet but so far I have been locked into the principle of constructing the flowchart with EVERY detail, that I didn't think that Flowcode would have included that! Where would I find the pin colour codings for V4 though?
Yep you are right - great satisfaction working things out and finally getting them going. I am only just getting into the analogue side of things but the possibilities using Flowcode are endless. Not even thought about using micros until I saw Flowcode and the value of doing away with so many components and reducing board space. Luverly jubberly I say!
I have been using USART etc very satisfactorily but wondered if you knew whether or not it was possible to make use of the RX USART on a PIC to receive an on/off signal from a laptop or computer USB port and how the output from the computer would be originated. I am looking into this but just wondered whether it was feasible or if you had come across this before somewhere?
Cheers
Many thanks,
Chris

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: PIC output for piezo transducer

Post by dazz »

Hi
have a search on the boards as i wrote a quick tutorial for interfacing a pic with pc using some free software called processing( heres the link http://www.matrixmultimedia.com/mmforum ... pic#p36816), i think that may help you initially as although im using it to switch something on you could change the program to do anything you want
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

christoph
Flowcode V4 User
Posts: 382
Joined: Tue Nov 01, 2011 4:28 pm
Has thanked: 196 times
Been thanked: 26 times
Contact:

Re: PIC output for piezo transducer

Post by christoph »

Hi Dazz - cool, I just finishishing off something and I will follow that up - many thanks,
Cheers,
Chris

christoph
Flowcode V4 User
Posts: 382
Joined: Tue Nov 01, 2011 4:28 pm
Has thanked: 196 times
Been thanked: 26 times
Contact:

Re: PIC output for piezo transducer

Post by christoph »

Hi Dazz,

Can you have a look at my posting on the post you gave me the link for, as more appropriate to that title.

Thanks
Chris

Post Reply