User Tools

Site Tools


project:maerklin:warnemuende:lighthouse:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
project:maerklin:warnemuende:lighthouse:start [2025/08/27 18:47] – [Source Code] Peter Siegmundproject:maerklin:warnemuende:lighthouse:start [2025/09/16 18:25] (current) – [KiCad] Peter Siegmund
Line 11: Line 11:
 ===== Source Code ===== ===== Source Code =====
  
-Everything can be found on [[https://github.com/mars3142/warnemuende_lighthouses|Github]]. If you need more information about the BLE communication visit the [[..:..:system_control:ble:start|]] page.+Everything can be found in the [[https://git.mars3142.dev/model-railway/warnemuende-lighthouses|git repository]]. 
  
 +This device will have three services: **0x180A** (device information services), **0xA000** (light service) and **0xA999** (settings service). Within the services will be specific characteristics, but I don't will describe it here in detail.
 +
 +If you need more information about the BLE communication visit the [[..:..:system_control:ble:start|]] page.
 ===== Design ===== ===== Design =====
  
Line 19: Line 22:
 First, I replicated the building in [[software:onshape:start|]]. This was not as easy as I initially thought, but in the end, I was successful. First, I replicated the building in [[software:onshape:start|]]. This was not as easy as I initially thought, but in the end, I was successful.
  
-The more interesting part was the electronics. I used an [[hardware:esp32:start|]] as the controller and decided to connect it to the [[..:..:system_control:start|]] with my generic BLE system. Then, I tested if I could replicate the beacon signal (2 seconds on and 2 seconds off). It was the first time I had used hardware timers and interrupts for the LEDs. The beacon's LED will illuminate transparent PLA, making the light visible.+The more interesting part was the electronics. I used an [[hardware:esp32:h2:start|]] as the controller and decided to connect it to the [[..:..:system_control:start|]] with my [[..:..:system_control:ble:start|]] system. Then, I tested if I could replicate the beacon signal (2 seconds on and 2 seconds off). It was the first time I had used hardware timers and interrupts for the LEDs. The beacon's LED will illuminate transparent PLA, making the light visible.
  
 A more challenging part will be the outdoor lights, as the building has two of them. I will try to use 0402 3V LEDs and hope that I can print a miniature enclosure to mimic the real lamps. A more challenging part will be the outdoor lights, as the building has two of them. I will try to use 0402 3V LEDs and hope that I can print a miniature enclosure to mimic the real lamps.
Line 37: Line 40:
 {{:project:maerklin:warnemuende:lighthouse:mcu_board_front.png?300|}} {{:project:maerklin:warnemuende:lighthouse:mcu_board_front.png?300|}}
 {{:project:maerklin:warnemuende:lighthouse:mcu_board_back.png?300|}} {{:project:maerklin:warnemuende:lighthouse:mcu_board_back.png?300|}}
-{{:project:maerklin:warnemuende:lighthouse:mcu_board_schematics.png?600|}}+{{:project:maerklin:warnemuende:lighthouse:mcu_board_schematics_01.png?600|}} 
 +{{:project:maerklin:warnemuende:lighthouse:mcu_board_schematics_02.png?600|}}
  
  
project/maerklin/warnemuende/lighthouse/start.1756320454.txt.gz · Last modified: by Peter Siegmund