This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hstarwiki:cust:gen:chip [2016-11-21 T 19:26] admin [GPIO on CHIP] |
hstarwiki:cust:gen:chip [2017-03-07 T 23:59] (current) admin |
||
---|---|---|---|
Line 8: | Line 8: | ||
* http:// | * http:// | ||
- | ==Default login== | + | ==Usuefull tools on known system== |
- | User: root p:chip | + | * Debian based but own system |
+ | * uses systemd | ||
+ | |||
+ | |||
+ | ====== Chip via tty ====== | ||
+ | Pin out: | ||
+ | * Black (Blue) to grnd | ||
+ | * White to Tx | ||
+ | * Green to Rx | ||
+ | Command: | ||
+ | * $dmesg | grep tty | ||
+ | * find tty dev name, like / | ||
+ | * $picocom -d 115200 / | ||
+ | Default login | ||
+ | * User: root | ||
+ | * p:chip | ||
+ | Basic Wifi setup: | ||
+ | * sudo nmcli device wifi connect '(your wifi network name/ | ||
+ | |||
+ | |||
+ | tty info: | ||
+ | * Baud Rate (Data Rate): 115200 | ||
+ | * Data Bits: 8 | ||
+ | * Parity: none | ||
+ | * Stop bits: 1 | ||
+ | * Flow control: none | ||
======GPIO on CHIP====== | ======GPIO on CHIP====== | ||
- | Relaxing Natural Bug bot | + | ====Relaxing Natural Bug bot==== |
Steps: | Steps: | ||
* Testing and documenting should be done at each step | * Testing and documenting should be done at each step | ||
Line 26: | Line 51: | ||
* Understand how to get more power | * Understand how to get more power | ||
* Writing Scripts in Python | * Writing Scripts in Python | ||
+ | * Understand GPIO python libraries : | ||
* Testing with other items such as: | * Testing with other items such as: | ||
* Motor | * Motor | ||
Line 34: | Line 60: | ||
* gyro | * gyro | ||
* wall sensor | * wall sensor | ||
+ | * gps | ||
+ | * wireless rx and tx | ||
+ | * Enclosure | ||
+ | * Natural surface | ||
+ | * Walking (I do not want rolling) | ||
Line 72: | Line 103: | ||
===Setting out=== | ===Setting out=== | ||
- | * sudo sh -c 'echo out > / | + | * $sudo sh -c 'echo out > / |
===assigning valule=== | ===assigning valule=== | ||
You can assign a value to the | You can assign a value to the | ||
- | 2016-11-21 | + | ===Cleanup=== |
- | * Followed most of tuturial and could get LED on, but it was not very bright | + | When you are done you should cleanup your pins so they are not in or out |
+ | * $sudo sh -c 'echo 415 > / |