Overtone Labs

Forum

Trent Seres

SPI Communication

Started by Trent Seres 3 hours ago.

Mike Watts

How much flash left in CUI32 with StickOs? 12 Replies

Started by Mike Watts. Last reply by Rich Testardi 1 day ago.

holli

read sensors and write information back to pc 3 Replies

Started by holli. Last reply by Mike Watts 1 day ago.

Latest Activity

Trent Seres added a discussion
Hey everyone, So I have been experiencing a little problem the last week.  I'm currently working on a stepper motor controller using the CUI32.  The stepper motor control works fine.  My problem arises with needing to implement a temperature sensor…
3 hours ago
Oh, right, on the dim statement -- "," is lowest precedence, so you have to use "as flash" on each variable. You can always think of "," as just repeating the command, so "dim a, b, c as flash" is the same as "dim a", "dim b", and "dim c as flash".
yesterday
I just got the code working on 8.53... You might have the same luck. Basically, I replaced all occurrances of "DEBUG" with "SODEBUG", then I had to just remove two duplicate declarations of size_t (by putting them in #if ! PIC32), and then finally…
yesterday
Dan, I downloaded the file you mentioned here. There are two txt files but they have no line breaks. The text is just one long line, at least when I read them using notepad. Is there some other program I should be using that knows to insert line bre…
yesterday
FWIW, this works: dim a as flash, b as flash, c as flash not as efficient as dim a, b, c as flash but it works. Rich - I fired up MPLab 8.2 as you suggested for working on the skeleton. However, it has no compilers for the PIC32MX400F512H - not…
yesterday
Sorry, these look like bugs -- I'll fix them... (And add them to the automatic unit tests.)
on Wednesday
Markus Gritsch added a discussion
Hi Rich,is there any plan to add floating point arithmetic to StickOS Basic?
on Wednesday
Ok, the change regarding VBUS is now in the SVN as CUI32_v18.
on Wednesday
I think I figured out the flash issue: one cannot dimension multiple variables as flash on one line. dim a, b, c, d as flash dimensions only d as flash When I tried the experiment of making the variable an array, to see if it was handled any diff…
on Wednesday
I have another question concerning the use of flash. I want to interupt a running program, change a variable that was dimensioned as flash, and then run - not continue - the program again. I want the program to then use the new value of that flash v…
on Wednesday
I'll try to squeeze something into the next release (for the fall). More than likely, it will just be the ability to erase a page (4kB) and the ability to write one word (4 bytes) at a time, and the ability to read it back... I agree, a self-contain…
on Wednesday
I was afraid it wouldn't be that simple. If you could expose the fundamental commands needed to copy the flash page to buffer, write to the buffer, and then rewrite the flash all the rest could be done in Basic. Or anything higher and easier, of cou…
on Wednesday
Hi Holli, I'll add a few additions to what Dan said... You really have two choices when interfacing to a PC. 1. run a BASIC program loop on the MCU and have it report back results to the PC periodically, using "print" statements. Typically you'll…
on Wednesday
> dim varabs [n] at address Unfortunately, you can't do that with a varabs today since writing to flash takes an algorithm (and pages have to be erased before writes occur), not just an MCU write, and varabs just maps to a simple MCU write today.…
on Wednesday
I meant to say the MPLab IDE.
on Tuesday
Hey Dan, Thanks! I've not ever programmed a ucontroller using IDELAB or a compiled language. I go all the way back to doing everything in assembly language and now all the way forward to using Basic. So I'm not yet familiar with the way we refer to…
on Tuesday

Members

  • Trent Seres
  • holli
  • Pablo E. Covarrubias Saavedra
  • John Luckey
  • Mike Watts
  • Rich Testardi
  • Michael
  • Markus Gritsch
  • Dan Overholt
  • Øyvind Nyborg Hauback
  • Cooper Sloan
  • Peter Donahue
  • Michael Lee
  • Charles V Chandler, Jr.
  • akalmbach
  • Viv Johnston
 

Blog Posts

Øyvind Nyborg Hauback

ZigFlea board for CUI32

As StickOS has a great support for wireless communication I've made a ZigFlea board for the CUI32 with CpuStick as a background ( http://www.cpustick.com/cpustick.htm ). As the pictures show it is made just to put on the top of the CUI32. Then it will be possible to remotely control and program another CUI32 wireless. You could also remotely control pin variables from one CUI32 to another. Everything easily programmed in StickOS. The board will… Continue

Posted by Øyvind Nyborg Hauback on June 15, 2010 at 9:51pm — 3 Comments

Markus Gritsch

SID Player Firmware




Hi,

I managed to compile the TinySID library for the CUI32. This library can play music from the Commodore 64 by emulating its 6502 CPU and 6581 SID (Sound Interface Device). Everything is done in software -- no additional hardware is needed.

Usage: Connect a headphone or line-in to the RD0 pin. Different tunes can be selected by pressing the PROG button on the CUI32.

The firmware can be downloaded from Google Code:… Continue

Posted by Markus Gritsch on May 8, 2010 at 3:00pm — 3 Comments

Thomas Witzel

CUI 32 boards have arrived.....

The boards have arrived. I'll stuff one prototype area tomorrow with a couple of components from my peripheral board under development and will start software development...So exciting.

Posted by Thomas Witzel on April 14, 2010 at 10:03pm — 1 Comment

Dan Overholt

Filtering analog data in StickOS

The MaxMSP and Pd examples for the CUI32 have been updated to include BASIC code that filters noisy sensor data - see the example movie below, in which I'm just touching the analog input pins with my finger to purposely create a signal with lots of noise at first, and then doing the same thing with the filtering algorithm running:
CUI32daContinue

Posted by Dan Overholt on April 13, 2010 at 1:30pm

Thomas Witzel

Eagerly awaiting the first two boards......

Ordered two CUI32 from sparkfun. Should be here (Boston) by Wednesday.....

Posted by Thomas Witzel on April 13, 2010 at 7:31am

Dan Overholt

Spam Problem: New Members will need to be approved from now on...

OK, due to the huge amount of spam I have just had to delete, I have just disabled the option for new members to be able to sign up without approval from an administrator ... this should get rid of the annoying advertisements that these spam robots have been putting up on the front page, but it does of course mean that an administrator has to go through and approve anyone who is _not_ a spam robot!

As I am currently the only administrator on this site, if anyone else would be interested… Continue

Posted by Dan Overholt on April 1, 2010 at 5:17pm

Dan Overholt

CUI32 analog inputs in MaxMSP/Jitter and PureData


This is an example of how simple it is to use StickOS - after declaring variables corresp

Continue

Posted by Dan Overholt on March 14, 2010 at 2:30pm

Jonathan Richard

MAX/MSP and CUI32

Do the MAX/MSP objects that worked with the original Create USB interface work with the CUI32? I really enjoy using MAX and really don't want to use a Terminal program/serial software programming interface!


Jonathan

Posted by Jonathan Richard on March 3, 2010 at 10:39pm — 3 Comments

Rich Testardi

CUI32 is here!

Well, I just did a search for CUI32 on SparkFun, and it is here!



http://www.sparkfun.com/commerce/product_info.php?products_id=9645



Hey Dan, I also noticed on the product info page that there is a link to part 1 (of 3) on the video -- can you add links to parts 2 and 3 as well? (Somebody said the video just cut off, and I didn't realize where they were viewing it from...) Thanks!!!

Continue

Posted by Rich Testardi on March 3, 2010 at 5:36am

Dan Overholt

CUI32 Final Hardware Ready!

Here are a few photos of how the CUI32 boards you buy from SparkFun will look!


Note that there is a V-score to al… Continue

Posted by Dan Overholt on February 24, 2010 at 9:30pm

Photos

Videos

Events

 
 
 

Badge

Loading…

© 2010   Created by Dan Overholt.   Powered by .

Badges  |  Report an Issue  |  Terms of Service