Search Forums by tag:
Serial, mbed, compiler, ethernet, USB, I2C, SPI, interrupt, LCD, library, bug, HTTPServer, CAN, adc, AnalogIn, memory, SD Card, InterruptIn, rpc, Power, SDFileSystem, Ticker, canbus, driver, editor, Error, LocalFileSystem, UART, libraries, TCP, GPS, PwmOut, timer, pwm, file, website, accelerometer, C++, reset, SDCard, RTC, interrupts, clock, DigitalIn, TCPSocket, frequency, led, Java, http, buffer, DMA, SD, flash, HTTPClient, pinball, MODSERIAL, problem, printf, filesystem, SerialPC, RFID, beta, LPC1768, rtos, newbie, compile, digitalOut, Servo, UDP, audio, LPC11U24, RPCFunction, EthernetNetIf, NetServices, m3pi, Download, write, socket, multiple, array, sensor, keil, MATLAB, Forum, debug, hardware, Board, I2S, dead, Sleep, xbee, Nokia6610, AnalogOut, tcp/ip, SPI Slave, code, voltage, wait, network, read, suggestion, dac, JTAG, string, pc, keyboard, copy, GPRS, offline, lwip, Speed, DHCP, Data Logging, windows, time, current, MODDMA, mp3, C, gcc, attach, fatfilesystem, USB Host, publish, assembly, stepper motor, WavePlayer, camera, size, VGA, import, documentation, baud, bluetooth, TextLCD, firmware, M0, pullup, Relay, timing, pololu, MIDI, compiler error codes, magjack, client, robot, Communication, stream, HID, breakout, FIFO, prototype, GPIO, sampling, api, binary, filter, ADXL345, program, DSP, help, sram, class, suggestions, email, PING, arduino, rs232, link, wifi, Nokia, browser, control, Host, Eagle, Modbus, ide, linux, port, updates, Cortex-M0, WiFly, DMX, files, scanf, protocol, PPP, FTP, integer, function, latency, serial port, modem, motors, for, monitor, malloc, Digital I/O, Production, FAT, classes, server, webserver, delay, variables, flashing, time-triggered, PCB, c programming, Analog, labview, watchdog, Encoder, post, math, LPCXpresso, MBED website, GSM, storage, nxp, mobileLCD, license, Terminal, int, counter, baseboard, rj45, EEPROM, E289, mac, Timeout, news, connect, pointers, Optocoupler, Robotics, search, USBMIDI, glitch, find, real-time, format, slave, driverlibrary, MODGPS, processing, networking, ID, umts, float, color, BUTTON, Images, wave, bin, const, OSX, supply, peripheral, sensors, RIT, character, bus, ARM, SRF08, heap, output, basic, piezo, pins, keypad, ID12, Pachube, player, DigitalInOut, object, capture, slow, PSP, OS, display, syntax, mbed.lib, EmbeddedArtists, NMEA, paste, project, GUI, UART0, firefox, motor, SQL, RAM, 3D, bugs, Temperature, not, I/O, Bidirectional, rss, resolved, Pin, Assembler, LED1, LIS302, getc, Safari, Vin, wiki, registers, PS2, fopen, BusOut, projects, RS485, pythonHey Dom,
If you notice on the pin card you got with your mbed pin 2 (VIN) can take from 4.5 v to 9.0 v of power. If you just connect the + of the battery to pin 2 (VIN) and the - to pin 1(GND) your mbed will be powered and wireless :)

If i did, by accident, reverse the polarity of the battery holder, that would effectively murder the mbed, right?
And how do I know the polarity of my battery holder? I know it's a stupid question, but i don't want to kill something that would cost me £45 to replace. It's a 3x battery holder. I'm guessing it's just that the pins are the polarity of the side of the battery they are nearest too, right? Or is it the other way round?
I do not think anything would happen, your mbed would just not run, but dont quote me on that one because I have never tried.Dom Johnson wrote:
If i did, by accident, reverse the polarity of the battery holder, that would effectively murder the mbed, right?
An easy was to check for polarity is using a multimeter. Place one wire on the red and one on the black, and if you get a positive voltage then the one connected to your red is positive, if its a negative voltage then the wire on the red is negative.
If you do not have a multimeter just connect the battery pack to an led and see which one is + and -, if you include a picture of your battery holder I could probably tell you which one is which.
Worst resort is just to follow the logic of the battery holder, track the + charge thought the batteries and see which wire it is connected to.
Yes make sure you don't blow the LEDLeon Heller wrote:
A current limiting resistor will be needed for the LED!
Please log in to post a reply.

Hello again,
I know mbed is a prototyping microcontroller (but I'm too cheap to buy another :P), but would it be possible to power the LPC1768 with a battery? I.E the battery goes to a USB out, and that USB out goes into the USB in on the mbed, hence powering it.
Would this be possible? And what voltage and ampage can the mbed take (if anyone knows)?
Thanks,
Dom.