# Envirobit help

**URL:** <https://forums.pimoroni.com/t/envirobit-help/13902>\
**Category:** BBC Micro:Bit\
**Created:** [May 14, 2020, 2:50pm UTC](https://forums.pimoroni.com/t/envirobit-help/13902 "2020-05-14T14:50:27Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![superdevx](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@superdevx](https://forums.pimoroni.com/u/superdevx)\
**Post date:** [May 14, 2020, 2:50pm UTC](https://forums.pimoroni.com/t/envirobit-help/13902/1 "2020-05-14T14:50:27Z")

</div>

Hi, I’m trying to get the envirobit working but after importing the library on [https://makecode.microbit.org/#editor](https://makecode.microbit.org/#editor) using the instructions on [https://github.com/pimoroni/pxt-envirobit](https://github.com/pimoroni/pxt-envirobit) … all I can get to display is “0” for temperature and “NaN” for pressure on the editor.

Managed to get 0 displaying for temperature on the actual Micro:bit itself, too.

Tried other people’s code and seems to be no different.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [May 14, 2020, 5:58pm UTC](https://forums.pimoroni.com/t/envirobit-help/13902/2 "2020-05-14T17:58:11Z")

</div>

How good are you with Python? I have a couple of Micro Bits and I get totally lost with that Make Code stuff. I had much better luck using the Mu editor.

[https://codewith.mu/](https://codewith.mu/)

> **[pimoroni/micropython-envirobit](https://github.com/pimoroni/micropython-envirobit)**
>
> MicroPython library for the Pimoroni enviro:bit. Contribute to pimoroni/micropython-envirobit development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![superdevx](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@superdevx](https://forums.pimoroni.com/u/superdevx)\
**Post date:** [May 14, 2020, 7:14pm UTC](https://forums.pimoroni.com/t/envirobit-help/13902/3 "2020-05-14T19:14:18Z")

</div>

@alphanumeric Thanks for your quick reply. I’m good with Python but I’m having trouble getting Mu to consistently recognise my Micro:bit, and anything I transfer doesn’t seem to be sticking so I keep having to flash the OutOfBoxExperience hex. I’m on a Linux machine so that might be it; it’s usually the reason…

Get the error “Could not find an attached BBC micro:bit.”

I was able to use the Make Code editor to send a basic display scroller, incidentally.

---

<div class="post-metadata">

**Author:** ![superdevx](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@superdevx](https://forums.pimoroni.com/u/superdevx)\
**Post date:** [May 14, 2020, 7:27pm UTC](https://forums.pimoroni.com/t/envirobit-help/13902/5 "2020-05-14T19:27:19Z")

</div>

Oh man so this is embarrassing…

I had the envirobit plugged in the wrong way round.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [May 14, 2020, 7:29pm UTC](https://forums.pimoroni.com/t/envirobit-help/13902/6 "2020-05-14T19:29:14Z")

</div>

I’ve only ever used Mu on a Windows PC, and haven’t touched my Micro Bit in quit a while now.  
I’ll reinstall Mu and have a look see latter on today. Maybe try a different USB cable?

---

<div class="post-metadata">

**Author:** ![superdevx](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@superdevx](https://forums.pimoroni.com/u/superdevx)\
**Post date:** [May 14, 2020, 7:38pm UTC](https://forums.pimoroni.com/t/envirobit-help/13902/7 "2020-05-14T19:38:24Z")

</div>

I’ve tried different cables yeah, still getting the Mu problem. But the Make Code editor and the hex I sent is working fine now that I’ve got the envirobit pointed the right way round :D…

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [May 14, 2020, 8:16pm UTC](https://forums.pimoroni.com/t/envirobit-help/13902/8 "2020-05-14T20:16:36Z")

</div>

I just installed Mu (Windows 64bit) from the link above. My Micro Bit shows up OK. I flashed a python file I had done up way back when and loaded OK and ran OK. Then I dragged and dropped the first experience hex file to it and that loaded OK as well.  
Wish I could be of more help but I don’t know what to tell you to try next?

---

<div class="post-metadata">

**Author:** ![superdevx](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@superdevx](https://forums.pimoroni.com/u/superdevx)\
**Post date:** [May 14, 2020, 9:00pm UTC](https://forums.pimoroni.com/t/envirobit-help/13902/9 "2020-05-14T21:00:08Z")

</div>

It’s probably something to do with groups on my Linux machine; thank you for trying, I appreciate it.

The main issue I had was really just figuring out how to do something with my envirobit, to be honest, and I’ve got JS compiling fine on it with the Make Code editor, so I’m happy.

Thank you again!

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [May 14, 2020, 9:27pm UTC](https://forums.pimoroni.com/t/envirobit-help/13902/10 "2020-05-14T21:27:19Z")

</div>

Other than my Raspberry Pi’s my only Linux PC is my spare desktop. It currently doesn’t have a working monitor or I’d fire it up for a look see. It’s running the Raspberry Pi Desktop for PC’s. I am a Linux Noob if I’m honest though.  
Anyway hopefully there is somebody out there with some cool code to try out.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [May 15, 2020, 8:55am UTC](https://forums.pimoroni.com/t/envirobit-help/13902/11 "2020-05-15T08:55:05Z")

</div>

You’ve likely already seen this but I’ll post it anyway. There is some Make Code stuff in there.

[![](https://img.youtube.com/vi/n-ygE69TEyk/hqdefault.jpg "Bit:Kits 01 - Getting Started with the Enviro:bit Kit") ](https://www.youtube.com/watch?v=n-ygE69TEyk)

---

<div class="post-metadata">

**Author:** ![superdevx](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@superdevx](https://forums.pimoroni.com/u/superdevx)\
**Post date:** [May 15, 2020, 9:14am UTC](https://forums.pimoroni.com/t/envirobit-help/13902/12 "2020-05-15T09:14:25Z")

</div>

@alphanumeric ah no I hadn’t actually, thanks! It’s a fun bit of kit: I’m enjoying playing with it

Thanks again for all your help: if I get Mu working I’ll let you know :)

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [May 15, 2020, 11:23am UTC](https://forums.pimoroni.com/t/envirobit-help/13902/13 "2020-05-15T11:23:06Z")

</div>

Yeah, that’s for the kit with the extra bits, stand etc. It’s till relevant even if all you have is the Enviro Bit. Just fast forward past the how to assemble it part. ;)
