czwartek, 15 lutego 2018

Nixie clock #3 - NodeMCU & auto time update

Previous post: Nixie clock #2

Recently I finished my clock (electronics). All the code is uploaded on my github profile: clock repo.
I added automatic time update done by NodeMCU which connects to my predefined WiFi Access Point and after receiving the time, sends it over UART to the atmega microcontroller.

Spaghetti for testing and results:

Now I should design a case for this device...

wtorek, 2 stycznia 2018

Connect to the bluetooth serial port in linux

From time to time I use my bluetoth module HC-05 to communicate with microcontroller. Every time I have the same problem because I don't remember how to do that. Short receipe working for me (at least for openSUSE):
 sudo bluetoothctl  
 power on  
 agent on  
 scan on  
 pair <MAC>  
 sudo killall rfcomm  
 sudo rfcomm connect /dev/rfcomm0 <MAC> 1  

/dev/rfcomm0 is ready to use now.