What's about this?

http://www.josepino.com/pic_projects/?sound_meter


Thanks in advance for your ideas.

v.


2009/2/5  <[email protected]>:
> 16F628 doesn't carry AD converter. It has only comparators. There's a
> way to turn these comparators a kind of Sigma-Delta AD converter. But
> effectively the better is to attach an SPI/I2C based for example ADC0832
> or MCP3202... if you're interested in these codes, I can provide you.
>
> Otherwise, I recommend you to change to something more powerful and
> pin-to-pin compatible: PIC16F88.
>
> -----Original Message-----
> From: Vittore Zen [mailto:[email protected]]
> Sent: quinta-feira, 5 de fevereiro de 2009 11:36
> To: [email protected]
> Subject: Re: [Sdcc-user] Sound light with 16f628
>
> I known C, and I have already wrote code in C and C++,
> I know how to read/write pin (so on/off) led.
> My problem is how to read analog value from this pic 16f628 with sdcc.
>
> Thanks in advance.
>
> v.
>
>
>
> 2009/2/5 Vaclav Peroutka <[email protected]>:
>>> ----------------------------------------
>>> Hi to everyone,
>>>
>>> I wanna switch from mplab to piklab with sdcc. So I need some help
>>> about my first coding:
>>>
>>> This is the circuit:
>>> http://i40.tinypic.com/34xj994.gif
>>>
>>> Action that I want into the code:
>>> Led green: on (pin 11)
>>> When sound reach level x: led green off - led yellow on (pin 12)
>>> When sound reach level y: led yellow off - led red on (pin 13)
>>>
>>> This is my first coding with sdcc... please help a novice :-) with
>>> your patience.
>>>
>>> Thanks in advance
>>> v.
>>
>> Hi,
>>
>> did you already write something in C ? For which compiler and
> architecture ? Do you have some code for the circuit, which works
> properly ?
>>
>> Or do you want somebody to write your code from scratch ?
>>
>> The first step is always to switch the LED on, then off, then on
> etc...
>>
>> You can start here - http://www.freenet.org.nz/sdcc/
>>
>> Vasek
>>
>>
> ------------------------------------------------------------------------
> ------
>> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
>> software. With Adobe AIR, Ajax developers can use existing skills and
> code to
>> build responsive, highly engaging applications that combine the power
> of local
>> resources and data with the reach of the web. Download the Adobe AIR
> SDK and
>> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
>> _______________________________________________
>> Sdcc-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>>
>
>
>
> --
> dott. Vittore Zen (IWA member 0267825)
> Email:    [email protected]
> Profile: http://www.linkedin.com/in/vittorezen
> Web: http://www.zen.pn.it
>
> ------------------------------------------------------------------------
> ------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and
> code to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Sdcc-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Sdcc-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>



-- 
dott. Vittore Zen (IWA member 0267825)
Email:    [email protected]
Profile: http://www.linkedin.com/in/vittorezen
Web: http://www.zen.pn.it

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to