Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:35 29 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 : Beta Testers Wanted

     Page 19 of 26    
Author Message
Alan68
Newbie

Joined: 28/01/2013
Location: Australia
Posts: 17
Posted: 08:34pm 30 Jan 2014
Copy link to clipboard 
Print this post

Hi MOBI,

Analogue PIN 3 does not work on my PIC's, I have a program to view the first 6 analogue inputs 2 to 7 and if you put a voltage on PIN 2, PIN 3 shows the same value.

Alan
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3198
Posted: 09:00pm 30 Jan 2014
Copy link to clipboard 
Print this post

  MOBI said   A bug??

None of my chips (6 off) will read analogue on pin3. Analogue works quite happily on all other pins designated.

The data sheet for the series says pin 3 is AN1??? Should work??

It is a bug!!

Thank you very much MOBI. Brilliant discovery and thanks Alan for confirming it.

I just could not believe that everything worked perfectly first time... my faith in the (imperfect) universe is restored.

I will fix this in the next beta version which should be out in 4 or 5 days (this will include a 44 pin version).

Thanks again,
Geoff
Geoff Graham - http://geoffg.net
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 09:45pm 30 Jan 2014
Copy link to clipboard 
Print this post


Hi All,

Maybe if an adapter was made up to connect to a Test-A-Mite it would be easy to check several basic functions of the uMite..

The TAM could test Digital IO, Analog in, H-L and L-H transition, count, frequency and period measurements.

