- Netduino Forums
- → pxl357's Content
pxl357's Content
There have been 18 items by pxl357 (Search limited from 25-May 23)
#16860 Motor Shield Choice
Posted by pxl357 on 20 August 2011 - 02:08 AM in Netduino Plus 2 (and Netduino Plus 1)
#16889 SD Card not working
Posted by pxl357 on 20 August 2011 - 10:44 PM in Netduino Plus 2 (and Netduino Plus 1)
#16902 Motor Shield Choice
Posted by pxl357 on 21 August 2011 - 04:39 AM in Netduino Plus 2 (and Netduino Plus 1)
#17033 Netduino Plus Memory etc
Posted by pxl357 on 25 August 2011 - 02:41 AM in Netduino Plus 2 (and Netduino Plus 1)
#17036 Netduino Plus Memory etc
Posted by pxl357 on 25 August 2011 - 03:57 AM in Netduino Plus 2 (and Netduino Plus 1)
#17221 Ultrasonic sensor
Posted by pxl357 on 29 August 2011 - 02:10 AM in Netduino Plus 2 (and Netduino Plus 1)
#17304 Socket and DCHP
Posted by pxl357 on 31 August 2011 - 04:31 AM in Netduino Plus 2 (and Netduino Plus 1)
#17371 Socket Server Questions
Posted by pxl357 on 01 September 2011 - 04:06 AM in Netduino Plus 2 (and Netduino Plus 1)
#17426 Socket Server Questions
Posted by pxl357 on 02 September 2011 - 04:18 AM in Netduino Plus 2 (and Netduino Plus 1)
#17468 Socket Server Questions
Posted by pxl357 on 03 September 2011 - 05:21 AM in Netduino Plus 2 (and Netduino Plus 1)
#17469 Motor Shield alimentation
Posted by pxl357 on 03 September 2011 - 05:27 AM in Netduino Plus 2 (and Netduino Plus 1)
I'm continuing to work on my project and i face a kind of weird little issue.
I can't have my motors running backwards. I'm using the Dfrobot 1A shield and a 9v battery plug directly on the netduino.
I put a basic test :
//FWD PWM Motor1Speed = new PWM(Pins.GPIO_PIN_D5); PWM Motor2Speed = new PWM(Pins.GPIO_PIN_D6); OutputPort Motor1Direction = new OutputPort(Pins.GPIO_PIN_D9, false); OutputPort Motor2Direction = new OutputPort(Pins.GPIO_PIN_D10, false); Motor1Direction.Write(false); Motor1Speed.SetDutyCycle(100); Motor2Direction.Write(false); Motor2Speed.SetDutyCycle(100); //BWD PWM Motor1Speed = new PWM(Pins.GPIO_PIN_D5); PWM Motor2Speed = new PWM(Pins.GPIO_PIN_D6); OutputPort Motor1Direction = new OutputPort(Pins.GPIO_PIN_D9, false); OutputPort Motor2Direction = new OutputPort(Pins.GPIO_PIN_D10, false); Motor1Direction.Write(true); Motor1Speed.SetDutyCycle(100); Motor2Direction.Write(true); Motor2Speed.SetDutyCycle(100);
Both test go forward.
I wonder if it's an alimentation issue or a code issue.
Any ideas or similar experience ?
PXL
#17493 Motor Shield alimentation
Posted by pxl357 on 03 September 2011 - 06:21 PM in Netduino Plus 2 (and Netduino Plus 1)
#17507 Motor Shield alimentation
Posted by pxl357 on 04 September 2011 - 05:53 AM in Netduino Plus 2 (and Netduino Plus 1)
#17542 Motor Shield alimentation
Posted by pxl357 on 04 September 2011 - 07:42 PM in Netduino Plus 2 (and Netduino Plus 1)
As you can see at the shield's own wiki:
http://www.dfrobot.c...RI0009)#Diagram
The 4 jumpers should be at the right to let it drive via PWM.
Oh ok i used the wrong shield !
I bought this one : http://www.dfrobot.c...d&product_id=59
SHould i buy the l298n ??
#17599 Motor Shield alimentation
Posted by pxl357 on 05 September 2011 - 08:09 PM in Netduino Plus 2 (and Netduino Plus 1)
Battery Display 7,43 volt
Using :
Motor1Direction.Write(false); Motor1Speed.SetDutyCycle(100); Motor2Direction.Write(false); Motor2Speed.SetDutyCycle(100);m1 Output : -2,65 v
m2 Output : 2,59
Motor1Direction.Write(true); Motor1Speed.SetDutyCycle(100); Motor2Direction.Write(true); Motor2Speed.SetDutyCycle(100);m1 Output :-2,54 v
m2 Output : 2,51 v
I'm surprise the voltage is sow low. The battery is directly plug to the netduino and not the motor shield.
Any idea? If it's too hard to figure i will order the other motor shield and a better battery !
Thanks for your help
PXl
#17626 Motor Shield alimentation
Posted by pxl357 on 06 September 2011 - 01:44 AM in Netduino Plus 2 (and Netduino Plus 1)
That is strange indeed. Could you try an AC Adapter? If a battery is getting low on power, well, your project gets low on power as well
One thing I find rather curious. That shield of yours has two links, one in the DFRobot Shop and one on their wiki page. They both mention a different pin layout:
http://www.dfrobot.c...d&product_id=59
http://www.dfrobot.c..._(SKU:_DRI0001)
Perhaps you're driving the wrong pins...
Yep that was the issue ! Now it's working !
Thanks a lot ! I will try to figure out a battery solution to have more volt and a separate alimentation probably !
Pxl
#17816 Webserver on NetduinoPlus + (wired or wireless) library
Posted by pxl357 on 10 September 2011 - 03:02 AM in Project Showcase
Okay, I did
When I have bool wifly = false; your code works superb on my Netduino, but when using the wifly shield, it doesn't. It gives an error in HttpLibrary\HttpWiflyImpl.cs on this line:m_uart.Write(new byte[] { (byte)reg, b });
What I am missing is settings to actually join the wireless network. How should that be defined?
I am probably missing something obvious
Hey stefan did you figure ? I have the same issue
#17820 Webserver on NetduinoPlus + (wired or wireless) library
Posted by pxl357 on 10 September 2011 - 04:29 AM in Project Showcase
Hey stefan did you figure ? I have the same issue
If i used the Open(ssid,passphrase) it's fix the pb , at least the error dont appear anymore.
But the ip of the netduino stay at 0.0.0.0 i try to setup it manually but it throw an error.
- Netduino Forums
- → pxl357's Content
- Privacy Policy