This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
working_with_arietta [2021/09/16 15:30] zwmm |
working_with_arietta [2022/02/12 22:48] (current) zwmm |
||
---|---|---|---|
Line 1: | Line 1: | ||
To expand the filesystem, if you installed a small-ish image, use | To expand the filesystem, if you installed a small-ish image, use | ||
- | '' | + | '' |
- | sudo resize2fs / | + | |
+ | '' | ||
Reference on Acmesystem' | Reference on Acmesystem' | ||
+ | ---- | ||
+ | '' | ||
+ | to speed up the console baud rate | ||
---- | ---- | ||
Booting from the out-of-the-box SD card brings up the wifi in access point mode, at IP address 192.168.4.1. | Booting from the out-of-the-box SD card brings up the wifi in access point mode, at IP address 192.168.4.1. | ||
- | To change the wifi connection to your LAN wifi, try putting | + | To change the wifi connection to be on your LAN wifi, try these two commands: |
- | + | ||
- | '' | + | |
'' | '' | ||
Line 16: | Line 18: | ||
'' | '' | ||
- | '' | ||
- | |||
- | then | ||
- | bash set_wifi | ||
| | ||
- | This might need to be done from a connected serial port terminal session. | + | This has to be done from a connected serial port terminal session, since the first command drops the network. |
+ | |||
+ | ---- | ||
+ | Change the hostname! | ||
+ | ---- | ||
+ | Check wifi signal strength with: | ||
+ | '' | ||
+ | |||
+ | This device is good for experimenting with long distance wi-fi: it has an RP-SMA(?) external antenna connector in addition to its PCB antenna. Here's a quick demonstration of the additional gain from my rough prototype of a 15 element Yagi antenna: | ||
+ | < | ||
+ | signal: -57 dBm | ||
+ | signal: -59 dBm | ||
+ | signal: -55 dBm | ||
+ | signal: -57 dBm | ||
+ | signal: -55 dBm | ||
+ | signal: -55 dBm | ||
+ | signal: -53 dBm | ||
+ | signal: -49 dBm | ||
+ | signal: -51 dBm <-- switched to Yagi antenna | ||
+ | signal: -59 dBm | ||
+ | signal: -53 dBm | ||
+ | signal: -39 dBm | ||
+ | signal: -37 dBm | ||
+ | signal: -37 dBm | ||
+ | signal: -37 dBm | ||
+ | signal: -35 dBm | ||
+ | signal: -37 dBm | ||
+ | </ | ||
+ | {{ :yagi.jpeg |}} | ||
+ | ---- | ||
+ | I upgraded to Debian Buster, added a couple of useful apps, and disabled some startup things from the original set up. Archive in tgz format of the /boot and "/" | ||
+ | To use it: | ||
+ | * mount the SD card on another computer | ||
+ | * delete everything in both partitions or reformat (partition 1 is DOS format, at least 125 MB; partition 2 ext4, at least 3 GB) | ||
+ | * mount the SD card | ||
+ | * dearchive the root file system contents into the second partition //as root// (to ensure permissions get used), e.g.: | ||
+ | * '' | ||
+ | * repeat for boot | ||
+ | * '' | ||
+ | * run '' | ||
+ | * umount the two partitions | ||
+ | * insert SD card into Arietta, and power it up! | ||
+ | |||
+ | ---- | ||
+ | |||
+ | porting Adafruit I2C library | ||
+ | |||
+ | < | ||
+ | acme@HEX-7E44: | ||
+ | 22a23 | ||
+ | > import os | ||
+ | 28a30 | ||
+ | > ARIETTA | ||
+ | 36a39,41 | ||
+ | > | ||
+ | > if os.uname()[4] in (' | ||
+ | > | ||
+ | </ | ||
+ | |||
+ | and | ||
+ | |||
+ | < | ||
+ | acme@HEX-7E44: | ||
+ | 53a54,56 | ||
+ | > elif plat == Platform.ARIETTA: | ||
+ | > # Acmesystems Arietta can have multiple I2C buses, default to 0 (pin 12 SCL0 and pin 14 SDA0) | ||
+ | > | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | The are **three** I2C ports available on the Arietta. Their pinout is described at the [[https:// | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||