I havent yet got my blank chips from Element14 (bit peeved, although I have been in hospital, that they said there were some instock but 2 weeks nearly later and they still havent arrived

Anyway wont be long

Regards,

Mick






Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9310
Posted: 10:39pm 30 Jan 2014
Copy link to clipboard 
Print this post

  Geoffg said  It is a bug!!

Thank you very much MOBI. Brilliant discovery and thanks Alan for confirming it.


ALRIGHT!!!!!

Houston, we have a bug!!!!!

It took THIRTY ONE pages of thread, but we found one!

Good work, MOBI and Alan.
Smoke makes things work. When the smoke gets out, it stops!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6103
Posted: 11:43pm 30 Jan 2014
Copy link to clipboard 
Print this post

  atmega8 said  
The only equal is, that we bought the same Pic's from the same charge/ distributor.
Type is 32MX150F128B-ISP.



This is the chip that I am using.
I haven't tried them at 48MHz.
I have had a couple running more ore less nonstop for a week without any problems.

How are you powering them?
I use the USB 5V with my own 3.3V regulator and 10uF on the input and output of the regulator and a couple of 0.01uF caps close to the IC.

I put the PC in sleep mode overnight which keeps the 5V on and when I restart the PC the uMite is still there outputting data every 5 minutes...

Jim
VK7JH
MMedit   MMBasic Help
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 10:55am 31 Jan 2014
Copy link to clipboard 
Print this post


Looks like this is about the cheapest FTDI converter board that includes postage, and it looks like the user can select the voltage also.

http://dx.com/p/ftdi-basic-fio-pro-mini-lilypad-downloader-w hite-black-278463#.UuwMVbTtqqI

Cheers Don...
https://www.dontronics.com
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 11:41am 31 Jan 2014
Copy link to clipboard 
Print this post

  donmck said  
Looks like this is about the cheapest FTDI converter board that includes postage, and it looks like the user can select the voltage also.

http://dx.com/p/ftdi-basic-fio-pro-mini-lilypad-downloader-w hite-black-278463#.UuwMVbTtqqI

Cheers Don...


Just found this one which is $1 cheaper and definitely voltage selectable.
http://www.ebay.com.au/itm/FT232RL-USB-To-TTL-Serial-Adapter -Module-For-The-Arduino-Mini-Port-3-3V-5-5V/251388888343?rt= nc&_trksid=p2047675.m1851&_trkparms=aid%3D222002%26algo%3DSI C.FIT%26ao%3D1%26asc%3D261%26meid%3D4513667444108221320%26pi d%3D100005%26prg%3D1088%26rk%3D2%26rkt%3D5%26sd%3D2311218911 71%26


Cheers Don...

https://www.dontronics.com
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6103
Posted: 12:20pm 31 Jan 2014
Copy link to clipboard 
Print this post

  donmck said  
Just found this one which is $1 cheaper and definitely voltage selectable.

Cheers Don...

You can select the voltage level but there is no external regulator so there are only a few milliamps available for driving external devices.

Jim
VK7JH
MMedit   MMBasic Help
 
plasma
Guru

Joined: 08/04/2012
Location: Germany
Posts: 437
Posted: 01:42pm 31 Jan 2014
Copy link to clipboard 
Print this post

found two errors in the manual

page 28 : open comspec$ command - the pins for com1 and 2 are wrong
com 2 use pin 9 & 10
com 1 use pin 21 & 22

page 39 : chart has no com1 but double com2 header

Edited by plasma 2014-02-01
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 03:25pm 31 Jan 2014
Copy link to clipboard 
Print this post

  TassyJim said  
  donmck said  
Just found this one which is $1 cheaper and definitely voltage selectable.

Cheers Don...

You can select the voltage level but there is no external regulator so there are only a few milliamps available for driving external devices.

Jim


Yes, looks like about 50ma as far as I can tell.

What we need is an Ebay Chinese gentleman that produces the above board, but with a 3.3V power supply on board. Been searching but can't find anything even close.

Don...
https://www.dontronics.com
 
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 03:49pm 31 Jan 2014
Copy link to clipboard 
Print this post

Pin functionality check.

I have checked all pins for basic I/O functionality and with the exception of pin3 AIN, all appear to work as intended. I haven't yet checked SPI, I2C, COM or Open Collector. Unless someone else has?

So far it is looking good.
David M.
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 06:27pm 31 Jan 2014
Copy link to clipboard 
Print this post

  MOBI said  
Yes, it has a 9 pin connector but the signal levels are 5V and the polarity is inverted like RS232. As the inverter runs happily at 3.3v, I don't have to worry about putting limiting resistors in.


Gday David,

I have just caught up with this conversation.. Please forgive me bringing it up again.

Unless you have a very unusual USB to TTL inverter I would put my money on it being a VERY CHEAP chinese USB to RS232 converter..

RS232 is plus and minus 3v-30V levels (+-12v being a more pseudo standard) but with many early (maybe more recent as well) laptops this got bastardised to GND (for the minus levels) and 5v for the plus levels that worked most of the time (short distance transfers).. I suspect that what you actually have there, conforms to that non-standard standard, and explains the need for inverters.

Regards,

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 07:25pm 31 Jan 2014
Copy link to clipboard 
Print this post

  mick said  RS232 is plus and minus 3v-30V levels (+-12v being a more pseudo standard) but with many early (maybe more recent as well) laptops this got bastardised to GND (for the minus levels) and 5v for the plus levels that worked most of the time (short distance transfers).. I suspect that what you actually have there, conforms to that non-standard standard, and explains the need for inverters


Yes, that sounds pretty well what I have here. They certainly were very cheap. I never had any issues with them though. They all worked even at high data rates. The D9 connector has always been an annoyance - I would have preferred header pins.

The only problem I had with one was assigning the wrong driver and now, no matter what I tried, I couldn't get the correct driver back to that lead. Doesn't matter, I have plenty.

Are you up and about yet? We're all thinking about you.
David M.
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 07:36pm 31 Jan 2014
Copy link to clipboard 
Print this post

  MOBI said  
Are you up and about yet? We're all thinking about you.


At fear of monopolising threads with my ailments...

Thanks for your thoughts..

Yes I have had the major blockage fixed (where they thought it might be difficult), which have improved my lot many 100's %, but after fixing that one they found another less critical blockage further along so I go back into Melbourne Private tomorrow for it to be fixed and I should be home Tuesday Morning..

Now hopefully my PIC32 chips arrive from Element14 Been ordered 13 days now... Very slack of them.. Prob just as well I havent been in a position to play with one else I would be pretty peeved.

Regards,

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 08:35pm 31 Jan 2014
Copy link to clipboard 
Print this post

Further to pin functionality, I think we can give I2C master mode a clean bill of health. Haven't tried multi master or slave mode yet.

To test the pin I/O functions, I set up a PWM and used it as an input to each of the pins in turn and printed the result to the display. Used the cro to verify frequency, period etc.
David M.
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 10:16pm 31 Jan 2014
Copy link to clipboard 
Print this post

I have tested the SPI with a Nokia monochrome LCD and
am happy to report it works a treat (The format is great)

Regards
Jman
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9310
Posted: 10:25pm 31 Jan 2014
Copy link to clipboard 
Print this post

I have tested a blinking LED on pin-14, and am pleased to report that it blinks.





Seriously though, I plan to do some serial port tests in the next few days, and also either I2C or serial to an ALFAT SD card filesystem module which I was unable to get to work with the PICAXE chips.
Smoke makes things work. When the smoke gets out, it stops!
 
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 722
Posted: 10:02am 01 Feb 2014
Copy link to clipboard 
Print this post

Geoff,

will you please provide the internal memory mapping of the system?
Peek and Poke is possible, so why not use it;-)

If it is an open system, then we should know whats going on there internally.

That's what made the Apples and sinclairs.....etc.. so interesting and successfull.

 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 11:02am 01 Feb 2014
Copy link to clipboard 
Print this post

  atmega8 said   Geoff,

will you please provide the internal memory mapping of the system?
Peek and Poke is possible, so why not use it;-)

If it is an open system, then we should know whats going on there internally.

That's what made the Apples and sinclairs.....etc.. so interesting and successfull.


what happens when the next compile shifts things along a few bytes?

who said it was open? See this.
 
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 722
Posted: 12:13pm 01 Feb 2014
Copy link to clipboard 
Print this post

who said it was open? See this.

Open in means of technology.

Edited by atmega8 2014-02-02
 
     Page 19 of 26    
Print this page
© JAQ Software 2024