Differences

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

Link to this comparison view

pm:prj2026:jan.vaduva:bogdan.olariu [2026/05/12 00:10]
bogdan.olariu
pm:prj2026:jan.vaduva:bogdan.olariu [2026/05/14 05:16] (current)
bogdan.olariu
Line 1: Line 1:
 ====== Retro-Comm ====== ====== Retro-Comm ======
 +
 ===== Introduction ===== ===== Introduction =====
  
-<note tip> 
   * My goal with this project is to make an **old rotary phone** work again   * My goal with this project is to make an **old rotary phone** work again
 +
   * The phone should connect to a modern telephone netowrk and be used reliably as a communication device   * The phone should connect to a modern telephone netowrk and be used reliably as a communication device
-  ​* It will have all of its old features working:+ 
 +  ​* It will have all of its **old features** working:
      - rotary disc for selecting the phone number to be called      - rotary disc for selecting the phone number to be called
      - ringing bells for incoming calls      - ringing bells for incoming calls
      - receiver being lifted to answer a call / initiate a call       - receiver being lifted to answer a call / initiate a call 
-  ​* As well as some new ones to give it a modern twist:+ 
 +  ​* As well as some **new features** ​to give it a modern twist:
      - ability to save important numbers in memory for faster calls      - ability to save important numbers in memory for faster calls
      - custom ringtones      - custom ringtones
-  ​* The main reason why I chose this project was that it offered me the posibility to reverse engineer an interesting system while also applying the principles learnt during the semester at PM+ 
 +  ​* The main reason why I chose this project was that it offered me the posibility to **reverse engineer** an interesting ​old system while also applying the principles learnt during the semester at PM 
   * The ideea came from the similar project implemeted last year at the PM Fair, which I really liked and I hope I can improve, but also from a few other online sources mentioned in the bibliography section   * The ideea came from the similar project implemeted last year at the PM Fair, which I really liked and I hope I can improve, but also from a few other online sources mentioned in the bibliography section
-</​note>​ 
-===== Descriere generală ===== 
  
-<note tip> +===== General Description =====
-O schemă bloc cu toate modulele proiectului vostru, atât software cât şi hardware însoţită de o descriere a acestora precum şi a modului în care interacţionează.+
  
-Exemplu de schemă blochttp://www.robs-projects.com/​mp3proj/​newplayer.html +{{:pm:prj2026:jan.vaduva:​diagrama_fara_titlu.drawio.png?​350|}} 
-</​note>​+ 
 +The phone works as follows: 
 + 
 +  * Whenever the receiver is placed in the stand the phone is in settings mode, when the user can change the ringtone, add new phone numbers into memory or call saved numbers, all using the disc for selection 
 + 
 +  * When the receiver is taken away from the stand the user can select a number to be called using the disc. The arduino will read the disc signals, will construct the number in a string and then pass it via USART to the SIM800L module using the AT command for calling (ATD+number). If the reciever is placed in the stand during the call, the arduino will send the hang up command (ATH) 
 + 
 +  * When a call is incoming, the RING line from the SIM800L will be set LOW, indicating to the arduino that someone is calling. The arduino will then ring the bells using an electromagnet powered by the MOSFET module, acording to the current ringtone 
 + 
 +  * Mic and speaker are handled by the SIM800L 
 + 
 +  * Supply voltage (12V) will be lowered using MP1584EN modules to 4V for the SIM800L and 5V for the arduino
  
 ===== Hardware Design ===== ===== Hardware Design =====
  
-<note tip> +**Components** 
-Aici puneţi tot ce ţine de hardware design+ 
-  * listă de piese +^ Component ^ Role ^ Quantity ^ 
-  * scheme electrice (se pot lua şi de pe Internet şi din datasheet-urie.ghttp://www.captain.at/​electronic-atmega16-mmc-schematic.png) +| Arduino Pro Micro | Controlls all other components | 1 | 
-  * diagrame de semnal ​ +| SIM800L | 2G communication | 1 | 
-  * rezultatele simulării +| MOSFET module | Allow the 12V supply to connect to electromagnet | 1 | 
-</​note>​+| Electromagent | Pull the hammer rod that will hit the bells | 1 | 
 +| MP1584EN module | Step down the 12V voltage for SIM800L and Arduino | 2 | 
 +| 10 kOhms resistor | Voltage divider for the SIM800L | 3 | 
 +| 1000 uF capacitor | Regulate current for SIM800L during 2A busrsts | 1 | 
 +| Electret microphone | Record the voice of the user | 1 | 
 +| 1N4007 diode | Stop the reverse voltage from the elctromagnet | 1 | 
 +| Perfboard | Base used to solder the components | 2 | 
 + 
 +**Schematic** 
 + 
 +{{:pm:​prj2026:​jan.vaduva:​schematic_retro-comm_2026-05-14.png?​700|}} 
 + 
 +**Pins used / connections** 
 + 
 +  * The rotary disc encoder is connected to pins PD1 and PD0 in order to use the INT0 and INT1 interrupts to detect the short pulses genrated by the disc for each digit 
 + 
 +  * The PWM of the MOSFET module is connected to PB6a pin capable of generating the PWM signal necessary for the ringtone 
 + 
 +  * The receiver stand, which will basically act just like a button, will be detected from PB5 using a debouncing method 
 + 
 +  * The RX0 is connected to the TX pin of the SIM800L and the TX0 pin to the RX one of the sim module via a voltage divider 
 + 
 +**Current status** 
 + 
 +  * I have managed to initiate and receive phone calls using the moduleI have connected the old speaker of the phone to the sim module and it seems to work fineI have also tested the audio with an electret microphone and it worksThis means that the most important part of the hardware stage is working 
 + 
 +  * I still need to find a good way to place the micropone in the phone receiver and deal with the common ground layout used in the telephone in order to be able to use both speaker and microphone togheter 
 + 
 +  * I have found the connections responsible to detect whether or not the receiver is placed in its stand and will connect them to the arduino. Similarly with the rotary encoder 
 + 
 +  * Here is a picture of the mess: 
 +{{:​pm:​prj2026:​jan.vaduva:​rotary_phone.jpeg?​600|}} 
 + 
 +  * For a proof of the working phone calls I have attached a video on the Moodle assignment Milestone 2 (Hardware)
  
 ===== Software Design ===== ===== Software Design =====
pm/prj2026/jan.vaduva/bogdan.olariu.1778533805.txt.gz · Last modified: 2026/05/12 00:10 by bogdan.olariu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0