Search


erikaheidi
- Jul 13, 2018
- 4 min
How to communicate with an Arduino via Serial using PHP code
Introduction I recently got my hands on a 7-segment display module (always wanted to play with those!) for a little project and at first I wanted to use purely PHP on a Raspberry Pi Zero to control it. However, due to lack of time (and a touch of lazyness) I ended up using an Arduino with the default library associated with this module (TMI637.h), and while looking for ways in which I could send data to the display through PHP code I figured it was really easy to use serial c
575 views0 comments

erikaheidi
- Jun 23, 2018
- 8 min
How to create a simple IOT device with PHP on a Raspberry Pi Zero W
Introduction Following on the âPHP on Raspberryâ train, I wanted to create something simple enough to use as a demo, however it should be useful and it should include some simple components to show how easy it is to build a little gadget using PHP on Raspberry. Iâm not gonna go into detail about âwhy PHPâ and I also wonât enter any language shaming discussion â that being said, just keep in mind, in case you donât know this yet, that modern PHP is a cheap, accessible and popu
138 views0 comments

erikaheidi
- May 30, 2018
- 2 min
Installing PHP 7.1 on Raspbian Stretch (Raspberry Pi Zero W)
Introduction On my last tutorial, I showed how to use Ansible to automate the setup of a Web Server running PHP 7 on a Raspberry Pi Zero W (running Raspbian). I confess I was/am a bit outdated on whatâs going in the PHP world nowadays, so I wasnât quite sure of which version is the most recommended or compatible with the newest stuff. After digging around a bit in order to perform some benchmarks and just general research on the web server setup, I figured Iâd need PHP 7.1 to
3 views0 comments

erikaheidi
- May 25, 2018
- 6 min
How to use Ansible for setting up a Raspberry Pi Zero W Web Server with PHP 7
Introduction The Raspberry Pi Zero W is a small (and affordable) computer on a board â it has the essentials for creating little projects with built-in wi-fi, an HDMI output and an extra USB for input from a keyboard or mouse. It runs a Linux distribution (Raspbian) and for that reason itâs very versatile and user-friendly, since we can use pretty much any programming language that can run on Linux. Apart from that, of course, you have the GPIO pin head to create circuits and
11 views0 comments
{"items":["5fb645c4d82e2f00171db411","5fb645c4fae02400175aa052","5fb645c46e9b790017707e67","5fb645c503242d0017b488e3","5fb645c5fe08cd0017a19607"],"styles":{"galleryType":"Columns","groupSize":1,"showArrows":true,"cubeImages":true,"cubeType":"fill","cubeRatio":1.3333333333333333,"isVertical":true,"gallerySize":30,"collageAmount":0,"collageDensity":0,"groupTypes":"1","oneRow":false,"imageMargin":32,"galleryMargin":0,"scatter":0,"rotatingScatter":"","chooseBestGroup":true,"smartCrop":false,"hasThumbnails":false,"enableScroll":true,"isGrid":true,"isSlider":false,"isColumns":false,"isSlideshow":false,"cropOnlyFill":false,"fixedColumns":1,"enableInfiniteScroll":true,"isRTL":false,"minItemSize":50,"rotatingGroupTypes":"","rotatingCropRatios":"","columnWidths":"","gallerySliderImageRatio":1.7777777777777777,"numberOfImagesPerRow":1,"numberOfImagesPerCol":1,"groupsPerStrip":0,"borderRadius":0,"boxShadow":0,"gridStyle":1,"mobilePanorama":false,"placeGroupsLtr":true,"viewMode":"preview","thumbnailSpacings":4,"galleryThumbnailsAlignment":"bottom","isMasonry":false,"isAutoSlideshow":false,"slideshowLoop":false,"autoSlideshowInterval":4,"bottomInfoHeight":0,"titlePlacement":"SHOW_ON_THE_RIGHT","galleryTextAlign":"center","scrollSnap":false,"itemClick":"nothing","fullscreen":true,"videoPlay":"hover","scrollAnimation":"NO_EFFECT","slideAnimation":"SCROLL","scrollDirection":0,"scrollDuration":400,"overlayAnimation":"FADE_IN","arrowsPosition":0,"arrowsSize":23,"watermarkOpacity":40,"watermarkSize":40,"useWatermark":true,"watermarkDock":{"top":"auto","left":"auto","right":0,"bottom":0,"transform":"translate3d(0,0,0)"},"loadMoreAmount":"all","defaultShowInfoExpand":1,"allowLinkExpand":true,"expandInfoPosition":0,"allowFullscreenExpand":true,"fullscreenLoop":false,"galleryAlignExpand":"left","addToCartBorderWidth":1,"addToCartButtonText":"","slideshowInfoSize":200,"playButtonForAutoSlideShow":false,"allowSlideshowCounter":false,"hoveringBehaviour":"NEVER_SHOW","thumbnailSize":120,"magicLayoutSeed":1,"imageHoverAnimation":"NO_EFFECT","imagePlacementAnimation":"NO_EFFECT","calculateTextBoxWidthMode":"PERCENT","textBoxHeight":0,"textBoxWidth":200,"textBoxWidthPercent":50,"textImageSpace":10,"textBoxBorderRadius":0,"textBoxBorderWidth":0,"loadMoreButtonText":"","loadMoreButtonBorderWidth":1,"loadMoreButtonBorderRadius":0,"imageInfoType":"ATTACHED_BACKGROUND","itemBorderWidth":1,"itemBorderRadius":0,"itemEnableShadow":false,"itemShadowBlur":20,"itemShadowDirection":135,"itemShadowSize":10,"imageLoadingMode":"BLUR","expandAnimation":"NO_EFFECT","imageQuality":90,"usmToggle":false,"usm_a":0,"usm_r":0,"usm_t":0,"videoSound":false,"videoSpeed":"1","videoLoop":true,"jsonStyleParams":"","gallerySizeType":"px","gallerySizePx":940,"allowTitle":true,"allowContextMenu":true,"textsHorizontalPadding":-30,"itemBorderColor":{"themeName":"color_12","value":"rgba(232,230,230,1)"},"showVideoPlayButton":true,"galleryLayout":2,"targetItemSize":940,"selectedLayout":"2|bottom|1|fill|true|0|true","layoutsVersion":2,"selectedLayoutV2":2,"isSlideshowFont":false,"externalInfoHeight":0,"externalInfoWidth":0.5},"container":{"width":940,"galleryWidth":972,"galleryHeight":0,"scrollBase":0,"height":null}}