-
Notifications
You must be signed in to change notification settings - Fork 0
/
Arduino Resources.txt
32 lines (22 loc) · 1.55 KB
/
Arduino Resources.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
VictorSP and analog write glitch solved
https://forum.arduino.cc/index.php?topic=9543.0
- analogwrite does not take in anything above 234 on victorsp
Bluetooth Connection
https://create.arduino.cc/projecthub/mayooghgirish/arduino-bluetooth-basic-tutorial-d8b737
https://howtomechatronics.com/tutorials/arduino/arduino-and-hc-05-bluetooth-module-tutorial/
Android App for Arduino
https://howtomechatronics.com/tutorials/arduino/how-to-build-custom-android-app-for-your-arduino-project-using-mit-app-inventor/
- the app uses MIT APP INVENTOR(.aia), and the sample project is in the repo
- just build the app when you have logged in
Arduino uses the .ino format, and a sample project is in the repo
When using the Serial read, wait for the console, it may take a while to show up
Use softwareserial along with serial to actually READ the value, it is not just serial.read or softwareserial.read
- look in btserialreadtest in the repo
SOME ARDUINOS MAY NOT FUNCTION WITH BLUETOOTH, find the one that works, there is a box that says bt issue, do not use that one
HC05
- constant blinking means it is ready to go
- slow blinking means it is already paired and connected to a device
- DISCONNECT THE TX/RX WIRES FROM ARDUINO WHEN UPLOADING CODE, it will say port in use
HC05 only takes in one byte at a time, difficult to set motors to something that only have 1 byte of data
With a person on the bot, sufficient power is needed to be sent to the bot for it to move
Use linear interpolation to smooth out motor set on the VICTORSPs, otherwise going from max speed to 0 takes too much power