- Netduino Forums
- → Netduinerd's Content
Netduinerd's Content
There have been 10 items by Netduinerd (Search limited from 28-April 23)
#38501 Unknown device
Posted by Netduinerd on 04 November 2012 - 05:19 PM in Netduino 2 (and Netduino 1)
#21812 ND+ ICON FILE
Posted by Netduinerd on 17 December 2011 - 11:54 PM in Netduino Plus 2 (and Netduino Plus 1)
Attached Files
- nd+.ico 132.73KB 31 downloads
#21340 ^ Exponent Operator doesn't exists in VB?
Posted by Netduinerd on 05 December 2011 - 07:48 AM in Visual Basic Support
#21307 ^ Exponent Operator doesn't exists in VB?
Posted by Netduinerd on 03 December 2011 - 10:51 PM in Visual Basic Support
#21039 Netduino + WiFly: Connecting it up
Posted by Netduinerd on 27 November 2011 - 08:59 PM in General Discussion
Hi - why are you only referring to one of the wires? Should I not be using 2 for RX and TX?
Cause, u already connect RX Wifi wire to DIO_1 (TX) correcly.
Regards,
Alberto
#21003 "Preparing to deploy..." takes ages
Posted by Netduinerd on 26 November 2011 - 10:00 PM in Visual Studio
cool that that works, even if it is a bit of a typical Microsoft fix [start help desk voice]have you rebooted sir?[/end helpdesk voice]
I really am bummed about it as VS is by far the best IDE - Arduino has an IDE with functionality which is only rivalled by notepad and is slightly quicker than my coffee grinder. For those reasons, I dislike it.
Busy giving Fez a whirl now. Waiting with baited breath for the first signs of...
I happen with my VS2010 and ND+ too... I workaround the problem disconnecting and reconnecting the USB cable.....(that means reboot the ND)...
#20810 Netduino + WiFly: Connecting it up
Posted by Netduinerd on 21 November 2011 - 11:19 AM in General Discussion
Hi,
I recently purchased the WiFly RN-171, but I don't think I'm connecting it up right... could someone please explain where I'm going wrong?
It's using RS-232 not SPI. I've connected a RX wire to DIO_1 and a TX wire to DIO_2 (I'm using pad 2 + 3 for data according to datasheet), but it's always just flashing/alternating between red and green - as if I'm not sending any data at all.
I'm quite positive it's my connections because I've tried many different ways of sending the command-mode ASCII cmd ($$$)...
Here's the datasheet: http://dlnmh9ip6v2uc...ly-RN-XV-DS.pdf
I'm not using a shield, just connecting straight to the module from 3.3V.
Any help would be great.
Hi,
TX Wifi module's wire should be connected to DIO_0(RX) of Netduino.
#20685 Read SW1 status and check serial for data at same time
Posted by Netduinerd on 16 November 2011 - 08:19 AM in Visual Basic Support
Hi Netduinerd,
You have to declare the switch as InterruptPort, so you will receive an event whenever it changes (as you receive interrupts with serial communication):
Private WithEvents SW1 As new InterruptPort(Pins.GPIO_PIN_6, true, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeHigh)
Now it's clear.
Thanx a lot!
#20682 Read SW1 status and check serial for data at same time
Posted by Netduinerd on 16 November 2011 - 07:26 AM in Visual Basic Support
Hi Alberto,
Have you tried using the DataReceived event instead? That way you can grab data once it arrives, instead of just waiting for it?
You could also put some of your code on another thread, so it ran in parallel...
Chris
Hi Chris,
plase find the code underneath:
'Serial port declaration
Private WithEvents NDSerial As SerialPort
...
...
Sub Main()
..
NDSerial.Open()
'Wait for some event rises
Thread.Sleep(Timeout.Infinite)
..
End Sub
...
Private Sub SerialIn() Handles NDSerial.DataReceived
'HERE THE PROBLEM, I DON'T KNOW WHERE PLACE THE FOLLOWING CODE (OR SOMETHING SIMILAR) IN ORDER TO CHECK THE BUTTON STATUS OR BETTER, RISE AN EVENTS WHEN IT HAS BEEN PRESSED
While true
'Read ND+ button status
SW1_Button.Read()
loop
Thanx a lot for ur support!
Alberto
#20672 Read SW1 status and check serial for data at same time
Posted by Netduinerd on 15 November 2011 - 10:14 PM in Visual Basic Support
- Netduino Forums
- → Netduinerd's Content
- Privacy Policy