Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityCommunity Membe...Community Membe...Get real-time data directly into your DNN portal!Get real-time data directly into your DNN portal!
Previous
 
Next
New Post
4/6/2012 1:36 PM
 

   

    Get real-time data directly into your DNN portal!

    JumpStart DNN is the answer on rapid development of administrative applications in the DotNetNuke portal.
    Create stunning DotNetNuke applications! Just design your database in the FREE DatabaseBuilder and upload this to JumpStart DNN.
    Your application will be send to you by mail within a couple of seconds!

Visual Data's JumpStart has developed an easy way to ger sensor readings directly into your DNN database.

The businesscase:
I have a sensoring system that measures light intensity and temperature in real time.
I need these data into my database in my DNN portal to enable me to investigate on how the daylight and temperature interact with each other.
(Not very senisble, but what the heck! it's all for the demo!)
So I need two tables in my database: one DayLight table and one Temperature table.
And I need a way to get the data from the sensors directly into the database.

The working process:
The sensor readings will be stored in a textfile, and this textfile will be closed after a predefind number of readings is reached.
Then the file will be send to my DNN portal where the sensor reading module will automatically read the textfile and write the data into the database at the moment I open the page where this module resides.

How this is done?
There are two main components that are added to my DotNetNuke portal:

  • An "Arduino"  microcomputer that makes up the sensoring system.
  • The "GoBetwino" interface that takes care of the filetransport between the Arduino and my DNN portal.
 See the help pages that I created to show you how this is done!


 The Arduino microcontroller

A part of the Arduino code.....

void logData( int value1, String sensorname, String remark)
{
   char buffer[5];
   Serial.print("#S|VDWLOGFILE|[");
   Serial.print(sensorname);
   Serial.print(";"); 
   Serial.print(itoa((value1), buffer, 10));
   Serial.print(";");
   Serial.print(remark + "; LC: " + strLineCount);
   Serial.println("]#");
   readSerialString(serInString,1000);
   Serial.flush();
       A part of the GoBetwino working results...

6-4-2012 12:19:20   Serial port : COM5 opened at 9600 baud
6-4-2012 12:19:20   The log file: C:\arduino-0023\VDW_SensorTechniek\gobetwino.log does not exist, can not log data.
6-4-2012 12:19:23   Commandstring recieved : #S|COPYFILE|[]#
6-4-2012 12:19:23   Command parsed OK
6-4-2012 12:19:23   Executing command : COPYFILE
6-4-2012 12:19:23   copying C:\arduino-0023\VDW_SensorTechniek\Sensors\OutPutFiles\NewVDW_LogFile.txt.txt to C:\arduino-0023\VDW_SensorTechniek\Sensors\OutPutFiles\VDW_LogFile.txt finished
6-4-2012 12:19:23   Commandstring recieved : #S|VDWLOGFILE|[ =================================================================]#
6-4-2012 12:19:23   Command parsed OK
6-4-2012 12:19:23   Executing command : VDWLOGFILE
6-4-2012 12:19:23   Data logged to C:\arduino-0023\VDW_SensorTechniek\Sensors\OutPutFiles\VDW_LogFile.txt
6-4-2012 12:19:23   Commandstring recieved : #S|VDWLOGFILE|[ == Visual Data Webservices and Visual Data's Jumpstart]#
6-4-2012 12:19:23   Command parsed OK
6-4-2012 12:19:23   Executing command : VDWLOGFILE
6-4-2012 12:19:23   Data logged to C:\arduino-0023\VDW_SensorTechniek\Sensors\OutPutFiles\VDW_LogFile.txt
6-4-2012 12:19:23   Commandstring recieved : #S|VDWLOGFILE|[ == This file contains 2 sensor objects]#
6-4-2012 12:19:23   Command parsed OK

    You design your database in a “DatabaseBuilder” helper application. This application can be dowloaded FREE from the Downloadpage on the website.
    The Downloadpage also contains databaseBuilders for complete applications like the "VisitorAnaysis" tool.


                     
                         Visit our website and learn more: www.vd-jumpstart.com
 
New Post
4/9/2012 6:58 PM
 
This is cool. You can have appliances such as tv, alarm sys control and monitor from DNN.
 
New Post
9/20/2012 3:51 AM
 
Fuji Nguyen wrote:
This is cool. You can have appliances such as tv, alarm sys control and monitor from DNN.

 Yes!

And the proof is there. I released a project for my client that uses this feature this week, and it works awsome.

More news to come soon.

Cheers,

Jos

 
New Post
9/23/2012 2:32 PM
 
This is really cool. I always appreciate new. This is new and would be useful to all. Thanks again and again for your creation.
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityCommunity Membe...Community Membe...Get real-time data directly into your DNN portal!Get real-time data directly into your DNN portal!


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out