MetalWorkerTools / grbl-L-Mega

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on an Arduino Mega2560. Forked from GRBL modified for use on a lathe with spindle sync threading
https://github.com/MetalWorkerTools/grbl-L-Mega/wiki
Other
16 stars 9 forks source link

My Bluetooth is not working with my ramps 1.4 #8

Open xAdhamx opened 7 months ago

xAdhamx commented 7 months ago

i took a code from chatgpt for my bluetooth and when i UPLOAD it keeps uploading then it gives me errors :- avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer تعذر الرفع: خطا اثناء الرفع exit status 1avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer تعذر الرفع: خطا اثناء الرفع exit status 1i took a code from chatgpt for my bluetooth and when i UPLOAD it keeps uploading then it gives me errors :- avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer تعذر الرفع: خطا اثناء الرفع exit status 1avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer تعذر الرفع: خطا اثناء الرفع exit status 1 a1f0fcda-dfcb-4a28-9b4a-a18e6c35a5fa

HuubBuis commented 7 months ago

The flashing of the HCxx board is not influenced by the code you are uploading.

I have used these HCxx boards with succes for a long time. Checkout ESP8266Station You may have swapped the TX<=>RX connection. It depends on how you setup your board. In the link you find an example for connecting them to D2 (TxD) and D3 (RxD) In the past I made my own level converter boards but now I buy these kind of boards.

HuubBuis commented 7 months ago

Here you find a complete instruction to setup ramps and connecting to bluetooth