I wrote a while ago about using web sockets as against something like NETIO for controlling the home – most folk liked the article but I think part of it was a little complicated – and at the time I’d not really thought it out to make it as simple as possible.
So, this morning I started again and now I have a decent and easy way to make control interfaces from the mobile phone – to ESP boards. I won’t go into MQTT in detail here – I’ll assume you have an MQTT interface of some description on your WIFI boards – if you need more info on that, look elsewhere on the blog.
ChainringGen is an OpenSCAD script I wrote that can generate a bike chainring with any specifications you like.
You can download ChainringGen here. You can control parameters like bolt-circle-diameter (BCD), number of bolt holes, number of teeth and other stuff.
I primarily created ChainringGen because I thought designing / milling my own 110 BCD 39 tooth chainring would be the most practical and economic way to obtain one.
I also wanted to explore ways I could get from an OpenSCAD design to an object created on my CNC mill. It’s a bit trickier than just exporting an STL file.
The video above includes instructions on how to use ChainringGen in conjunction with other open-source tools to actually make a chainring out of 7075 aluminum using an inexpensive CNC mill.
This article describes simple wireless Dallas one-wire device ROM reader. It is intended as a base code for some more sophisticated access control system. We try some kind of access system in followings articles. Now, we are going to read 1-wire ROM code.
We use DDC-SE-01-dallas.c from DDC examples as a template for our project. In fact, we use functions for one-wire handling only and throw away the rest of the code. The main code periodically checks one wire device presence on DQ pin of IQRF module (PC3). If device is present, it checks, if previous readings was more than 1s ago, and then it reads ROM code, which is sent to another module. At the end of reading, startDelay(100) is executed and flag released = FALSE; is set. It’s protection against multiple reading.