- 46
- 46 586
Andy Woerpel
Приєднався 5 лис 2008
Automation Direct UQ1 Ultrasonic Sensor Sensitivity Calibration
In this video I explain the process for increasing the sensitivity of a UQ1A-G6-0E ultrasonic distance sensor from automation direct. The factory calibration causes the sensor to read between 40mm and 300mm. I calibrate the sensor to only output between 40mm and 75mm while still utilizing the full 4-20mA scale of the sensor.
Переглядів: 154
Відео
Setting up Ethernet/IP between a Yaskawa YRC1000 and An Automation Direct Productivity PLC
Переглядів 19 тис.3 роки тому
I had never used Yaskawa, Ethernet/IP, or Automation Direct's Productivity PLCs before so after a lot of struggle, I finally figured out how to get everything talking. In the interest of maybe helping someone out in the future (and myself haha) I thought I would make a quick video of how to do it. Sorry for the low production quality.
How to Turn On Your AeroGarden Light via Raspberry Pi
Переглядів 1805 років тому
How to Turn On Your AeroGarden Light via Raspberry Pi
Roadway Simulation
Переглядів 408 років тому
Basic simulation of vehicles traveling in a network or roads. Created using Python
Rotary Halbach Array Prototype
Переглядів 6599 років тому
Quick test of a rotary Halbach array that I 3D printed.
Teensy CAN Bus Testing
Переглядів 9 тис.9 років тому
Using a Teensy 3.1 Microcontroller as a CAN controller and a MCP2551 for a CAN Transceiver. I stumbled upon the code in one of my old github repositories: github.com/awoerp/rLoop-Software/tree/master/CAN Development/Initial Testing Utilizes FlexCAN library
Thanks for the video! Saved me a ton of time.
Great video. Thank a lot. Is it possible you can share the PLC and the software that you used in the video?
I want to configure communication in robot with plc
Hey ! We want to do the same thing with a french team. May it be posible for you please to answer a few questions ? First where did you find your magnets and what is their reference ? What is their shape ? Are you using an halbach array ? If you do so what is the gap between the magnets ? Thank you very much for your time and attention !
do you know how to run the motor using teensy 4.1 can bus communication
YASKAWA - ROBÓTICS - AUTOMAÇÃO - HOJE - TUDO - ROBÓTICS - TODOS : SERVIÇOS - EM GERAL : YASKAWA - ROBÓTICS : ANO : 2030 : ANO : ROBÓTICS : GLOBAL - UNIVERSAL : TOP : 2030 : YASKAWA : ROBÓTICS .
great help!
Great video, congrats.
)
Nice, I'm thinking about doing a similar thing, but I may just replace the entire board altogether with a pi.
The Teensy 3.1 has a built in can reciever? So if i just want to listen to canbus communication the teensy should be good enough?
Hi the teensy 3.1 has a CAN controller, you need a CAN transceiver like MCP2551 to connect. Basically the transceiver is the physic layer of the CAN bus and the CAN controller of the teensy interprete the data from the transceiver. Hope it's clear! (I may have done english mistakes sorry I'm french ;) )
Thanks for sharing this but can you list what are the exact resistors value, and how wires are connected please. i have been trying to get canbus working for the past 3 weeks never got a good luck.
I read online it is a 120 Ohm on each line
Interesting
Since Andy invited us to take a look at his code, I’ve taken the liberty to transcribe it from screen shots of his UA-cam Teensy CAN Bus Testing video. Although, the two sketches complied and uploaded okay to a Teensy 3.6, the Receiver serial monitor remains blank. Maybe somebody with sharper eyes than mine, can review the transcribed code and detect any errors in my work. Hopefully Andy will see this posting and review the code as well. // DMK 09-02-2017 Teensy 3.6 Receiver // Andy Woerpel Teensy CAN-Bus Code // ua-cam.com/video/yQpfbf48dPQ/v-deo.html // Receive (Teensy 3.6, Arduino IDE 1.8.4, Teensyduino 1.38 with SN65HVD230 Transceiver) #include <FlexCAN.h> #include <kinetis_flexcan.h> const int baudRate = 50000; const int ledPin = 13; const int delayTime = 1000; int count = 0; FlexCAN myCAN(baudRate); CAN_message_t message; CAN_message_t rxmsg; void setup() { pinMode(ledPin,OUTPUT); Serial.begin(115200); // Modified DMK 09-04-2017 digitalWrite(ledPin,HIGH); myCAN.begin(); } void loop() { if (myCAN.available()) { myCAN.read(rxmsg); Serial.println(rxmsg.buf[0]); if (rxmsg.buf[0] == 49) { Serial.println("Message Sent"); message.buf[0] = count; message.buf[1] = count + 1; message.len = 2; message.id =0x2; myCAN.write(message); count++; } } } // DMK 09-04-2017 Teensy 3.6 Transmitter // Andy Woerpel Teensy CAN-Bus Code // ua-cam.com/video/yQpfbf48dPQ/v-deo.html // Transmit (Teensy 3.6, Arduino IDE 1.8.4, Teensyduino 1.38 with SN65HVD230 Transceiver) #include <FlexCAN.h> #include <kinetis_flexcan.h> const int baudRate = 50000; const int ledPin = 13; const int delayTime = 50; FlexCAN myCAN(baudRate); CAN_message_t message; CAN_message_t rxmsg; void setup() { pinMode(ledPin,OUTPUT); Serial.begin(115200); // Modified DMK 09-04-2017 myCAN.begin(); } void loop() { for (int i = 1; i < 50; i++) { message.buf[0] = i; message.id = 0x1; message.len = 1; myCAN.write(message); Serial.print("Message Sent "); // Modified DMK 09-04-2017 Serial.println(message.buf[0]); // Modified DMK 09-04-2017 digitalWrite(ledPin,HIGH); delay(delayTime); digitalWrite(ledPin,LOW); delay(delayTime); } if (myCAN.available()) { Serial.print("Message Received "); // Modified DMK 09-04-2017 myCAN.read(rxmsg); Serial.print(rxmsg.buf[0]); // Modified DMK 09-04-2017 Serial.print(" "); // Modified DMK 09-04-2017 Serial.println(rxmsg.buf[1]); } }
A copy of your code would be greatly appreciated
Hi, what kind of software are u using? if u don't mind asking :-)
I wrote a Python program that talked to a Teensy microcontroller running a C++ program to command the test stand and collect data from it.
Hello, I would like to know the code and the electric circuit, I am an Engineering student. My project is that, I would appreciate your help. My mail is mohamed.moumni93@gmail.com
Neat, did bad traffic prompt you to create this?
hi how did you amplify the fgpa 3.3v to what the motor needs, what was your configuration
Hey, I used an H-Bridge for each phase of the motor. The 3.3V outputs from the FPGA were used as input signals to the H-bridges. Hope this helps. en.wikipedia.org/wiki/H_bridge
Are you using an IC H-bridge?
The rightmost section of my breadboard contains the two h-bridges that I created. They were made out of discrete transistors, resistors, and diodes.
Oh, now I see the 8 low power transistors on the bottom right of the breadboard. Thank you. How further should I go to implement microstepping and an UART fifo to receive and process g-code instructions?
Thank you, but I want a program written in VHDL.
can i know how u set the frequency for speed up the motor?
In the lower right hand corner of the Altera board, there is a red wire going into that gold connector. That wire is connected to a function generator producing a square wave, at whatever frequency I want. That is used as the clock signal. Kind of a cheap way out, but didn't have time to implement it in verilog :)
so controlling speed doesnt require verilog code? can u give me ur code..
this is my code.. i want to use it to control stepper motor clockwise n counterclockwise.. module steppermotor ( en ,start ,start2 ,clk ,dout ,dout2 ,enable ); localparam define_speed = 26'd50000000; output [3:0] dout ; reg [3:0] dout ; ////clockwise/// input start; wire start; input clk ; wire clk ; reg [1:0] m ; initial m = 0; always @ (posedge (clk)) begin if (start) m <= m + 1; end always @ (m) begin case (m) 0 : dout = 9; 1 : dout = 12; 2 : dout = 6; default : dout = 3; endcase end ///anti-clockwise/// output [3:0] dout2 ; reg [3:0] dout2 ; input start2; wire start2; reg [1:0] n ; initial n = 0; always @ (posedge (clk)) begin if (start2) n <= n + 1; end always @ (n) begin case (n) 0 : dout2 = 3; 1 : dout2 = 6; 2 : dout2 = 12; default : dout2 = 9; endcase end input en; output enable; assign enable= en; endmodule
bro pls help me :(
sorry for the dumb question , but why dot you need the transceiver? doesn't the Teeny's CAN capabilities have that built in? What the transceiver actually do that the Teensy doesn't ? I
+Sam Pati The teensy has what is called a CAN Controller built in. That deals with all of the logic used in the CAN communication, but because of the way that CAN works, you need a transceiver to actually act on the CAN bus. Might be the best explanation. I learned most everything that I know about CAN from it's Wikipedia page. en.wikipedia.org/wiki/CAN_bus
Can you post your code?
+randal reidinger Sorry, I tried looking for the code but was not able to find it :(
fuck you
@@MrKeteimportametiche Hey man did you ever figure it out?
Hey man that's great i'm doing a similar project but im having some issues with the id's. Would you help me?
+Mario Ricardo Mostalac Morales Hey, I am using the FlexCAN library for teensy. You can see at 0:51 that one of my messages has an ID of 0x1 and the other has a message ID of 0x2. I don't know if this helps.
thanks for posting this. love the plane as a micro to glide around. I am sure we all love to try and see how long it floats up there with a cam, and looks great, just not sure if it is worth it all the time. I do not own a radian yet, but more I watch these clips, I want one thanks for a excellent test and clip
butterrrr
Golden
Mike Landowski Tasty
haha actually that is something that i was having problems with. my normal was about a foot under back during this season. Now i find that it helps to try and jump up as high as you can at take-off. you can't jump if you are under that much
Hey how do you keep from running under I keep having to move my steps back but every time I still wind up running 6 inches to a foot under on my plant any tips?
Try to keep your bottom arm straight and you'll be able to bend the pole more to reach greater heights
Lol josh is my dork alright
they are on teacup bowl and blue sky basin mainly. It is a burton backpack. im sure the internet has it.
and where can i get one
and what backpack did you have on?
at about 0:20 it looks like you're riding up the mountain, but btw what run was that?
Damn it, that hurt. I miss Truman, and I hope you do as well. Good job though.
niceeee
nice work dude
thats onbelievable
WOw...people shud def subscribe.. this is a pro
@SuperZpep yup
is that rick?
I'm pretty sure that's jake who runs past around 1:17 haha