Tcp/Ip Gateway

 

The Tcp/ip gateway is used as bridge between the Joshua bus and Tcp/ip network. There’s also an CLID (caller id) for the POTS phone line implanted.
First of all I like to thank Ben Zijlstra   for his RTL8019AS sub-routines and examples.
With the HTTP protocol you can access the gateway’s web server and control the Joshua bus with a web interface.
With the UDP protocol you can send a message(command) over the  Joshua bus .
The gateway wil synchronize with a timeserver on the internet trough the NTP protocol and keeps  his Ds-1307 real time clock updated.
The CLID will monitor incoming calls and transmits the numbers over the Joshua bus.
Update: Tcp/ip Gateway is finished and in use now. All the clocks in the Joshua bus are now every hour synchronizes with the NTP server. All the devices on the Joshua bus can now be controlled with a web interface trough tcp/ip or direct controlled over UDP.
The Caller id part will not be use because my adsl modem has this option also build in.
Schematic
3D Design
Finished pcb front
Up and running
Up and running 2
PlayPause
previous arrow
next arrow
 
Schematic
3D Design
Finished pcb front
Up and running
Up and running 2
previous arrow
next arrow
Dinner table dimmer

 

This was the first device made for the Joshua bus .
Double side pcb is home made and designed with the good old Ultiboard.
I decided not to make de dimmer compleet in software, then you need interrupt driven zero crossing detection and a timer for the triac output.The disadvance of the software dimmer is that the cpu has not much time left to do something else. For example if you receiving a message over the Rs-485 then this will trigger the RX interrupt and the light will flash due the missing zero cross interrupts. Instead i’m using a analog dimmer with a 1wire potmeter.

Schematic

 

Blinds controller

 

This device will control the blinds in the living room and is controlled by the Joshua bus
The problem with the blinds was that there was no feedback, you didn’t know what their position was.
To tackle this problem we measure the current that the motor draws. If you send the blinds up and they don’t draw current then you know there completely up. From that point you can send them 1/2 way down with the help of a timer. All setting (Timers, current) can be changed with the Joshua Bus service tool.

Schematic

Voice Recognition

 

This is one of the modules that’s for some reason is the most popular by my friends.
It’s based on a voice recognition module from Sensoryinc . It’s not really voice recognition, but just learn the module first for example the word “light” with your voice and if you then say “light” it will recognize this and will give a command.
Every command has first the key word and then the command word, this to prevent accidentally triggering one of the commands.
The module is not made anymore, so for the future I must look for something else.

 

 

Demonstration video, switch on the light

Voice recognition demo

Dressoir controller

 

This is also one of the first controllers made for the Joshua Bus .
It will control the leds in the CD rack, slide doors for the audio set, IR-receiver and tv platform.
The tv-platform is removed because the old CRT has left the building and for the LCD-tv it was to big.
As you can see on the picture from the audio set in the audio controller item , the audio set is behind some slide doors. These doors are driven by a motor and the motor is controlled with this controller. Top and bottom contacts are all made with Hall sensors.