Talk2 Whisper node & ESP8266 base station code
I have my basic whisper code ready and working, I used part of the talk2 library code from their bitbucket repository and changed it to my needs.
I have my basic whisper code ready and working, I used part of the talk2 library code from their bitbucket repository and changed it to my needs.
The Talk2 whisper nodes are low powered boards based on the Atmel AVR ATMega328p microcontroller. This board can be powered with as little as 0.9V. You can even run it o a CR2032 battery for a long time with correct coding.
Momenteel ben ik een koppeling aan het schrijven voor snelstart om automatisch orders te importeren die via een shop besteld worden, hierbij een klein voorbeeld om te laten zien hoe je een start met de snelstart koppeling kunt maken in visual studio.
Today I received my Whisper nodes from https://talk2.wisen.com.au/, these devices are a lot more low powered compared to the esp8266, I will be testing these to see if I can get a similar working setup with less battery drain, to get longer batterylife from smaller batteries 🙂
Ik ben weer naar één van m’n favoriete locaties geweest om een timelapse te proberen met m’n nieuwe Olympus OM-D E-M10.
Het is een hele mond vol m’n nieuwe Olympus OM-D E-M10 Mark ii 🙂
Ik heb deze camera onlangs aangeschaft omdat ik op zoek was naar iets lichters dan m’n Nikon D3200 met sigma 17-50 F2.8 & Nikon 55-200 VR Objectief.
Read MoreOverstap van Nikon D3200 naar Olympus OM-D E-M10 Mark ii
For my sensor project I want the ESP8266 and The HC-SR04 Ultrasonic sensor to periodically collect and send data to my server. For easy configuration of the esp I took the ESPwebconfig software and stripped it to the essential parts that I needed.
By now I already have had a professional make the pcb design called vortexe9000 on fiverr, we discussed the design, I asked him to add a switch (pin 15 to gnd for easy flashing of the ESP) and he gave me some great advice to make it more compact (not needing the I2C and stepdown module).
UPDATE 30-09-2018
Some changes have been made by google, unfortunately I can’t support 200 stores to update the extension, so in order to keep using this extension you need to update to the latest version, or follow these steps to make it work again (this might be the quickest, also if you have a customized version):
Opencart 3.0 and up
step 1. open the file catalog\model\extension\shipping\zip_distance.php
step 2. find the getgoogleurl function, and replace it with:
private function _googleUrl($params) { return array( 'url' => 'https://maps.googleapis.com/maps/api/distancematrix/json', 'query' => 'origins=' . $params['origins'] . '&destinations=' . $params['destinations'] . '&mode=driving&units=' . $params['units'] . '&sensor=false&key=' . $this->config->get('shipping_zip_distance_api_key') ); }
The changes in this function are: replaced http url with https url, added api key to the query params
Save changes, and you are done!
Opencart 2.3.0.0, 2.3.0.1, 2.3.0.2:
step 1. open the file catalog\model\extension\shipping\zip_distance.php
step 2. find the getgoogleurl function, and replace it with:
/** * Build the google url with parameters * @param array $params * @return array */ private function _googleUrl($params) { return array( 'url' => 'https://maps.googleapis.com/maps/api/distancematrix/json', 'query' => 'origins=' . $params['origins'] . '&destinations=' . $params['destinations'] . '&mode=driving&units=' . $params['units'] . '&sensor=false&key=' . $this->config->get('zip_distance_api_key') ); }
The changes in this function are: replaced http url with https url, added api key to the query params
Save changes, and you are done!
Any Lower versions
The older versions don’t have the apikey yet in the backend, so you need to do it manually:
Find the getgoogleurl function and replace http with https and at the end of the query string add &key=YOURAPIKEY
I created an extension for opencart where you can calculate the distance based on the shippingaddress or the zipcode of the customer & your shop.
I’m currently building a sensor based project, where a sensor needs to gather data every hour, and send it to a server, I first thought it would make sense to use an arduino board, connect a wifi shield and set the thing up.