Rs-485 to Usb

To connect the joshua bus with the computer I designed a Rs-485 to Usb interface. It’s based on the Ftdi 232BM, so the design was easy to do. The interface is used for debugging and remote firmware update of the Joshua bus nodes.

[nggallery id=25 template=caption ]

Rgb dimmer

 

For some mood lighting in the living room I mounted a lot of rgb leds in the cabinet. Rgb leds will be driven with 3 pwm channels on a Atmel mega-128. Controlling will be taken care of by the Joshua Bus .

Testing the leds:

 

For a nice fading it’s necessary that the fading will work like figure 2. In figure 1 all colors are increased every step with the same value, the disadvantage of this is that blue is finished first, software is easy to make. In figure 2 all colors are finished the same time, the step size for all colors is different. I wrote a routine that will take care of this.

Nice fading example:

 

Update: Replaced the ledstrips. The old strips had 3 leds for the colors, separated Red, green and blue led. This was not mixing very well and because the strips are close to the wall you could see the individual colors on the wall.
Placed now new strips with RGB led’s in 1 package.

 

3D Design
Finished pcb
New ledstrips
rgb1
rgb2
PlayPause
previous arrow
next arrow
 
3D Design
Finished pcb
New ledstrips
rgb1
rgb2
previous arrow
next arrow
5″ Touchscreen

After building a 3″ touchscreen for the Joshua bus i decided to make a 5″ touchscreen for the livingroom.

The problem with electronics is that continues changes, touchscreen not available anymore. Find a new supplier with nice priced screens  Ledsee.com . Screen has a compleet new pin assigment so we must design a new pcb and some minor software changes.

 

See the touchscreen in action, take a note of the moving buttons.

240x128 Touchscreen demo

 

Sourcecode in Bascom-avr here

 

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