Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 03:59 26 Nov 2024 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 : generic dsPic ’802 board, arduino-ish

Author Message
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 07:56pm 26 May 2012
Copy link to clipboard 
Print this post

This is a small generic board that might be useful. It has a dsPic
[ dsPic33FJ64GP802, or 128k version ], a basic usb-serial bridge,
power supply and simple analog inputs. The mini-B usb socket is
a bit fiddly, you need a good magnifier to solder it, but otherwise it
is easy enough to work with. It can be used with a simple script
(eg www.hydrazoic.info) or else C and MPLAB/pickit2/3, etc.
cheers all


2012-05-27_055558_sparo.zip
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 04:11pm 29 May 2012
Copy link to clipboard 
Print this post

This has more description,2012-05-30_021103_sparozip.zip eagle file etc
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 04:19am 20 Jun 2012
Copy link to clipboard 
Print this post

I have just switched in the PLL with Hydrazoic...
I had to replace the tag tantalum 10uF cap with a lower ESR one,
not surprising... very pleased !!! It is now hitting
half-a-million loops per second. Not bad at all, especially
for a simple board. I'll put more at www.hydrazoic.info
when it settles a bit.
 
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 02:03pm 21 Jun 2012
Copy link to clipboard 
Print this post

Hi chronic,

Nice board and strange language , thanks for sharing!
How you soldered the IC socket on board?

Vasi
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 03:48pm 21 Jun 2012
Copy link to clipboard 
Print this post

Yes the socket is soldered in, the PCB is only single-sided and
so the socket is raised slightly to allow soldering to the copper.
The socket holes can be left undrilled which saves time. Sadly the
socket is not in the component list yet (mea culpa ).

Using BUB3 (eg) for Bit-Up-portB-bit3 is a bit sparse I guess
but the advantage is self-containment on the chip:
the interpreter is 29 kbytes program size,
no compiler needed, no IDE needed, no special cable needed.

In most languages a routine or function is used to set pin bits eg

turnonportpin(3);

even though the value used is not changing.
That is an inefficient use, in this case calling a routine-with-argument
has features and overheads which will be redundant.

cheers

PS Flashing a led (on bit D) at about a Hertz using the "Swift" version:

>main:;;
> BUBD;;
> delay();;
> BDBD;;
> delay();;
> main:;;
> END;;
>delay();;
> FOR a 1,250000 { ;;
> };;
> RETN;;
> END;;

A simple led bank can be put on the i/o pins easily enough, I haven't
tried an Arduino led shield though some might run at the 3.3 v.Edited by chronic 2012-06-23
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 08:27pm 23 Jun 2012
Copy link to clipboard 
Print this post

Here is the interpreter version "Swift" for the board.
(now including standard intro default as per main manual)

2012-06-25_032443_swift45relb.zip

It (and more docs, last board etc) is at www.hydrazoic.info.

Time for a midwinter break I think !



Edited by chronic 2012-06-26
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 05:00pm 30 Jun 2012
Copy link to clipboard 
Print this post

An example intro C file for the C-ers :
2012-07-01_025652_sparoCex.zip

and a new page: www.hydrazoic.info/sparo/sparoindex.html
 
Print this page


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

© JAQ Software 2024