- Netduino Forums
- → Freeman4gu's Content
Freeman4gu's Content
There have been 17 items by Freeman4gu (Search limited from 14-May 23)
#17090 control dc motor with dual motor driver
Posted by Freeman4gu on 26 August 2011 - 10:01 AM in Netduino 2 (and Netduino 1)
I found a good instruction on that motor driver. It is all connected like on that diagram. But it won't work.
When I connect VCC with GND then the motor becomes faster or slower, but if I connect the motor with ao1 and ao2 nothing happens.
I am soooo frustrated
UPDATE: I missed to connect the GND to the netduino. Now it is done this way an now nothing works for me even on VCC and GND.
#17047 control dc motor with dual motor driver
Posted by Freeman4gu on 25 August 2011 - 07:23 AM in Netduino 2 (and Netduino 1)
#17092 control dc motor with dual motor driver
Posted by Freeman4gu on 26 August 2011 - 11:16 AM in Netduino 2 (and Netduino 1)
#17153 control dc motor with dual motor driver
Posted by Freeman4gu on 27 August 2011 - 11:17 AM in Netduino 2 (and Netduino 1)
#17154 control dc motor with dual motor driver
Posted by Freeman4gu on 27 August 2011 - 11:37 AM in Netduino 2 (and Netduino 1)
#17021 control dc motor with dual motor driver
Posted by Freeman4gu on 24 August 2011 - 07:03 PM in Netduino 2 (and Netduino 1)
#17057 control dc motor with dual motor driver
Posted by Freeman4gu on 25 August 2011 - 02:50 PM in Netduino 2 (and Netduino 1)
#17007 control dc motor with dual motor driver
Posted by Freeman4gu on 24 August 2011 - 07:15 AM in Netduino 2 (and Netduino 1)
#16992 control dc motor with dual motor driver
Posted by Freeman4gu on 23 August 2011 - 09:31 PM in Netduino 2 (and Netduino 1)
This time I tried to control an dc motor with an TB6612FNG dual motor driver.
I am not sure if I connected the motor in the right way. Maybe one of you could check that.
List of connections:
- OutputPort (true) on AIn1
- OutputPort (true) on AIn2
- PWM (setdutycicle = 100) on PWMA
- OutputPort (true) on STBY
- 5V on VCC (or VIn of Netduino)
- GND on GND
- Motor 5V on AO1
- Motor GND on A02
It seems that there is anything wrong. If I connect my VIn from my battery pack with VCC the chip of the motor driver gets very hot
Would be nice if any of you could help me
#16843 control brushless motor (+ controller) with pwm
Posted by Freeman4gu on 19 August 2011 - 04:18 PM in Netduino 2 (and Netduino 1)
I am new to that hole electronic world and at the moment I am trying to control a brushless motor with my netduino.
The controller has a kind of handshake:
- full speed (needs at least 1.5ms duration)
- connect akku
- zero speed
{*]beep beep beep! - ready
so i use the following code, but it did not seem to work, I already tried other ways, but nothing seems to work
PWM Servo1 = new PWM(Pins.GPIO_PIN_D5); Servo1.SetDutyCycle(1); Servo1.SetPulse(20000, 1800); Thread.Sleep(300); while (true) { Servo1.SetDutyCycle(1); Servo1.SetPulse(20000, 1500); Thread.Sleep(300); }
it would be nice if any of you could help me
#16845 control brushless motor (+ controller) with pwm
Posted by Freeman4gu on 19 August 2011 - 04:46 PM in Netduino 2 (and Netduino 1)
#16869 control brushless motor (+ controller) with pwm
Posted by Freeman4gu on 20 August 2011 - 09:33 AM in Netduino 2 (and Netduino 1)
#17096 ESC - Code Problem
Posted by Freeman4gu on 26 August 2011 - 12:52 PM in Netduino 2 (and Netduino 1)
Thanks!! Well i have seen that code but i still got problems :/ using an arduino of a friend of me i hear the beeps!! but using the netduino nothing. Of course am a beginer!!
Hey the other tread is from me in my case you had first to set the throttle of the esc to 100% and then connect the esc and motor (esc and motor should not get any power input before), then set throttle to 0%. After that your esc should sound correct and you can control your motor then set throtte to 20% to begin ^^
Don't know which motor you have, but start only with 20%, else this can happen:
public static void Main() { OutputPort esc = new OutputPort(Pins.GPIO_PIN_D0, false); OutputPort relais = new OutputPort(Pins.GPIO_PIN_D1, true); InterruptPort button = new InterruptPort(Pins.ONBOARD_SW1, false, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptNone); SpeedController xl5 = new SpeedController(Pins.GPIO_PIN_D5, new TRAXXAS_XL5()); #region initiate esc & motor // set max throttle Debug.Print("waiting"); while (button.Read()) { if (xl5.Throttle != 100) xl5.Throttle = 100; } // activate esc Debug.Print("activate esc"); esc.Write(true); Thread.Sleep(500); // activate motor Debug.Print("activate motor"); relais.Write(false); // set min throttle Debug.Print("set throttle min"); if (xl5.Throttle != 0) xl5.Throttle = 0; Thread.Sleep(5000); #endregion bool end = false; bool oldspeedup = button.Read(); DateTime dt = DateTime.Now; int i = 1; while (true) { //if (!buttonInput.Read()) break; bool speedup = !button.Read(); if (oldspeedup != speedup && speedup & end) break; if (speedup) { Debug.Print("speedup"); end = true; } if (speedup && xl5.Throttle != 20 + (i * 2)) xl5.Throttle = 20 + (i * 2); if (!speedup && xl5.Throttle != 0) xl5.Throttle = 0; oldspeedup = speedup; if (DateTime.Now > dt) { dt = DateTime.Now.AddSeconds(3); i++; } } Debug.Print("deactivate relais"); esc.Write(false); Thread.Sleep(500); relais.Write(true); xl5.Throttle = 0; }
#17112 ESC - Code Problem
Posted by Freeman4gu on 26 August 2011 - 03:09 PM in Netduino 2 (and Netduino 1)
#18849 Cheap remote control on Netduino
Posted by Freeman4gu on 06 October 2011 - 08:51 AM in Netduino 2 (and Netduino 1)
it's some time gone since my last visit. But I finished building my RepRap 3D printer (sry in German) and now I want to create a little robot with netduino
Are there any tutorials on how to use and implement a remote control in a cheap way?
What do you suggest? I read about using the PS3 Controller with a bluetooth dongle? Or do I better use the standard 2.4Ghz remote control? Where can I get cheap controls and receiver?
Hope this are not to much questions. But it would be nice if any of you got experience in this and can help me
Best regards,
Freeman
#18867 Cheap remote control on Netduino
Posted by Freeman4gu on 06 October 2011 - 12:03 PM in Netduino 2 (and Netduino 1)
Hallo Freeman.
What kind of remote control are you looking for?
I mean that you should decide:
how many buttons?
how many joysticks?
how far should be the remote controller from the server?
has to be bidirectional?
has to be working also through "shields" (e.g. walls)?
any constraint about the usage (e.g. RF-emissions, heavy-noisy environs, battery duration, etc).
etc.
Cheers
It should not be an IR Control. I would need that control for long and short range in different projects. But couldn't find anything like that.
So I hope you can help me.
I am interested in all types of controls, but it have to be wireless
#16877 [Netduino] How to use radio remote control?
Posted by Freeman4gu on 20 August 2011 - 05:38 PM in Netduino 2 (and Netduino 1)
- Netduino Forums
- → Freeman4gu's Content
- Privacy Policy