Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiki: Topic to discuss the Wiki #56

Open
reed-dan opened this issue Jan 25, 2024 · 102 comments
Open

Wiki: Topic to discuss the Wiki #56

reed-dan opened this issue Jan 25, 2024 · 102 comments

Comments

@reed-dan
Copy link

@RoboDurden @AILIFE4798

Just wanted to create an area were we can discuss progress wiki.

@reed-dan
Copy link
Author

I am trying to organize things by MCU type and then board layouts.

I personally don't really like the github wiki markup, and would much rather it be basic html or something. I will give it some time though.

@AILIFE4798
Copy link

move all the board away from readme to wiki because its getting too long

@AILIFE4798
Copy link

i will deal with the esp32 and esp8266 later
the serial have to be added later because again no hardware on me the 2.6.1 is not around

@reed-dan
Copy link
Author

@RoboDurden What MCU is on?
2.1
2.6 GD32F130C6T6?
2.9 Can you confirm GD32F103C6T6 or GD32F103C8T6, I believe it is labeled wrong?

@reed-dan
Copy link
Author

Just added information about setting up Keil and the Blink sketch for 2.8 to its wiki. It needs some formatting help, but it outlines the blink issue I am experiencing.

@RoboDurden
Copy link
Owner

My Gen2.x is a fork from Gen2.1 = https://github.com/krisstakos/Hoverboard-Firmware-Hack-Gen2.1
grafik
= GD32F130C6T6 = 32kB , 48 pin.

2.6.0 = GD32F130 ????
grafik

2.6.1 =GD32F130C6T6
grafik

2.9 = GD32F103C6T6
GD32F103C6T6

But i also only looked at the images in the Schematics... folders.

Yes i also would like an interactive search where you select gateDriverChips/analogGateDrivers and then 32pin/48pin and then GD/MM/STM/LKS and then C6/C8 while the list of images decreases..

Would be easy for me to do in javascript. But i am not sure if html is possible on github.

And this is not high up on my todo list. People will have to spend several days on their hoverboard projects. It is okay for them to spend two minutes on our impressive list of supported boards :-)

@AILIFE4798
Copy link

Serial flashing toturial is not coming anytime soon because no board with me again I think I'll have to wait for my other c8t6 boards
And the serial method is only for gd32 and mm32
lks32 does not have bootloader so if SWD is disabled that chip is trashed you cannot reprogram it under any circumstances

@RoboDurden
Copy link
Owner

@AILIFE4798 Don't you have online second hand sites in your country ?
Here in the Western so called democracies which in truth are nothing but Postcolonial Fascist Dictatorships of Decadency ( PFDD, www.RoboDurden.de ) you can easily buy used hoverboards for $30 incl. shipping.

Maybe try Ruten 露天, Shopee 蝦皮 , Yahoo! Auctions or Facebook marketplace. If you don't have paypal, a seller might accept Paypal :-)

@AILIFE4798
Copy link

hoverboard is too long to be shiped if the seller didnt take it apart and split it in half first but trust me ive tried didnt find any good ones thats close by so i can pick it up my self
actually needed 2 more for my project so i def wanted some more

@AILIFE4798
Copy link

and ill go make esp8266 flash wiki now

@AILIFE4798
Copy link

I am trying to organize things by MCU type and then board layouts.

I personally don't really like the github wiki markup, and would much rather it be basic html or something. I will give it some time though.

idk how to use markup either so i will not have any formatting

@AILIFE4798
Copy link

@reed-dan the esp8266 daplink wiki is complete please read it and try it your self

@AILIFE4798
Copy link

I personally don't really like the github wiki markup, and would much rather it be basic html or something. I will give it some time though.

if you want to make better wiki with html i can host it on my server and other people will not be able to edit it

@AILIFE4798
Copy link

@RoboDurden please move all board layout from readme to wiki with this example

@AILIFE4798
Copy link

@RoboDurden autodetect guide finished please edit it because only you know what it exactly does

@RoboDurden
Copy link
Owner

RoboDurden commented Jan 27, 2024

@RoboDurden please move all board layout from readme to wiki with this example

As i said, I do want to keep the large list of known boards on the readme to give hope to new users that their board is one of them.

I think, the wiki only needs special information not the full pin definitions..

But adding all the photos from the schematics folders might be a good idea.

I now live outdoors again. -5°C this night.

meine Welt

@AILIFE4798
Copy link

Because readme is only one page at current rate the known board will grow to none senseable level very quickly
It is better to move everything in readme to wiki
And in first line of readme put a link to wiki
And yes when you have a page for each board then you can include all photo in the end of page

@RoboDurden
Copy link
Owner

@AILIFE4798 , all this here will not save the world.
And every 3.6 seconds a human dies from hunger.
The Western so called democracy are responsible for over 1,100,000,000 deaths in Africa since 1955.

If you waste your time on unnecessary things, you are an evil man !

@reed-dan
Copy link
Author

