- Netduino Forums
- → Viewing Profile: Posts: Eduardo
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.
Community Stats
- Group Members
- Active Posts 22
- Profile Views 9332
- Member Title Member
- Age 41 years old
- Birthday July 27, 1982
-
Gender
Male
-
Location
São Paulo, Brasil
2
Neutral
User Tools
Latest Visitors
Posts I've Made
In Topic: Nokia LCD + Arduino Ethernet Shield not working (together)
02 November 2011 - 01:56 PM
Hello Arron Chapman, I thought it would not be necessary to ethernet shield, so I just changed the code. Anyway I tried different combinations with the lcd, changing cables and code but without success.
Does the lcd and arduino ethernet shield can not work together at the same time?
Is there a way to turn off the LCD when the shield is working and vice versa?
In Topic: Nokia LCD + Arduino Ethernet Shield not working (together)
28 October 2011 - 09:54 PM
I'm a little lost, in the LCD driver the following pins are used:
Then i tested the arduino ethernet shield in 5, 6 and 12:
But still giving error, anyone know what I should change?
public Nokia_5110() { this.configNokia_5110(true, Pins.GPIO_PIN_D10, Pins.GPIO_PIN_D9, Pins.GPIO_PIN_D7, Pins.GPIO_PIN_D8); } public void configNokia_5110(bool useBacklight, Cpu.Pin latch = Pins.GPIO_PIN_D3, Cpu.Pin backlight = Pins.GPIO_PIN_D9, Cpu.Pin reset = Pins.GPIO_PIN_D7, Cpu.Pin dataCommand = Pins.GPIO_PIN_D4) { ...
Then i tested the arduino ethernet shield in 5, 6 and 12:
SecretLabs.NETMF.Net.Wiznet5100 wiznet = new SecretLabs.NETMF.Net.Wiznet5100(SPI.SPI_module.SPI1, Pins.GPIO_PIN_D12);
But still giving error, anyone know what I should change?
In Topic: Nokia LCD + Arduino Ethernet Shield not working (together)
28 October 2011 - 12:23 PM
Hello Stefan, initially both were in Pins.GPIO_PIN_D10 (standard in the examples for lcd and ethernet shield). I changed the lcd for Pins.GPIO_PIN_D6, then the above error occurred.
Later I will change in arduino ethernet shield to see what happens.
In Topic: Nokia LCD + Arduino Ethernet Shield not working (together)
27 October 2011 - 10:27 PM
Hello Stefan W., thanks for the reply, I changed the Pins.GPIO_PIN_D10 by Pins.GPIO_PIN_D6 (Board and code for lcd) but still no success, just remember that the LCD is the first initializing, see the error:
Anyone ever had this problem, even with different hardware?
#### Exception System.InvalidOperationException - CLR_E_INVALID_OPERATION (3) #### #### Message: #### Microsoft.SPOT.Hardware.Port::ReservePin [IP: 0000] #### #### Microsoft.SPOT.Hardware.SPI::.ctor [IP: 0022] #### #### SecretLabs.NETMF.Net.Wiznet5100::.ctor [IP: 0081] #### #### SecretLabs.NETMF.Net.Wiznet5100::.ctor [IP: 0007] #### #### dotNetMicroValidacao.lib.NetWork::callWebService [IP: 0008] #### #### dotNetMicroValidacao.lib.ID_12::SPort_DataReceived [IP: 0106] #### #### System.IO.Ports.SerialPort::DataEventHandler [IP: 0012] #### A first chance exception of type 'System.InvalidOperationException' occurred in Microsoft.SPOT.Hardware.dll ERRO callWebService Exception was thrown: System.InvalidOperationException Microsoft.SPOT.Hardware.Port::ReservePin Microsoft.SPOT.Hardware.SPI::.ctor SecretLabs.NETMF.Net.Wiznet5100::.ctor SecretLabs.NETMF.Net.Wiznet5100::.ctor dotNetMicroValidacao.lib.NetWork::callWebService dotNetMicroValidacao.lib.ID_12::SPort_DataReceived System.IO.Ports.SerialPort::DataEventHandler
Anyone ever had this problem, even with different hardware?
In Topic: Problem with Arduino ethernet shield
15 October 2011 - 03:59 PM
Finally got it!
After trying many things (changing the router, cable, and code) I did the only thing left, weld the ISCP again, I do not know what was wrong the first time but now it worked.
I would like to thank Hari for put me on track, Earthed and Chris Walker who made suggestions in the post.
- Netduino Forums
- → Viewing Profile: Posts: Eduardo
- Privacy Policy