Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:13 12 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Advance Info - MuP Add-On Support boards

Author Message
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2946
Posted: 12:16am 02 Aug 2014
Copy link to clipboard 
Print this post

Gday Lads, Lasses,

Here is a totally shameless plug for some new PCB boards I will be sending off for manufacture this week.

They are as follows:

MuP-Security (75mm x 61mm)

This PCB plugs into MuP and is the basis of a home/other security system.
It has support for 6 alarm sectors (12 if Zone doubling is utilised), it has two transistor driven outputs that can go to Relay PCBs or direct drive of 12V 500mA max sirens/ Strobe lights. It also has 2 Comm ports for connection to, for instance, 3G Modem Dialers or other devices. I have also added support for wiegand Protocol, but this may or may not be possible to `bitbang' on the uMite.
User interface is via I2C and is the reason I designed the IO-Panel (see below).














IO-Panel (98mm x 71.5mm)
The IO-Panel is driven via I2C (5v power due to the LCD) and utilises 4 individual I2C IO-Expanders, each one can be addressed between 20H and 27H via jumpers. The IO-Panel is designed to mount on the back of either a 20x4 LCD module or 16x4 LCD Module.

Channel 1 is the LCD Interface and is pretty self explanatory.
Channel 2 is the KeyPad interface and is configured for a 4x4 matrix
Channel 3 is to drive a bank of LEDs (8 in total) these are mounted directly above the LCD Module.
Channel 4 is unused and is for general use, it goes to a 10pin (dual row of 5 pins) and has all of the IO plus Gnd and 5V. (Actually this header is also provided for the other 3 channels as the user may not wish to use a keypad or LCD or the LEDs
etc.)














MuP-VT (49.5mm x 49.5mm)
This module is designed to plug onto MuP and will provide a USB (via a mini-USB) for comms to a PCB (and power if jumpered appropriately). It has VGA, PS2 & COMPOSITE connections. It also brings out all of the MuP's IO pins for further access to `the real world'. This board is VERY tight, I tried to keep all components `standard' and not use surface mount parts. The PS2 connector is very close to the VGA which means that a USB-PS2 connector can not be used but a keyboard should still have enough room to plug in whilst the VGA cable is also plugged in. This board is in the final stages of layout and hasnt been `prototype' tested yet.






Phew,

That's it.. Sorry that I have hurt your eyes with all of my gratuitous self promotion.

Regards,

Mick






Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 12:34am 02 Aug 2014
Copy link to clipboard 
Print this post



I will order as soon as you have them ready!!

Nice work once again . . . .

WW
 
halldave

Senior Member

Joined: 04/05/2014
Location: Australia
Posts: 121
Posted: 12:41am 02 Aug 2014
Copy link to clipboard 
Print this post

The Security Shield software will be released on TBS for collaborative code development. The shield can be used in a caravan (trailer), boat, car or even your home as it runs off 12 volts.
There are two Com ports, GSM/GPRS, Modem, or a GPS


Code to drive the Security Shield and i2C IO Board will be released in the next week or so, then its up to others to think of possibilities and expand / enhance the code for other uses

here is a snippet of some partial working code, no zone doubling or weigand as yet


Zone 1
xLoop1.Port=2
xLoop1.Zone1.Enabled=1
xLoop1.Zone1.Type=1
xLoop1.Zone1.AlarmTriggered=0
xLoop1.Zone1.TamperTriggered=0
xLoop1.Zone1.Led.Show=1
xLoop1.Zone1.NormalClosedLow=1.2
xLoop1.Zone1.NormalClosedHigh=1.6
xLoop1.Zone1.TriggeredLow=2.1
xLoop1.Zone1.TriggeredHigh=2.3
xLoop1.Zone1.TamperLow=3.1
xLoop1.Zone1.TamperHigh=3.4
xLoop1.Zone1.EntryTimeSecs=180
xLoop1.Zone1.ExitTimeSecs=180
...


and then in the main routine


' Check Zone 1
if xLoop1.Zone1.Enabled=1 then
xLoop1.Zone1.Voltage=Pin(xLoop1.Port)
'NORMALLY CLOSED
if xLoop1.Zone1.Voltage > xLoop1.Zone1.NormalClosedLow and xLoop1.Zone1.Voltage < xLoop1.Zone1.NormalClosedHigh then
Walkthrough 1,0
endif
'ALARM TRIGGERED
if xLoop1.Zone1.Voltage > xLoop1.Zone1.TriggeredLow and xLoop1.Zone1.Voltage < xLoop1.Zone1.TriggeredHigh then
if xAlarm.Armed > 0 then
xLoop1.Zone1.AlarmTriggered=1
TriggerAlarm 1,1
else
Walkthrough 1,1
endif
endif
'TAMPER TRIGGERED
if xLoop1.Zone1.Voltage > xLoop1.Zone1.TamperLow and xLoop1.Zone1.Voltage < xLoop1.Zone1.TamperHigh then
if xAlarm.Armed > 0 then
xLoop1.Zone1.TamperTriggered=1
TriggerAlarm 1,2
else
Walkthrough 1,2
endif
endif
' Check Zone 2
if xLoop2.Zone2.Enabled=1 then
xLoop2.Zone2.Voltage=Pin(xLoop2.Port)
'NORMALLY CLOSED
if xLoop2.Zone2.Voltage > xLoop2.Zone2.NormalClosedLow and xLoop2.Zone2.Voltage < xLoop2.Zone2.NormalClosedHigh then
Walkthrough 2,0
Edited by halldave 2014-08-03
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2946
Posted: 01:29am 02 Aug 2014
Copy link to clipboard 
Print this post

Thanks WW,

Lets see them `in the flesh first' I dont know what price I will be putting on any of them yet..


