Get Started With STM32 and Nucleo Tutorial - I2C & MPU6050
In this video I show you how to setup timer interrupts on sTM32. The reason you might want to do this is if you want to check something periodically, create a non blocking delay or setup a watchdog for your system. Hopefully this is easy to follow and it makes sense!
If you enjoyed the video don't forget to SUBSCRIBE!
13
views
Getting Started with STM32 and Nucleo Tutorial - The UART Protocol Explained
I realized I made a video about how to setup the UART but didn't really explain how it works by sending data, choosing the baud rate etc. So this video is a visual aid in how the UART works, how to use the ASCII table with respect to the UART and hopefully it helps you understand how the UART works better!
If you enjoyed the video don't forget to SUBSCRIBE!
14
views
Pointers in C & Why They Are Useful!
When I was first learning about pointers it was difficult to understand, not so much the concept but more like how they are used and why they are useful, I attempt to answer this with some basic examples.
The examples are in on my STM32 Repo on GitHub, just checkout the Pointers branch. https://github.com/rbevin777/STM32-Tutorials-NucleoF334R8T6/tree/Pointers
If you find this useful let me know!
Twitter: @bevybizzle
If you enjoyed the video don't forget to SUBSCRIBE!
6
views
Get Started With STM32 and Nucleo Tutorial - I2C & MPU6050
In this video I show you how to setup the I2C lines on an STM32 nucleo dev board, some of the problems I faced and how I setup the code to read from a sensor. Most of the hard work of this video is setting up the device in a working manner and writing the code in a nice way. Hopefully you find this useful and it helps you out!
Also here is the link to the GitHub repo where all this code is available https://github.com/rbevin777/STM32-Tutorials-NucleoF334R8T6
Just clone the repo and switch to the branch you want.
What would I say to my younger self?
Don't be afraid to google when figuring things out, don't worry about feeling like an imposter, and don't worry about asking too many questions!
If you enjoyed the video don't forget to SUBSCRIBE!
13
views
Get Started With Embedded Systems - STM32 Nucleo Tutorial - Structuring the Project
In this video I show how to setup the a new folder and the relevant .c and .h source files for your own code. So we moved the UART rx and tx interrupt code out of the main file into their own modules to make the project more manageable going forward. This is important because it makes the code more scalable, maintainable and testable.
Also here is the link to the GitHub repo where all this code is available https://github.com/rbevin777/STM32-Tutorials-NucleoF334R8T6
Just clone the repo and switch to the branch you want.
What would I say to my younger self?
Don't be afraid to google when figuring things out, don't worry about feeling like an imposter, and don't worry about asking too many questions!If you enjoyed the video don't forget to SUBSCRIBE!
4
views
How To Compile GTK Using CMake
Another short one, I came across this problem recently and it took me a bit of time to get right so hopefully this helps someone else too. GTK is a really cool library and lots of really cool software is created using it.
If you enjoyed the video don't forget to SUBSCRIBE!
2
views
How To Compare PDFs for Free
This is a nice short video on how to compare PDF files using bash in linux. It shouldn't matter which distro you use however I only tried this on Ubuntu so your mileage may vary.
If you enjoyed the video don't forget to SUBSCRIBE!
1
view
Get Started With Embedded Systems - STM32 NucleoTutorial - Interrupts
In this video I show you how to setup an external interrupt trigger using the inbuilt user button of a STM32 Nucleo dev board. This is useful to know because when developing embedded systems there can be multiple sensors on a board. These sensors can be setup to gather data before telling the micro-controller the data is ready. A sensor can tell a micro-controller that data is ready by sending an interrupt to the micro-controller. This allows the micro-controller to continue processing other data without having to keep checking if data is ready at a sensor because the sensor will let the micro-controller know.
When I started out I watched these tutorials to get an idea of what I was doing and they really helped me when I was starting out, 5 years into a career now I hope this video helps someone else who was in my position.
What would I say to my younger self?
Don't be afraid to google when figuring things out, don't worry about feeling like an imposter, and don't worry about asking too many questions!
If you enjoyed the video don't forget to SUBSCRIBE!
10
views
Get Started With Embedded Systems - STM32 Nucleo Tutorial - UART Rx Interrupt
In this video I show how to setup the UART to receive using an interrupt so that the UART isn't constantly polling for information. This is useful for setting command line tools for testing your device.
Also here is the link to the GitHub repo where all this code is available https://github.com/rbevin777/STM32-Tutorials-NucleoF334R8T6
Just clone the repo and switch to the branch you want.
What would I say to my younger self?
Don't be afraid to google when figuring things out, don't worry about feeling like an imposter, and don't worry about asking too many questions!If you enjoyed the video don't forget to SUBSCRIBE!
7
views
Getting Started in Embedded Software Engineering - STM32 Nucleo Tutorial - ADC
So when I started out I watched these tutorials to get an idea of what I was doing and they really helped me when I was starting out, 5 years into a career now I hope this video helps someone else who was in my position.
What would I say to my younger self?
Don't be afraid to google when figuring things out, don't worry about feeling like an imposter, and don't worry about asking too many questions!
If you enjoyed the video don't forget to SUBSCRIBE!
4
views
How To Create a Gantt Chart Easily Using Code
So I recently had to make a Gantt chart and it look me longer than I care to say figuring out how to customize it and make it fancy AF. So to save someone else the headache I created this short video to highlight how to create a Gantt chart in Markdown using the Mermaid framework, this will work with other charts too but I specifically talk about a Gantt chart in this video.
As promised as well here is the code I used in this video, it should just be a matter of changing some elements to make it how you like. Not also that the theme needs to be kept as the base theme as it is the only editable theme:
```mermaid
%%{
init: {
"gantt": {
'topPadding' :100,
'rightPadding' :100,
'leftPadding' :100,
'barHeight' :50,
'fontSize' :17,
'titleTopMargin': 75,
'gridLineStartPadding' : 48,
'barGap' :10,
'sectionFontSize': 16
},
'theme': 'base',
'themeVariables': {
"fontFamily": 'Sans-Serif',
'primaryColor': '#bcc8ff',
'primaryTextColor': '#000',
'primaryBorderColor': '#2d2ac9',
'tertiaryColor': '#000',
'textColor':'#000',
'tertiaryTextColor': '#000'
}
}
}%%
%% https://mermaid.js.org/config/directives.html#declaring-directives
%% https://mermaid.js.org/config/schema-docs/config-defs-gantt-diagram-config.html#toppadding
%% color theme need opened with the high contrast light theme.
gantt
title changed title
dateFormat MM
axisFormat %B
section Task 1
Do Task 1 :task1, 01, 91d
section Task 2
Do Task 2 :task2, 02, 60d
section Task 3
create chart :task3, 05, 30d
If you enjoyed the video don't forget to SUBSCRIBE!
21
views
Getting Started With Embedded Software Engineering - STM32 Nucleo Tutorial - UART
So when I started out I watched these tutorials to get an idea of what I was doing and they really helped me when I was starting out, 5 years into a career now I hope this video helps someone else who was in my position.
In this video we look at setting up the UART and printing out to the terminal.
What would I say to my younger self?
Don't be afraid to google when figuring things out, don't worry about feeling like an imposter, and don't worry about asking too many questions!If you enjoyed the video don't forget to SUBSCRIBE!
6
views
Getting Started in Embedded Software Engineering - STM32 Nucleo Tutorial
So when I started out I watched these tutorials to get an idea of what I was doing and they really helped me when I was starting out, 5 years into a career now I hope this video helps someone else who was in my position.
What would I say to my younger self?
Don't be afraid to google when figuring things out, don't worry about feeling like an imposter, and don't worry about asking too many questions!
If you enjoyed the video don't forget to SUBSCRIBE!
11
views
How To Setup Git On Windows and Linux Easily
So when I first got started with Git on windows it was very convoluted, luckily in recent years it has become easier to do. In this video I show you how to setup Git on Windows and Linux using VS Code. Why VS Code? On windows it's a simple setup, everything is in the one location, i.e. git and your code can be accessed from the same application and also because I'm used to using it and in the fanboy war between Vim and VS Code I'm a VS Code user... for now.
Hopefully this video is useful for someone!
If you enjoyed the video don't forget to SUBSCRIBE!
7
views
Test Driven Development Embedded Style! With Ceedling, Arduino and VS Code
In this installment of quarter life crisis I show of my mad wizardry skills to mere mortals. What does that mean in English? I'm showing whoever is interested how to use test driven development with an arduino device, sort of. I've basically setup how to ceedling test code which we use on an arduino device. I do this using a framework called ceedling, made by these guys: https://www.throwtheswitch.org/
I also do this all within VS Code if this is of any benefit to anyone as well.
If you enjoyed the video don't forget to SUBSCRIBE!
12
views
The Git Command That Could Change Your Developer Life!
This for me anyway has been a game changer in terms of workflow and how I interact with repositories on my local machine and on the cloud.
Git Worktrees allow you to have multiple branches checked out on your machine at a given time. My understanding of how this works is that it is tracked using the .git folder. When you add a worktree is appears to duplicate the clone the repo into a folder given by the user, in my case it was a .worktree folder and it checks out that branch within this folder. Handy especially if you are a terminal navigator (I'm sure you are if you are watching this XD). Hope fully someon finds this useful :)
If you enjoyed the video don't forget to SUBSCRIBE!
3
views
The Basics of C Programming In Under 2 Minutes
I wanted to do this to see how much information I could squeeze in about C in under 2 minutes. 2 Minutes isn't long when you have to explain alot of information. It's very long when you are doing a plank though... Maybe that's how einstein relaised time was relative... Joking aside, this wasn't that difficult, however I have probably missed out some information so leave a comment below of what you think I could have or should have included!
## intro
I'm gonna see if I can explain the basics of the C programming language in under 5 minutes... Let's go!
## main
Okay so up first is main. This is where your progam will run all it's functions. You need a main to run your program.
## data types
data types are how information is stored withing computer memory. here is a list of data types.
An example of 2 data types are an integer and a char. Int variables store numbers and char variables store characters.
## Macros
Macros are user defined, these can be set as variables of functions.
Generally they are used to store a common value used throughout your .c/.h files.
This is because if a common value was to change, it's easier to change it in one place than 10 different places.
## Variables
Variables are areas of memory which are user defined to store values of a given data type.
For example we can have a variable which is an integer datatype called our_number.
Variables can be changed as a program runs. A good example of this is in a for loop,
where the i variable here increments by 1 for each lap of the loop.
## Structures
structures are a collection of variables which can all have different data types. Making a sctructure
creates a user defined datatype which is specific to your own usecase. For example I could have a structure called meta_data
which has the following information...
## Functions
Functions contain a list of instructions to run and are used to seperate areas of code so that it can be more maintainable and reusable.
For example, instead of doing an addition everywhere we can put an adder into a function and return the added value.
This is what a function can look like (show function paramters etc.)
## Headers
header files are where we can store variables, fucntions and macros for other .c files to use.
headers are included at the top of a .c file to use the contents. A .c file must have it's own corresponding header file.
## Pointers
pointers are variables which contain the memory address of antoher variable. Where pointers are useful is with functions.
when a variable is passed into a function, it is a copy of the original, where are with pointers, it passes in the actual
location of the input variable.
If you enjoyed the video don't forget to SUBSCRIBE!
2
views
This is the Best Programming Language to Learn First!
If I was starting out again this is the programming language I would learn to code with first. Mainly because I have experience now. But if you don't have experience it can be hard to know where to begin or how to start. I have hopefully gave enough info in this video about where to start when learning to code, which programming language would be good for you and why. It's a bit of a varied answer because ultimately it depends on the individual and their needs.
Let's see if you agree...
If you enjoyed the video don't forget to SUBSCRIBE!
3
views
What is Python and Why is it so Popular?
Python is one of the most used, well known and popular programming languages. So what is it? Why is it so popular? And why is it called Python?
Well Python is called Python because the creators are fans of Monty Python. I love the fact it's called python because of Monty Python.
It can be used on embedded devices, mobile phones and computers.
It can also be used to develop anything remotely linked with computer science. I've mostly seen it used for data science, GUI applications and for testing. But if you wanted, you could even use it for game development.
It's also pretty popular for machine learning. This guy Code Bullet uses machine learning in his videos so if you are keen you could look at this: https://www.youtube.com/c/CodeBullet
If you enjoyed the video don't forget to SUBSCRIBE!
4
views
I Can’t Believe How Insanely Good This Thing Is! - ChatGPT Impressions
If you had told me 10 years ago, cleverbot would be able to go and pull answers from google in a fraction of the time it would have taken a person to google, I'd have laughed in your face. Turns out this is a reality in 2022 with ChatGPT. ChatGPT is an AI model that has been trained in such a way to act as a personal assistant in it's most basic format. In this video I try it out and see what it can do and help with. Although, I asked it which linux distro is best for gaming and it... well... It still has a lot to learn.
If you enjoyed the video don't forget to SUBSCRIBE!
1
view
How to Automatically Dismount a Minecart in Minecraft
Have you ever been on a minecart on a long strip mine, stepped out of the room for a few minutes and ended up back where you started? Well I have, and this video is to help combat this. This is how to automatically dismount a minecart.
If you thought this video was helpful, useful or funny? Please consider subscribing, Thanks!
6
views
PyBelfast - Vlog - 25th January 2023 - Belfast
In this weeks installment of quarter life crisis, I make my first VLog!
Also attended a python developer talk called PyBelfast which is a monthly/bin-monthly meetup open to anyone with an interest in python. This was the first one I have attended and I have to say it was very well organized and it was really good to meet new people and learn some new things. Also thanks to Slice for hosting it and thanks for the beer and pizza!
If you enjoyed the video don't forget to SUBSCRIBE!
1
view
How to make a HIDDEN DOOR in Minecraft
This is a super easy addition to your minecraft world that anyone can add and if you're a troll like me who likes to make houses in the side of mountains this is perfect. It will work with dirt too!
Here is a list of stuff you'll need
- 2 Stick Pistons
- 2 Redstone Comparators
- 1 Stack of Redstone (This is more than enough XD)
- 1 Redstone Torch
- 2 Pressure Plates
If you found this useful let me know!
Twitter: @bevybizzle
If you enjoyed the video don't forget to SUBSCRIBE!
34
views
What is the state of Linux Gaming V5 - Nobara OS
EVERYTHING ELSE IS SHIT!!! Not really, but this distro makes it seem that way in terms of gaming on linux. Nobara OS has lived up to the hype that some people have set the standard for it. A fedora based distro designed for gamers in mind. Made by Glorious Eggroll himself. The Desktop environment is a nice hybrid between KDE and gnome. Lots of customization options as well as a nice helper install wizard when you boot up the distro. I have to say. If I can get my shit together, I think I'm switching to this distro.
Here is a list of the games tested:
- Bioshock
- Call of Duty World At War
- Dark Souls 3
- Grand Theft Auto IV
- Metal Gear Solid V: Ground Zeroes
- Wobbly Life
All these games ran flawlessly except for bioshock. However, that was likely something I did when testing so take that result with a pinch of salt and as always with these videos, you never really know for sure until you try it on your setup.
https://nobaraproject.org/
If you enjoyed the video don't forget to Follow!
9
views
How To Setup VS Code for Debugging C, C++, and Python
Pre-requisites
HI! Thanks for taking the time to checkout my code. This is a pre-requisites wiki before continuing to try debug with VS Code. BEWARE: The following instructions are only relevant to Debian/Ubuntu based distributions.
You'll need to open a terminal window and run these commands before continuing. On Pop_OS! GCC and Python3 are already installed. You may need to install these too depending on which operating system you are using.
Update before running
`sudo apt-get update -y`
`sudo apt-get upgrade -y`
Programs we need to install
`sudo apt-get install code -y `
`sudo apt-get install gdb -y`
All Done
Once you have these installed you can navigate to this directory via the terminal` cd path/to/directory` and open VS Code `code .` That's it! You're good to go!
Compiler Options Link: https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html
If you enjoyed the video don't forget to SUBSCRIBE!
2
views