Rihards Skuja
cdaaf8719b
Remove checks for mobile node status (on/ off)
2018-01-22 21:21:47 +02:00
Rihards Skuja
e19351ab91
Fix typo
2018-01-22 14:31:32 +02:00
Rihards Skuja
a843375c7e
Fix Fast PWM output for servos
2018-01-22 13:01:37 +02:00
Rihards Skuja
363e2bfade
Set correct prescaler
2018-01-21 20:29:39 +02:00
Rihards Skuja
b3ce179b66
Clear base station signal LEDs if node is offline
2018-01-21 20:27:37 +02:00
Rihards Skuja
1322a84c35
Fix indentation
2018-01-21 19:27:15 +02:00
Rihards Skuja
88751a91d5
Move MAC adress to common include header
2018-01-21 19:08:38 +02:00
Rihards Skuja
d0e9806d2b
Clean up Makefile includes
2018-01-21 13:54:20 +02:00
Rihards Skuja
dcca42d597
Enable compile optimization flags for lib
2018-01-20 23:42:11 +02:00
rhssk
49f738ace7
Create LICENSE
2018-01-20 21:39:07 +00:00
rhssk
13bb961c15
Delete LICENSE
2018-01-20 21:38:14 +00:00
Rihards Skuja
5f346c2116
Update README
2018-01-20 23:11:40 +02:00
Rihards Skuja
d868c08df3
Merge branch 'misc'
2018-01-20 22:58:24 +02:00
Rihards Skuja
028d844272
Include common lib in base Makefile
2018-01-20 22:57:28 +02:00
rhssk
f51e7e8570
Merge pull request #8 from rhssk/misc
...
Fix code duplication between both code bases
2018-01-20 20:55:26 +00:00
Rihards Skuja
0d28903b2c
Fix code duplication between both code bases
...
Both the robot and the base station had a lot of code that was
identical, like data structs, constants, radio library etc. The chosen
solution was to extract all shared code into a static library and link
the station and robot against it.
2018-01-20 22:51:44 +02:00
Rihards Skuja
cfbee51ff1
Additional Makefile cleanup
2018-01-20 22:42:13 +02:00
Rihards Skuja
2047a07c0a
Clean up Makefile
2018-01-20 22:19:28 +02:00
Rihards Skuja
ea087e182d
Send all sensor values from robot to base
2018-01-20 20:43:41 +02:00
Rihards Skuja
4ea41527f1
Use base staion LED to show found obstacles
...
Transmit 'true' from robot to base station if robot sonar distance is
below a set threshold and then turn on ('true' received) or off ('false' received)
base station's signal LED.
2018-01-20 18:47:50 +02:00
Rihards Skuja
92c3842ca9
Restore accidentally deleted code in 4e61155
2018-01-19 20:06:26 +02:00
Rihards Skuja
6c94180d77
Ignore build files and objects
2018-01-19 18:19:24 +02:00
Rihards Skuja
4e6115560c
Add initial code for the base station
2018-01-19 18:13:16 +02:00
Rihards Skuja
a897a71eac
Simplify sonar usage
2018-01-17 23:14:16 +02:00
Rihards Skuja
a23fa2ca9f
Add missing parantheses
2018-01-17 21:53:50 +02:00
Rihards Skuja
f1981eb27b
Don't verify written data and be more verbose (avrdude)
2018-01-17 17:54:59 +02:00
Rihards Skuja
2d74be29e9
Use external 16MHz crystal
2018-01-17 17:54:17 +02:00
Rihards Skuja
a48b71620f
Port naming, turn on both LEDs on startup
2018-01-09 20:17:50 +02:00
Rihards Skuja
4a4d6e19de
Fix debug port names for PWM
2018-01-09 20:16:51 +02:00
Rihards Skuja
60aedbc945
Move sonar init function to main
2018-01-04 14:20:41 +02:00
Rihards Skuja
98e9ccf3dd
Update nrf24 pins
2018-01-03 20:27:35 +02:00
Rihards Skuja
4f2b6d242a
Fine-tune data types, optimize while loops
2018-01-02 19:32:11 +02:00
Rihards Skuja
b74f68994d
Improve bit manipulation macros
2018-01-02 19:14:50 +02:00
Rihards Skuja
c21e086460
More warnings for debug builds
2018-01-02 19:14:30 +02:00
Rihards Skuja
404df4289d
Clean up unused macros
2018-01-02 18:18:46 +02:00
Rihards Skuja
8104fbbad0
Fix return value signedness
2018-01-02 14:46:33 +02:00
Rihards Skuja
9d0bb921b3
Don't show warnings for release builds
2018-01-02 14:33:15 +02:00
Rihards Skuja
446f85b05a
Merge branch 'master' into radio
2018-01-02 14:31:14 +02:00
Rihards Skuja
78a8b62142
Fix wrong header name in main.c
2018-01-02 14:22:26 +02:00
Rihards Skuja
e6ec28b04c
Use predefined bit manipulation macros
2018-01-02 14:18:30 +02:00
Rihards Skuja
b7458e4bd3
Rename temperature headers/sources
2018-01-02 14:10:10 +02:00
Rihards Skuja
f04723704e
Split LED functionality in seperate headers/sources
2018-01-02 14:08:13 +02:00
Rihards Skuja
3fc7ad4c8d
Split servo functionality in seperate headers/sources
2018-01-02 14:02:42 +02:00
Rihards Skuja
3dcbbfe205
Read distance from HC-SR04 ultrasonic sensor
2018-01-02 13:46:54 +02:00
Rihards Skuja
7e2007a0ba
Split common macros in seperate header
2018-01-02 13:46:11 +02:00
Rihards Skuja
e96258cdb8
Use OCR0x to generate PWM for servo motors
2017-12-30 22:49:18 +02:00
Rihards Skuja
ddf696e1da
New pin definitions
2017-12-30 22:48:10 +02:00
Rihards Skuja
153bf288b8
Add nrf24L01+ library
2017-12-18 21:00:04 +02:00
Rihards Skuja
40b00749e1
Merge branch 'master' into radio
2017-12-18 19:47:18 +02:00
Rihards Skuja
58ef339d71
Set correct port for LED
2017-12-18 19:46:10 +02:00