Owen Williams
Owen Williams
  • Видео 22
  • Просмотров 84 542
Jetson Nano AI Specialist - Sheepdog Whistle Neural Net
Welcome to my latest project - Sheepdog Whistle Neural Net. This bot uses deep learning to interpret real-time microphone data. The bot is controlled through whistle commands similar to how shepherds control their sheepdog.
The project will be presented to Nvidia Jetson AI with the aim of earning the AI Specialist Certification:
developer.nvidia.com/embedded/learn/jetson-ai-certification-programs
The code supporting this project is here:
github.com/owennewo/SheepDogWhistleNN/
0:00 - [Intro to Sheepdog Whistle NN]
0:34 - [Bot hardware including Jetson Nano and Storm32]
0:52 - [Jetson Nano ssh and vnc + audio capture explanation]
1:44 - [Demo of whistle controlled robot]
2:40 - [Spectrogram audio ca...
Просмотров: 724

Видео

Recycling Ebay Gimbals - For Robotics
Просмотров 5073 года назад
Buying 2nd-hand electronics can be hit and miss. Here is how I fared on a recent purchase. - Unboxing - Testing - Coding The code in this video uses SimpleFOC library. Due to the limited flash size, it is using the minimal branch. Here is a gist of the code: gist.github.com/owennewo/f7482ce5842552039c59c9afff5ca517 Here is a random ebay link to a similar gimbal controller used in the code: www....
Teddington Robotics - Go! (Dual VESC Balancebot Chair)
Просмотров 5423 года назад
Teddington was born 14 years ago but in recent years has become somewhat neglected. Seeking adventure and a fame, he founded Teddington Robotics. This is a homage to "Public Service Broadcast - Go!": ruclips.net/video/BHIo6qwJarI/видео.html The music 'Robots a Cometh' is by Dan Lebo: ruclips.net/channel/UC38A5qHrlc_Zgua7vL4b96w The hardware is a Dual Vesc BLDC commuicating over CANBUS and using...
USB CAN BUS - Arduino Motor Control (Record & Replay)
Просмотров 7 тыс.3 года назад
I bought a USB CAN interface from JBR Engineering and am very happy with it! Here is my unboxing and getting started guide to using this to sniff and control USB traffic from my recent robotics project. Also includes how to record and replay canbus messages My (ongoing) project uses a dual VESC BLDC motor controller with custom arduino code (using SimpleFOC library). Eventually it will be a 2 w...
VESC + Arduino == 1kW Robotics Projects! (Featuring SimpleFOC)
Просмотров 11 тыс.3 года назад
I'm very excited about the prospect of using Benjamin Vedder's brilliant VESC hardware on my future robotics projects! In this video we look at replacing the VESC firmware with arduino code using SimpleFOC library. This is work in progress. The basics work, including closed loop. but no current sensing yet. SimpleFOC has current sensing for some other boards so this is likely to get added. If y...
CAN Modules & Transceivers (Arduino/PlatformIO)
Просмотров 9293 года назад
This is a guide code/demo to using CAN Controllers and Transceivers in Arduino/PlatformIO. I found using UART/Serial to communicate between microcontrollers in my recent hoverboard balance chair to be too noisy. Lets swap Serial for CAN! Code samples here: github.com/owennewo/youtube_can
Hover (board) Chair PART 1: Build
Просмотров 3633 года назад
This is a self balancing chair project. If all goes well I'll be able to sit on the chair and control it's movement. If not, I'll get hurt. Part 1: Chassis build (this video) Part 2: Code electronics Part 3: Crash Test Ingredients: - Wood and Screws - 2x hoverboard motors - 2x bldc driver boards (b-g431b-esc discovery kit for drones) - 1x ESP mcu - 1x 6s1p battery - 1x foolish passenger I'll be...
3hr electric skate code/build using SimpleFOC and drone kit
Просмотров 1,3 тыс.3 года назад
I'm amazed at what this little stm32g431 drone kit can do! 40A Peak apparently. Here I'm coding and building (taping!) the power and control stage of a fried electric skateboard bought on ebay. The library I'm using is SimpleFOC and its recent 2.0 release supports 6PW which is required for this board. Code is pretty simple about 60 lines! github.com/owennewo/simplefoc_skateboard_g431b Disclaime...
STM32duino Timer Tutorial: Part3 + 4 - Complementary and Deadtime
Просмотров 2 тыс.3 года назад
Part3: Complementary and Deadtime Part4: Using STM32 device config tool Code samples here: github.com/owennewo/STM32DuinoExamples_LL/tree/main/examples/LL_TIM stm32f40s discovery kit1: www.st.com/en/evaluation-tools/stm32f4discovery.html platformio: docs.platformio.org/en/latest/boards/ststm32/disco_f407vg.html Why am I interested in this? Robotics and bldc motor control: simplefoc.com
STM32duino Timer Tutorial: Part2 - Countermode and Interrupts
Просмотров 1,9 тыс.3 года назад
Countermode and interrupts Code samples here: github.com/owennewo/STM32DuinoExamples_LL/tree/main/examples/LL_TIM stm32f40s discovery kit1: www.st.com/en/evaluation-tools/stm32f4discovery.html platformio: docs.platformio.org/en/latest/boards/ststm32/disco_f407vg.html Why am I interested in this? Robotics and bldc motor control: simplefoc.com
STM32duino Timer Tutorial: Part1 - The Basics (PWM1 and PWM2)
Просмотров 1,8 тыс.3 года назад
Code samples here: github.com/owennewo/STM32DuinoExamples_LL/tree/main/examples/LL_TIM stm32f40s discovery kit1: www.st.com/en/evaluation-tools/stm32f4discovery.html platformio: docs.platformio.org/en/latest/boards/ststm32/disco_f407vg.html Why am I interested in this? Robotics and bldc motor control: simplefoc.com
STM32G431 Kit For Drones (Part2: openloop foc)
Просмотров 4,8 тыс.3 года назад
Moving on from Part1 (ruclips.net/video/U1_6f7bK6rI/видео.html) - I'm now using SimpleFOC arduino library. I've modified the library to support 6PWM (where mcu has a HIN and LIN pwm pin for each phase) Discussed here: community.simplefoc.com/t/motor-driver-st-ihm08m1-6pwm/131/9?u=owen_williams Code: I'll create a PR to github.com/simplefoc/Arduino-FOC when this code is more tested
STM32G431 Kit For Drones (Part1: step commutation)
Просмотров 4,6 тыс.3 года назад
This is my first tentative steps of controlling bldc with g431 kit. hopefully I'll follow this up with a pull request for PWM support to the simplefoc arduino library. I'm also interested in getting torque readings from the 3 shunt resistors and maybe playing with onboard can bus. Part 2: ruclips.net/video/NrYnN8CtMh0/видео.html Some features of the STM32G431 discovery kit for drones - fast stm...
Experimental SimpleFOC support for driving Stepper Motor
Просмотров 3,1 тыс.3 года назад
Experimental SimpleFOC support for driving Stepper Motor
Hoverboard BLDC Motor as Jukebox (featuring storm32 gimbal controller)
Просмотров 1,2 тыс.3 года назад
Hoverboard BLDC Motor as Jukebox (featuring storm32 gimbal controller)
Driving Two Stepper Motors using Simple FOC and a STORM32 gimbal controller
Просмотров 2,8 тыс.3 года назад
Driving Two Stepper Motors using Simple FOC and a STORM32 gimbal controller
Getting started with PlatformIO IDE and the Simple FOC Library
Просмотров 7 тыс.4 года назад
Getting started with PlatformIO IDE and the Simple FOC Library
Replacing the door latch/catch on a rangemaster 90 classic
Просмотров 29 тыс.7 лет назад
Replacing the door latch/catch on a rangemaster 90 classic

Комментарии

  • @VTOmanifan
    @VTOmanifan Месяц назад

    Thank you for this. Just ordered mine from Amazon for £8.39 and saved calling out a repair company. Edit: 31 July 2024. Job done in about 30 mins, mainly due to not having the right tools to hand -Allen Keys, etc and 7mm socket! Thanks again.

  • @jenss.4406
    @jenss.4406 Месяц назад

    Wie hast du das hinbekommen das es funktioniert?

  • @user-kk4yq4ks3r
    @user-kk4yq4ks3r 2 месяца назад

    really prefectttt video

  • @sewingmachinesindetail
    @sewingmachinesindetail 2 месяца назад

    Thank you for showing this. I have been studying the possibilities to use a similar drive for sewing machines. The motor specifications for skateboards are close to motors, that might be used for sewing machines. For sewing machines you do however need a very large speed range and good low speed control and response. I noticed that you also upscaled the ESC used for another project due to limitations of the ESC being too hot at higher motor currents. I should like your estimate of the possible long time max current for the B-G431B-ESC1, when it do not have forced air cooling. I have seen a few comments from you at the SimpleFOC forum as well.

  • @moses5407
    @moses5407 5 месяцев назад

    Did USB ever get incorporated for vesc tool use for motor profiling?

  • @nomannosher8928
    @nomannosher8928 6 месяцев назад

    Can I flash simpleFOC code on the STM32F767ZI Nucleo-144 board

    • @nomannosher8928
      @nomannosher8928 5 месяцев назад

      yes, but 6PWM generations not compatible.

  • @jmcc7886
    @jmcc7886 10 месяцев назад

    I don’t have a stove but I love the video!

  • @ThePlanetzyz
    @ThePlanetzyz Год назад

    Thank you!!

  • @georgeoneal5644
    @georgeoneal5644 Год назад

    Thanks

  • @sergiooropeza5602
    @sergiooropeza5602 Год назад

    Hi Owen!, this is great! i'm working with ARDUINO UNO + TLE5012 and i have all working, what i need now is read 1 pwm input, do you know if it is achivable with the UNO? Best Regards!

  • @botak333
    @botak333 Год назад

    What sensor do u used sir?

    • @OwenWilliamsRobotics
      @OwenWilliamsRobotics Год назад

      The sensor was a AS5047A. SPI required some rewiring of the board (ugly!)

  • @kacperbardecki3671
    @kacperbardecki3671 Год назад

    Thanks for your great work! I'll be mixing your code with a hall sensor example on the SimpleFOC github repo to make a sensored control system for a blender. Fingers crossed.

  • @kacperbardecki3671
    @kacperbardecki3671 Год назад

    Wow. This is pretty much exactly what I was looking for, but for FOC instead of Hall Sensors. So close but so far. Great work! Please drop me a hint if there are any sensored alternatives to the work done here, somebody. I'll be your best friend, I swear.

    • @lukemagdalin6169
      @lukemagdalin6169 Год назад

      FOC and hall sensors are two different things, FOC is how the electricity is shaped going into the motor, whole hall sensors just detect the position of the rotor. Either way, this board has support for hall sensors as stated in the video, and support for sensorless motors.

    • @kacperbardecki3671
      @kacperbardecki3671 Год назад

      @@lukemagdalin6169 Absolutely right. Sorry, I meant sensorless instead of FOC.

  • @ahmadjned3553
    @ahmadjned3553 Год назад

    thank you for the video i m doing the same but can SimpleFOC run the nema 17 at 1000 rpm ??

    • @OwenWilliamsRobotics
      @OwenWilliamsRobotics Год назад

      I couldn't get the nema past 100rpm! After this video I abandoned steppers as they are difficult to work with and align. Gone back to more traditional bldc gimbals.

  • @c2h7
    @c2h7 Год назад

    Where is the part about controlling the controller via arduino? Seems like "sniffing the CAN bus" would be a better title. Do you have any info online about the actual "Arduino controls the ESC" part?

  • @lukaspfitscher8737
    @lukaspfitscher8737 Год назад

    great video! Only video that explains stm32duino timers 😃

  • @SAMETELMACI
    @SAMETELMACI Год назад

    3:30 ı cant see can0 what should ı do

  • @nicolasc6121
    @nicolasc6121 Год назад

    /* * Frequency generator FLIP FLOP Works with - Arduino IDE - Board Manager -> STM32 MCU based boards 2.3.0 - Board : STM32F1 serie - stm32f103c6t6 This example shows how to configure a PWM with HardwareTimer. */ HardwareTimer *MyTim; int duty = 30; int frequency = 70000; void setup() { uint32_t channelA = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(PB0), PinMap_PWM)); uint32_t channelB = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(PB1), PinMap_PWM)); HardwareTimer *MyTim = new HardwareTimer(TIM1); MyTim->setPWM(channelA, PB0, (frequency*2), (100-duty)); // Hertz, %dutycycle MyTim->setPWM(channelB, PB1, (frequency*2), duty); // Hertz, %dutycycle LL_TIM_SetCounterMode(MyTim->getHandle()->Instance, LL_TIM_COUNTERMODE_CENTER_UP_DOWN); //center OK //LL_TIM_OC_SetDeadTime(MyTim->getHandle()->Instance, dead_time); //not useful LL_TIM_CC_EnableChannel(MyTim->getHandle()->Instance, LL_TIM_CHANNEL_CH2 | LL_TIM_CHANNEL_CH2N); // inverted ok phase shift 180° complementary channel MyTim->resume(); } void loop() { }

  • @nicolasc6121
    @nicolasc6121 Год назад

    Hello Owen, First of all thank you for time for STM32 tutorials. After few hours I found the code for the blue pill stm32f103c6t6. This is a mix between several sources. Your TIMx_CHx and complementary TIMx_CHxN is a great solution, thank you 🙂 The arduino code should be visible on the next post. Friendly Nicolas

  • @danialothman
    @danialothman Год назад

    that’s amazing 🎉

  • @bumblebimmer
    @bumblebimmer 2 года назад

    PWM like with a rc receiver ? How are they meant be be controlled ?

  • @pratheeps3287
    @pratheeps3287 2 года назад

    Sir I need full code

  • @lukaspfitscher8737
    @lukaspfitscher8737 2 года назад

    great, sad there is so litle support from STM itself, maybe its just me but i could get the board running without simpleFOC

  • @lucapanjer
    @lucapanjer 2 года назад

    Is the STL file for that motor encoder mount available anywhere?

  • @moses5407
    @moses5407 2 года назад

    What motor did you use? Or comparable specs for one? Thanks!

  • @iamkian
    @iamkian 2 года назад

    2022 now. My dad and I have programed a Arduino to monitor voltage, temperature and current with the VescUart library (it's for our DIY e-foil) However we would like to use the UART port for some other things, and would love to do this "monitoring" by using the CAN bus. Any suggestions on how we can do this? All example codes we found till now is by using the UART port.

  • @moses5407
    @moses5407 2 года назад

    Great info! Any idea what the stall torque would be at low rpm?

  • @GiovanniBalestrieri
    @GiovanniBalestrieri 2 года назад

    Hi owen! Great content and thanks for the video. Have you tried sending commands using the can port?

  • @DeanBateman
    @DeanBateman 2 года назад

    Here is a link to some documentation on the breakdown to the VESC canbus hope it helps - www.vesc-project.com/sites/default/files/imce/u15301/VESC6_CAN_CommandsTelemetry.pdf

  • @occasionalvillain7676
    @occasionalvillain7676 2 года назад

    Brilliant, thanks for sharing..just about to give it a go 😀👍🏼

  • @aboudezoa
    @aboudezoa 2 года назад

    I’m assuming you used Nema17 , can you share what size & voltage ? And have you faced any torque issues ?

  • @TheAoab50
    @TheAoab50 2 года назад

    Thank you very much for the video. keep posting such viedos, they are very helpful.

  • @steinheilig7926
    @steinheilig7926 3 года назад

    great project - thanks for the video

  • @shaidakarwa5308
    @shaidakarwa5308 3 года назад

    Thank you for the video. Saved me a lot of money

  • @hradynarski
    @hradynarski 3 года назад

    Great, I'm stuck on RC receiver part, any link to what you are using and how to wire it? (Update: There is not much info about it in the original author project)

  • @adityajoshi6315
    @adityajoshi6315 3 года назад

    Hi, I am using the same board but unable to connect to ST motor pilot GUI . It shows" port open" ,COM port error. Even I checked device manager and COM port is fine. I generated the code from MC workbench and used STM32 iDE with debug and run being Ok. DID you came across such issues with ST motor pilot

    • @franciscosoucy349
      @franciscosoucy349 2 года назад

      I had the same issue, check if you need to use motor ocntrol Workbench 5.4.7 instead of 5.y.3 with a baud rate of 115200. It worked for me!

  • @botak333
    @botak333 3 года назад

    Hi sir it is posible control pmsm motor?? With 46v and 5-15Amper

  • @rafaobrs
    @rafaobrs 3 года назад

    How on earth can this video have only 20 likes? This is the best video on RUclips! hahahah

  • @hybridinnovate
    @hybridinnovate 3 года назад

    Это было подробно,ths

  •  3 года назад

    That's great, I hesitated always with working with the VESC firmware since it is well to specialized for hoverboard applications so I used a second micro controller but this introduces a lot of problems especially in very dynamic applications. This solves a lot of my problems.

    • @danilolattaro
      @danilolattaro 3 года назад

      Vesc actually has a very reliable self-balancing board app built-in, which works out of the box on hoverboard/OneWheel/eucs application

  • @deepeshkushwah607
    @deepeshkushwah607 3 года назад

    Can you please help me to make a code for dmx stepper motor with encoder

  • @victorwu7957
    @victorwu7957 3 года назад

    Thanks a lot, It works!

  • @user-og2xz5jv3t
    @user-og2xz5jv3t 3 года назад

    Hello,this video is very nice.And I have a problem which is same as yours. It saids: “Wire.h: no such file or directory”. But I couldn’t solve it by writing“ SPI ” and “Wire” after the “lib_deps”. I have spent much time finding other ways. But I failed. Could you please tell how to solve it. Thank you very much!

    • @OwenWilliamsRobotics
      @OwenWilliamsRobotics 3 года назад

      Perhaps you could try adding wire library through platformio rather than manually editing platformio. The platformio home page (inside visual studio code) has options to manage (and add) your libraries. Not sure why it's not working the way i explained!?

    • @user-og2xz5jv3t
      @user-og2xz5jv3t 3 года назад

      @@OwenWilliamsRobotics I have searched “Wire” and “SPI” in the platformio’s labraries. And there are many results, but no one is called “Wire” or “SPI”. I am not sure which one I should download .

    • @user-og2xz5jv3t
      @user-og2xz5jv3t 3 года назад

      @@OwenWilliamsRoboticsmy platform version is 2.3.2, maybe there are some different between the latest version and the past version

    • @OwenWilliamsRobotics
      @OwenWilliamsRobotics 3 года назад

      Can you link to your platformio.ini somewhere. I'll give it a go

    • @user-og2xz5jv3t
      @user-og2xz5jv3t 3 года назад

      @@OwenWilliamsRobotics Thank you so much! My problem have been solved. I just uninstalled and reinstalled. And then I did the same things as same as you. It made sense. It’s amazing! 😂😂My English is bad. Thanks for your patient and reply. I’m so excited .

  • @crickets5019
    @crickets5019 3 года назад

    Hi Owen, is there any way I can connect you, insta/Facebook/WhatsApp ?

  • @crickets5019
    @crickets5019 3 года назад

    Could you please give me your email id

  • @crickets5019
    @crickets5019 3 года назад

    Hello there, thanks in advance, could you please send me the code email : anuvindasokin@gmail.com

  • @lesbrewer3105
    @lesbrewer3105 3 года назад

    Wish I watched this first. Yours is similar to our model except the fact that we only have the smaller classic model. The screws that held the two half's of the door together on ours are one the top and bottom. Not really knowing what I was doing, I tried taking the top hinge off. Bad mistake - The moment you take out those three screw for the hinge you loose the back plate inside the oven. Just spent three hours taking the oven completely apart to get the door back on.

  • @hfe1833
    @hfe1833 3 года назад

    I like this kind of project, very useful

  • @capistor1
    @capistor1 3 года назад

    I am using maple bootloader on stm32 blue pill and whenever i am trying to fade an led with pwm im gettting this weird flicker.. it seems like to reach a value of 65536 with analogWrite from arduino software it reaches some maximum value then sets the brightness to zero and repeats this process until it gets to 65536. why am i not getting a smooth fade as i do with arduino any idea how to fix?

    • @OwenWilliamsRobotics
      @OwenWilliamsRobotics 3 года назад

      I don't use maple but reading docs analogWrite maps to their pwmWrite function and indicates range should be 0 - 65536. Might be worth changing the range e.g 0-1024 as an experiment. Docs also say you need pinMode(9, PWM); in setup() to use pin 9 for pwm and mentions that not all pins can do pwm. So you could try another pin? I presume you have a current limiting resistor in series.

  • @capistor1
    @capistor1 3 года назад

    good tutorial. :)