Peter Forstmeier's Content - Netduino Forums
   
Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Peter Forstmeier's Content

There have been 52 items by Peter Forstmeier (Search limited from 29-March 23)


By content type

See this member's


Sort by                Order  

#58675 NeonMika.Webserver

Posted by Peter Forstmeier on 11 June 2014 - 05:52 PM in Project Showcase

Hi,

i didn't try it any more. but if i find some time i will give them a second chance

 

Gruß nach A aus D

Peter

 




#58652 Send data to and recive data from N+2

Posted by Peter Forstmeier on 09 June 2014 - 05:34 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi again,

i stay in contact with the author of mqttbroker. He told me to use short Clientid's like 'textclient' or similar, and now it's working.

 

Peter




#58644 Send data to and recive data from N+2

Posted by Peter Forstmeier on 09 June 2014 - 08:50 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

and good morning(in Germany) .

Yes, i made 2-way communication with sending Messages for and back under two Topics.

If i find a better way, i let you know.

 

Great CAD Files, These stuff is much more closer to my job as writing Software.

 

Now, as i have seen thes the communication is working i have work some days on my second project:

 

http://www.icsharpco...SD/Default.aspx

https://github.com/i...pReporting/wiki

 

Peter

 




#58641 Send data to and recive data from N+2

Posted by Peter Forstmeier on 08 June 2014 - 07:56 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

communication with mosquito from N2+ to my Laptop and back works excellent.i wonder why i have problems with the Broker from codeplex.

By the way, did you have tryed 2-way communication?

 

Thanks a lot

 

Peter




#58606 Send data to and recive data from N+2

Posted by Peter Forstmeier on 06 June 2014 - 08:42 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

i install  mosquito, start, worked as far as i can see (Pub + Sub are in the same app)

 

Now i will try and build a publisher on the N2+ and a subscriber on my pc.

i will by back and Report my success*g*

 

Peter




#58600 Send data to and recive data from N+2

Posted by Peter Forstmeier on 06 June 2014 - 07:00 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

i'm using http://mqttbroker.codeplex.com/

this seems to be the 'brother' of http://m2mqtt.codeplex.com/

I set Debug.Print statements in some(all) the EventHandlers in the broker, and only one of them (Client.Connected) is called.

I also can see that my client is added to the Client-Collection.

 

I think i will give mosquito a try.

 

Thanks

Peter




#58578 Send data to and recive data from N+2

Posted by Peter Forstmeier on 05 June 2014 - 08:46 PM in Netduino Plus 2 (and Netduino Plus 1)

It works.........Thanks.

 

Connecting to the Broker ist working.

 

I create a loop to publish 20 testmessages.

They are published, but never arrive at the Broker.

 

Peter




#58577 Employees Worktime

Posted by Peter Forstmeier on 05 June 2014 - 08:44 PM in General Discussion

Hi,

i'm not shure if i can send HttpWebRequest messages with mqtt.

 

At the moment i play with:

http://forums.netdui...e-data-from-n2/

 

Peter




#58575 Send data to and recive data from N+2

Posted by Peter Forstmeier on 05 June 2014 - 06:18 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

thanks, i will try that.

 

Thanks

Peter




#58556 Employees Worktime

Posted by Peter Forstmeier on 04 June 2014 - 08:34 PM in General Discussion

Hi,

thanks for the Response.

At the moment i Play with MQTT to send Messages from and to the Netduino, hopefully thiw will work.

What do you think about this idea?

 

Peter




#58555 Send data to and recive data from N+2

Posted by Peter Forstmeier on 04 June 2014 - 06:59 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

i get mqtt from Nuget and write the following snippet:

public static void Main()
        {
            const string brokerIP = "192.168.0.25";
            var x = IPAddress.Parse(brokerIP);
 
            MqttClient client = new MqttClient(IPAddress.Parse(brokerIP));
            client.MqttMsgPublished +=client_MqttMsgPublished;
            client.MqttMsgSubscribed +=client_MqttMsgSubscribed;
            client.MqttMsgPublishReceived += client_MqttMsgPublishReceived;
            string clientId = Guid.NewGuid().ToString();
            Debug.Print("1");
            try
            {
                client.Connect(clientId);
            }
            catch (Exception e)
            {
                Debug.Print(e.InnerException.Message);
                //throw;
            }
            finally
            {
                Debug.Print("finally");
                client.Disconnect();
            }
            
            Debug.Print("2");
            var str = "Hi peter";
 
            for (; ;)
            {
              client.Publish("/home/temperature", Encoding.UTF8.GetBytes(str));  
            }
        }
 
Problem:
after Debug.Print("1")
client.Connect();
i get the following error message:
1
A first chance exception of type 'System.Net.Sockets.SocketException' occurred in Microsoft.SPOT.Net.dll
A first chance exception of type 'uPLibrary.Networking.M2Mqtt.Exceptions.MqttConnectionException' occurred in M2Mqtt.dll
Exception was thrown: System.Net.Sockets.SocketException
finally
A first chance exception of type 'System.Net.Sockets.SocketException' occurred in Microsoft.SPOT.Net.dll
A first chance exception of type 'uPLibrary.Networking.M2Mqtt.Exceptions.MqttCommunicationException' occurred in M2Mqtt.dll
An unhandled exception of type 'uPLibrary.Networking.M2Mqtt.Exceptions.MqttCommunicationException' occurred in M2Mqtt.dll
 Uncaught exception 
The thread '<No Name>' (0x1) has exited with code 0 (0x0).
Done.
 
Any Idea????
Thanks in advance
Peter
 



#58506 Send data to and recive data from N+2

Posted by Peter Forstmeier on 01 June 2014 - 06:31 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

i will have a look, but this will take a couple of day's because i'm very busy in my main job (roofing and sheetmetal bending)

 

Thanks a lot

Peter




#58472 Send data to and recive data from N+2

Posted by Peter Forstmeier on 29 May 2014 - 03:49 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

thanks very much for this detailed explanation.

I will give them a try as soon as possible and will (hopefully *g*) be back

 

Thanks

Peter




#58462 Send data to and recive data from N+2

Posted by Peter Forstmeier on 28 May 2014 - 08:50 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

thanks.

One more question, did MQTT work in two way mode as well?

 

Thanks

Peter




#58459 Send data to and recive data from N+2

Posted by Peter Forstmeier on 28 May 2014 - 07:42 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

i would like to send a list of small entitys from my PC to the N+2 (aprox 10 elements)

 

After that, some properties of this entities are updated by sensors.

 

Every 24 hrs i would like to read the updated entitys back to my PC.

 

Any suggestions (WCF,HTTP,MQTT) to handle this Project?

 

Thanks

Peter

.

 




#58458 Netduino Plus 2 Firmware v4.3.1

Posted by Peter Forstmeier on 28 May 2014 - 07:29 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

sorry for the late answer.

It seems to work

Thanks

Peter




#58379 Netduino Plus 2 Firmware v4.3.1

Posted by Peter Forstmeier on 24 May 2014 - 03:11 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

the same Problem again, just the path changed to

C:\users\myname\,,,,,,,,,

 

Peter




#58369 Netduino Plus 2 Firmware v4.3.1

Posted by Peter Forstmeier on 23 May 2014 - 07:03 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi, 

i try to install 

 .NET MF 4.3 QFE1 bugfixes

 

bu as soon  i start the installer i got this error message :

 

Error 1316: A networkerror occured while attemting to read the file

XY:\bla\bla\MicroframworkSDK_NERMF43QFE1.mis

 

Any idea's

thanks

Peter

 




#58199 NeonMika.Webserver

Posted by Peter Forstmeier on 17 May 2014 - 05:33 PM in Project Showcase

Hi,

i try to convert NeonMika.Webserver to Framework 4.3 with no success. Is  somebody out how can Point me in the right direction.

 

Problem: I changed all the Projects to 4.3, compiling is ok, but it seems that the deployment 'blocks' my N2P.

Even with MFDeploy there is no answer from N2P ping... is freezing.

 

Thanks

Peter

 

 

 




#58157 Employees Worktime

Posted by Peter Forstmeier on 15 May 2014 - 06:22 PM in General Discussion

Hi List,

i have an ID20 RFID Chip working and now i'm think about a small Worktime Control System for about 10 - 20 Employees.

Is anybody out how have experiance in a Project like this.

What i'm specially interested is:

 

- Secure the CheckIn-CheckOut

 

- Storing the DataTime's/Employee#  on SD Card or have a Network Connection to a PC (mqqt or others)

 

-What is the recommended way to Connect to PC for reading out the values(per day/per week)

 

Thanks in advance

Peter

 

 

 




#56975 WiFi

Posted by Peter Forstmeier on 21 March 2014 - 05:39 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi List,

does anybody has experiance with this rooter:

 

http://www.tp-link.c...=TL-WR702N#spec

 

What i would like to do:

 

In my flat there is only WiFi, so i would like to use this rooter as a Receiver and connect my N2+ with cable to them.

 

If there is any better idea, please let me know.

 

Thanks

Peter

 




#54527 I2C & temperature sensor TCN75A

Posted by Peter Forstmeier on 07 December 2013 - 06:28 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

i got it to work.

But, Setting Pinn A2,A1,A0 to ground leads to 'Can't deploy..........'.

leaving them open it works.

Thanks a lot

Peter




#54463 I2C & temperature sensor TCN75A

Posted by Peter Forstmeier on 04 December 2013 - 01:30 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

please excuse my ignoranze but i'm a total noop in electrics.

 

My main job is on the  construction site (Roofing ans Sheetmetal) and in my freetime i'm here:

http://www.icsharpco...SD/Default.aspx

 

So, please be patient

Peter




#54434 I2C & temperature sensor TCN75A

Posted by Peter Forstmeier on 03 December 2013 - 05:52 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi,

at first thanks for the answers, hopefully tomorrow i will have time to test them out because im very busy in my Job.

I use the Netduino Plus 2, so i will change my wiring.

One more question arises,

What's about the address of the TCN75A if a2,a1,a0 i are 'open' means  not connected to ground.

This would be the easiest for me because i can't solder and these is the state i got them from the supplier.

 

Thanks in advance

Peter




#54414 I2C & temperature sensor TCN75A

Posted by Peter Forstmeier on 02 December 2013 - 02:25 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi List,

i made the mistake and follow an answered thread.

Here again.

I use the code from this thread:

 

http://forums.netdui...-sensor-tcn75a/

 

My wiring:

Vcc - 5V

Gnd -> Gnd

SDA -> A4

SCL -> A5

 

Can anybody explain my how to wire the PullUp Resistores as mentioned in the third post?

 

One more question,

In the code the address is set to 0x48, is this the default adress of the sensor, or how to set a address.

Thanks in advance

Peter





home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.