Usb to Rs-485

Needed to connect my Friendlyarm Mini2440 to the Joshua bus an Usb to Rs-485 converter.Idea is the same as in my Rs-485 to usb converter to connect the Joshua bus to the pc.

Schematic is not that special, it’s an copy from the datasheet of the FT232 from FTDI. Added only the OR port to prevent local echo when transmitting, this is also described in the datasheet.
The converter needed to build in the wall with the Friendlyarm touchsreen the space was limited. Using an Usb a<>b cable took to much space, the connectors of these cables are bigger then the converter itself.
Decide to make a pcb that can direct plug in the usb connector of the Friendlyarm board. Pcb’s are normally 1.6mm thick and that’s just to thin to fit properly. On the back i glued therefore an little piece of 0.5mm pcb to make it just thick enough to fit.

Download Eagle cad files

1745 Downloads

Schematic
3D Design
Bare pcb front
Bare pcb back
Finished pcb
Mounted to the friendly arm
PlayPause
previous arrow
next arrow
 
Schematic
3D Design
Bare pcb front
Bare pcb back
Finished pcb
Mounted to the friendly arm
previous arrow
next arrow

 

GSM Gateway

UnderConstruction

New module under construction for the Joshuabus .
With this Gsm gateway we connect the Joshuabus with the outside world trough the gsm network.
It will send and receive sms to monitor and control the various devices.
The 128×64 graphic display will show some information about the gsm network, the prepaid saldo and the last callers with the commands they have send.

The Siemens Tc35i modem was given to me by my mate Anton. Unfortunately it was broken, communication with the mcu was most of the time working crappy. After some searching I found the problem, the charge pump of the Rs-232 driver chip was defect so the driver had to be replaced. Free sample from Maxim-ic.com and some fine soldering to bring it back online.

Design
Gsm Modem
Finished front
Finished back
PlayPause
previous arrow
next arrow
 
Design
Gsm Modem
Finished front
Finished back
previous arrow
next arrow

At this moment i’m working on the software to finish the project. Stay tuned…

Osd controller

New module under construction for the Joshuabus . With this module we can overlay text on a video signal, so called OSD on screen display.
It will be used to overlay some information on the security cams.

3D Design
Finished pcb front
Osd with background
PlayPause
previous arrow
next arrow
 
3D Design
Finished pcb front
Osd with background
previous arrow
next arrow

More information and source code in the Bascom Code vault .

 

Garden light controller

New module for the Joshuabus . This module will come in the barn and switches the lights and infrared spot in the garden. Also there are connections for light sensor, temperature sensor and pir (passive infrared).
An RGB dimmer is also present for some glasfiber illumination of the tree in my garden.  Pictures later….
And finally we have a RFID reader for identification based on the EM4095. With this we can switch on the lights in the garden and the house when i’m arriving at the garden gate.

Made my own rfid antenna. Did the milling at my work, first time ever i used the hand controlled milling machine.Antenna coil at the backsite is now covered with hars to prevent water entering.
On the front is a red/green led to show the permission of the rfid tag.
For detecting rain, light and temperature there’s the sensor module. It will communicate trough Dallas 1wire with the controller.
The rain sensor will be used to close the windows if it start raining, and it’s raining a lot here in Holland. This is the first version of the sensor, as you can see it’s already oxidized by electrolyze. In the new version the rain sensor will work with ac to prevent electrolyze.
Light sensor will be used for various things like the garden light etc.
Finally the controller is mounted in the barn, due the long cold winter it’s was not possible to work there.
3D Design
Finished pcb
Rfid reader
Rfid reader inside
All installed
1 wire Rain, Light and Temperature sensor
PlayPause
previous arrow
next arrow
 
3D Design
Finished pcb
Rfid reader
Rfid reader inside
All installed
1 wire Rain, Light and Temperature sensor
previous arrow
next arrow
Joshua bus service tool

To test,update and change the settings of the modules in my Joshua bus I have made a service tool in VB6.
With this tool it’s possible to test all the commands (topleft datagrid),change the settings in the eeprom of the module (bottomleft datagrid) or update the software of the module with a bootloader.
On the left side we have on top the communication window to monitor the Joshua bus data trafic.Below that there are some buttons for communication etc. Below that there is the command datagrid, here are all the commands that this module accepts.  And in the lower left corner we have the settings that are stored in the internal eeprom of the module.
In the upper right corner there are some settings for this program and below that is the datagrid with all the modules that are in use.
By clicking in the command datagrid on the line 199 bootloader the module wil go´s in the bootlader mode en the software will startup the bootloader loader. After 2 sec. the hex file for the module will be downloaded and ready is the update.
The bootloader is not written by me, but with some register hacks completely integrated in the service tool.

Joshua service and controle tool
Joshua Rs485 programmer
PlayPause
previous arrow
next arrow
 
Joshua service and controle tool
Joshua Rs485 programmer
previous arrow
next arrow