wokwi / wokwi-features

Wokwi Feature requests & Bug Reports
https://wokwi.com
73 stars 17 forks source link

Add Franzininho C0 board #896

Closed Graziele-Rodrigues closed 3 weeks ago

Graziele-Rodrigues commented 3 weeks ago

The Franzininho C0 is a development board featuring the STM32C011F6 microcontroller, created to provide an accessible platform for learning and developing embedded systems. It is part of the Franzininho project, which promotes the development of skills in electronics and programming through the DIY format and the maker culture in Brazil. This board is a great addition to Wokwi, as it can serve educational purposes and expand support for the STM32 family.

Graphics: I’m tried to create the SVG file and the board definition in JSON format. If there are any issues or adjustments needed with the initial submission, I’m open to making corrections based on your feedback. svg: link-svg-google-drive

board

json: link-json-google-drive board.json

Pin naming and layout:

djedu28 commented 3 weeks ago

Hi @Graziele-Rodrigues. Very good, excellent contribution! Franzininho really is an excellent low-cost platform for beginners in electronics and robotics.

There are already two Franzininho boards on wokwi (based on ATtiny85 and esp32-s2 ) https://wokwi.com/projects/new#arduino-list image

As you mentioned, the chicken-c0 version uses STM32C011F6. wokwi already simulates nucleo-c031c6 and nucleo-l031k6 image

I'm not familiar with the STM ecosystem, but the codes are different (C011F6 vs C031C6). If they are compatible, then it will be very easy to add this new board, using the same STMC031C6 motor. Otherwise, you'll need to create/adapt the motor for the new version.

Translated with DeepL.com

Olá @Graziele-Rodrigues. Muito bom, excelente contribuição! O Franzininho é realmente uma excelente plataforma com baixo custo facilitando iniciantes na eletrônica e robótica.

Já existem duas boards Franzininho no wokwi (baseadas no ATtiny85 e esp32-s2 ) https://wokwi.com/projects/new#arduino-list image

Conforme você mencionou, a versão franzininho-c0 usa STM32C011F6. O wokwi já simula o nucleo-c031c6 e nucleo-l031k6 image

Não tenho familiaridade com o ecossistema STM, mas os códigos são diferentes (C011F6 vs C031C6). Se forem compatíveis, então será muito fácil adicionar essa nova placa, utilizando o mesmo motor STMC031C6. Caso contrário será necessário criar/adaptar o motor para a nova versão.

djedu28 commented 3 weeks ago

The boards have small differences:

board nucleo --
wokwi c011f6 https://www.st.com/en/microcontrollers-microprocessors/stm32c011f6.html
Franzininho C0 c031c6 https://www.st.com/en/microcontrollers-microprocessors/stm32c031c6.html
-- c011f6 c031c6
Flash memory 32 Kbytes 32 Kbytes
RAM 12 Kbytes 6 Kbytes
CPU 48 MHz 48 MHz
urish commented 3 weeks ago

Thanks for working on this, I love the Franzininho project and community around it!

Unfortunately, we don't currently support the STM32C011, and there are no plans to add it, unless someone sponsors the development and support.