Ethernut 1.3 analog input

View: New views
5 Messages — Rating Filter:   Alert me  

Ethernut 1.3 analog input

by Tiziano-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,
I'm planning to implement a project with ethernut1.3 to remotely monitor
Pb batteries charge status.

I've read ethernut datasheet and wiki examples about analog inputs but i
still have some questions:
* what V input range for analog inputs?
* AFAIK if i need to measure an input of 13.8v i need an AREF >=13.8v
correct? so i must plan to generate a 14/15v reference with a dc-dc
converter. Or there can be a smarter solution?

Thanks, Tiziano
--
BR,
        Tiziano D'Incà
CTO at ASDASD srl
ASDASD.it  -  POPWIFI.it            +39.0437.1835.100

--
BR
        Tiziano D'Inca'
CTO at ASDASD srl
ASDASD.it  -  POPWIFI.it  tiziano@...  +39.0437.1835.100
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

Re: Ethernut 1.3 analog input

by Pedro Duarte :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

The voltage at any pin of the microcontroller cannot be higher than the supply voltage.
But that is not a problem, just use a voltage divider at each analog input.
This will bring you voltage range down to the voltage range that the microcontroller can handle.
Also, special care must be taken if you batteries are in series and with galvanic isolation if needed...

Regards,
Duarte

-----Mensagem original-----
De: en-nut-discussion-bounces@... [mailto:en-nut-discussion-bounces@...] Em nome de Tiziano
Enviada: terça-feira, 1 de Setembro de 2009 10:01
Para: en-nut-discussion@...
Assunto: [En-Nut-Discussion] Ethernut 1.3 analog input

Hi All,
I'm planning to implement a project with ethernut1.3 to remotely monitor
Pb batteries charge status.

I've read ethernut datasheet and wiki examples about analog inputs but i
still have some questions:
* what V input range for analog inputs?
* AFAIK if i need to measure an input of 13.8v i need an AREF >=13.8v
correct? so i must plan to generate a 14/15v reference with a dc-dc
converter. Or there can be a smarter solution?

Thanks, Tiziano
--
BR,
        Tiziano D'Incà
CTO at ASDASD srl
ASDASD.it  -  POPWIFI.it            +39.0437.1835.100

--
BR
        Tiziano D'Inca'
CTO at ASDASD srl
ASDASD.it  -  POPWIFI.it  tiziano@...  +39.0437.1835.100
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

NXP LPC2XXX port

by Pedro Duarte :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I’m developing a system that will use an NXP LPC2468.
Nut OS is supposed to work with the LPC2XXX processor, and in the code there are references to “MCU_LPC2XXX” and “OLIMEX_LPCE2294”.
But I don’t find any LPC processor listed in the Configurator. Also, there isn’t any reference to an Olimex board that uses a LPC processor.

How can I create a project that runs on a LPC processor?
Can anyone give me some ideas about how to port Nut Os to LPC2468?

Thanks,
Duarte
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

Re: Ethernut 1.3 analog input

by Tiziano-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 1 Sep 2009 11:24:44 +0100, Pedro Duarte <PDuarte@...>
wrote:
> The voltage at any pin of the microcontroller cannot be higher than the
> supply voltage.

ok

> But that is not a problem, just use a voltage divider at each analog
input.
> This will bring you voltage range down to the voltage range that the
> microcontroller can handle.

it was so simple, shame on me :(

> Also, special care must be taken if you batteries are in series and with
> galvanic isolation if needed...

of course.

Thanks a lot for you fast answer!

--
BR
        Tiziano D'Inca'
CTO at ASDASD srl
ASDASD.it  -  POPWIFI.it  tiziano@...  +39.0437.1835.100
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

Re: NXP LPC2XXX port

by Ethernut :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Pedro,

Pedro Duarte wrote:

> I’m developing a system that will use an NXP LPC2468.
> Nut OS is supposed to work with the LPC2XXX processor, and in the code there are references to “MCU_LPC2XXX” and “OLIMEX_LPCE2294”.
> But I don’t find any LPC processor listed in the Configurator. Also, there isn’t any reference to an Olimex board that uses a LPC processor.

The port had been done by Michael Fischer before the Configurator became
a useful tool. I assume, that it is still working in the current
release, although it hadn't been maintained any further.

Adding a new CPU to the Configurator isn't too difficult, though. You
simply need to add a few entries in the *.nut files in the nut/conf
directory by copy and paste the entries of similar CPUs. If something
went wrong, the Configurator will tell you the error line in the message
window.

This document may help a bit:
http://www.ethernut.de/en/documents/ntn-5_config.html

Harald


_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion