- Netduino Forums
- → Coding Smackdown's Content
Coding Smackdown's Content
There have been 72 items by Coding Smackdown (Search limited from 29-April 23)
#31065 The best calculation between 2 times
Posted by Coding Smackdown on 22 June 2012 - 12:21 PM in Visual Basic Support
#30896 Professional's Guide To .NET Micro Framework Application Development Book
Posted by Coding Smackdown on 19 June 2012 - 03:24 PM in General Discussion
#30842 Wireless RGB lamp
Posted by Coding Smackdown on 18 June 2012 - 07:34 PM in Project Showcase
#30639 "Advanced HMI" open source HMI development
Posted by Coding Smackdown on 13 June 2012 - 09:03 PM in General Discussion
Hello Bryan.
Here the answers:
Hope it helps.
- no, I'm not familiar with *that* project, although we're developing our own, which is similar;
- yes, you should able to interface easily with a Netduino just leveraging my Modbus library.
Cheers
Mario,
I have a couple of questions for you about your Modbus library. Being new to the whole world of Modbus, let me give you a little background as to what I want to do with it and maybe you can steer me in the right direction.
I'd like to use it to control my Electric Brew Kettle's heating element by setting the target temperature I want to reach and then read back the current temperature and whether the element is on or off.
As for setting the target temperature and reading the current temperature and if the element is on or off, I'm thinking I could use the ReadRegisters and SetRegister methods.
I've also been working on porting over the Arduino PID Library to provide a better control algorithm and would love to be able to set the PID settings, however they are all doubles and I didn't see anything in the Modbus spec that talked about sending doubles to a device, everything looks like integer values.
Any ideas on the best way to go about setting this up?
Thanks
#30373 "Advanced HMI" open source HMI development
Posted by Coding Smackdown on 07 June 2012 - 06:06 PM in General Discussion
#30311 Running an interactive console on a NETMF device
Posted by Coding Smackdown on 06 June 2012 - 01:18 PM in General Discussion
#30252 Inductive sensor input problem
Posted by Coding Smackdown on 05 June 2012 - 07:36 PM in Netduino 2 (and Netduino 1)
#30230 Inductive sensor input problem
Posted by Coding Smackdown on 05 June 2012 - 01:09 PM in Netduino 2 (and Netduino 1)
#30215 tpa81 i2c sensor read error with net cable connected
Posted by Coding Smackdown on 05 June 2012 - 05:29 AM in Netduino Plus 2 (and Netduino Plus 1)
#30214 Brewing Beer with a Netduino Plus
Posted by Coding Smackdown on 05 June 2012 - 05:13 AM in Project Showcase
#29975 PWM Ports and Relay Switching Question
Posted by Coding Smackdown on 30 May 2012 - 04:27 AM in General Discussion
#29930 PWM Ports and Relay Switching Question
Posted by Coding Smackdown on 29 May 2012 - 02:45 PM in General Discussion
#29928 Professional's Guide To .NET Micro Framework Application Development Book
Posted by Coding Smackdown on 29 May 2012 - 02:09 PM in General Discussion
#29905 Professional's Guide To .NET Micro Framework Application Development Book
Posted by Coding Smackdown on 29 May 2012 - 04:36 AM in General Discussion
#29903 Thermistor help need
Posted by Coding Smackdown on 29 May 2012 - 03:21 AM in General Discussion
#21606 Web Based Temperature Logger
Posted by Coding Smackdown on 12 December 2011 - 05:27 AM in Project Showcase
As far as source code, I'm going to try and load it up on to codeplex this week. Issue with loading up here is that the file size is too big and I'd have to upload multiple posts and If I update it, you wouldn't have the latest.
But I'll definitely update this post once I get it up on codeplex. In the meantime, if you need it you can send me a message via the forums with your email and I'll send it to you.
I took a little time this afternoon and put the entire project up on codeplex you can find source code, schematic and eventually documentation at http://diybrewerytem...r.codeplex.com/
Enjoy!
#21592 Web Based Temperature Logger
Posted by Coding Smackdown on 11 December 2011 - 08:57 PM in Project Showcase
Hi Coding Smackdown,
It's possible to download the source of this project?
Thanks,
Ludo
As far as source code, I'm going to try and load it up on to codeplex this week. Issue with loading up here is that the file size is too big and I'd have to upload multiple posts and If I update it, you wouldn't have the latest.
But I'll definitely update this post once I get it up on codeplex. In the meantime, if you need it you can send me a message via the forums with your email and I'll send it to you.
#21591 Web Based Temperature Logger
Posted by Coding Smackdown on 11 December 2011 - 08:54 PM in Project Showcase
#21525 Convert byte[4] to float
Posted by Coding Smackdown on 09 December 2011 - 11:08 PM in Netduino 2 (and Netduino 1)
#21491 Ethernet stop working after around 20-60 minutes running
Posted by Coding Smackdown on 08 December 2011 - 08:17 PM in Netduino Plus 2 (and Netduino Plus 1)
I studied the NETduino HW a bit and found that DM9161A chip performs autonegotiation for Ethernet link establishment autonomously.
I'm wondering if maybe you've come across something that has always plagued systems. I know in the windows world auto negotiation has always been problem some for devices and I have worked with network technicians who have recommended that it be turned off.
Maybe we should look at adding the capability to set the port speed on the Netduino Plus. If the network folks are having people turn it off, maybe we need to provide similar capabilities to allow the device to coexist with all of the other devices on the network.
#21442 Speech Synthesis
Posted by Coding Smackdown on 07 December 2011 - 12:43 PM in General Discussion
#21403 Fix It Shield
Posted by Coding Smackdown on 06 December 2011 - 07:39 PM in Project Showcase
#21278 How to set a static ip address?
Posted by Coding Smackdown on 03 December 2011 - 12:27 AM in Netduino Plus 2 (and Netduino Plus 1)
#21256 Dear Netduino developers, where are you from? :)
Posted by Coding Smackdown on 02 December 2011 - 01:15 PM in General Discussion
#21242 Total Newbie Temperature Project
Posted by Coding Smackdown on 02 December 2011 - 05:18 AM in General Discussion
My temp readings are all over the place. Can someone please double check my setup?
I experienced the same thing. You are probably experiencing some noise from the Ethernet interface.
There is another thread in the forum that discusses the issue in some depth.
http://forums.netdui...ading-accuracy/
It is best to hook a .1uF capacitor between 3.3V and Ground to help drop some of the noise. If that doesn't work add a 1mH inductor between the ARef port and 3.3V.
I still had a lot of noise from the senors so I ended up performing 100 reads of the port and then averaging the reading:
int totalReads = 0;
for(int x = 1; x < 100; x++)
{
totalReads += Port.Read();
Thread.Sleep(10);
}
float reading = totalReads / 100;
This seems to work pretty good and is pretty fast for normal monitoring. It may not be the best performance wise, but you can vary the number of reads until you get a good smooth value back.
BTW: Are the two outer leads of your sensor actually hooked to anything? Your circuit looks strange since the two side rails on my breadboard do not have any connection to the inner holes. Try moving the pins over to the first set of holes that your leads are connected to and see if that makes a difference. Take a look at the breadboard diagram I did of my circuit here http://forums.netdui...erature-logger/ the TMP36 is pretty much pin compatible with the LM35.
Cheers!
- Netduino Forums
- → Coding Smackdown's Content
- Privacy Policy