Dave,

Egads!!! What is all that gibberish???

Crikey! I am glad I do my programming with a soldering iron..

`Gawd Strewth strike me hooray sport' I have no idea what that code is doing.

Glad you do,

I wish to take the time here to officially Thank HallDave for his support for the Security shield and the IO-Panel.

The Security shield was designed by a request from Dave for it, the IO-Panel was my idea to compensate for the rapidly decreasing IO avilable, and Dave has generously paid for the research and prototyping of both of these two products.

Thanks you once again Dave, it not only stopped me falling asleep at work it has given a new burst of life to my aging brain.

Now where is that scotch bottle?

Regards,

Mick


Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
G8JCF

Guru

Joined: 15/05/2014
Location: United Kingdom
Posts: 676
Posted: 06:54am 02 Aug 2014
Copy link to clipboard 
Print this post

Hi Dave

What version/species of Basic is that code written ?

Peter
The only Konstant is Change
 
halldave

Senior Member

Joined: 04/05/2014
Location: Australia
Posts: 121
Posted: 09:25am 02 Aug 2014
Copy link to clipboard 
Print this post

Its written in Pure MMBasic from a VB tainted background





 
f1fco

Senior Member

Joined: 18/03/2012
Location: France
Posts: 155
Posted: 09:40am 02 Aug 2014
Copy link to clipboard 
Print this post

hello Mick,
is it possible to order the PCBs ?
and can you send them in France ?

thank you for answer

Pierre
73s de F1FCO
 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 1395
Posted: 12:47pm 02 Aug 2014
Copy link to clipboard 
Print this post

  bigmik said  

Now where is that scotch bottle?

Regards,

Mick




G'day Mick,
Go on and be adventurous and now time has past I'm sure those samples I sent you should taste that much better now they have aged.

Great looking boards too mate,
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2946
Posted: 01:28pm 02 Aug 2014
Copy link to clipboard 
Print this post

Hi Pierre,

  f1fco said  
is it possible to order the PCBs ?
and can you send them in France ?


As the topic subject says it is advanced information..
I dont want to take orders just yet until I have them in my hand and I have tested one of each. I have tested prototypes of the MuP-Security and IO-Panel but both had minor wiring errors which I need to test before I sell any of them.


If all goes well I should have them available in about 2 weeks from now.. I cant set any prices until I get my costs down but I expect that I will be selling the MuP-Security and the IO-Panel for around $5AUS each and the MuP-VT for $3AUS. (The Australian dollar works out around 92c US).

I got myself sidetracked yesterday when I hoped to finalise the MuP-VT.

And last YES I can certainly send items to France.. I havent got an exact cost but if I can keep the package to 50gm or less (about 5 50mm x 50mm PCBs) it should work out at around $3AUS, if it is over that, unfortunately the cost of postage goes up to about $7AUS but that will allow me to send 200gm.. Those costs are based on shipping to the UK so I expect they will be similar to France.

Kind Regards,

Mick


Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2946
Posted: 01:34pm 02 Aug 2014
Copy link to clipboard 
Print this post

Bryan,

  Bryan1 said   Go on and be adventurous and now time has past I'm sure those samples I sent you should taste that much better now they have aged.


I still have 2 sitting here on my shelf.. I might be adventurous again one day..

Your home made flux remover works quite well, it requires a little bit of brushing but is easy enough to remove the flux. (The commercial spray I previously used is slightly better but MUCH dearer)

  Bryan1 said   Great looking boards too mate,


Thanks Bryan, I do try to make them as good as I can..

Regards,

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2946
Posted: 01:43pm 02 Aug 2014
Copy link to clipboard 
Print this post

Hi All,

  bigmik said  
MuP-VT (49.5mm x 49.5mm)
This board is VERY tight, I tried to keep all components `standard' and not use surface mount parts.



