https://github.com/vitberget/robotlabb
Sumorobot Labb
https://github.com/vitberget/robotlabb
Last synced: about 1 month ago
JSON representation
Sumorobot Labb
- Host: GitHub
- URL: https://github.com/vitberget/robotlabb
- Owner: vitberget
- Created: 2016-12-07T17:15:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-22T17:36:47.000Z (about 8 years ago)
- Last Synced: 2025-03-06T01:41:56.607Z (over 1 year ago)
- Language: C++
- Size: 93.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Robotlabb
Sumorobot Labb
## Utvecklingsmiljö
### Atom + PlatformIO
* Installera atom https://atom.io/.
* Installera plugin platformio-ide https://github.com/platformio/platformio-atom-ide
* Kör atom i ett projekt.
cd targetting_robot
atom .
### Arduino IDE
Hämta Arduino IDE genom nedladdningslänk: https://www.arduino.cc/download_handler.php?f=/arduino-1.8.2-linux64.tar.xz.
tar xvfJ arduino-1.8.2-linux64.tar.xz
cd arduino-1.8.2
./install.sh
#### Teensy Linux
wget https://www.pjrc.com/teensy/td_136/TeensyduinoInstall.linux64
wget https://www.pjrc.com/teensy/49-teensy.rules
sudo cp 49-teensy.rules /etc/udev/rules.d/
chmod 755 TeensyduinoInstall.linux64
./TeensyduinoInstall.linux64
### Möjliggör bygge från kommandoraden
Från http://hardwarefun.com/tutorials/compiling-arduino-sketches-using-makefile
git clone https://github.com/sudar/Arduino-Makefile
sudo apt-get install libdevice-serialport-perl
sudo apt-get install libyaml-perl
Lägg in i `~/.bashrc`:
bexport ARDUINO_DIR=`cd ~/dev/arduino-1.8.2; pwd`
export ARDMK_DIR=`cd ~/dev/Arduino-Makefile; pwd`
export AVR_TOOLS_DIR=`cd ~/dev/arduino-1.8.2/hardware/tools/avr; pwd`
### Emacs
Addera melpa arkivet:
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
Installera arduino-mode från melpa.
Använd normala byggkommandon (`M-x compile`) för att bygga från den Makefile som ligger i projektet.
## Hårdvara
+---------------------------------------------------------------------------+
| A 1..7 B |
| 2..8 1234 |
| 3..9 .... |
| 4..10 |
| 5..11 |
| 6..12 |
| ................ |
| . . |
| . TeensyLC . |
| ................ |
| |
| C ... |
| 1234 . . Knapp |
| ......... .... ... |
| . . |
| .Drivare. |
| ......... |
| |
| |
| |
| .. Lysdiod |
| .. |
| |
| |
+---------------------------------------------------------------------------+
A1 + avståndssensor H Vcc
A2 + avståndssensor V Vcc
A3 + linjesensor H Vcc (OBS! vit)
A4 + linjesensor V Vcc (OBS! vit)
A5 +
A6 +
A7 - avståndssensor H GND
A8 - avståndssensor V GND
A9 - linjesensor H GND (OBS! röd)
A10- linjesensor V GND (OBS! röd)
A11-
A12-
B1 linjesensor V out (OBS! svart)
B2 linjesensor H out (OBS! svart)
B3 avstånd V out
B4 avstånd H out
C1
C2
C3
C4
## Links
* https://github.com/sparkfun/SparkFun_TeensyView_Arduino_Library