Spark Logic

Anyone tried to make a 3D Printer controller?

DRV8825 HTSSOP-28 (PWP) Pinout
ILI9341 MSP3223 · 14-contact header Pinout

Just did the math and saw that it could be possible to make a controller with atleast 3axis, 2 extruder, fans, 2 thermistors and 6 buttons (min, max). And from the sketch size it could also fit marlin onto a Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog . Only thing would be a custom board with the pins. Did anyone tried this already? If not i’d take that as a side project :D

~Straw

Replies20

Mon Sep 14, 2015 5:07 pm

I’m not aware of anyone having done this.

I think what you are suggesting is to make a ramps board that connects to a STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog board, e.g. put a socket in the middle of the RAMPs board and plug a STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog board into that socket rather than plug the RAMPS into a Mega 2560

I’m not sure how may pins you need and whether the Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog or most generic STM32F103CSTM32F103CMicrocontrollers and processors…doesnt work” mortenholm Fri Jul 24, 2015 10:05 pm Sure. I have selected the ‘Generic STM32F103C series’ and i have tried both the 64k and 128k versions (stm32flash reports 128k).…View in hardware catalog boards would have enough pins for this

You may need to use a small STM32F103VET board instead, as it would definitely have enough pins.

The other consideration is of course the voltage levels, as I’m not sure if the POLO stepper drivers can be controlled by 3.3V (you’d need to check)

Mon Sep 14, 2015 6:20 pm

@RogerClark Just checked the DRV8825DRV8825Analog, logic and power components…n was to use the same approach as Fysetc F6 – so that the board could support A4988, DRV8825 , TMC2100/2130/2208 – and 2130 in SPI mode and 2208 in UART mode – just by using jumpe…View in hardware catalog drivers. their threshhold for high signal is 2.2-5.5V, so thats no issue. a4988 is also no issue, but i think ill rather test that.
Something ramps style was also my first thought, with the MapleMapleDevelopment and computing boards…expensive short of buying in bulk. many resort to usb-serial converters. today comes leaflabs maple , stm32duino it is ‘disruptive’ in a similar light, user customizable usb is no…View in hardware catalog board plugged on the top side.
There shouldnt be any problem with pinout, as the ramps basically just uses ~24 pins. there could be a problem when using lcd, sd card or something else.

For me, this seems as an bit easier project than the ultimate dev board *cough* *cough*

with an vet6 board this could end up like something really crazy. but also an idea. guess i add one in my next order ^^

Well, i’ll take a look at the weekend. but i have to check if atleast marlin is directly compatible with the MapleMapleDevelopment and computing boards…expensive short of buying in bulk. many resort to usb-serial converters. today comes leaflabs maple , stm32duino it is ‘disruptive’ in a similar light, user customizable usb is no…View in hardware catalog /STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog .

~straw

Mon Sep 14, 2015 6:25 pm

RogerClark wrote:
The other consideration is of course the voltage levels, as I’m not sure if the POLO stepper drivers can be controlled by 3.3V (you’d need to check)

Mon Sep 14, 2015 7:57 pm

The stepper drivers will definitely work with 3.3V. I have a modified RAMPS here that runs with an Arduino DueArduino DueDevelopment and computing boards… tool chain install is to use the Arduino.cc IDE, then use Board Manager to install “ Arduino Due ” … the tool chain gets installed as a by-product. But if you are not as lazy as…View in hardware catalog without problems on 3.3V, dicussed here. And there are several other 32-bit controllers which also use 3.3V electronics. The big discussion is rather about driving the MOSFETs with only 3.3V. But if you’re going to design a new board, it’s easy to add an additional transistor to drive the MOSFET gates at a higher voltage.

Tue Sep 15, 2015 5:15 pm

Ok, a short list of Things :
-5 Stepper Driver (15 Pins)
-6 Buttons for Min. & Max. (6 Pins)
-3 Thermistors (3 Pins)
-2 Hotend (2 Pins)
-3 Fans, 2 for Hotend + 1 for Driver (3 Pins)
-1 Heatbed (1 Pin)

That way I basically end up with no Pin left, fits perfectly :D .

Working on a schematic now.

~Straw

Tue Sep 15, 2015 6:14 pm

Woudn’t it be good to have some additional pins left for adding some kind of display adapter and an SD-Card reader?

This would of course mean going to some larger STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog board, such as e.g. this one, as already proposed by Roger. But given that you will be putting a lot of time and effort into this, it might be worth while.

Wed Sep 16, 2015 1:54 am

Guess I’ll have to wait for the next delivery. I could take a look at the firmware for it in the mean time. I don’t think that any firmware will run native on it

~Straw

Wed Sep 16, 2015 3:55 pm

Hmm…… Just thought about an addon : using a ILI9341ILI9341Displays, touch panels and LEDs… shows on my screen. I have used and programmed a few different types of SPI screens( ili9341 , st7735) using Python very successfully and these parallel screens have many of the…View in hardware catalog screen with touch, but instead of driving it with the main controller (the vet6 board), driving it with a seperate Baite Maple MiniBaite Maple MiniDevelopment and computing boards…fu-util: No DFU capable USB device available simonf Sun Jul 31, 2016 3:26 pm Is it a baite maple mini ? Which bootloader did you select in the IDE? Origonal or Maple Mini. Did you…View in hardware catalog which is sending gcode to the board and acting like an host controller (maybe with the ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog ). As im not quite sure how hard the vet6 is going to work for the actual controlling and if it going to slow down that hard if its driving the display.

