Closed Tomblarom closed 3 years ago
There are a few important things to note here:
img
folder is a store to store images embeded into other content. This is normal development best-practice. We just haven't found the time yet to include them all in documentation.I'm not against reorganising, but I'm currently looking into moving this to a github-pages based system, because github repo's become a cluster fuck if we use folders like this.
Speaking of which... @casainho Could you please enable github pages in settings and point it towards the /docs folder? I can handle the rest relatively well.
Speaking of which... @casainho Could you please enable github pages in settings and point it towards the /docs folder? I can handle the rest relatively well.
I just gave you maintainer permissions, I hope you can now configure this option.
Speaking of which... @casainho Could you please enable github pages in settings and point it towards the /docs folder? I can handle the rest relatively well.
I just gave you maintainer permissions, I hope you can now configure this option.
Awesome, thanks! I'll work on the docs side this month, though I also have some work for another project so it might take a few weeks :(
Has you or anyone plans to move on firmware development?
Has you or anyone plans to move on firmware development?
If anyone could get me the firmware/memory/debug dump, I would (even without hardware) be willing to put some time into figuring out which memory address gets loaded as a firmware entrypoint. Preferably I would reuse the Bafang bootloader if we can, because it would mean users could just load opensource firmware without needing to change the bootloader.
But currently, i've no hardware at all.
I'm not that experienced, to help with development, other than testing or providing hardware, like I offer you. Got M500 ready to ship, but currently unsure who shall receive it. As I said, got M500 and M600 for development purposes.
@Ornias1993 can you add them?
@Tomblarom OMG WOW, those pictures are REALLY good! I got your email, will answer it tomorrow or the day after... 👍
THose controller boards are really interesting! Two m600 boards and one of which has double the FETS and double shuts and the other has not...hmmm...
Or is it one m500 and one m600, because the wiring has also changed....
I renamed the files to make clear, what is what. You can check again.
Thought about annotating them, but 4πr^2 (in the ES forums) did an awesome job annotating. Maybe I'll do it later on.
@Tomblarom There are no file names the way you uploaded them. Also afaik github adds some compression. Could you send me the raw files?
@Tomblarom great work! Seems the board is 2 layers only, right? if so, with such good pictures, would be great if someone could draw the schematic even if partially. For instance, to drive the motor, there is need to control the mosfets and read the shunt current, as also battery voltage, I think. Also throttle is needed for input of commanded motor current. Also UART is needed for output motor variables.
Do you have an oscilloscope to measure some signals??
I'll try to use my SLR camera and redo the images for easier tracing.
Nope.. Unfortunately got no oscilloscope.. As I said:
I'm not that experienced, to help with development, other than testing or providing hardware, like I offer you. Got M500 ready to ship, but currently unsure who shall receive it. As I said, got M500 and M600 for development purposes.
@Tomblarom Could you give a lost of which equipment you've got availble now and in the near feature? That way we can work out what is the best attack vector, in terms of distributing things.
For example: Maybe you could send the broken one (unless you destroyed that one for the pictures, which would be a shame) to me to check if I can power it to dump the firmware and afterwards I could forward it to @casainho relatively cheaply.
Before sending the boards to anyone, would be great if you could use a multimeter to follow the connections on the board and draw a partial schematic. Do you have time and motivation to do this? If so, I can guide you on how to draw the schematic.
That pictures are great for helping following the connections and do it physically is a must for validation.
Before sending the boards to anyone, would be great if you could use a multimeter to follow the connections on the board and draw a partial schematic. Do you have time and motivation to do this? If so, I can guide you on how to draw the schematic.
That pictures are great for helping following the connections and do it physically is a must for validation.
Agreed, tracing would be great!
Do you have time and motivation to do this? If so, I can guide you on how to draw the schematic.
Unfortunately not. Fairly busy with other projects. That's the best I can do for you right now. I added pictures, I took with a SLR camera. Maybe they are better for some parts. Also added the status of these two controllers (functional vs broken).
@Ornias1993 I only got an RD6018 and basic electronics tools. I can't offer anything else, than providing this in-depth material, since fairly I'm busy...
Do you have time and motivation to do this? If so, I can guide you on how to draw the schematic.
Unfortunately not. Fairly busy with other projects. That's the best I can do for you right now. I added pictures, I took with a SLR camera. Maybe they are better for some parts. Also added the status of these two controllers (functional vs broken).
@Ornias1993 I only got an RD6018 and basic electronics tools. I can't offer anything else, than providing this in-depth material, since fairly I'm busy...
With equipment I was refering to a list what m500 and m600 hardware you got available to distribute...
Who shall receive my hardware? Can you discuss this?
On next 2 weeks, If I had the hardware, I would only try to connect the flash/debug JLink to see the boards works on that - I would not be able to do more.
And I really think the next step must be do partially the schematic, as motor controller firmware can not be develop without knowing the connections from the microcontroller to the hardware. It needs someone motivated and with time to do that, using the boards, the pictures and a multimeter.
@Tomblarom You can send it all to @casainho I think thats the most tactical approach atm.
@casainho do you want me to send the Higo cables + Innomaker HW with it? I definitely need them + M600 controller (working!) back, at some point.
For the development, all that components will most for sure be destroyed.
I think you can get the most from the broken M500, without destroying the M600. Do it if you really have to, but I'd be happy to get it back. - Can you at least answer the main question, I asked? I even posted a picture??
As I got no feedback, I only provide the broken M500 and M620, since I have no guarantee to get my freely provided hardware back.
@casainho you should’ve respondes on this.
Sorry, I am being riding for some days, away from computer.
If there are special controllers and with special firmwares that are sold for 1000 euros, then I think this project can be a BIG problem for that companies.
I understand that development tools are expensive, but there is not other way. And it is very expensive for one person only donate a complete part like a motor or a bicycle. I think the best could be probably asking donations in money, so everyone could done a small part. In fact someone did that, collected the money and bought me the TSDZ2 V2 motor controllers and a motor.
About this project, I would really need a motor and an ebike with it, so, I should stop dreaming with this as I have no space at home for more bicycles. Maybe next year? Anyway, with the controller only, I can give a look.
Lets keep this on-topic from now on. Please create new issues for new subjects (like sending hardware and such).
@Tomblarom I'll do some restructuring this week and close this ticket once done. I think that solves you issues :)
I've hidden the whole off-topic discussion about sending hardware. As it has nothing to do with the subject of this ticket and is also mostly resolved by now :)
One last off-topic: I sent out the parcel, recently. ;)
added the pictures, added more info and reorganised the hardware section as requested.
Having a folder, called img is very generic. I have pictures of a M500 and M600 controller version and wanted to commit them, but I won't just throw it into that folder. I'd suggest adapting the structure like this:
In my opinion it's important to trace the hardware changes through the different PCB revisions! We can't assume M500 2018 = M500 2021.