How to read bitmap files from RRF SD card over the serial port.
-
So I am doing some preliminary searching on how to get this done:
I have an arduino/teensy board, connected to my main board over serial, instead of a display.
for my next project i want to read a lot of bitmaps from the SD card on the mainboard.
I know there are gcodes to list/read and write files, but these are meant for gcode files...So my question is if RRF can make the files on the SD card available to an Arduino over serial?
(My ultimate goal is to create a printhead on corexy kinematics with multiple individually addressable diode lasers, to be used in a SLA or SLS printer. The Arduino reads the bitmap files uploaded with DWC, reads the steps of the x-axis motor and controls the multiple lasers according to color of the corresponding pixels. So my 3d models need to be sliced with a DLP slicer like Chitubox instead of a Gcode based slicer like Cura. This system would eliminate the need for a galvo system)
-
@bitofadummy the only mechanism that RRF provides to read imaged from the SD card is for the images to be embedded in a GCode file in either QOI, PNG or JPEG format, base64 encoded and with header and footer lines. The M36 command can be used to enquire what images a file contains, and the M36.1 command can be used to retrieve the data.
-
Thank you, I will see if I can use this function for my purpose...