Sorry,
in my haste to post the advance information I forgot that the MuP-VT does have ONE Surface mount device... The MINI-USB connector is SMD.. I will most likely offer an option with this connector pre-soldered for those who doent want to be adventurous.

Regards,

Mick



Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
G8JCF

Guru

Joined: 15/05/2014
Location: United Kingdom
Posts: 676
Posted: 02:52pm 02 Aug 2014
Copy link to clipboard 
Print this post

Hi Dave

So all those "full stops" mean what ?

Usually they mean object oriented'ness as in properties/methods of a class, but I didn't know that mmBasic had classes - is that a best kept secret ?

I must be going bonkers !

Peter
The only Konstant is Change
 
G8JCF

Guru

Joined: 15/05/2014
Location: United Kingdom
Posts: 676
Posted: 02:54pm 02 Aug 2014
Copy link to clipboard 
Print this post

@WW

And I will place an order with you for the I2C I/F board, if that's alright with you !

Peter
The only Konstant is Change
 
halldave

Senior Member

Joined: 04/05/2014
Location: Australia
Posts: 121
Posted: 04:26pm 02 Aug 2014
Copy link to clipboard 
Print this post

The full stops are used to group the variables together nothing more special than that

Also, trying to name the variables with a little more description than
a=1
b=2

so for example

xloop1 refers to the first loop on the card

xloop1.Zone1 refers to the zone, as when we zone double xloop1 will have Zone1 and Zone7

and xLoop1.Zone1.Enabled=1 a variable assigned to make it logical

no magic

regards

David

 
G8JCF

Guru

Joined: 15/05/2014
Location: United Kingdom
Posts: 676
Posted: 04:51pm 02 Aug 2014
Copy link to clipboard 
Print this post

Hi Dave

That's a very useful trick to know about Variable Names in mmBasic. It looks so OO !

Take care

Peter
The only Konstant is Change
 
Lou

Senior Member

Joined: 01/02/2014
Location: United States
Posts: 229
Posted: 05:05pm 02 Aug 2014
Copy link to clipboard 
Print this post

Way to go Mick, great looking boards and functionality. I like the way you're stacking the boards.

Lou
Microcontrollers - the other white meat
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2946
Posted: 06:06pm 02 Aug 2014
Copy link to clipboard 
Print this post

Thanks Lou,

I appreciate your comments..

Yes I see that if a better chip becomes available then it might be possible to just do an `engine change' and keep the daughter board..

I try to be as efficient on space as possible with my boards and I must say I am very happy with the way this whole development has panned out.

For instance, The Security board has 12Vdc in. I filter this and regulate it to 5v on the Security PCB. The 5v is transferred to MuP via one of the connecting headers and MuP generates 3v3 which in turn is sent back up to the security board.. I like the way it worked out..

The I2C has been very exciting to me.. I have been aware of it for 25 years but never really played with it till now and I LOVE IT. It is very easy to use, especially the way Geoff has written the routines. And those PCF8574 expander chips I have found very easy to use as well.. They may not be fast enough to control a space shuttle but they do a great job of ancillary devices like keypads/LCD/LEDs etc..
And they even have an interrupt pin so that if the state of an input changes then it will tell the processor chip about it.


Lets face it you, generally, dont wnat to flash an LED faster than you can see it pulse do you?

Regards,

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Lou

Senior Member

Joined: 01/02/2014
Location: United States
Posts: 229
Posted: 05:05am 03 Aug 2014
Copy link to clipboard 
Print this post

Mick wrote:
Yes I see that if a better chip becomes available then it might be possible to just do an `engine change' and keep the daughter board..

And maybe more importantly keep the processor board and build new daughter boards (shields?) for other projects as you're doing. The same engine can power a car, pickup truck, SUV, etc. That's the path we're taking on the LCDuMite, I think it will work out great.

Lou

Microcontrollers - the other white meat
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2946
Posted: 11:50am 03 Aug 2014
Copy link to clipboard 
Print this post

Hi Lou,

Yes it is fantastic to see all these different variations of the same theme..

It gives the user a better choice of options for their project..

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025