I made some improvements to the side menu to make the MCUs collapsible. I think this collapse feature may be nice on some of the other pages as well.

@AILIFE4798
Copy link

AILIFE4798 commented Jan 28, 2024

Home page of wiki looks nice

@RoboDurden
Copy link
Owner

yes, home page of wiki does look nice.
I guess i will remove the many images from readme and put a big link to the new wiki instead.

@AILIFE4798
Copy link

Idk why 2.1,2.6.0,2.17,2.18 is not supported tho

@RoboDurden
Copy link
Owner

2.1 has never been tested, that why I only offer a test binary. It should work as the gen2.x is a fork of 2.1. but no one ever tested it.
Same for 2.6.0. there might be more differences than the buzzer.

@reed-dan
Copy link
Author

When I was making the list, I knew I would wont to make a category for mcu that should work pending autodetect.

@RoboDurden I thought you had said somewhere that you wanted to keep track of one other piece of information along with the mcu for each layout, what was that? It was one of the other chips I believe.

@AILIFE4798
Copy link

there is only 4 chips on the board
the mcu, the imu(not used so not this),the gate driver ic, the opamp and maybe some buck regulator ic and bluetooth ic
dont think theres any worth documenting

@AILIFE4798
Copy link

is there anything need to be added to wiki other then serial which ill need to test first

@RoboDurden
Copy link
Owner

Well I did propose the wiki so that you could summarize the progress you have made concerning the mm32.
And then start a fresh 2.8 issue that only builds on knowledge from the wiki.
If you like to build a complete wiki then you might want to copy everything from the readme to wiki pages.

@AILIFE4798
Copy link

idk why a new issue is needed but i created it anyways
most part of readme is in wiki now except the board list is still not complete but i think @reed-dan is working on it

@RoboDurden
Copy link
Owner

RoboDurden commented Jan 29, 2024

i had a quick search on how to add javascript to github pages, and it seems this can only be done on github.io: https://robodurden.github.io/
But i do not want to spread information on yet another url.

The interactive search could be done with multiple drop down lists :-/
1 First dropdown: analog gate drirvers or gate driver chips.
2. dropdown 32pin/48pin
3. GD/MM/STM/LKS
4. C6/C8

And each dropdown would need little images to show the user where to look on the pcb.

But then the user would only see board images after he has choosen all the four drop down lists.

I would prefer that new users see the full (impressive) list like in read.me and then can click on the four filters to reduce the number of images.

But this requires javascript.

And again, i think the Issues should be the place where we communicate and work.
And the wiki only the place where found knowledge is stored so new users do not need to read lengthy issues.

@AILIFE4798
Copy link

i can tell you that i suceeded with flashing by serial wiki will be in few hours

@AILIFE4798
Copy link

you should use the 3.3v from stlink and not use battery
this is gen2 not gen1

@AILIFE4798
Copy link

idk why gen1 say to use battery it is very weird but anyways if it works it is how it is

@GRROWL911
Copy link

Notes for MM32SPIN TaoTao 2132 Gen2.4.4
Master/Slave Pins/Settings:

Master
Green LED D2
Red LED D3
Blue LED A11
Head Light LED B10
Tail Light LED A13
JD3 A12 Unconnected next to Tail Light
JD4 A14 Unconnected next to JD3
Latch Pin B2
Button Pin B9
Itotal B0 ADC Channel 8
B+ B1 ADC Channel 9
Hall A C15
Hall B C14
Hall C C13
G1 B13
G2 A8
G3 B14
G4 A9
G5 B15
G6 A10
Rx B4 GPIO_AF_3
Tx B6 GPIO_AF_0

  • interrupt 3/4

Slave
Green LED D2
Red LED D3
Blue LED A11
Head Light LED B10
Tail Light LED A13
JD3 A12 Unconnected next to Tail Light
JD4 A14 Unconnected next to JD3
Itotal B0 ADC Channel 8
B+ B1 ADC Channel 9
Hall A C15
Hall B C14
Hall C C13
G1 B13
G2 A8
G3 B14
G4 A9
G5 B15
G6 A10
Rx B4 GPIO_AF_3
Tx B6 GPIO_AF_0

  • interrupt 3/4
    Rx2 B8 GPIO_AF_4
    Tx2 B7 GPIO_AF_4
  • interrupt 4/5
    Buzzer B9

WINDINGS 90
MCUVCC 3300
Voltage divider 31:1
VBAT_DIVIDER 0.025
ITOTAL_DIVIDER 0.2014160156

@GRROWL911
Copy link

GRROWL911 commented Feb 21, 2024 via email

@AILIFE4798
Copy link

@RoboDurden how can I unlock and erase flash and upload bin file to stm32f103 with only keil

@RoboDurden
Copy link
Owner

RoboDurden commented Mar 10, 2024

I did not think that this is a bigger problem then uploading a gd32f130.
If unlocking is a problem l, then st-link-utillity should do this.

