Python-UniBoard

30 views
Skip to first unread message

Manoj Gudi

unread,
Sep 24, 2011, 11:13:48 PM9/24/11
to openuniboard
I am working on a project which required to analyze values displayed
on Serial-Port Terminal from a sensor.
I am not considering going with MATLAB since-
1> It is not open source software
2> I work in Ubuntu 11.04 which doesnt support MATLAB anyway
Hence, I am considering using Python 2.6 but I am ignorant on how to
use it with uNiBoard.
Any sort of enlightenment is appreciated.

Saurabh Gandhi

unread,
Sep 25, 2011, 1:09:31 AM9/25/11
to openun...@googlegroups.com
Can you be more elaborate on what uNiBoard is supposed to do in your project or how it is supposed to interact with PC software. Technically, uNiBoard has a serial port and python supports serial IO as well, so the marriage is possible.

--
Regards,
Saurabh Gandhi





Manoj Gudi

unread,
Sep 27, 2011, 11:27:18 AM9/27/11
to openuniboard
Well its basically a small project that uses LM35 sensor and ADC is
interfaced in free-running mode so that Serial port continuously
displays digital values.
I wanted to go one step ahead and plot those values in real time using
MatPlotLib of Python.
This would have been a bit simple if there was an IDE for uNiBoard
like Arduino has...

uNiBoard is really great and indigenously developed board and we can
develop it further by making an open source IDE for it. I am
enthusiastic about making that in python, but I am unsure how to go
about it...

Saurabh Gandhi

unread,
Sep 27, 2011, 12:43:33 PM9/27/11
to openun...@googlegroups.com
Your idea of having an IDE for uNiBord sounds good and require a lot of volunteering (lemme know if you have any such plans) as in case of any other open source projects. However, I am still unclear about what you want. Let me understand what you need:
Option 1: Reading / writing to UART on uNiBoard
Option 2: Reading / writing to serial port using python
Option 3: Something else
Option 4: None of these


--
Regards,
Saurabh Gandhi

Manoj Gudi

unread,
Sep 28, 2011, 12:00:18 AM9/28/11
to openuniboard
Sorry I should have started a new thread for discussing IDE,
I got what I was looking for (Serial Port Communication with Python
with uNiboard)
Thanks for replies
We can start thinking about uNiboard IDE, Please reply me on my email
id if you are interested.

Regards,
Manoj G

aditya_84

unread,
Sep 28, 2011, 12:12:33 AM9/28/11
to openuniboard
First of all...nice idea about IDE for uNiBoard \m/
I think Manoj wants to build a frontend software (PC based) which will
collect and process data coming from uNiBoard through serial port. And
ultimately, he wants to integrate this software, and similar tools
into an IDE package built using Python itself.
Well, you will definitely be needing to build GUI apps using Python,
since IDE will be a GUI app. There _are_ options for building GUI's
using Python (...of course there are :p ), check this out
http://wiki.python.org/moin/GuiProgramming .

On Sep 27, 9:43 pm, Saurabh Gandhi <saurabh...@gmail.com> wrote:
> Your idea of having an IDE for uNiBord sounds good and require a lot of
> volunteering (lemme know if you have any such plans) as in case of any other
> open source projects. However, I am still unclear about what you want. Let
> me understand what you need:
> Option 1: Reading / writing to UART on uNiBoard
> Option 2: Reading / writing to serial port using python
> Option 3: Something else
> Option 4: None of these
>
> --
> Regards,
> Saurabh Gandhi
>

Mohd Laeeq

unread,
Sep 28, 2011, 12:30:20 AM9/28/11
to openun...@googlegroups.com
with regards to the IDE for unboard , Eclipse has become a de facto standard and we once configured it for the same , ps refer 

http://www.thinklabs.in/resources/?p=186

 
-------------------------------------------
Best Regards,
Laeeq



Pursuing MS in Real Time Embedded Systems. (Batch 2012)

Hardik Shah

unread,
Sep 28, 2011, 5:33:17 AM9/28/11
to openun...@googlegroups.com
We would appreciate if you can plot the graph using uniboad by integrating the Python(used to plot the graph with the monitoring serial port), if you complete the same please share it with the open uniboard, we would be proud to add in the project list, and also it will be helpful to others as well.

On Wed, Sep 28, 2011 at 9:42 AM, aditya_84 <aditya...@gmail.com> wrote:

Manoj Gudi

unread,
Sep 28, 2011, 10:25:06 AM9/28/11
to openuniboard
@ Aditya - you are correct.
@ Laeeq - Thanks for providing insight about that..
@ Hardik- Sure I'll do that, thanks..

Well actually IDE as most of you know is not just for making a GUI
for easy interaction, this certainly Eclipse can do...
By IDE I mean a writing an API embedded in GUI application so that
beginners can pickup very fast.
For example: In Arduino we have serial.print() command for printing an
ASCII value directly to serial terminal; but in case of our uNiBoard
we have to write our own UART transmit function in C header file, call
that in our program and then utilize.

This is the main issue of making IDE where Eclipse fails... So to
increase the popularity and user-friendliness I suggested making an
IDE. Beginners will easily learn IDE and start immediately working on
uNiBoard.

Also I request all to start a new thread for discussing this since
this was for Python- uNiBoard interfacing

Regards,
Manoj Gudi

aditya_84

unread,
Sep 28, 2011, 11:58:33 PM9/28/11
to openuniboard
The whole point of writing your own functions is to learn how to write
drivers for the said architecture. That's what separates _software_
from _embedded software_ guys.
But yes, once you learn that, the fast development requires the ready-
made API (libraries) . BTW, we do have libraries for LCD, UART, RTC,
and stuff in the sample programs hosted on uNIBoards' google code
portal ( http://code.google.com/p/uniboard/ ). We can bundle them in a
plugin for Eclipse and use it.
Reply all
Reply to author
Forward
0 new messages