- Netduino Forums
- → monewwq1's Content
monewwq1's Content
There have been 104 items by monewwq1 (Search limited from 22-June 23)
#19090 NetduinoBlinkingLED (Native)
Posted by monewwq1 on 12 October 2011 - 10:09 PM in Project Showcase
#19991 Network problem
Posted by monewwq1 on 30 October 2011 - 03:07 AM in Netduino Plus 2 (and Netduino Plus 1)
Although N+ successfully acquires the address (with DHCP enabled) I cannot see it in the network (I cannot ping it).
Marco,
What is the actual response you are getting when you try to ping it?
#20004 Network problem
Posted by monewwq1 on 30 October 2011 - 02:53 PM in Netduino Plus 2 (and Netduino Plus 1)
Ping response (after few seconds): "Destination host unreachable"
It is very strange because N+ dhcp works, I see its MAC address correctly assigned among DHCP server leases..
I tried new FW 4.2 and firmware v4.2.0.0 RC3 but I have same problems.
Ok, that is the message I thought you were getting. Can you let us know the IP address of your computer and the IP address of your N+? I bet the N+ IP address is not on the same subnet as your router and computer.
Edit: try adding this to your code:
Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].EnableDhcp();
#20009 Network problem
Posted by monewwq1 on 30 October 2011 - 05:58 PM in Netduino Plus 2 (and Netduino Plus 1)
I tried using DHCP (forcing DHCP with the above istruction), in that case the IP address of my PC is 192.168.99.38 and the IP address of N+ is 192.168.99.36, netmask 255.255.255.0, and with a fixed IP; I tried with different netmasks 192.168.2.0, 10.10.10.0.
When I have seen the ping error message, I also had the same idea, a netmask mismatch, but now I think that my N+ has a problem.
Could be and interrupt management issue? The ethernet board seems to works fine but the IP stack doesn't receive anything.
Marco
What is the N+ Default Gateway IP address?
Try this:
Debug.Print(Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].GatewayAddress);
Is the N+ Gateway Address the same as the IP address of your router? Or is it different? It should be the same.
Also, try running a traceroute for the N+ IP address and see where it's failing.
#18520 New Shield from Sparkfun
Posted by monewwq1 on 28 September 2011 - 01:36 AM in General Discussion
X10 is mainly using PLC technology. An RF standard is available but the PLC version is the most used, and still very much in use. I use it, but I also use devices communicating over 433 MHz RF, using hardware from RFXCOM.
Oops! For some reason, I keep mixing up X10 and Zigbee. Don't ask me why because I have no idea why. I guess Z's and X's cause confusion.
So, when I said that personally I would choose X10 over PLC, what I really meant was I would choose a newer communication protocol over PLC or X10 which are dated technologies even though they're still very much in use. We could also say that DOS is still very much in use, but would you really want to write new software for DOS? Well, maybe you would, but I wouldn't.
#18388 New Shield from Sparkfun
Posted by monewwq1 on 25 September 2011 - 12:09 AM in General Discussion
#20083 Power LED
Posted by monewwq1 on 02 November 2011 - 03:35 AM in Netduino 2 (and Netduino 1)
#20121 Power LED
Posted by monewwq1 on 02 November 2011 - 11:16 PM in Netduino 2 (and Netduino 1)
Do you have black electrical tape?
If you do remove it, you'll want to use a soldering iron and tweezers (very carefully). Heat up the solder on both sides of the LED (switching every half second or so between the two) and then carefully remove the power LED using tweezers. Please note that this completely voids your warranty, for obvious reasons
I'd still recommend a small piece of electrical tape though...it's simple, non-destructive, and should blend right in.
Chris
I have electrical tape coming out my ears. Lol. But, e-tape gets sticky and is noticeable, and it can fall off. And I wanted something permanent.
I found that you can do exactly what you said to remove the LED, except to make it easier you only have to heat up one side and carefully wiggle the tweezers until the LED pops off of one solder point. Then just wiggle it off of the other solder point.
My Netduino has now entered the Dark Side. Oh, and it still works fine too. Thanks.
#15308 PWM inputs and RGB LEDs
Posted by monewwq1 on 11 July 2011 - 12:34 AM in Netduino 2 (and Netduino 1)
#15559 RGB LED color control via web page with Netduino Plus
Posted by monewwq1 on 16 July 2011 - 10:27 PM in Project Showcase
#26001 Shift Registers
Posted by monewwq1 on 27 March 2012 - 02:29 AM in General Discussion
#18445 Speed of i2c bus on Netduino
Posted by monewwq1 on 26 September 2011 - 07:01 PM in General Discussion
#16291 SQLite
Posted by monewwq1 on 04 August 2011 - 01:24 AM in Netduino Plus 2 (and Netduino Plus 1)
#16807 SQLite
Posted by monewwq1 on 18 August 2011 - 12:27 AM in Netduino Plus 2 (and Netduino Plus 1)
#16290 SQLite
Posted by monewwq1 on 04 August 2011 - 01:20 AM in Netduino Plus 2 (and Netduino Plus 1)
#16292 SQLite
Posted by monewwq1 on 04 August 2011 - 01:33 AM in Netduino Plus 2 (and Netduino Plus 1)
#16280 SQLite
Posted by monewwq1 on 03 August 2011 - 10:28 PM in Netduino Plus 2 (and Netduino Plus 1)
#16289 SQLite
Posted by monewwq1 on 04 August 2011 - 01:04 AM in Netduino Plus 2 (and Netduino Plus 1)
#16327 SQLite
Posted by monewwq1 on 04 August 2011 - 01:35 PM in Netduino Plus 2 (and Netduino Plus 1)
#19612 Swag
Posted by monewwq1 on 23 October 2011 - 12:42 AM in General Discussion
#19983 TSL2561 lux sensor
Posted by monewwq1 on 29 October 2011 - 11:08 PM in General Discussion
Coincidentally, I just finished reading the "High resolution light measurement" thread. Glad you decided to go with the i2c lux sensor. Netduino + i2c has kept me pretty happy and I always lean toward i2c options when shopping. The MinM is another example of super-convenient micro-controller/i2c overkill. It combines LEDs and an ATtiny85 micro-controller on one little board. I bought three for a project and it was ridiculously easy to interface and control them via i2c. Sure, my silly little project ended up with a total of 4 microprocessors, but it was orders of magnitude easier than trying to do everything directly with the Netduino.
Anyway, that thread was a good read. I think I might actually try out TI's "MSP430 LaunchPad Value Line Development Kit" mentioned in one of the posts. There is at least one thing I've wanted to build on top of Netduino that would benefit from offloading some of the high frequency work onto an auxiliary controller.
One other thing... You might want to check out the I2CBus classes by FusionWare and Phantom Typist -- they're in other threads in these forums. If you write your TSL2561 code as a "driver" for one of these bus classes, it might save you a little bit of time and also help if you ever want to hook up another i2c device at the same time as the TSL2561. Others have posted I2CBus compatible code back to the forums for others to benefit from, which was a huge help for me when I was starting with Netduino and i2c.
Good luck with the project.
I am still on a quest to build an accurate lux/foot-candle meter using off-the-shelf components. While it was frustrating at times, the high frequency light measurement project was a great learning experience for me, and now I understand that it is not bad practice to use additional chips in my projects. I have that TSL235R sensor working fine now. To get it working, I ended up writing a frequency counter for a PIC18F252 and then sending the measurements from the PIC18 to the Netduino via UART. I compared the PIC18 frequency readings against measurements right from the sensor using a high-quality o'scope, and my frequency counts prove correct.
The current problem is that the TSL235 sensors measure outside the visible light spectrum and there is no simple way to calculate the intensity of only the visible spectrum. The TSL2561 presumably solves this by providing a way to "subtract" the non-visible spectrum so that I am only looking at the intensity of the visible spectrum.
My intro to microcontrollers began with an Arduino and BlinkM i2c RGB LEDs. You're right, not to mention being really expensive, those LEDs are i2c overkill, but for me they served as a great intro to i2c communications.
I'll be checking the forums for those I2CBus classes.
#19977 TSL2561 lux sensor
Posted by monewwq1 on 29 October 2011 - 07:28 PM in General Discussion
The wiring diagram looks good to me, for Netduino. Note that the two small black surface mount devices labeled "103" are 10K resistors. These seem common as pull up resistors on i2c breakouts. The schematics for the product are available, but you'll need Eagle to view them. I've included a screenshot, below. Note that the 10K resistors are being used as pullups for SDA and SCL.
Thanks Spork. I figured the pull-ups might be in there already, but didn't notice that there were Eagle schematics available.
Now I just need to convert the C++ code to C#
#19974 TSL2561 lux sensor
Posted by monewwq1 on 29 October 2011 - 06:12 PM in General Discussion
I am working on connecting a TSL2561 lux sensor to a Netduino. It is an i2c device.
Can you please take a look at the Arduino wiring diagram and let me know if I can do the same wiring to a Netduino?
Do I need to add any pull-up resistors or can I wire as shown and expect it to work?
#16802 Two Netduinos connected to single PC via USB
Posted by monewwq1 on 17 August 2011 - 10:27 PM in General Discussion
#16777 Two Netduinos connected to single PC via USB
Posted by monewwq1 on 16 August 2011 - 11:18 PM in General Discussion
- Netduino Forums
- → monewwq1's Content
- Privacy Policy