Or the question you asked is about uploading a bin file. No f7 F8 ?

@AILIFE4798
Copy link

I cannot use stlink utilities
I don't have a stlink I have to use esp32
And esp32 pyocd is still not fixed so I can only use keil

@AILIFE4798
Copy link

And my file is not written in keil I only have bin file no keil project file

@RoboDurden
Copy link
Owner

No Windows ?
I can not help you with Linux.

Maybe compile another stm32f103 Keil project with F7, replace the bin file and then hit F8.

@AILIFE4798
Copy link

Idk what this have to do with Linux
I'll try the replace bin trick
But how to unlock flash
Without using stlink v2

@RoboDurden
Copy link
Owner

I thought that you by now are the expert when it comes to unlocking and unusual targets.

@AILIFE4798
Copy link

Only when I have a proper debug probe to work with

@AILIFE4798
Copy link

I still have the choice to flash with serial so it's not gonna be the end of the world

@hiliving
Copy link

@RoboDurden @AILIFE4798 I'm very sorry to bother you again. I have successfully flashed 2.1.1-dummy.bin, and the board rotates forward and then backward in a loop. I'm a bit confused, and I want to control both boards through Arduino Uno's PWM or serial control. However, I tried testSpeed.ino and Test_4Wheeler.ino in the Arduino folder, and there was no response after default execution. I checked the control section in the wiki, but I still don't quite understand. Can you explain in detail what I should do.

@RoboDurden
Copy link
Owner

I can not really help you because I never know what you do or have already done.
There is a simple logic behind RemoteXy. If you do not get it, you are in your own.
Sorry.

@AILIFE4798
Copy link

@RoboDurden @AILIFE4798 I'm very sorry to bother you again. I have successfully flashed 2.1.1-dummy.bin, and the board rotates forward and then backward in a loop. I'm a bit confused, and I want to control both boards through Arduino Uno's PWM or serial control. However, I tried testSpeed.ino and Test_4Wheeler.ino in the Arduino folder, and there was no response after default execution. I checked the control section in the wiki, but I still don't quite understand. Can you explain in detail what I should do.

you need to flash remote uartbus and not remote dummy

@AILIFE4798
Copy link

and you should use this latest and greatest program for control,the arduino code in this repo is outdated
https://github.com/reed-dan/hoverboard_hack_esp32_manualspeed/tree/beta

@AILIFE4798
Copy link

the control section in wiki is not written by me but it looked ok should be understandable

@hiliving
Copy link

@RoboDurden @AILIFE4798 I'm very sorry to bother you again. I have successfully flashed 2.1.1-dummy.bin, and the board rotates forward and then backward in a loop. I'm a bit confused, and I want to control both boards through Arduino Uno's PWM or serial control. However, I tried testSpeed.ino and Test_4Wheeler.ino in the Arduino folder, and there was no response after default execution. I checked the control section in the wiki, but I still don't quite understand. Can you explain in detail what I should do.

you need to flash remote uartbus and not remote dummy

image
What are the differences between these few and which one should I use

@AILIFE4798
Copy link

AILIFE4798 commented Mar 22, 2024

if you want to for example flash 2 boards and control them independently you need to flash firmware with different id
like for example id 0 on maser and id 1 on slave
if you want to use advanced controller i sent before do not use master uart

@hiliving
Copy link

hiliving commented Mar 22, 2024

the control section in wiki is not written by me but it looked ok should be understandable
image

My board has a remote pin, such as GND T R 5V in the picture, which I use to connect to GND 8 9 5V on Arduino uno. Is this correct, or should I use the 4.3V TX RX GND from the UART plug to connect to Arduino uno?

@AILIFE4798
Copy link

i do not know the firmware is not compiled by me
and you can not use arduino uno it only have 1 serial

@hiliving
Copy link

@AILIFE4798 Okay, thank you very much for your answer. I'm not very familiar with electronic hardware, maybe I should learn more about these first

@AILIFE4798
Copy link

you can compile firmware your self

@hiliving
Copy link

hiliving commented Mar 25, 2024

you can compile firmware your self
Yes, I can successfully compile 2.1.1-dummy.bin, but it can only be turned on and cannot be turned off. This is different from what the author compiled. Apart from modifying the 43rd line in config. h, do I need to modify any other parameters

@hiliving
Copy link

@hiliving discord.gg/dvrKS9uyV7
The link has expired or do not have permission to join

@AILIFE4798
Copy link

@hiliving please reply anything when you are watching i will send new link

@hiliving
Copy link

@AILIFE4798 ok, thx

@hiliving
Copy link

@hiliving discord.gg/W7ngFwaBDP
thx,When you gave me the link for an hour, I clicked on it and still couldn't join, I don't know why,But it's okay,I have carefully read the code and found the modification method, which has been resolved.

@AILIFE4798
Copy link

i have set all the links to never expire and for unlimited use idk why you have issue using it
maybe try using another vpn server would help
anyways if further help is needed im always available there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants