EmbeddedRelated.com
Forums
Memfault Beyond the Launch

rabbit RCM2200

Started by "nab...@gmail.com [rabbit-semi]" December 19, 2014
hi,
guys, i need your help, a want to send data let's say a value for exemple 100 using a web page and i want to display this value on the LCD of the rabbit !
anyone have any idea ?
thanks a lot


Posted by: n...@gmail.com



Have you tried any of the sample programs provided with DC, such as those found in tcpip\http?

Steve
hi,
yes i did, but nothing special, i tried all those programs in vain , i

hope someone could help me and i'm ready to pay him because this is my
project and i spent 2 months working on it but nothing special,
thanks a lot
2014-12-19 13:57 GMT+01:00 n...@gmail.com [rabbit-semi] <
r...>:
> hi,
> guys, i need your help, a want to send data let's say a value for exemple
> 100 using a web page and i want to display this value on the LCD of the
> rabbit !
> anyone have any idea ?
> thanks a lot
>
>
>
OK, so how far did you get? The RabbitWeb samples should be enough for you to get a page up that allows you to enter a value. From that point, you can configure the program to call a function whenever the user changes the value. Your function then displays the value on the LCD.

Do you have working code to drive the LCD? What display are you using and how does it interface with the Rabbit? Is this a kit of some sort? Which Rabbit core module are you using?

-Tom
On Dec 19, 2014, at 8:54 AM, Nabil Choucolate n...@gmail.com [rabbit-semi] wrote:

> hi,
> yes i did, but nothing special, i tried all those programs in vain , i hope someone could help me and i'm ready to pay him because this is my project and i spent 2 months working on it but nothing special,
> thanks a lot
>
> 2014-12-19 13:57 GMT+01:00 n...@gmail.com [rabbit-semi] :
>
> hi,
> guys, i need your help, a want to send data let's say a value for exemple 100 using a web page and i want to display this value on the LCD of the rabbit !
> anyone have any idea ?
> thanks a lot
>
i have a rabbit rcm 2200, so what i decided to do is to use CGI in order to
send a static value and whenever i want to change this data , i have to
acess to the code source of my web page and change this value
for displaying things on LCD i know the code and i know the process it's
not a probleme i think the probleme is :
how to make web page send its value to the rabbit i hope i'm making things
clear !
Thanks a looooot guys your responds give me a lot of hope

2014-12-19 18:37 GMT+01:00 Tom Collins t...@tomlogic.com [rabbit-semi] <
r...>:

> OK, so how far did you get? The RabbitWeb samples should be enough for
> you to get a page up that allows you to enter a value. From that point,
> you can configure the program to call a function whenever the user changes
> the value. Your function then displays the value on the LCD.
>
> Do you have working code to drive the LCD? What display are you using and
> how does it interface with the Rabbit? Is this a kit of some sort? Which
> Rabbit core module are you using?
>
> -Tom
> On Dec 19, 2014, at 8:54 AM, Nabil Choucolate n...@gmail.com
> [rabbit-semi] wrote:
>
> hi,
> yes i did, but nothing special, i tried all those programs in vain , i
> hope someone could help me and i'm ready to pay him because this is my
> project and i spent 2 months working on it but nothing special,
> thanks a lot
>
> 2014-12-19 13:57 GMT+01:00 n...@gmail.com [rabbit-semi] <
> r...>:
>
>> hi,
>> guys, i need your help, a want to send data let's say a value for exemple
>> 100 using a web page and i want to display this value on the LCD of the
>> rabbit !
>> anyone have any idea ?
>> thanks a lot
>>
>
Try the RabbitWeb samples from Dynamic C 9.62. They're better suited (than CGI) to what you're trying to do.

-Tom
On Dec 19, 2014, at 10:07 AM, Nabil Choucolate n...@gmail.com [rabbit-semi] wrote:

> i have a rabbit rcm 2200, so what i decided to do is to use CGI in order to send a static value and whenever i want to change this data , i have to acess to the code source of my web page and change this value
> for displaying things on LCD i know the code and i know the process it's not a probleme i think the probleme is :
> how to make web page send its value to the rabbit i hope i'm making things clear !
> Thanks a looooot guys your responds give me a lot of hope
Hello,
guys i hope you still remember me !
well, i tried all those samples in the DynamicC but nothing special !
well, to make things clear, all i want to do is to, Via a page web, write a
value, a simple value like 12 or 16 and to send it to the rabbitC
microcontrolleur !
i really need your help guys, it has been 2 months that i'm trying to make
it out but in vain please help me
thanks in advance.

2014-12-20 1:43 GMT+01:00 Tom Collins t...@tomlogic.com [rabbit-semi] <
r...>:

> Try the RabbitWeb samples from Dynamic C 9.62. They're better suited
> (than CGI) to what you're trying to do.
>
> -Tom
> On Dec 19, 2014, at 10:07 AM, Nabil Choucolate n...@gmail.com
> [rabbit-semi] wrote:
>
> i have a rabbit rcm 2200, so what i decided to do is to use CGI in order
> to send a static value and whenever i want to change this data , i have to
> acess to the code source of my web page and change this value
> for displaying things on LCD i know the code and i know the process it's
> not a probleme i think the probleme is :
> how to make web page send its value to the rabbit i hope i'm making things
> clear !
> Thanks a looooot guys your responds give me a lot of hope
>
>
Dear Tom, with Dynamic C 9.62, RabbitWeb samples and Rabbit TCP/IP manuals you should get what you want without any particular issue. Storing a value in a variable via a web POST page is very simple and fully covered by samples and manual mentioned above. If you can't maybe because you haven't any experience with a computer programming language in general. Is this correct?
Hello,

Yes you're right and that's why i started learning PHP and HTML languages !
i hope i made the right choice !

2014-12-29 21:06 GMT+01:00 m...@cemitonline.com [rabbit-semi] <
r...>:

> Dear Tom,
> with Dynamic C 9.62, RabbitWeb samples and Rabbit TCP/IP manuals you
> should get what you want without any particular issue. Storing a value in a
> variable via a web POST page is very simple and fully covered by samples
> and manual mentioned above. If you can't maybe because you haven't any
> experience with a computer programming language in general. Is this
> correct?
>
>
>
You didn't make the right choice! PHP and HTML languages are suitable for a high-end server environment and web-based application development. Embedded applications e micro controller programming require different skills.

Rabbit environment has no PHP pre-processor (even if include a dynamic scripting language similar). First of all you have to learn the C language (Dynamic C is a dialect of the ANSI C) and how to program a micro controller like the RCM modules. Start with the "Dynamic C user's manual" to understand the Dynamic C language syntax. Then take a look at the "TCP/IP user's manual" to learn how to use RabbitWeb, a library that implements an HTML web server onto the Rabbit and let you to develop simple dynamic web page with forms to input your data.

If you don't have any experience in computer programming and software development in general (do you known at least a high-level language like Java, Pascal, ecc.?) first you should learn some concept like variables, iterations, functions, etc, and start to coding the "hello world" application (every basic programming course start with this example!).

I hope this can helps you. I think you'll get what you need but first you have to make these basic steps.

Memfault Beyond the Launch