Last Updated: 27/11/2024
Welcome to Digital Town
Welcome to Digital Town. This site was started to help teach some youngsters how to program Arduinos and acted as a resource to some YouTube videos I had created.
Since then the site has grown as more videos and content has been added and is slowly being restructured to deal with the extra volume of content.
The site is now in 5 sections.
Home has a list of the latest content added.
Arduino/C++ Lessons are various tutorials on learning how to use and program using the Arduino IDE and is aimed at beginners.
Components is about how to use an individual component with some sample code to help you use them.
Projects focuses more around putting multiple components together as well as looking at the issues around building projects. The Model Railway projects are included in this page.
Reviews & Links is just a link to items or websites I have found useful
I do try to add content as often as possible but this is a hobby so be patient.
Latest Updates
Latest LCD Touch screen controller for use with DCC-EX or NCE Cab Bus via nowRail |
|
In this lesson I will go through the steps and considerations when choosing sensors for a project, in this case a speedometer for a model railway. |
Download the code for Lesson 18 |
Using the 1602A I2C LCD screen with the Arduino UNO including how to |
Download the code for Lesson 17 |
DY-HV8F, DY-HV20T, DY-SV8F and DY-SV5W MP3 Players with Arduino UNO, Mega 2560 and ESP32. |
Click Image for larger Version
IMPORTANT: DIP switch Positions |
DY-HV8F and DY-HV20T MP3 Player with Arduino UNO, Mega 2560 and ESP32. |
Click Image for larger Version
IMPORTANT: DIP switch Positions |
In this lesson a single button will be used to change the mode in the Arduino sketch allowing the Arduino to change the LED pattern depending on the mode. |
Download the code for Lesson 16 |
This is an extra lesson that has been added to show how to control items with toggle switches with the Arduino UNO, rather than the usually push to contact switches that come in most kits. |
Download the code for Lesson 5b |
How to set up and use External Interrupts with the Arduino UNO. |
Download the code for Lesson 15 Understanding FIFO buffers |
Arduino UNO with ULN2003 and 28BYJ-48 Stepper motor tutorial using non blocking (State Machine) examples. |
Download the code for Lesson 12 |
#99 ESP32mac address issues 08/06/2024 |
In 2024 the ESP32 library was updated to version 3.0.0 (now at 3.0.1) |
#96 ESP-NOW Changes 03/06/2024 |
In 2024 the ESP32 library was updated to version 3.0.0 esp_now_register_recv_cb(OnDataRecv); This video shows how I fixed thse issues using the version 3.0.0 library. |
PCA9685 controlling multiple servos direction and speed with millis() 25/04/2024 |
|
#70 ESP-NOW Broadcast Mode 06/03/2024 |
|
#69 Fail Safe project planning 21/02/2024 |
|
Windows 11 CH340 driver problems Solved 10/02/2024 |
|
Fixing a Slow IDE 10/02/2024 |
|
DY-SV5W MP3 Player |
|
#60 Arduino Connectors and Plugs 15/01/2024 |
|
#58 Model railway crossing with Servo Barriers, LED lighting and sound 08/01/2024 |
|
DFmini player & MP3-TF-16P v3.0 Player 21/12/2022 |
|
Arduino UNO and ESP32 controlling LED's with PCA9685 05/05/2022 |
Comments
Why is this site called Digital Town?
I owned the domain name so it seemed a waste not to use it.
If you have any projects you would like videos on please email the address in this image: and use Welcome to Digital Town as a reference.