Search found 91 matches

by LukeW
Mon Mar 03, 2014 4:03 am
Forum: LeoStick
Topic: Connecting SD card to Leostick
Replies: 5
Views: 3891

Re: Connecting SD card to Leostick

Let's try the following: First column is the pins on the LeoStick ISP header, oriented as in the picture posted above. Second column is the pins on the Adafruit MicroSD board. Pin 1 (top left) = "DO" Pin 2 (top right) = "5v" Pin 3 (centre left) = "CLK" Pin 4 (centre right) = "DI" Pin 5 (bottom left)...
by LukeW
Mon Mar 03, 2014 3:48 am
Forum: LeoStick
Topic: Connecting SD card to Leostick
Replies: 5
Views: 3891

Re: Connecting SD card to Leostick

Whatever you're using to power the LeoStick with can also be used to power the SD module, only one 5V supply is needed. But yes, they do need a common ground if two different power supplies are used. So you're only using the USBBoost to power the SD module alone, not the whole system? To be honest I...
by LukeW
Mon Mar 03, 2014 3:35 am
Forum: LeoStick
Topic: LeoStick Mass Storage Device
Replies: 3
Views: 5825

Re: LeoStick Mass Storage Device

Basically, I used the code from this person: http://www.instructables.com/id/Music-Playing-Alarm-Clock/step6/USB-Mass-Storage-with-MicroSD/ You should edit /Lib/sd_raw_config.h , and set up the pins appropriately for SPI on the microcontroller you're using, including your choice of nCS. If using a L...
by LukeW
Thu Feb 27, 2014 5:16 pm
Forum: Random Chit-Chat
Topic: Uploading code via USB-Serial Adapter
Replies: 4
Views: 4612

Re: Uploading code via USB-Serial Adapter

2 x 22 pico Farad Capacitors - between crystal and X1 and X2 pins on MCU It's not clear from the way you've worded it - but just checking. The crystal should be connected directly to the X1 and X2 pins and the capacitors should be connected from those pins to ground. The capacitors should not be "b...
by LukeW
Thu Feb 27, 2014 7:06 am
Forum: LeoStick
Topic: A working avrdude config for LeoStick
Replies: 8
Views: 8380

Re: A working avrdude config for LeoStick

Hmm, it works just fine for me on OSX, running avrdude from the command line, programming a LeoStick with a Freetronics USBASP. avrdude -p atmega32u4 -P usb -c usbasp -U flash:w:filename.hex Obviously this depends on your programmer type - yours may vary, specify it appropriately. The port needs to ...
by LukeW
Thu Feb 27, 2014 6:57 am
Forum: LeoStick
Topic: reading analogue voltages
Replies: 3
Views: 3611

Re: reading analogue voltages

Cef, if your application specifically demands a 2.4996666999970375e-7 ohm resistor then I think you've got bigger concerns than the accuracy of the code on the website. :)
by LukeW
Thu Feb 27, 2014 6:55 am
Forum: LeoStick
Topic: using leostick to "insert" text into video
Replies: 2
Views: 2480

Re: using leostick to "insert" text into video

There's also the MAX7456 which does this sort of thing using minimal external components and resources, just SPI control from a microcontroller and composite video in and out from the chip. http://www.maximintegrated.com/datasheet/index.mvp/id/5516 You should be able to control this from a LeoStick ...
by LukeW
Thu Feb 27, 2014 6:44 am
Forum: LeoStick
Topic: LeoStick Mass Storage Device
Replies: 3
Views: 5825

LeoStick Mass Storage Device

In the attached image you can see a quick little project I whipped up today, which might be of interest. This uses a LeoStick as a development tool for a quick test of some code I'm developing, prior to actually developing the custom board for this project. The LeoStick (which is modified for 3.3V o...
by LukeW
Sun Feb 23, 2014 2:05 pm
Forum: Module Discussion
Topic: Vary Voltage/Current of Shift Register Outputs?
Replies: 13
Views: 10115

Re: Vary Voltage/Current of Shift Register Outputs?

Can you post a drawing or schematic of what you've set up?
by LukeW
Sun Feb 23, 2014 1:56 pm
Forum: Eleven
Topic: Regulating AMPs
Replies: 4
Views: 2729

Re: Regulating AMPs

A device that runs at, say, 6-12V and draws a current of, say, 100mA doesn't need its current regulated to 100mA by the power supply - that's just the amount of current that it draws. The power supply needs to be capable of supplying 100mA, or more, but the power supply doesn't actually supply 1A (l...