|
Forum Index : Microcontroller and PC projects : f77 / electride 2 /pic32mx170
| Author | Message | ||||
| isochronic Guru Joined: 21/01/2012 Location: AustraliaPosts: 689 |
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: HungaryPosts: 102 |
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 KingdomPosts: 671 |
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: CanadaPosts: 268 |
@chronic Very nice.
I have similar plans with Fortan (compiler) G95 for Discovery F746. |
||||
| isochronic Guru Joined: 21/01/2012 Location: AustraliaPosts: 689 |
Thanks
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.. |
||||
| isochronic Guru Joined: 21/01/2012 Location: AustraliaPosts: 689 |
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 )
|
||||
| kiiid Guru Joined: 11/05/2013 Location: United KingdomPosts: 671 |
Would you send me a copy please? knivd@me.com Thanks! http://rittle.org -------------- |
||||
| boss Senior Member Joined: 19/08/2011 Location: CanadaPosts: 268 |
@chronic I am in the line as well. Thanks |
||||
| cdeagle Senior Member Joined: 22/06/2014 Location: United StatesPosts: 266 |
@chronic I am interested also. Thanks |
||||
| isochronic Guru Joined: 21/01/2012 Location: AustraliaPosts: 689 |
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 StatesPosts: 209 |
Hi cronic;
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.. Especially the Solar Position routine. You could send it to my email address: redrok@redrok.com redrok |
||||
| isochronic Guru Joined: 21/01/2012 Location: AustraliaPosts: 689 |
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. |
||||
| isochronic Guru Joined: 21/01/2012 Location: AustraliaPosts: 689 |
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. |
||||
| isochronic Guru Joined: 21/01/2012 Location: AustraliaPosts: 689 |
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: AustraliaPosts: 689 |
Whacko !!! is a goer on '795H...a lot faster.. |
||||
| isochronic Guru Joined: 21/01/2012 Location: AustraliaPosts: 689 |
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: AustraliaPosts: 689 |
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. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |