Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 07:09 04 May 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 : Raspberry Pi enters microcontrer game with a $4 Pico

     Page 6 of 7    
Author Message
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 11:07am 12 Feb 2021
Copy link to clipboard 
Print this post

It's pretty much the same as using MMEdit connected to a Micromite.

Bit of a crazy day today but I'll zip and post what's required, tomorrow.

Using the processors is a walk in the park...no different to calling a function except the function can be a never ending loop that, for example keeps modifying a variable(s) for the main task (or other processors) to read.


 
zeitfest
Guru

Joined: 31/07/2019
Location: Australia
Posts: 387
Posted: 11:56am 12 Feb 2021
Copy link to clipboard 
Print this post

So, please open a new "propeller" thread and use that, I already have enough "processor fatigue"    
Edited 2021-02-12 21:57 by zeitfest
 
RetroJoe

Senior Member

Joined: 06/08/2020
Location: Canada
Posts: 290
Posted: 01:29pm 12 Feb 2021
Copy link to clipboard 
Print this post

That would be great - I started an ESP32 SIG thread a little while back. Turns out there's a whole universe of microcontrollers out there, and a lot of people interested in them hang out here :)

I picked up an original Propeller for pennies when Radio Shack went bankrupt, and have always been intrigued by Chip Gracey's bold vision and unique approach to MCU architecture. I must admit, the SPIN language had me "spinning", but like anything, I'm sure it's easy when you know how.

On first blush, the Propeller 2 looks insanely powerful - I hope "second time's a charm" for more widespread adoption of this "iconoclastic" MCU.
Enjoy Every Sandwich / Joe P.
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 1985
Posted: 01:44pm 12 Feb 2021
Copy link to clipboard 
Print this post

  Tinine said  
Bit of a crazy day today but I'll zip and post what's required, tomorrow.


cheers, can't wait
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1676
Posted: 01:46pm 12 Feb 2021
Copy link to clipboard 
Print this post

now has dvi




and can someone tell me Where in the text is an ascii charater above 127? because I keep getting this when I try to post the only way round it is to screenshot the post then upload it as an image


 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3017
Posted: 01:53pm 12 Feb 2021
Copy link to clipboard 
Print this post

  lew247 said  an someone tell me Where in the text is an ascii charater above 127?

I'd suspect the not-straight-up-and-down apostrophes in "shouldn't" and "it's" (twice).

~
Edited 2021-02-12 23:54 by lizby
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 1985
Posted: 02:29pm 12 Feb 2021
Copy link to clipboard 
Print this post

  lew247 said  

and can someone tell me Where in the text is an ascii charater above 127? because I keep getting this when I try to post the only way round it is to screenshot the post then upload it as an image


the little "x" in the screen resolution. Not a standard 7 bit ASCII char
Edited 2021-02-13 00:31 by CaptainBoing
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 03:45pm 12 Feb 2021
Copy link to clipboard 
Print this post

@Mustardman

Now that is a classic/perfect example.

Even on the old P1 (not being phased out, BTW), One who has never touched anything other than MMBasic, could pick-up PropBasic, write the sampling code and have it run constantly in its own "cog" (32 bit CPU), continuously stuffing the ADC result in a "Hub" (global) variable.

PropBasic is a "compiler" but I have dubbed it "translator" because it is single-pass and literally spits out one-for-one PASM (Propeller assembly).

Put the PropBasic listing side-by-side with the assembly listing and pretty much, the only difference is the syntax; a GOTO becomes a jmp and IF/THEN becomes one of the conditional variants of jmp.

So, even on the old 80MHz P1, your sampling loop will be running at 20MIPS and won't stop until you tell it to.

Interrupts are sooo 20th century  
 
RetroJoe

Senior Member

Joined: 06/08/2020
Location: Canada
Posts: 290
Posted: 05:24pm 12 Feb 2021
Copy link to clipboard 
Print this post

Confirmed on the curly single and double quotes being the usual suspects. Recommendation is to turn off "smart quotes" in your OS and/or browser.
Enjoy Every Sandwich / Joe P.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8592
Posted: 05:32pm 12 Feb 2021
Copy link to clipboard 
Print this post

UK pound symbol also no longer allowed  
 
elk1984

Senior Member

