Digispark (Arduino clone with ATtiny85)

762 views
Skip to first unread message

Marco

unread,
Aug 22, 2012, 2:55:26 AM8/22/12
to tokyohac...@googlegroups.com

Akiba

unread,
Aug 22, 2012, 3:11:27 AM8/22/12
to tokyohac...@googlegroups.com

Most likely, they’re bitbanging the USB using the lowspeed USB protocol. Goddam! $140k for an ATTiny board. Gotta get me some project on kickstarter.

 

Akiba

FreakLabs Open Source Wireless

Web: http://www.freaklabs.org

Shop:http://www.freaklabsstore.com

Twitter: http://www.twitter.com/freaklabs

 


--
You received this message because you are subscribed to the Google Groups "TokyoHackerSpace" group.
To view this discussion on the web visit https://groups.google.com/d/msg/tokyohackerspace/-/dcRyHDVDoIkJ.
To post to this group, send email to tokyohac...@googlegroups.com.
To unsubscribe from this group, send email to tokyohackerspa...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tokyohackerspace?hl=en.

Torsten Wagner

unread,
Aug 22, 2012, 3:24:47 AM8/22/12
to tokyohac...@googlegroups.com
Hahahaha
some people really have a strange worldview...
if I *donate* $1000 or resp. $500 they still ask me to add $20 for
shipping cost.... ?!?!?!
Serious!

We are all ear about your kickstart idea Akiba !!!

Just a hint.... still waiting for this tiny FREAKARM-Linux embedded
board which focus on measurement and control instead of multimedia
(many I/Os, decent ADCs and DACs, RTC, etc.)

Totti

Marco

unread,
Aug 22, 2012, 3:38:03 AM8/22/12
to tokyohac...@googlegroups.com, ch...@freaklabs.org
I guess it is not possible to "bitbanging the USB" without changing somehow the IDE, or they could have made some kind of miracle within the 2KB bootloader?
--
marco

Nava Whiteford

unread,
Aug 22, 2012, 3:44:34 AM8/22/12
to tokyohac...@googlegroups.com
Looks like it from the comments page:

@Dennis and @Dinesh - The bootloader waits 5-10 seconds (not final yet) for incoming code at power on,
if it doesn't seen any it goes to the program loaded, if it does it loads the code. The USB
communication is achieved by a virtual usb port running from the attiny85
(see the V-USB project for an idea how we do that).

Re kickstarter I agree, suggest this: http://xkcd.com/1055/

I also think a bitcoin smart card would make a great kickstarter project...

On Wed, Aug 22, 2012 at 04:11:27PM +0900, Akiba wrote:
> Most likely, they're bitbanging the USB using the lowspeed USB protocol.
> Goddam! $140k for an ATTiny board. Gotta get me some project on kickstarter.
>
>
>
> Akiba
>
> FreakLabs Open Source Wireless
>
> Web: <http://www.freaklabs.org> http://www.freaklabs.org
>
> Shop: <http://www.freaklabsstore.com> http://www.freaklabsstore.com
>
> Twitter: <http://www.twitter.com/freaklabs>
> http://www.twitter.com/freaklabs
>
>
>
> _____

Akiba

unread,
Aug 22, 2012, 3:47:34 AM8/22/12
to tokyohac...@googlegroups.com

No, the IDE just sends data serially at some bitrate dependent on the board setting. As long as the STK500 bootloader protocol is used, it doesn’t matter if it’s a bit-banged USB, FTDI, etc. Most likely, they are using V-USB and have integrated it into a custom bootloader.

 

Akiba

FreakLabs Open Source Wireless

Web: http://www.freaklabs.org

Shop:http://www.freaklabsstore.com

Twitter: http://www.twitter.com/freaklabs

 

Akiba

unread,
Aug 22, 2012, 3:47:55 AM8/22/12
to tokyohac...@googlegroups.com
D'oh! Just sent my reply to the previous post with basically what you said.

Akiba
FreakLabs Open Source Wireless
Web: http://www.freaklabs.org
Shop:http://www.freaklabsstore.com
Twitter: http://www.twitter.com/freaklabs

Marco

unread,
Aug 23, 2012, 5:05:14 AM8/23/12
to tokyohac...@googlegroups.com, ch...@freaklabs.org
I have not the slightest idea of ​​how V-USB works.
But probably could be used to manage an USB device (like a keyboard) without the need of an USB shield... 

--
marco

Torsten Wagner

unread,
Aug 23, 2012, 6:03:50 AM8/23/12
to tokyohac...@googlegroups.com

V USB "simply" emulates the entire USB stack in software including the parts which are normally covered by dedicated hardware. 
From the developer side it is tricky since you need to make sure you get all the timings right.  From the user view its limited because more complex stacks (eg usb host functionality) can't be emulate fast enough in software (on the given target architecture).  For the same reason it's limited to lower speeds too. It is impressive that the VUSB des got it right on such a small uC already. 
Another drawback is the consumption of memory space which is already rather limited.
The biggest advantage is the almost free USB interface... Perfect for small projects.
Totti

To view this discussion on the web visit https://groups.google.com/d/msg/tokyohackerspace/-/55qNZCc3EQMJ.
Reply all
Reply to author
Forward
0 new messages