Unfortunately PWM control does not work on the L298N unless you use a voltage higher than 5v
I believe you're right... the L298N in my Chester robot had 2 18650 cells... seemed to work fine with PWM.
I'm also having an issue with bluetooth: the HC-05 connects, but does not receive or transmit data evn though the connections are correct.
If you know how to fix this, please tell me.
I don't use bluetooth, and you rejected my earlier suggestion to going to WiFi. If you look at any of my vids on this forum,
I punt all Arduinos, use either a WeMos or NodeMCU ESP8266 which includes the WiFi built-in and host a website on the bot that serves up the R/C page on any device... PC, tablet, phone to control the bots.
3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide
3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide
@inq A lot less if walls etc are in between.
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting