The original traffic light used a Netduino Plus 2, https://www.adafruit.com/product/1104, which runs the .NET Micro Framework (https://en.wikipedia.org/wiki/.NET_Micro_Framework). The latest release was in 2015 and it was archived at https://github.com/NETMF/netmf-interpreter.
There is a newer .NET nanoFramework, https://github.com/nanoframework/nf-interpreter, which runs on the ESP32. This supports C# and Visual Studio 2019, with integrated debugging, etc. The ESP32 board I purchased from Amazon is a 3.3volt logic system, so I used a few 2N7000 transistors to level shift to a 5.0 volt system (the board itself does have 5 volt and 3.3 volt outputs, so I was able to tap that to get the 5 volts from the USB power).
I want to try to make a surface mount PCB with the voltage shifting and the traffic light logic (the same single light on logic as my previous PCB). My goal is to make a 4-layer board with mostly surface mount components, so that hopefully I learn a few new tricks. The data input can be either 3.3 or 5.0 volts, so the resulting circuit should be fairly robust as I continue to play with different technology to power the light.
Assuming I successfully create a SMD PCB and am able to solder on all of the components, I'll try connecting it to my Microsoft Azure Sphere; which should enable me to control the traffic light from the internet.
After doing that, my next goal is to try out .NET Core IoT and Raspberry Pi; which is basically the tutorial at https://channel9.msdn.com/Series/IoT-101 but with a few more lights.
Comments