Compare commits
3 Commits
e5b8899488
...
582e2d4a16
| Author | SHA1 | Date | |
|---|---|---|---|
| 582e2d4a16 | |||
| 33914344ff | |||
| a743e06b9b |
@@ -8,6 +8,7 @@ Scripts and documentation for setting up a Raspberry Pi (Zero W 1 or 2) for use
|
|||||||
1. [Solder the GPIO header pins](solder-gpio.md)
|
1. [Solder the GPIO header pins](solder-gpio.md)
|
||||||
1. [Gadget Mode to setup a serial connection over USB](gadget.md)
|
1. [Gadget Mode to setup a serial connection over USB](gadget.md)
|
||||||
1. [Marcel's script on github to show the IP address on the OLED screen](https://github.com/mkyas/cpsy-display-ip)
|
1. [Marcel's script on github to show the IP address on the OLED screen](https://github.com/mkyas/cpsy-display-ip)
|
||||||
|
1. Install Blinka by following the guide [CircuitPython Libraries on Linux and Raspberry Pi](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/installing-circuitpython-on-raspberry-pi)]
|
||||||
|
|
||||||
## RU student-only guides at ROB-IOT
|
## RU student-only guides at ROB-IOT
|
||||||
- [Starting on Raspberry Pi Zero](https://reykjavik.instructure.com/courses/6589/pages/starting-on-raspberry-pi-zero-w)
|
- [Starting on Raspberry Pi Zero](https://reykjavik.instructure.com/courses/6589/pages/starting-on-raspberry-pi-zero-w)
|
||||||
@@ -30,6 +31,7 @@ Scripts and documentation for setting up a Raspberry Pi (Zero W 1 or 2) for use
|
|||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
- Finding the Pi using `nmap` or `arp`
|
- Finding the Pi using `nmap` or `arp`
|
||||||
|
- Create a interface HAT that makes it easy to attach to a digital analyzer (v207) and an Analog Discovery
|
||||||
# Some Tricks
|
# Some Tricks
|
||||||
|
|
||||||
Here is a page of tricks we have discovered that may involve advanced techniques.
|
Here is a page of tricks we have discovered that may involve advanced techniques.
|
||||||
|
|||||||
@@ -4,15 +4,20 @@ The Raspberry Pi zero (1 and 2) have 2 PWM peripherals, allowing you to pulse pi
|
|||||||
|
|
||||||
|
|
||||||
# References
|
# References
|
||||||
|
- [CircuitPython Libraries on Linux and Raspberry Pi](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/installing-circuitpython-on-raspberry-pi)
|
||||||
- [Raspberry Pi Official Overlays information (github)](https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README)
|
- [Raspberry Pi Official Overlays information (github)](https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README)
|
||||||
- Line 4235 starts the description of the "pwm" overlay configuration
|
- Line 4235 starts the description of the "pwm" overlay configuration
|
||||||
- [Adding Basic Audio Ouput to Raspberry Pi Zero](https://learn.adafruit.com/adding-basic-audio-ouput-to-raspberry-pi-zero/pi-zero-pwm-audio)
|
- [Adding Basic Audio Ouput to Raspberry Pi Zero](https://learn.adafruit.com/adding-basic-audio-ouput-to-raspberry-pi-zero/pi-zero-pwm-audio)
|
||||||
|
- [CircuitPython pwmio documentation](https://docs.circuitpython.org/en/latest/shared-bindings/pwmio/index.html)
|
||||||
|
|
||||||
|
|
||||||
# Important Points
|
# Important Points
|
||||||
1. The `gpio` program is no longer available. It has been replaced with `pinctrl` which works a little differently.
|
1. The `gpio` program is no longer available. It has been replaced with `pinctrl` which works a little differently.
|
||||||
|
1. The Blinka/CircuitPython interface uses `lgpio` to do hardware PWM on the pins. This requires the `pwm-2chan` overlay to be setup correctly, which it's documented procedure does. Details on relevant pins on line 4267 of the [overleays README](https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README)
|
||||||
|
|
||||||
# Discussion
|
# Discussion
|
||||||
|
|
||||||
|
|
||||||
My raspberry pi zero W 2 wasn't working reliably with the PWM.
|
My raspberry pi zero W 2 wasn't working reliably with the PWM.
|
||||||
|
|
||||||
The `gpio` command has been depricated and is now replaced by the `pinctrl` commend. Running it did not list any PWM0 on any of the pins, which was concerning.
|
The `gpio` command has been depricated and is now replaced by the `pinctrl` commend. Running it did not list any PWM0 on any of the pins, which was concerning.
|
||||||
|
|||||||
Reference in New Issue
Block a user