This is an old revision of the document!
CHIP
Default login
GPIO on CHIP
Relaxing Natural Bug bot
Steps:
Testing and documenting should be done at each step
Activate GPIO on chip
Understand commands for GPIO
Understand electrical current
Build breadboard circuit (Done)
Turn on lights
Make script for fading lights (1 for on, one for off)
Make script to run at certain times
Build physucal structure for setup
Create system for alarm variables (web interface)
Create App to set alarms and other variables
Refine app for visual appeal
Create system for adding wifi to chip (maybe bluetooth?)
Possible flash chip for lighter config
GPIO Chip Documentation
Unordered List Itemhttp:docs.getchip.com/chip.html#gpio
Note: first section explains about the different kernals and what may need to be done to accomidate.
Bassically there is a number to each pin, but where that number starts is dependent on the kernal.
The link gives you a script to accomidate this.
In our case, we are in kernal 4.3 so have gpiochip408. (not sure if this applies to all pins but:)
* For XIO-P0 - P7 you add to 408 to corrispond
* ex: P7 is gpio415
2017-07-17
* Followed most of tuturial and could get LED on, but it was not very bright
* Also, not sure how to do PWM so need to do some more work