~Straw

Tue Sep 29, 2015 7:41 am

Good morning

There are news? I am particularly interested in this project for some time that I try to document me.
I am listening.

Drk

Thu Oct 01, 2015 9:04 am

@Drakelive
Im going to start it next week, as im on vacation currently and ive got like 2 weeks time then, plenty i hope. thinking about putting th chip directly on the board instead of using a dev board, its like 7$ cheaper (but its maype bit harder for beginners to solder) maybe it will be a option to choos from, either onboard chip or devboard.

but ill post more updates in the following week, have to see bit more of italy ATM

straw

Thu Oct 01, 2015 12:46 pm

strawberrymaker wrote:@Drakelive
Im going to start it next week, as im on vacation currently and ive got like 2 weeks time then, plenty i hope. thinking about putting th chip directly on the board instead of using a dev board, its like 7$ cheaper (but its maype bit harder for beginners to solder) maybe it will be a option to choos from, either onboard chip or devboard.

but ill post more updates in the following week, have to see bit more of italy ATM

straw

Fri Oct 02, 2015 11:47 am

Actually i wanted to look at the hardware site first and then work on the software porting of marlin. Would actually like to see the work you get done. AFAIR there was a problem with some library.
Away again till next week
~Straw

Fri Oct 02, 2015 12:08 pm

strawberrymaker wrote:Actually i wanted to look at the hardware site first and then work on the software porting of marlin. Would actually like to see the work you get done. AFAIR there was a problem with some library.
Away again till next week
~Straw

Mon Jan 18, 2016 9:33 pm

Image

Link

Image

Link

Image

Link

Managed to make something out of the project, some small features missing, but these should be solved in a few days. But it will be reaaally hard to fit everything on 10×10 Board. Elsewise i have to go bit bigger, which would be a bummer. Or remove like one Extruder.

~Straw

Mon Jan 18, 2016 10:55 pm

Hi

Great work @Strawberrymaker !!!!!!

To start, we need a simple card. This is essential for us to start writing a firmware and test it on a 3D printer.
So, I believe that we need this:

a) 4 Motor Driver (X, Y, Z, E)
b) 6 EndStop
c) 2 Thermistors (Hot-End, bed)
d) 2 Power outputs PWM (Hot-End, bed)
e) 2 UART
f) 1 (SPI More CS)
g) 1 EEPROMEEPROMGeneric components and modules without part numbers…ly bought one of these: … fbb0123c5e It’s really small (50x40mm) but includes an i2c eeprom , and sdcard slot, and all MCU pins broken out. I have still not used it, but plan to u…View in hardware catalog (Microchip 24LC1025 or smaller )

Regard
drk

Tue Jan 19, 2016 4:27 am

glad to see you found the sd card variant of the board, i’m fairly sure it may well have 24cxx on it or there is another variant with one and sdcard, might even be one with a spi flash on it as well. look for a zet version as well

lcd might be interesting as from its pin labelling its wired on the fsmc, also not figured where all the devices are connected to address wise

stephen

Tue Jan 19, 2016 9:42 pm

@Drakelive

Nice Idea, something simpler. Would be bit hard with a C8T6, but should be easily with something like a ret6. Wouldnt it be better to move the EEPROMEEPROMGeneric components and modules without part numbers…ly bought one of these: … fbb0123c5e It’s really small (50x40mm) but includes an i2c eeprom , and sdcard slot, and all MCU pins broken out. I have still not used it, but plan to u…View in hardware catalog part to the IC itself? Havent played with the STM32duino EEPROMEEPROMGeneric components and modules without part numbers…ly bought one of these: … fbb0123c5e It’s really small (50x40mm) but includes an i2c eeprom , and sdcard slot, and all MCU pins broken out. I have still not used it, but plan to u…View in hardware catalog Library yet, saving some pennies, making it more approchable, or something like these cheap atmel eeproms.

but well, i will take a look at it

Wed Jan 20, 2016 2:09 am

For EEPROMEEPROMGeneric components and modules without part numbers…ly bought one of these: … fbb0123c5e It’s really small (50x40mm) but includes an i2c eeprom , and sdcard slot, and all MCU pins broken out. I have still not used it, but plan to u…View in hardware catalog , I’ve tried several libraries, but this one seem to be a good one : https://github.com/JChristensen/extEEPROM
There is also SPI Flash libraries, I’m currently using this one : https://github.com/LowPowerLab/SPIFlash
I’ve even submitted a PR for Cypress FRAM support (you can see it there in github), but it is not merged yet … :(

Wed Jan 20, 2016 8:59 am

strawberrymaker wrote:@Drakelive

Nice Idea, something simpler. Would be bit hard with a C8T6, but should be easily with something like a ret6. Wouldnt it be better to move the EEPROMEEPROMGeneric components and modules without part numbers…ly bought one of these: … fbb0123c5e It’s really small (50x40mm) but includes an i2c eeprom , and sdcard slot, and all MCU pins broken out. I have still not used it, but plan to u…View in hardware catalog part to the IC itself? Havent played with the STM32duino EEPROMEEPROMGeneric components and modules without part numbers…ly bought one of these: … fbb0123c5e It’s really small (50x40mm) but includes an i2c eeprom , and sdcard slot, and all MCU pins broken out. I have still not used it, but plan to u…View in hardware catalog Library yet, saving some pennies, making it more approchable, or something like these cheap atmel eeproms.

but well, i will take a look at it

Post a reply

Optional · up to 10 MiB