Search found 21 matches
- Fri Feb 14, 2020 6:38 pm
- Forum: Other Boards
- Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
- Replies: 167
- Views: 309621
Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Can you please tell where and how a newbie like me can read and learn about how to program this boards for absolute beginners.
- Fri Feb 14, 2020 1:29 pm
- Forum: Other Boards
- Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
- Replies: 167
- Views: 309621
Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Hi @Sniper. Is this necessary in the code? import machine and import time, import Pin? Unless your boot.py or main.py imports machine, you'll need to do it before you can use it. Otherwise you'll get a NameError. import time lets you use time.sleep() . Without it, time won't exist (in the variable ...
- Fri Feb 14, 2020 2:58 am
- Forum: Other Boards
- Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
- Replies: 167
- Views: 309621
Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Here are the pin diagram/infographic layout from my Google Drive hope it will come to any use!
https://drive.google.com/drive/folders/ ... sp=sharing
https://drive.google.com/drive/folders/ ... sp=sharing
- Fri Feb 14, 2020 2:50 am
- Forum: Other Boards
- Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
- Replies: 167
- Views: 309621
Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Hi @Sniper There are many different dev boards which use the STM32F4xx series cpus. They each share the same pins for analog, digital, PWM, UART, I2C, SPI etc. If you can find similar boards with better documentation, some of the info may still be relevant. All of the pins support digital IO, and s...
- Fri Feb 14, 2020 2:38 am
- Forum: Other Boards
- Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
- Replies: 167
- Views: 309621
Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Hi @Sniper There are many different dev boards which use the STM32F4xx series cpus. They each share the same pins for analog, digital, PWM, UART, I2C, SPI etc. If you can find similar boards with better documentation, some of the info may still be relevant. All of the pins support digital IO, and s...
- Thu Feb 13, 2020 8:50 pm
- Forum: Other Boards
- Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
- Replies: 167
- Views: 309621
Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Another avenue. I might get kicked off for this but I'll post it anyway. It's not micropython. Yet another firmware for the Black STM32F407vet6. This time with MMBasic. http://www.thebackshed.com/forum/ViewTopic.php?TID=11334&P=1 I had it uploaded to the other black board. Could not find enough sup...
- Thu Feb 13, 2020 8:36 pm
- Forum: Other Boards
- Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
- Replies: 167
- Views: 309621
Re: Black STM32F407VET6 + STM32F407ZET6 dev boards
Mine took 33 days to get delivered to Australia. Chinese new year celebrations have caused a few of my orders to get delayed. Hi, can you please tell me how this board pin works? can you make example code for how and what this pin are for? i have difficulty to get my relay board working, if i just ...
- Wed Feb 12, 2020 11:56 pm
- Forum: Programs, Libraries and Tools
- Topic: STM32F407VET6 Development Board Cortex-M4
- Replies: 7
- Views: 3885
Re: STM32F407VET6 Development Board Cortex-M4
The ... in p.init(...) was supposed to be where you put the other arguments, like mode and pull. i.e. p.init(mode=Pin.OUT) I cant thank you enough Jimmo, you have thought me more over one night then i learned over 6 months from Arduino! Now my code looks like this. is there any example codes for mi...
- Wed Feb 12, 2020 11:55 am
- Forum: Programs, Libraries and Tools
- Topic: STM32F407VET6 Development Board Cortex-M4
- Replies: 7
- Views: 3885
Re: STM32F407VET6 Development Board Cortex-M4
If it's the same board as the photo then they're labelled with the CPU names (i.e. PA0, etc). p = machine.Pin('PA0', ...) or p = machine.Pin.cpu.PA0 p.init(...) this is from my boot.py file # boot.py -- run on boot-up # can run arbitrary Python, but best to keep it minimal import machine import pyb...
- Wed Feb 12, 2020 11:53 am
- Forum: Programs, Libraries and Tools
- Topic: STM32F407VET6 Development Board Cortex-M4
- Replies: 7
- Views: 3885
Re: STM32F407VET6 Development Board Cortex-M4
If it's the same board as the photo then they're labelled with the CPU names (i.e. PA0, etc). p = machine.Pin('PA0', ...) or p = machine.Pin.cpu.PA0 p.init(...) i dont know if this looks right, but i did this in main.py? # Relay Board # Relay Nr.1 from machine import Pin import time p = machine.Pin...