Joined: 11/07/2020
Location: United Kingdom
Posts: 227
Posted: 11:11pm 12 Feb 2021
Copy link to clipboard 
Print this post

  matherp said  UK pound symbol also no longer allowed  

I had the misfortune to work on a system that interfaced to an ASCII-7 database in the early 21st century.  The torturous reasons we were told our input was wrong.....
Edited 2021-02-13 09:11 by elk1984
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1676
Posted: 10:30am 17 Feb 2021
Copy link to clipboard 
Print this post

new version with wifi, bluetooth and 9-axis IMU sensor and microphone Arduino Nano RP2040 Connect

 
RetroJoe

Senior Member

Joined: 06/08/2020
Location: Canada
Posts: 290
Posted: 01:35pm 17 Feb 2021
Copy link to clipboard 
Print this post

Thanks for the technoporn :)

That sure ain't your grandma's Arduino!
Enjoy Every Sandwich / Joe P.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8592
Posted: 02:07pm 17 Feb 2021
Copy link to clipboard 
Print this post

Don't know about the specific uBlox in the picture but they seem to contain either a ESP32 or a  nRF5340 i.e another complete uP with at least as much power as the RP2040
 
RetroJoe

Senior Member

Joined: 06/08/2020
Location: Canada
Posts: 290
Posted: 03:05pm 17 Feb 2021
Copy link to clipboard 
Print this post

The unintended consequences of Moore's Law, I suppose.

I heard a radio interview recently with Bruce Schneier, the author of the provocatively titled book "Click Here to Kill Everybody: Security and Survival in a Hyper-connected World".

His thesis is that billions of wireless IoT devices are being unleashed into our domestic environment by manufacturers who have given zero thought to, or provided any semblance of protection against, the security implications.

Paraphrasing the example he gives is a toaster oven manufacturer who uses a uP to do the "normal" control stuff, but then says "what the hell" and leaves the onboard WiFi enabled and touts it as a feature ("Monitor your grilled cheese remotely!"). As a result, every home network has dozens of hidden vulnerabilities. The folks here at TBS are in the 1% of the population that would even recognize this risk - the rest of the population is oblivious.

At least Google and Amazon are (almost) up-front about it - there is no doubt in my mind that my Amazon Echo and Google Home devices are listening to my conversations and putting targeted ads into my browser. Far too many "coincidences" for them to be random events.
Edited 2021-02-18 01:10 by RetroJoe
Enjoy Every Sandwich / Joe P.
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 705
Posted: 03:41pm 17 Feb 2021
Copy link to clipboard 
Print this post

No worry unless you have something to hide .
my site
 
RetroJoe

Senior Member

Joined: 06/08/2020
Location: Canada
Posts: 290
Posted: 04:34pm 17 Feb 2021
Copy link to clipboard 
Print this post

  hitsware2 said  No worry unless you have something to hide .


Whether anyone has "something to hide" or not isn't the issue. If people want to voluntarily exchange their privacy for a few trinkets, have at it, but the "surveillance economy" (i.e. the involuntary monetization of our private data) is something we should all be fighting tooth and nail.
Enjoy Every Sandwich / Joe P.
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 705
Posted: 05:23pm 17 Feb 2021
Copy link to clipboard 
Print this post

>> If people want to voluntarily exchange their privacy for a few trinkets,

Or perhaps lead a simple , open , honest life .
my site
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3017
Posted: 05:45pm 17 Feb 2021
Copy link to clipboard 
Print this post

  hitsware2 said  No worry unless you have something to hide .


This seems deeply disingenuous. Who, besides reality TV stars (who still have some control over what is seen) would wish to have their whole life open to public display? I'm not a fan of slippery slope arguments, but this seems a slippery slope indeed.

  hitsware2 said  Or perhaps lead a simple , open , honest life .


Even those who in past ages led a simple, open, honest life could rely on the privacy of their own homes.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
RetroJoe

Senior Member

Joined: 06/08/2020
Location: Canada
Posts: 290
Posted: 06:02pm 17 Feb 2021
Copy link to clipboard 
Print this post

+1.

The sanctioned invasion of privacy is the "slipperiest" of all slopes, in fact.

The right to privacy is the bedrock principle on which all of our other inalienable rights are built.
Edited 2021-02-18 04:07 by RetroJoe
Enjoy Every Sandwich / Joe P.
 
     Page 6 of 7    
Print this page
© JAQ Software 2024