As a non-professional circuit designer and also a non-beginner, I find these design walk-throughs to be instructive and helpful, Phil. Thanks a lot.
@PhilsLab3 жыл бұрын
Very glad to hear that, thank you, Darin!
@oraszuletik3 жыл бұрын
Nice. Two side note: you may spare some mm2, if you put the swd to the other -non populated- side of the panel. For the 120R you may add one jumper 0R chip resistor in series, which gives you more freedom in the CAN topology later. In the current scenario, this device should be on one end of the CAN line.
@defsdoor3 жыл бұрын
Great project - looking forward to the coding - I can't believe how cheap CAN transceivers are now.
@mikemironov75513 жыл бұрын
3D view with transparent PCB layers is great feature - I can see where vias go to. Ten points to Altium.
@tchristell3 жыл бұрын
Phil: Great video! Very clearly explained and succinct. I appreciate the lack of a time wasting into that many KZbinrs use. This project is vastly superior to the magnetometer solution on another project I'm working on and I look forward to the programming!
@nerosy23413 жыл бұрын
Great work, I wish u can make a video on making a PCB in detail using Altium and covering the basics in the future that would help a lot!
@AmaDoXX3 жыл бұрын
Altium and stm32. i love it. thank you!
@stm32523 жыл бұрын
I'm looking forward to the second part (coding)! Thank you for sharing this very useful videos, Phil!!
@cosmicazur3 жыл бұрын
Can't wait for the second part
@huzeifadawood41373 жыл бұрын
Great Tutorial! Can you please do a KiCAD version of the schematic + layout? I enjoy your KiCAD videos.
@PhilsLab3 жыл бұрын
Thank you, Huzeifa! More KiCad videos to come :)
@dehCremus3 жыл бұрын
Wow! I also use Tag-connect at my graduation project company. Didn’t know them before that. They’re cool, but really expensive.. I’ve designed a footprint that has pads on both sides. So it doesn’t matter from which side you program it.
@flipschwipp65723 жыл бұрын
We have gone a far way to have a 80MHz cpu in a sensor node. I recently got back to use& love modern 8051 derivates and hoping small RISC-Vs will grow strong.
@julianbarbera98223 жыл бұрын
Phil - Do you prefer Altium over KiCad?
@PhilsLab3 жыл бұрын
Hi Julian, I must say I currently prefer Altium as it has a few additional features that KiCad doesn't. But if I want to make a quick design/board, I'll typically go with KiCad. :)
@yasinbedirhansimsek28833 жыл бұрын
Your videos are very helpful, educational and fun to watch
@Grimgorus3 жыл бұрын
Great, as always! Looking forward to the next segment!
@PhilsLab3 жыл бұрын
Thank you!
@harrysvensson26103 жыл бұрын
13:46 "Nothing too thin, nothing too thick", that's a perfect translation of the Swedish word "Lagom" :D - Not too much, not too little of something. It is just Lagom.
@husamdarwish70093 жыл бұрын
Can't wait for the software side from a professional Thank you for the another great video
@rallymax23 жыл бұрын
Tagconnect pads are awesome. I came across them at the embedded systems conference (esc) in Silicon Valley in a tiny booth about 10 years ago. Super happy to hear they are still around.
@Antyelektronika3 жыл бұрын
It is no cheap do you know about some less expensive alternative?, I assume that on the market is more than one manufacturer ot that kind solution
@ColtonBaldridge3 жыл бұрын
@@Antyelektronika Another project I know of that's open source and accomplishes the same job is 'SOICbite'. There's a github repo and hackaday page for it. I recommend checking it out if you need a Tagconnect alternative
@johnstephenson44283 жыл бұрын
Glad to see you back!!!
@PhilsLab3 жыл бұрын
Thank you, John!
@patrickhochleitner77543 жыл бұрын
Clear and perfecly explained as always. Thank you.
@PhilsLab3 жыл бұрын
Thank you very much, Patrick!
@DanBowkley3 жыл бұрын
My first boards with the Tag Connect are just about to ship from JLC, I'm really looking forward to playing with it. I went with the 10 pin and included serial tx/rx as well as IO0 and !EN for the ESP32, programming would be exactly like a dev board. I almost went with the edge connect but...jeez $90 for a plug?! Love JLC, want to throw their part search through a 97th floor window. Their idea of parametric is practically useless, most of the time I end up finding parts on Mouser or DigiKey and then trying to find it on JLC. Extra fun when you're trying to keep costs down and stick to their basic parts.
@CarlBugeja3 жыл бұрын
Great video! one minor suggestion - check out the s12zvc - its basically a microcontroller with an integrated 5v regulator & also a can transceiver.. i used this a few year ago but this can really make your outline much more smaller
@PhilsLab3 жыл бұрын
Thank you, Carl! That's a good tip - I'll check it out, would definitely help to make this smaller :)
@JeromeDemers3 жыл бұрын
Nice work! Let us know when you update the project on github.
@onepeace32283 жыл бұрын
love to see more from you with altium! Great video as usual!
@blackarrow86833 жыл бұрын
Great Tutorial! Can you please do more Altium schematic + layouts and tutorials? I enjoy your Altium videos.
@PhilsLab3 жыл бұрын
Thank you! Yes, I'll try to make more Altium videos in the future :)
@kenshin160216103 жыл бұрын
Thank you so so much for this. especially with Altium. Looking forward to your next video about firmware developement.
@osamadz58843 жыл бұрын
Hope in the future you will do some videos about mixing analog / digital PCB /and is there any progress in the course ? Great video as usual
@kheireddinebendjedia39303 жыл бұрын
Great work as always, i would love to see more of your work. Keep it up.
@PhilsLab3 жыл бұрын
Thank you very much!
@John_Smith__3 жыл бұрын
Another Great Video! And a very interesting board no doubt very small and compact.
@gino.avanzini3 жыл бұрын
Have you had any problems regarding component shortages from JLCPCB assembly?
@embed21com3 жыл бұрын
Thanks Phil for this informative tutorial!
@PhilsLab3 жыл бұрын
Thank you for watching, Khaled!
@sumedhburbure41733 жыл бұрын
Thank you Phil for this great video!
@PhilsLab3 жыл бұрын
Thanks for watching!
@RohitSardessai3 жыл бұрын
Fantastic video as usual Phil. Love watching these. I was curious, how much time does it take for a design like this? How much time did you spend on component selection, schematic capture, layout and firmware development?
@PhilsLab3 жыл бұрын
Thank you very much, Rohit! This hardware design probably took me a couple of hours (4/5-ish?). Given the constraints of the JLCPCB parts catalog, component selection is actually pretty quick. Schematic is basically just looking at CubeIDE and the datasheets for the other ICs - in Altium footprint creations adds a bit of time. Layout was very quick due to the size and the small number of connections. Firmware - at least on the magnetometer side of things - can be done in 1/2hrs.
@electrodonkey3 жыл бұрын
How does the STM handle the CAN timings without any external oscillator?
@TheCalvinSkinner3 жыл бұрын
STM chips have internal 16MHz oscillators
@ibrahimyahmadi38972 жыл бұрын
Great instructive tutorial, keep it up . I would like to see also fpga , mcu pcbs
@revrsr3 жыл бұрын
it is a PCB size demanding, but I was expecting to see a TVS diodes for the CANH, CANL to protect against transient on the vehicle. Hey, I am still awaiting for the course!
@MrZomhad3 жыл бұрын
Really exciting stuff! Thanks alot!
@soutrikband3 жыл бұрын
Cool video as always !
@themagnety8 ай бұрын
Did the follow up to this video ever come to fruition? Designing a very similar board but would love to learn about how you wrote firmware for it
@hardikgupta37523 жыл бұрын
Hi Phil...I also have to design a board of the same size as you with stm32wb30 with BLE and an IMU sensor. Can an antenna for the Bluetooth be fit on a board this size?
@vcodevideo3 жыл бұрын
Great again!!!, Thanks. I've one doubt, why you don't use jumpers to keep the code in the STM32? I saw some videos where it's mandatory to use jumpers to avoid the code lost. What's the difference??. I'm moving from Arduino to STM32 and I don't want those jumpers on my projects.. thanks in advance
@mistymisty44803 жыл бұрын
Great video as always patiently waiting for the firmware video
@PhilsLab3 жыл бұрын
Thank you very much!
@TheCalvinSkinner3 жыл бұрын
NICE I was planning on writing a CAN driver this weeK!
@PhilsLab3 жыл бұрын
Awesome, hope it goes well! :)
@shkhamd2 жыл бұрын
Hi great content! Curious if you ever released the part 2 of it.
@NivagSwerdna3 жыл бұрын
This video has so much to like... I have always lusted after using Tag-Connect but never quite managed to get there due to the cost; the connectors I have seen are always >£50... maybe this will push me over the edge... the TagConnect form factor is so much nicer than 0.1" headers
@PhilsLab3 жыл бұрын
Thank you! I totally agree with the whole TagConnect thing. The initial price is pretty hefty but well worth it in the long run I think.
@Haellsigh3 жыл бұрын
Why not go with a microcontroller with an integrated CAN transceiver? ST or NXP makes some nice Cortex-M with those.
@user-xb5zu6zu7j5 ай бұрын
From what I see his MCU has CAN interface. No idea why he uses peripheral CAN.
@jchiang4713 жыл бұрын
how about a KiCad Version, I've already been used to your KiCad tutorial videos
@PhilsLab3 жыл бұрын
More KiCad videos definitely coming :)
@chadkrause65742 жыл бұрын
Thanks for the video! I’m trying to teach myself circuit design + low level programming and these videos are excellent and easy to follow. Will you do a video on CAN? I see I2C videos but no CAN
@muhammadabbaskhan60102 жыл бұрын
I am constantly getting this Error on Vout pin of regulator and all other pins to which +3V3 power port is connected. 1. +3V3 contains output pin and power pin objects. Kindly help how to remove this error.
@spehropefhany3 жыл бұрын
Thanks, would be interested in seeing more of using Altium with JLC PCB.
@shahrukhp3355 Жыл бұрын
For CANH & CANL your routed deferential pair how much impedance you have taken 90 ..
@kenguru55063 жыл бұрын
at 1:04 on the lower left corner you can see my watch Project 👏👍
@PhilsLab3 жыл бұрын
Haha nice
@bussypaul73263 жыл бұрын
Liked it! Nice to see you back! Thank you! You can also try PCBPOWER, the Indian version of jlc!
@andymouse3 жыл бұрын
Great video, I'm looking forward to your MAG driver tutorial, and how to use Cube...cheers.
@Davedav843 жыл бұрын
where it's possible find the schematic for this board?
@NiteshAgarwalGeek3 жыл бұрын
Very cool project! The github link is not working btw.
@natasha.3 жыл бұрын
Have u heard about a Raspberry Pi before? They're super useful I think! I saw one today and I think I will get a few for my tinkering. I love electronics! I study it at University but I don't know if I'll continue
@natasha.3 жыл бұрын
Phils lob has changed my life!
@Kefford6663 жыл бұрын
I love little projects like this, where it's got one main purpose and you're just using some of the pins 😊 In terms of the stack-up I think you're fine with just the one ground plane since most of your signals are on the top layer. Just the CAN rx and tx that aren't but I think it will be fine. Seems a shame not to include the SWO debug output with the SWD though, that makes things nicer for programming. Looking forward to seeing the writing of the drivers!
@AARON-lx2kz Жыл бұрын
how does the swo pin add more debug/programming functionality? just wondering the benefit of adding it @PhilsLab
@TheCalvinSkinner3 жыл бұрын
In lieu of waiting for the next video of programming the CAN peripheral. I have some questions regarding the CAN message filtering. I'm using an stm32f446re nucleo. My question is regarding the "filter registers" specifically the "Filter bank i register x (CAN_FiRx) (i = 0..27, x = 1, 2)" this is page 1085 of document RM0390. I don't understand the correlation of this and the macros defined in the stm32f446xx.h file. Referencing the stm32f446xx.h file I see this macro: sFilterRegister[28] I assume this is how you set the filter ID but how do you access the high and low register(the value x = 1,2)? If you're not familiar each of the 28 filter banks has two 32bit registers. What I do not know how to do is write the code to set the filter ID. Example: CAN1->sFilterRegister[0] |= 0x000000001; Random guess, should it be: sFilterRegister[0]->FR1 |= 0x00000001; Any help understanding this is appreciated! RM0390: www.st.com/resource/en/reference_manual/DM00135183-.pdf
@TheCalvinSkinner3 жыл бұрын
Resolved: I did some searching and found my answer. Thanks for the inspiration. sFilterRegister[] is a struct with 2 parameters FR1 and FR2 both type uint32_t. Code goes like this: CAN1->sFilterRegister[0].FR1 |= 0x00000001; CAN1->sFilterRegister[0].FR2 |= 0x00000001; :D
@NivagSwerdna3 жыл бұрын
I'm surprised there isn't a dsPIC SAMC21 part that would work for you that would have CAN included?
@PerThomasJahr3 жыл бұрын
Nice! Would it make sense to also route SWO to support debug trace output?
@PhilsLab3 жыл бұрын
Thank you, Per! For larger projects/designs I include SWO on the header, however for this small, really simple design (also software-wise) I didn't see it to be necessary.
@yudhahamdiarzi55533 жыл бұрын
Hello sir, can you give us example of CAN J1939?'
@yasirhassan85573 жыл бұрын
when are you doing CAN programming for it?
@isaacclark98253 жыл бұрын
I cannot wait for the coding. I really like your content. Have you any experience with the STM32H7 processors?
@PhilsLab3 жыл бұрын
Thank you very much, Isaac! Yes, I've used H7 processors in a couple of designs (flight controller, audio processing). Maybe I'll make a little devboard with some sensors on it for a future video.
@isaacclark98253 жыл бұрын
@@PhilsLab Ooooh! Don't tease me!!
@AfricanTimeMeal3 жыл бұрын
Will there be a can tutorial coming with this board?
@edwardjames72952 жыл бұрын
Don’t mind if it’s very basic question.how to know what value of capacitor/resistor to use around the ic chip. any useful links to calculate. ?
@PhilsLab2 жыл бұрын
This information is given in the relevant (IC) datasheets and application notes (typically under the section 'application information').
@dymastro7883 жыл бұрын
Again really nice video! Love to see some software on the STM32 with CAN. Are you planning to do a video in the future, on STM32 with Ethernet PHY? Like LAN8720 with RMII for example? Would be nice to see your approach on the PCB layout. Think resources on these topics are scarce.
@PhilsLab3 жыл бұрын
Thank you! I definitely would like to make a video on Ethernet layout/design. I'm not sure if that'll be with STM32 however but rather with an FPGA board (Xilinx Zynq?).
@dymastro7883 жыл бұрын
@@PhilsLab Awesome! Looking forward to a subject like that! STM32 would be nice, I'm a big fan haha! Did some small things with Xilinx Zynq in my last year, do you implement something like Ethernet in the PS or PL of those boards? Keep up the good work!! What I know is that I'm learning something in the end!
@SciDIY3 жыл бұрын
Thank you for a video. Can you tell, please, whether it is ok for assembly to have such a small clearance between QFN components? I was told that 40 mil clearance is good rule of thumb. But it looks like in your design clearance is smaller. Is JLC good with that? Thank you:)
@Ragnerok213 жыл бұрын
Love your videos, Phil! I have a question about your PCB design process. I haven't seen you use teardrops. I've been told that generally it's a good idea to use those but now I am just confused lol So should I use them or not? And if yes, then in what cases?
@robert_g_fbg3 жыл бұрын
Talk to your fabricator. Teardrops are most useful in preventing micro fractures in the copper at the sharp corners where circle meats line.
@nxvasix86963 жыл бұрын
I have watched most of your stm videos and the quality is great. I want to get into using the STM32 for boards like Arduino but I’ve noticed there seems to be a real lack of information understandable by the average person. Would you be able to suggest a video to get started with or possibly a video of your own for a basic dev board? Thanks
@nesportskid3 жыл бұрын
Nice video thanks for sharing. Why not just use the internal pull-ups on the GPIOs for the I2C pull-ups?
@PhilsLab3 жыл бұрын
Thank you, Christopher. The internal pull-ups on the STM32 are pretty weak I believe (on the order of 40kOhms).
@RixtronixLAB3 жыл бұрын
Nice information, thanks :)
@PhilsLab3 жыл бұрын
Thanks for watching!
@abhishekreddy24253 жыл бұрын
An off-topic question but, does SDMMC (SD 4 bits wide bus) traces really require length matching? Application note from ST (AN4938) on "Getting started on hardware development..." mentions it. What worked for you? It's a small size board like yours in this video (< 3x3cm size)
@PhilsLab3 жыл бұрын
A few different places say keep the delays from clock to data lines within 250ps - so I would try to follow that. If you can't length match you can always 'throttle' the bus speed in software.
@christianhasbum44023 жыл бұрын
Hi, great video. A question, what resolution and/or ratio does your screen have?
@phenyl223 жыл бұрын
It's impossible to get some chips they have on lcsc... I need something with an msp430i2041 which is an extended part... In principle...
@piotrlenarczyk58033 жыл бұрын
Thank you for video.
@MatheusFP1043 жыл бұрын
Why you prefer the stm32 + can tranceiver instead of lets say a Esp32 Pico with CAN integrated?
@PhilsLab3 жыл бұрын
I'm just so used to the STM32 stuff that I 'instinctively' use their ICs.
@sagarhm22373 жыл бұрын
Sir Whic h is tiny Processer in Stm 32 can u send I'd or link plzzzz
@MartinWolker3 жыл бұрын
What version of Altium do you using?
@CannonballCircuit3 жыл бұрын
hey phil, just a heads up, the patreon link in this video seems to be broken
@mohammedyahya84113 жыл бұрын
Hi, I am wondering what happened to jlcpcb stock most of stm32 chips are out of stock and if exist are very expensive.
@ebinwaitee3 жыл бұрын
Global silicon shortage I'm afraid. STM32 are quite popular among the automotive industry and there's a massive shortage of production combined with an unexpected demand
@AhmedIsmail-sw6so3 жыл бұрын
hi , where is the design files? thank in advance
@sehaaltnkaynak93273 жыл бұрын
Hi Phil nice job ! Do we need to connect thermal pad of mcu to ground ?
@PhilsLab3 жыл бұрын
Hi Seha, typically yes, it's recommended (/necessary) to tie the thermal pad to GND.
@sehaaltnkaynak93273 жыл бұрын
@@PhilsLab Yeah i cheched the ref man. and it is recommend but it to late bcs. boards had been fabricated. Luckily they are working well.
@botnetuser3603 жыл бұрын
There seems to be some trailing characters in the hyperlinks in your description, or is it just me?
@TheNeukyhm3 жыл бұрын
How did you learn to use Altium?
@savejeff153 жыл бұрын
Gets an upvote from me for the i2c address on the layout. These addresses are sometimes very well hidden in the datasheet
@PhilsLab3 жыл бұрын
Awesome, thanks!
@savejeff153 жыл бұрын
@@PhilsLabI love it when they only give it as binary or give the 7bit address als 8bit with 1/0 for R/W. I think I2C addr. Should always be found under the specification table at the start
@stephanemuller70323 жыл бұрын
Great video, it's really enlightening to have all these explanations, even for such a small PCB. I still have a question though. Why use an STM32? Isn't it kind of overkill (and expensive if you have to make a lot of those) considering that you need such a small amount of pins. Wouldn't another smaller MCU also work?
@1337PB3 жыл бұрын
Do you create your own symbols and footprints in Altium, or do you import existing libraries?
@PhilsLab3 жыл бұрын
Yes, I usually create my own symbols/footprints. Sometimes I'll use the SamacSys library importer tool.
@vitalim40442 жыл бұрын
Dear Phil, GITHUB and Patreon links are not existing anymore.
@sagarjetani88693 жыл бұрын
Hello, I had learn Kicad only because of your tutorials please help me to learn I2C, UART and other RF Communication PCB design. I wish you will sir. Thank you for these useful tutorials.
@PhilsLab3 жыл бұрын
Thank you, Sagar! Definitely more to come :)
@bgitego3 жыл бұрын
Quality content
@PhilsLab3 жыл бұрын
Thank you :)
@terrygould32303 жыл бұрын
When are we going to get a video showing the firmware development?
@PhilsLab3 жыл бұрын
Thank you very much - more to come! :)
@johnstephenson44283 жыл бұрын
Looking Altium Circuit maker is free however Professional version at $163.00 a month is out of my range.
@pinnaclesystemsgroup64723 жыл бұрын
What motivated the use of Altium instead of kiCAD as you have been doing in your other videos. Altium is a fairly expensive PCB design tool.
@PhilsLab3 жыл бұрын
I use Altium for work and more 'complicated' projects. KiCad I'll use when I need something done quickly or for most of my videos, since that's what's accessible to most of my audience!
@Gengh133 жыл бұрын
Compared to the kicad 3D viewer the one from Altium looks pretty bad.
@nasermasri78473 жыл бұрын
What do you think about Fusion360?
@oguncanmunuklu94023 жыл бұрын
Great video, can you share the source files?
@henrikvendelbo11172 жыл бұрын
Why didn’t you use a transceiver that’s also an MCU?
@kaustavsengupta87573 жыл бұрын
You know dude got good job when he suddenly switches from kiCAD to ALTIUM......lol
@Rahuldhebri3 жыл бұрын
From KiCAD To Altium, That's a switch Sir, May I know the reason?
@Antyelektronika3 жыл бұрын
Phil mention something that altium is a tool which is used by him in his Daily job, maybe thats why
@PhilsLab3 жыл бұрын
Yeah, as Patryk said, I use Altium at work.
@Rahuldhebri3 жыл бұрын
@@PhilsLab Yes I get that Sir, Thank you Sir for sharing your knowledge and this Viking Drones PCB
@phenyl223 жыл бұрын
Thank you very much for your videos, I am learning a lot! Are there ground planes /pours on the top and bottom layers too or just the signal/power traces for space reasons?
@aatifshah84763 жыл бұрын
Dear sir i want to make career as PCB Designer & i found that most of the industries are using Altium software.. i would request to u plz make more & more videos with altium ...tnx for ur hardwork ..