Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 03:15 13 Nov 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 : f77 / electride 2 /pic32mx170

Author Message
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 02:07pm 01 Mar 2016
Copy link to clipboard 
Print this post


Well it has been a while but..
Here is info re Electride version 2 and the code examples. It won't detect gravity waves yet though

Manual :

2016-03-02_000617_electride2.pdf

and examples

2016-03-02_000639_examples.zip
 
drkl

Senior Member

Joined: 18/10/2015
Location: Hungary
Posts: 102
Posted: 11:17pm 01 Mar 2016
Copy link to clipboard 
Print this post

Hello,

It is very interesting....
But what is the purpose of this project?
Is it better than MMBasic?
At this moment, 98-99 percents of the published Arduino projects can be
solved by Micromite. look
It would be better to collect all Micromite projects like Arduino.

drkl
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 01:19am 02 Mar 2016
Copy link to clipboard 
Print this post

Ahh... I love it. Fortran for enthusiasts :)
When will this be available to play with?


http://rittle.org

--------------
 
boss

Senior Member

Joined: 19/08/2011
Location: Canada
Posts: 268
Posted: 02:12pm 02 Mar 2016
Copy link to clipboard 
Print this post

@chronic

Very nice.
I have similar plans with Fortan (compiler) G95 for Discovery F746.
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 08:59pm 02 Mar 2016
Copy link to clipboard 
Print this post

Thanks

  Quote  ..When will this be available..


It is available now (on the basis of a test version for trial I guess),
I now have to figure out how to distribute it securely (?)

ed - [ Sending it via a bbs (any bbs) is likely to cause a few,
uh, issues .. ]

ed2 - ??? Maybe not..



Edited by chronic 2016-03-08
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 01:47am 07 Mar 2016
Copy link to clipboard 
Print this post

Arrrgh! Sorry to anyone thinking of using a ds3234 -
I stuffed-up the description on page 59...which is an example using spi
to read a ds3234 time chip. The fourth main paragraph and line following
should read -

"To read a register, the address of the register first has to be fed
to the chip, and the contained information is then clocked back to the pic.
The "seconds" register is the first (ie not the second) register. As it
happens, the register addresses start at 0 and will auto-increment while
reading continues, so reading the first register can achieved by feeding
the chip a 0 and reading (exchange I/O) twice. The first byte is received
as the address is clocked in, and discarded. The result from the first
register is then received as the second transaction.

When a change is detected, the set of time and date registers is read,
with unused bytes received at the start and middle. .."

The code is fine though, it is just the text.
( Just as well it's a draft )
Edited by chronic 2016-03-08
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 02:51am 07 Mar 2016
Copy link to clipboard 
Print this post

  chronic said   Thanks

  Quote  ..When will this be available..


It is available now (on the basis of a test version for trial I guess),
I now have to figure out how to distribute it securely (?)



Would you send me a copy please?
knivd@me.com

Thanks!

http://rittle.org

--------------
 
boss

Senior Member

Joined: 19/08/2011
Location: Canada
Posts: 268
Posted: 07:09am 07 Mar 2016
Copy link to clipboard 
Print this post

@chronic

I am in the line as well.

Thanks
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 266
Posted: 07:20am 07 Mar 2016
Copy link to clipboard 
Print this post

@chronic

I am interested also.

Thanks
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 11:37am 08 Mar 2016
Copy link to clipboard 
Print this post


Thanks

BTW it looks like the optimiser version is working - about twice
as fast and using a lot more program space which is still ok. Have to
check it all yet though
 
redrok

Senior Member

Joined: 15/09/2014
Location: United States
Posts: 209
Posted: 12:00pm 08 Mar 2016
Copy link to clipboard 
Print this post

Hi cronic;
  chronic said   Thanks

  Quote  ..When will this be available..


It is available now (on the basis of a test version for trial I guess),
I now have to figure out how to distribute it securely (?)

ed - [ Sending it via a bbs (any bbs) is likely to cause a few,
uh, issues .. ]

ed2 - ??? Maybe not..
I would really appreciate a copy as well.
Especially the Solar Position routine.

You could send it to my email address:
redrok@redrok.com

redrok
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 12:38pm 08 Mar 2016
Copy link to clipboard 
Print this post

The solar position routine in the examples above, the algorithm is
based on approximations said to be accurate to about 1-hundredth of a degree
for the next decades or so.
It is very much based on the "sunae" routine on the net, which is in turn
a (Warren) corrected version of Michalski's et al method, I added the
refraction method used in the NOAA spreadsheet (with kind permission).

It looks like it is working for Sydney, and 1 ran some checks for other
locations OK.

ed - there are very small numerical differences from the spreadsheet results,
usually a lot less than the 0.01 degree so I am not concerned. The spreadsheet runs on a PC math routines/coprocessor that can extend to more precision than the 64 bit double precision I used in the pic so I am not surprised there are slight differences. Edited by chronic 2016-03-09
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 10:37am 10 Mar 2016
Copy link to clipboard 
Print this post

It is now working OK with optimiser level 1. It is mostly vanilla C still though.
As a qualitative test, I have run the benchmark-type program used to compare the micromite II. [ As it is a different language, it is not a quantitative
comparison - I used DO loops instead of the GOTOs, and have an overall time
instead of individual sections. ]
It takes about 3.5 seconds to run the eight sections, so the Micromite II is a little faster but not much. Edited by chronic 2016-03-17
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 02:52pm 15 Mar 2016
Copy link to clipboard 
Print this post

For the sake of completion this is the manual with the slight corrections
applied.

2016-03-16_005138_electride2docrev1closed.zip

 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 03:04pm 25 Mar 2016
Copy link to clipboard 
Print this post

Whacko !!! is a goer on '795H...a lot faster..
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 06:15pm 06 Apr 2016
Copy link to clipboard 
Print this post

Many thanks to those who helped with test runs.
Anyone else that wants to try it, now is the time to get in contact.
I have had good compliments back so far, very pleasing !
Although the email I used seems to be having more problems than usual.
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 09:59am 21 Jul 2019
Copy link to clipboard 
Print this post

It has been developed a fair bit now.
Some time ago I grafted this on to a LCD screenscraper (an arduino LCD setup)
for easier use. So, I finally uploaded clips for the insomniac cure..

Rare footage of a yeti assembling the module from the main bits ...

and

some (gasp) after-dark clip of what it displays.

 
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