Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - MickM

1
General discussion / PM system problem
Hi;
  There is a problem with the PM system.
The message "User control panel (1 new message)", seems to be permanent.

I have deleted all the messages, and closed Firefox.
Trying to read messages shows "no messages" in bold, which is correct.
However ...

Mick M.
4
AVRDude / Re: Flashing Atmel Xplained 168
Hi;
  you are using the wrong bootloader.
"avrdude: ERROR: address 0x1f010 out of range at line 2 of ATmegaBOOT_168_atmega1280.hex"
This hex file is for an ATMega1280, not ATMega168.

There is a 168 file:
arduino/hardware/arduino/avr/bootloaders/optiboot/optiboot_atmega168.hex

That should work, note my path is for linux and Arduino 1.5.7.

Mick M
7
Bus Pirate Support / Re: self test results: 6 errors
Hi ataraxis;
  Ian would know - he designed it.
Contact Sparkfun and see if they will replace it.
I suspect that if you try to repair it they will not take it back.

Mick M
8
Bus Pirate Support / Re: self test results: 6 errors
Well I decided to test mine. (also BPv3a), but from Seeed Studios.
I run linux so:
screen /dev/ttyUSB0 115200
To start a terminal for it.
With NO jumpers:
HiZ>~
Disconnect any devices
Connect (Vpu to +5V) and (ADC to +3.3V)
Space to continue
Ctrl
AUX OK
MODE LED OK
PULLUP H OK
PULLUP L OK
VREG OK
ADC and supply
5V(5.02) OK
VPU(0.00) FAIL
3.3V(3.33) OK
ADC(0.00) FAIL
Bus high
MOSI OK
CLK OK
MISO OK
CS OK
Bus Hi-Z 0
MOSI OK
CLK OK
MISO OK
CS OK
Bus Hi-Z 1
MOSI FAIL
CLK FAIL
MISO FAIL
CS FAIL
MODE and VREG LEDs should be on!
Any key to exit

With the correct jumpers:
HiZ>~
Disconnect any devices
Connect (Vpu to +5V) and (ADC to +3.3V)
Space to continue
Ctrl
AUX OK
MODE LED OK
PULLUP H OK
PULLUP L OK
VREG OK
ADC and supply
5V(5.02) OK
VPU(5.02) OK
3.3V(3.33) OK
ADC(3.32) OK
Bus high
MOSI OK
CLK OK
MISO OK
CS OK
Bus Hi-Z 0
MOSI OK
CLK OK
MISO OK
CS OK
Bus Hi-Z 1
MOSI OK
CLK OK
MISO OK
CS OK
MODE and VREG LEDs should be on!
Any key to exit

Looking at mine:

USB on left I/O on right.

10 Gnd    9 3v3
8  5v      7 ADC
6  VPU    5 AUXI
4  CLK    3 MOSI
2  CS      1 MISO PIN 1 here

A straight across error would connect
5V -> GND
ADC -> AUX

I will not try this out, but it would explain your reading of 0.13V on 5V.

Mick M
12
Project development, ideas, and suggestions / 5v/3.3v PS PCB
Hi;
  Here is a simple but versatile power supply board.
It uses either a TO-220 7805 or a TO-92 78L05 (or other voltages).
Power LED is optional,  and can be on-board or remote with a header.
Power switch is optional, install a 2-pin header and cut the trace between it.
I usually use the power jack and cut a hole in the side of a case, then hot glue and black RTV to hold it.
There is a power in 2-pin header as well as 2.1mm power jack.
Headers are of course optional, just solder wires in the holes.

Mick M.
15
USB serial LCD backpack / Re: newbe.1: power lcd
Hi Jan;
  I just did a little test on a breadboard.
 LCD gnd to pin 1, +5v to pin 2 -No display at all.
Ground pin 3 - black boxes across line 1.

This is an old LCD without a backlight.
But the backlight is just an led, not part of the LCD panel, it sits under it.

I do not have this board, so I downloaded the package for your pcb.
http://code.google.com/p/dangerous-prot ... ge.v1a.zip

In the PCBs_Production folder are the Eagle files, also png files that are hard to read.

This shows that the contrast pot is wired to the lcd, turn it CW for max contrast.
It also shows that the backlight pot is wired to LED-A, turn it CCW for max R.
However the LED-K goes to the collector of T1, and through it to ground.
So if T1 is off, no backlight, the PIC must output a H to turn it on.
This is an NPN, and it is switching ground, so you could jumper pin 18 to ground.

If you have a voltmeter you can measure pins 1,2,3,17, and 18.
If you have a breadboard and a 5V supply then you can test the LCD as I did.

Mick M

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01452424624session_write_close ( )...(null):0
20.01482556200ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01482556976Database_MySQL->query( ).../DatabaseHandler.php:119
40.05972695696Database_MySQL->error( ).../Db-mysql.class.php:273